diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2022-03-14 10:54:18 +0000 |
---|---|---|
committer | Ken Sharp <ken.sharp@artifex.com> | 2022-03-14 10:57:12 +0000 |
commit | 0a3c4a4967184c7c7233352e28fac1f4eb91a7e4 (patch) | |
tree | 1ffafbed358b33567262b10a07b97d5a8bab51b6 /doc | |
parent | f4c73c9122ee4823c1aeecbc59af7d08cbe003ce (diff) | |
download | ghostpdl-0a3c4a4967184c7c7233352e28fac1f4eb91a7e4.tar.gz |
pdfwrite - reorder operations to get gstate written correctly
Bug #705037 "Blend Mode lost on writing PDF file"
The problem here was soft masks. pdf_update_alpha() deals with a change
in soft mask in addition to writing the alpha values. But we were
writing the Blend Mode without reference to the soft mask.
By calling pdf_update_alpha() before we deal with the blend mode we
will correctly handle soft masks (and any required alpha changes), and
then end up with the blend mode correct as well.
This shows one diff with the test file /tests_private/comparefiles/Bug690534.pdf
The differences are very subtle but I think they are progressions.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions