Bug 26202

Summary: cannot see text that uses fonts that were embedded after pdf generation
Product: poppler Reporter: Matteo Gamboz <gamboz>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: test.pdf: fonts NOT embedded; test-p.pdf: fonts embedded by PitStop Server (evince fails); test-g.pdf: fonts embedded by ghostscript (evince ok)

Description Matteo Gamboz 2010-01-25 02:51:07 UTC
Created attachment 32803 [details]
test.pdf: fonts NOT embedded;  test-p.pdf: fonts embedded by PitStop Server (evince fails);  test-g.pdf: fonts embedded by ghostscript (evince ok)

Hi,
  I cannot see some text in pdf files were fonts were embedded after the pdf
creation.


How to replicate:

echo "50 600 moveto /Courier findfont 30 scalefont setfont (the quick brown fox) show" | ps2pdf - test.pdf


embed fonts using Enfocus PitStop Server 9


open with xpdf ----> ok
open with evince --> fail
  Error: could not create type1 face
  some font thing failed

open with okular --> fail
  Error: Couldn't create a font for 'Courier'



I am attaching an archive containing: 

test.pdf: fonts NOT embedded

test-p.pdf: fonts embedded by PitStop Server (evince cannot see text)

test-g.pdf: fonts embedded by ghostscript (evince sees the text)


Some info:

$ evince --version
GNOME Document Viewer 2.28.1

$ okular --version
Qt: 4.5.3
KDE: 4.3.4 (KDE 4.3.4)
Okular: 0.9.2


$ dpkg -l libpoppler\*
ii  libpoppler-glib4 0.12.2-2
ii  libpoppler-qt4-3 0.12.2-2
ii  libpoppler4      0.10.6-1
ii  libpoppler5      0.12.2-2

$ gs --version
8.70



This bug was first reported here:
https://bugs.kde.org/show_bug.cgi?id=223806
Comment 1 Albert Astals Cid 2010-01-25 11:19:23 UTC
There is only one file that fails, and the failure is a freetype failure to understand the font embedded in the file. Next freetype version will support this particular font. So once freetype 2.3.12 is released all should work correctly.

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.