Bug 175368

Summary: font displayed incorrectly in pdf
Product: [Applications] okular Reporter: Jacopo De Simoi <jacopods+kde>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: xpdf and okular rendering the same file (screenshot)
pdf file causing the issue

Description Jacopo De Simoi 2008-11-17 05:51:40 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Compiled From Sources

Opening some pdf files, okular incorrectly renders the font (seems like all boldface, but it also behave inconsistently when zooming). Apparently poppler works fine (at least xpdf opens it correctly with no zoom issues). 

Steps to reproduce:
 Open the attached pdf file
Comment 1 Jacopo De Simoi 2008-11-17 05:53:03 UTC
Created attachment 28623 [details]
xpdf and okular rendering the same file (screenshot)
Comment 2 Jacopo De Simoi 2008-11-17 05:54:02 UTC
Created attachment 28624 [details]
pdf file causing the issue
Comment 3 Pino Toscano 2008-11-17 09:44:41 UTC
> Opening some pdf files, okular incorrectly renders the font

Okular does not render the document by itself, but uses the Poppler library for this.
For this reason, you should please report the problem to the poppler bug tracking system (https://bugs.freedesktop.org, "poppler" product).

Ah, and please state what is the version of your poppler-qt4 library: I cannot reproduce the problem with either poppler 0.8.7 or 0.10.x.

> Apparently poppler works fine (at least xpdf opens it correctly with no zoom issues). 

xpdf does not use poppler.
Comment 4 Jacopo De Simoi 2008-11-17 14:45:02 UTC
> Ah, and please state what is the version of your poppler-qt4 library: I cannot
> reproduce the problem with either poppler 0.8.7 or 0.10.x.
>
poppler and poppler-qt4 versions are both 0.10.1

> > Apparently poppler works fine (at least xpdf opens it correctly with no zoom issues). 
> 
> xpdf does not use poppler.

whoops, I was giving it for granted since xpdf depends on poppler (at least here on gentoo), anyways epdfview screws the file up as well. It might well be a fontconfig issue. 
Anyways the relevant bug for poppler (for those who might find it useful) is:

 https://bugs.freedesktop.org/show_bug.cgi?id=18126

Sorry for wasting your time. Thanks for the good work.
Best
 Jacopo