Bug 223806

Summary: cannot see text that uses fonts that were embedded after pdf generation
Product: [Applications] okular Reporter: medialab <sysadmin>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED UPSTREAM    
Severity: normal CC: sysadmin
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: 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)

Description medialab 2010-01-22 17:30:53 UTC
Version:           0.9.2  (using KDE 4.3.4)
OS:                Linux
Installed from:    Debian stable Packages

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


opne 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: (can't attach them though!)

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

$ gs --version
8.70
Comment 1 medialab 2010-01-22 17:31:39 UTC
Created attachment 40121 [details]
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)
Comment 2 Pino Toscano 2010-01-22 17:39:26 UTC
Hi,

Okular uses the Poppler library for handling PDF documents, so the problem is there. Please report the problem in the Poppler bug tracking system at https://bugs.freedesktop.org, "poppler" product, "general" component.

Also, note with Poppler 0.12.2 the testcases test.pdf and test-g.pdf work fine.

Thanks.
Comment 3 medialab 2010-01-25 11:53:14 UTC
Reported to:
https://bugs.freedesktop.org/show_bug.cgi?id=26202