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 613
    • Issues 613
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 40
    • Merge Requests 40
  • 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
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • poppler
  • poppler
  • Issues
  • #156

Closed
Open
Opened Dec 06, 2017 by Bugzilla Migration User@bugzilla-migration

Poppler does not fall back on other fonts properly

Submitted by Niels Ole Salscheider

Assigned to poppler-bugs

Link to original bug (#104144)

Description

If poppler loads a font that does not contain the required glyphs it does not fall back on another font. Instead it does not render anything.

I have this fontconfig configuration to make sure that all emojis are from Noto Color Emoji:

<fontconfig> <match target="pattern"> <edit name="family" mode="prepend_first"> <string>Noto Color Emoji</string> </edit> </match> </fontconfig>

When I now open a PDF file that uses for example ArialMT, fontconfig first suggests a few NimbusSans variants. Poppler skips over these since they are .t1 fonts. The next font it finds is NotoColorEmoji.ttf which is loaded. But it does not contain any glyphs, only the emojis.

The right thing to do would be to fall back to the next font. But instead poppler stops here and does not render the text.

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
Reference: poppler/poppler#156