Created attachment 118361 [details]
File with broken rendering
See the attachment. The summary block isn't rendered, unlike in Chrome.
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.