Summary: | pdftocairo pdf/ps output broken when glyph in non-embedded type 1 font can not be mapped | ||
---|---|---|---|
Product: | poppler | Reporter: | Adrian Johnson <ajohnson> |
Component: | cairo backend | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
broken pdf output
cairo: try finding glyphs in substitute fonts by unicode |
Description
Adrian Johnson
2016-07-19 13:27:45 UTC
Created attachment 125144 [details] [review] cairo: try finding glyphs in substitute fonts by unicode In this pdf the Helvetica fonts are not embedded. The non-embedded font specifies a custom encoding. The garbage character displayed is /nonbreakingspace in the custom encoding. If this glyph name is not found in the substitute font the garbage character is displayed. The attached patch fixes this. If looking up the glyph by name fails it tries mapping the glyph name to unicode then looking up the glyph by unicode value. Comment on attachment 125144 [details] [review] cairo: try finding glyphs in substitute fonts by unicode LGTM Pushed |
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.