Bug 223806 - cannot see text that uses fonts that were embedded after pdf generation
Summary: cannot see text that uses fonts that were embedded after pdf generation
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-22 17:30 UTC by medialab
Modified: 2010-01-25 11:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


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) (48.71 KB, application/zip)
2010-01-22 17:31 UTC, medialab
Details

Note You need to log in before you can comment on or make changes to this bug.
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