Summary: | PDF rendered incompletely | ||
---|---|---|---|
Product: | poppler | Reporter: | Pastafarianist <mr.pastafarianist> |
Component: | cairo backend | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | jason, rahul.midha123 |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
File with broken rendering
Screenshot of Chrome rendering Invalidates an embedded font and use an external font CairoFontEngine: Try external font if embedded font fails |
I note that the bug shows up in Okular under Kubuntu 15.04, so I'm not sure that I've chosen the frontend correctly. Since i don't have Chrome, please provide a rendering of how you think this should look like. Created attachment 118363 [details]
Screenshot of Chrome rendering
Adobe reader, either unix or windows, tells: Cannot extract the embedded font 'Arial,Bold'. Some characters may not display or print correctly. So I would guess the PDF is not welformed! Yeah the font stream is empty so the file is defenitely malformed. Doesn't mean we could try actally rendering it, i thought we had a "if freetype can not open font default to doing font substitution", but it seems not? Probably a patch to fix this would also fix https://bugs.freedesktop.org/show_bug.cgi?id=92017 Created attachment 118464 [details] [review] Invalidates an embedded font and use an external font This patch solves it in the splash backend: if it encounters a problem with an embedded font it invalidates it and tries to find a matching external file. It's probably such easy to solve it in the cairo backend, too. *** Bug 92017 has been marked as a duplicate of this bug. *** Pushed Thomas' patch + a leak fix from me. Reassigning to cairo. *** Bug 105298 has been marked as a duplicate of this bug. *** Created attachment 138352 [details] [review] CairoFontEngine: Try external font if embedded font fails Some documents fail to render because the embedded font doesn't load. If loading the embedded font fails, try with an external font. Attached is a version of the patch for the cairo backend. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/153. |
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.
Created attachment 118361 [details] File with broken rendering See the attachment. The summary block isn't rendered, unlike in Chrome.