Bug 20491 - greek chars not displayed in mathcad example
Summary: greek chars not displayed in mathcad example
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-05 06:06 UTC by Sebastien Bacher
Modified: 2009-08-10 11:06 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Do not save the font file again into another temp file (1.52 KB, patch)
2009-08-09 10:06 UTC, Carlos Garcia Campos
Details | Splinter Review

Description Sebastien Bacher 2009-03-05 06:06:46 UTC
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."
Comment 1 Albert Astals Cid 2009-03-08 05:04:05 UTC
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?
Comment 2 Carlos Garcia Campos 2009-03-08 10:06:17 UTC
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

........
Comment 3 Adrian Johnson 2009-03-16 06:01:35 UTC
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.
Comment 4 Carlos Garcia Campos 2009-08-09 10:06:02 UTC
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.
Comment 5 Carlos Garcia Campos 2009-08-10 11:06:01 UTC
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.