[Poppler-bugs] [Bug 37292] New: Handle font problems better

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 17 09:53:52 PDT 2011


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

           Summary: Handle font problems better
           Product: poppler
           Version: unspecified
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: orion at cora.nwra.com


Created an attachment (id=46832)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=46832)
Problematic pdf

The attached document apparently has some problems with the embedded Type 1C
fonts in it.  With gs 9.02, it reports errors and replaces the problematic
fonts with system fonts:

$ pdf2ps NovopashinMuriel2002_IsTheCriticalReynoldsNumberUniversal.pdf 
   **** Warning: can't process font stream, loading font by the name.
   **** Warning: can't process font stream, loading font by the name.

   **** This file had errors that were repaired or ignored.
   **** The file was produced by: 
   **** >>>> Mac OS X 10.6.7 Quartz PDFContext <<<<
   **** Please notify the author of the software that produced this
   **** file that it does not conform to Adobe's published PDF
   **** specification.

gs directly also reports:

Substituting font Times-Roman for XQAGXY+Times-Pandre-Light.
Can't find (or can't open) font file
/usr/share/ghostscript/9.02/Resource/Font/NimbusRomNo9L-Regu.
Can't find (or can't open) font file NimbusRomNo9L-Regu.
Can't find (or can't open) font file
/usr/share/ghostscript/9.02/Resource/Font/NimbusRomNo9L-Regu.
Can't find (or can't open) font file NimbusRomNo9L-Regu.
Querying operating system for font files...
Loading NimbusRomNo9L-Regu font from
/usr/share/fonts/default/Type1/n021003l.pfb... 3700140 2347017 6809988 5252199
3 done.

The poppler pdftops output when printed produces the following error on the
printer:

ERROR: invalidfont
OFFENDING COMMAND: definefont

STACK:

/Font
-dictionary-
/RDNCVK+RusTimes-Pandre-LightItalic

It would be great if poppler could detect the same issue and do the same font
substitution.

$ pdffonts NovopashinMuriel2002_IsTheCriticalReynoldsNumberUniversal.pdfname   
                                                type              emb sub uni
object ID
------------------------------------ ----------------- --- --- --- ---------
QGTTJK+Symbol                        TrueType          yes yes no      10  0
FKIRVC+Symbol                        TrueType          yes yes yes     11  0
TIZLRL+Times-Pandre-LightItalic      Type 1C           yes yes no      14  0
RDNCVK+RusTimes-Pandre-LightItalic   Type 1C           yes yes no       9  0
UJIXRV+Times-Roman                   TrueType          yes yes no       7  0
BQZNJF+Times-Italic                  TrueType          yes yes no       8  0
USEOII+Times-Bold                    TrueType          yes yes no      12  0
XQAGXY+Times-Pandre-Light            Type 1C           yes yes no      22  0

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