[Poppler-bugs] [Bug 27208] Problem with softmasks

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 21 12:17:10 PDT 2010


http://bugs.freedesktop.org/show_bug.cgi?id=27208





--- Comment #14 from thomasf <Thomas.Freitag at alfa.de>  2010-03-21 12:17:09 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > The patch causes regressions in lots of files, one of them is
> > http://launchpadlibrarian.net/15866941/1und1_DSL_Flyer_partner.pdf
> > 
> 
> Nice, that You give a German sample, it's easier to read for me than a Spanish
> one :-)
> Seems as if the interesting switch wether to preset with 0 or 255 is AIS (alpha
> is shape). At least if I look at this parameter, this is one of the differents
> between Your pdf and my PDFs which causes the problem. So with a small change
> (but I need the gfx state, SplashOutputDev ignores that in the moment) it works
> at least with either my PDFs and the one You point to. I upload a new patch.
> 
> Best regards,
> Thomas
> 

Forget the nonsense with AIS, I went completely in the wrong direction. The
filling with a value other then 0 in some cases was a good idea, but to find
the correct cases....
After debugging instead of looking into Your PDF directly I think I found the
solution now: We have to initialize the grayscale softmask with the grascale
value of the backdrop color, at least if blending ColorSpace is available
(otherwise I default to zero).
Patch follows immediately.

Sorry again for the inconvenience,
Thomas 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list