Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P poppler
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 657
    • Issues 657
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 39
    • Merge requests 39
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • poppler
  • poppler
  • Issues
  • #156
Closed
Open
Created 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
Time tracking