[Poppler-bugs] [Bug 19670] Colorizing text in pattern colorspace solved

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 7 23:47:25 PST 2009


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





--- Comment #23 from thomasf <Thomas.Freitag at kabelmail.de>  2009-02-07 23:47:25 PST ---
(In reply to comment #22)
> I found another regression with your patch, second page of
> http://bugs.kde.org/attachment.cgi?id=8847 crashes with your patch

Congratulation: It seems as if You have found a PDF, where text rendering is
started in a normal pattern space but the colorspace is changed to pattern
colorspace before setting the text. I have to take a deeper look into it, at
the moment I haven't the atual code at home. But it seems to be sufficient to
change only this line:

void Gfx::opEndText(Object args[], int numArgs) {
  out->endTextObject(state);
-->  if (out->supportTextCSPattern(state) && textHaveCSPattern) {
...

If this helps, I would like to fix this problem (Firefox 1.0 should be
displayed in pattern color space and not with solid color) in a additional
patch!


-- 
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