Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
poppler
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 612
    • Issues 612
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 42
    • Merge Requests 42
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • poppler
  • poppler
  • Issues
  • #425

Closed
Open
Created May 17, 2011 by Bugzilla Migration User@bugzilla-migration

Handle font problems better

Submitted by Orion Poplawski

Assigned to poppler-bugs

Link to original bug (#37292)

Description

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

Attachment 46832, "Problematic pdf":
NovopashinMuriel2002_IsTheCriticalReynoldsNumberUniversal.pdf

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None