Bug 70529 - Fails to render text in The Book of GIMP
Summary: Fails to render text in The Book of GIMP
Status: RESOLVED NOTOURBUG
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-16 12:39 UTC by Sven Arvidsson
Modified: 2013-10-17 08:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Sample from The Book of GIMP (191.48 KB, text/plain)
2013-10-16 12:39 UTC, Sven Arvidsson
Details

Description Sven Arvidsson 2013-10-16 12:39:12 UTC
Created attachment 87732 [details]
Sample from The Book of GIMP

The attached sample PDF (from The Book of GIMP) does not render any text in Evince (or xpdf for that matter). 

I do get a ton of warnings in the terminal:

 Error: could not create type1 face
 some font thing failed
 Error: Invalid Font Weight
 Error: Invalid Font Weight

and the font properties in evince list all fonts as "Unknown font type".

The PDF does render fine in Acrobat so I'm guessing there's nothing wrong with the file.

I'm using poppler 0.18.4 and Evince 3.8.3
Comment 1 Carlos Garcia Campos 2013-10-16 13:34:58 UTC
It seems that the fonts used are not supported by freetype, FT_New_Memory_Face is returning Unknown_File_Format for all fonts.
Comment 2 Carlos Garcia Campos 2013-10-16 13:39:56 UTC
The 'Invalid Font Weight' message should be harmless I guess, it happens because some of the fonts are using /FontWeight 850 which is not a valid value according to the PDF spec.
Comment 3 Albert Astals Cid 2013-10-16 20:46:26 UTC
Works for me, which freetype version do you guys use? (I've 2.4.12 here)
Comment 4 Carlos Garcia Campos 2013-10-17 08:12:23 UTC
ii  libfreetype6:amd64                        2.4.9-1.1                 amd64                     FreeType 2 font engine, shared library files
ii  libfreetype6-dev                          2.4.9-1.1                 amd64                     FreeType 2 font engine, development files
Comment 5 Sven Arvidsson 2013-10-17 08:35:32 UTC
I was using 2.4.9 too, but can confirm that upgrading to 2.4.12 solves the problem. 

Thanks for the help guys! :)


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.