[Poppler-bugs] [Bug 23030] New: patch to disable font substitution in pdftops

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 29 18:15:04 PDT 2009


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

           Summary: patch to disable font substitution in pdftops
           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: williambader at hotmail.com
                CC: williambader at hotmail.com


I have a large number of small PDF files to convert to eps.  The system that
generated the PDF files is out of my control.  To save space, PDF files do not
contain any embedded fonts.  Instead, I have the postscript fonts on my system.
 When pdftops finds a reference to a non-embedded font, it changes the font to
Helvetica, Times-Roman, or Courier from a list in psSubstFonts[] in
PSOutputDev.cc.  My patches add a -nosubst flag to pdftops that tells
PSOutputDev::setupFont() to pass the original font in the postscript output
instead of substituting it.  This way, pdftops does not lose any information,
and the postscript file will still view or print correctly if you have the
postscript font available.


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