[Poppler-bugs] [Bug 24985] New: When outputting Type 1 fonts to PS the fixed-content in the font should be used if available

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 8 00:40:46 PST 2009


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

           Summary: When outputting Type 1 fonts to PS the fixed-content in
                    the font should be used if available
           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: ajohnson at redneon.com


Created an attachment (id=31043)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=31043)
PDF testcase

When converting PDF to PS, if /Length3 of a Type 1 FontFile is not zero the
fixed-content from the embedded font in the PDF should be used instead of
outputting the generic 512 zeros and "cleartomark".

Some Type 1 fonts have some additional PostScript after the cleartomark. This
should be included in the PS output.

The attached PDF file from OpenOffice contains the Nimbus Roman Type 1 font.
This fixed-content portion of the font is included and /Length3 is not 0.

After converting to PS with pdftops the last few lines of the font in the PS
output are:

0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
cleartomark
%%EndResource

it should be:

0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
cleartomark
{restore}if
%%EndResource


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