the bug has been opened on https://bugs.launchpad.net/bugs/319495 "I created pdf of Mathcad documents with mathematical Greek variable and print pdf (using do pdf) in Windows. When I open using Document Viewer Evince in Ubuntu 8.04, all Greek characters are missing. When I print they are missing too. http://launchpadlibrarian.net/21496532/Mathcad-example_missing_greek_character.pdf This is the example. If I see this file using Widows, I can see all Greek characters, but they are all missing in Ubuntu."
Confirmed that fails on the cairooutputdev on 0.10.x, works on splash both on 0.10.x and master, can't test cairooutputdev on master. Carlos can you please test?
Yes, it fails with cairo, it even shows these error messages: Error: Unknown character collection 'Softland-Identity' Error: could not create truetype face some font thing failed Error: could not create truetype face some font thing failed Error: could not create truetype face ........
The PDF file is very broken. The font dictionary and font descriptor are setup for a TrueType font but the embedded font is a an OpenType/CFF font. It looks like the software that created this file only works with TrueType fonts but an OpenType/CFF font was supplied. The PDF writer embedded the font as if it were a TrueType font.
Created attachment 28452 [details] [review] Do not save the font file again into another temp file I don't know why we save the font file again, but this patch fixes the problem.
I've just applied the patch to git master.
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.