Bug 691983 - wrong backdrop used for blending with nested transparency groups
Summary: wrong backdrop used for blending with nested transparency groups
Status: RESOLVED FIXED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: mupdf (show other bugs)
Version: unspecified
Hardware: PC Windows 7
: P4 enhancement
Assignee: Tor Andersson
URL: http://code.google.com/p/sumatrapdf/i...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-19 14:15 UTC by zeniko
Modified: 2011-08-02 16:40 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zeniko 2011-02-19 14:15:07 UTC
The document linked from http://code.google.com/p/sumatrapdf/issues/detail?id=1259 is missing most content within the rectangles.
Comment 1 zeniko 2011-02-19 16:48:56 UTC
This looks like a blending issue: white rectangles are drawn inside a Darken transparency group that's inside a (otherwise empty) Normal group that's inside the page's main content group. Because the Normal group's (empty and transparent) background is used for blending instead of the page's content group's background, Darkening fills the Normal group's background which is then overlayed over the content. A solution might be to flatten a group's backdrop before blending.
Comment 2 zeniko 2011-02-20 14:21:10 UTC
FYI: http://code.google.com/p/sumatrapdf/source/detail?r=2843 implements non-isolated transparency groups for our GDI+ renderer.
Comment 3 Tor Andersson 2011-04-10 14:22:44 UTC
Correct. We don't support non-isolated and knockout transparency groups in our renderer, nor do we plan to implement it anytime soon. We do provide the isolated and knockout flags to the device interface, as you've already seen and used for your gdi+ device.
Comment 4 Robin Watts 2011-08-02 16:40:08 UTC
This is pretty much fixed now.

There is a small remaining issue with the boxes losing the bounding lines at high resolutions, but this seems to be due to the stroke width being too small in the file.