[Poppler-bugs] [Bug 41462] New: [patch] pdftops 0.18.0 gets errors on patterns with PaintType 2

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 4 13:04:44 PDT 2011


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

           Summary: [patch] pdftops 0.18.0 gets errors on patterns with
                    PaintType 2
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: utils
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: williambader at hotmail.com


Created an attachment (id=51973)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=51973)
patch against 0.18.0 (after applying the patch for bug 41374)

The postscript generated by pdftops gets errors on tiling patterns with
PaintType 2.  In PaintType 2 patterns, the pattern is uncolored, and you set
the color when you use the pattern.  The level 1 version created a font and
used setcachedevice (which builds a color into the font) instead of
setcharwidth.  The level 2 version didn't push the current color on the stack
which lead to a stack underflow error.  When the setpattern operator is called
with a pattern with PaintType 2, it looks for the paint color on the stack.

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