[Poppler-bugs] [Bug 104144] New: Poppler does not fall back on other fonts properly
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Dec 6 12:42:01 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=104144
Bug ID: 104144
Summary: Poppler does not fall back on other fonts properly
Product: poppler
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: niels_ole at salscheider-online.de
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20171206/6d6db06a/attachment.html>
More information about the Poppler-bugs
mailing list