Bug 161802 - Symbols in PDF plots are not displayed correctly
Summary: Symbols in PDF plots are not displayed correctly
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.6.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-08 18:23 UTC by Gero Kunter
Modified: 2008-10-12 02:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Example PDF plot which is incorrectly displayed in Okular (16.25 KB, application/pdf)
2008-05-08 18:24 UTC, Gero Kunter
Details
This shows the incorrect symbols used in Okular (lowercase 'q's?) (92.88 KB, image/png)
2008-05-08 18:26 UTC, Gero Kunter
Details
This shows the correct symbols used in KPDF (filled and empty circles) (63.69 KB, image/png)
2008-05-08 18:27 UTC, Gero Kunter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gero Kunter 2008-05-08 18:23:47 UTC
Version:           0.6.3 (using KDE 4.0.3)
Installed from:    SuSE RPMs
OS:                Linux

When I generate plots in R and save them as PDF files, Okular doesn't display the correct symbols. In KPDF, everything works as expected. I'll attach an example PDF file, as well as screenshots from Okular and KPDF.
Comment 1 Gero Kunter 2008-05-08 18:24:47 UTC
Created attachment 24674 [details]
Example PDF plot which is incorrectly displayed in Okular
Comment 2 Gero Kunter 2008-05-08 18:26:21 UTC
Created attachment 24675 [details]
This shows the incorrect symbols used in Okular (lowercase 'q's?)
Comment 3 Gero Kunter 2008-05-08 18:27:01 UTC
Created attachment 24676 [details]
This shows the correct symbols used in KPDF (filled and empty circles)
Comment 4 Pino Toscano 2008-05-08 19:17:43 UTC
Works here.

Which Poppler-Qt4 version do you have?
Open the font information of the document in both KPDF and Okular (File -> Properties -> Fonts), do you see the same filenames for the fonts in both the apps?
Comment 5 Gero Kunter 2008-05-08 21:55:19 UTC
Poppler-Qt4 is version 0.5.4-101.4.

The problem seems to be the mapping of font ZapfDingbats:

KPDF uses /usr/share/ghostscript/fonts/d050000.pfb (indeed a DingBats font)
Okular uses /usr/share/fonts/truetype/albw.ttf (which is Albany AMT)

Is this a distribution bug, then? 
Comment 6 Pino Toscano 2008-05-08 22:04:41 UTC
> Poppler-Qt4 is version 0.5.4-101.4.

This is *really* old, please use 0.8.x, or if it is not possible, at least 0.6.x.

> Is this a distribution bug, then?

Uhm, yes and no; the font subsitution is a fontconfig configuration, and probably every distro configures its default.
Comment 7 Pino Toscano 2008-08-05 19:59:24 UTC
Hello Gero,

do you still have this problem with a more recent version of Poppler?
Comment 8 Gero Kunter 2008-08-27 09:17:10 UTC
Hi Pino,

sorry for sort of abandoning this bug report for too long. Here's my update:

Yes, Okular still displays the wrong symbols in PDF files such as the attached, even with pre
Comment 9 Gero Kunter 2008-08-27 09:31:40 UTC
[sorry, wrong key :(]

Okular (0.7) still displays the wrong symbols in PDF files such as the attached file, even with pretty recent versions of Poppler-Qt4 (0.8.5).
Comment 10 Pino Toscano 2008-10-12 02:28:42 UTC
sorry Gero for taking too long on this report...

it seems the problems persists for you even with more recent versions of Poppler... then, it should be better to report it to the Poppler bug tracking system (https://bugs.freedesktop.org, "poppler" product) so it can be tracked better than it could here.
(Marking as INVALID as it is not an Okular problem -- we don't have NOTKDE yet.)

Thanks for the feedback and for understanding.