Bug 13514

Summary: evince "Mismatch between font type and embedded font file" with certain PDFs
Product: poppler Reporter: Adam Monsen <haircut>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium CC: enrico-minack
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: The pdf with the problem

Description Adam Monsen 2007-12-04 11:46:30 UTC
Some PDF files display small boxes where characters should be. "Mismatch between font type and embedded font file" is printed to standard error 49 times when running evince on "a.pdf" (link below) from the console. Problem also seen using xpdf, kpdf. Proprietary Acrobat reader is able to view PDF without issues.

PDF in question: http://filebin.ca/yohkw/a.pdf

Screenshots and more descriptive info:
http://ubuntuforums.org/showthread.php?p=3890791#post3890791

I'm on Ubuntu 7.10.

poppler-utils: 0.6-0ubuntu2.1
evince: 2.20.1-0ubuntu1

Hope this helps,
-Adam
Comment 1 Adam Monsen 2007-12-04 11:48:44 UTC
hugmenot on ubuntuforums.org seems to think this is a font misidentification problem:

http://ubuntuforums.org/showpost.php?p=3891147&postcount=5

Comment 2 Albert Astals Cid 2007-12-05 10:47:53 UTC
File is unacessible
Comment 3 Adam Monsen 2007-12-05 10:53:07 UTC
Here's a link to the PDF on a different host:
http://adammonsen.com/tmp/a.pdf
Comment 4 Albert Astals Cid 2007-12-05 11:02:57 UTC
Created attachment 12963 [details]
The pdf with the problem
Comment 5 Albert Astals Cid 2007-12-05 11:12:35 UTC
Whatever is generating that pdf is doing it wrong, it puts FontFile in the font descriptor of a truetype font while it should be FontFile2 as FontFile is specifically for Type1 fonts. Open a bug report against them.
Comment 6 Enrico Minack 2007-12-16 23:35:36 UTC
But how come that Adobe can display the PDF? Is it because it is more robust against such problems? Shouldn't Evince be the same robust to make users happy?

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.