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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 21 03:23:35 PST 2009


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

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


Created an attachment (id=22124)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=22124)
changes to poppler based on 0.10.3

1. I implemented colorizing text in pattern colorspace. The trick is to use the
text as clipping path and fill this path later with the existing methods. In
the attached code it is implemented in SplashOutputDev, but it is very easy to
implement it in other output devices, too. I.e. I already implemented in
PSOutputDev, but I did that on base of the xpdf code, where I already made a
lot of other changes, so I first have to examine, if all my changed fit into
poppler, too.
2. I solved several bugs in blending and in transparency groups when using
SPLASH_CMYK. I need SPLASH_CMYK to produce a bitmap and then convert this
bitmap later to RGB using a cms engine like little cms. In case of blending an
CMYK I convert the pixel first to RGB, use the existing and working routines
for RGB and then convert the pixel back. This is not the best way, but I found
no algorithm i.e. multiplying cmyk colors. If anyone has a better way, that
would be very fine.
3. For a complete list of all my changes see changes.txt


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