[Poppler-bugs] [Bug 27482] New: Colorizing text and masks in pattern colorspace

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 6 04:17:31 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=27482

           Summary: Colorizing text and masks in pattern colorspace
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: Thomas.Freitag at alfa.de


Created an attachment (id=34710)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=34710)
New patch

The patch of bug 19670 still has some holes, see
http://www.alfa.de/2285316_1_4.pdf and
http://www.alfa.de/hires3758404382736598728.pdf
So I attach a new path to solve this issues. The several parts are

1. Function.cc
In http://www.alfa.de/hires3758404382736598728.pdf there was a regression in
PSOutputDev.cc under windows, because the domain variables were not initialized
and therefore results in random double values i.e. in func3->getDomainMin(0)
2. Gfx.cc
a) When changing in a BT/ET bracket from pattern colorspace to a nomal
colorspace (s. 600 NEUE HITS in
http://www.alfa.de/hires3758404382736598728.pdf) with operators opSetFillGray,
opSetFillCMYKColor or opSetFillRGBColor, we first need to fill already placed
text.
b) In opSetFillColorSpace the fill pattern is removed to early, we first need
to fill the already placed text.
c) Because of the above changes, colorSpaceText and colorText are not needed
anymore and are removed in Gfx.h, too.
3. SplashOutputDev.cc
The patch of bug 19670 for colorizing image masks with pattern colorspace does
only work correct in PSOutputDev.cc, not in SplashOutputDev.cc. So I completely
redesigned the implementation

Best regards,
Thomas

-- 
Configure bugmail: https://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