Summary: | Handle font problems better | ||
---|---|---|---|
Product: | poppler | Reporter: | Orion Poplawski <orion> |
Component: | general | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Problematic pdf |
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/425. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 46832 [details] 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