Bug 14883

Summary: courier font displayed incorrectly as italic
Product: poppler Reporter: c sights <csights>
Component: qt4 frontendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: desrt, pdh
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: test PDF
rendered by okular
as rendered by KPDF

Description c sights 2008-03-07 11:10:51 UTC
Created attachment 14920 [details]
test PDF

Hello,
        Okular displays Courier in italic typeface, unlike KPDF, which correctly displays in normal typeface.  I've reported this to Debian as well, I'm not sure whose problem it is: (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469310)
    I have a test pdf and png screenshots comparing Okular and KPDF output.  Here are URLs to them in the Debian bug report.
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=CourierTestDoc.pdf;att=1;bug=469310
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=renderedByOkular.png;att=2;bug=469310
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=renderedByKPDF.png;att=3;bug=469310

        Looking at the Font Properties dialogs, Okular and KPDF use two different fonts for Courier:

Okular
Courier Type 1 /usr/share/fonts/X11/Type1/n022024l.pfb
OTJKZH+CMR10    Type 1C        Yes (subset)

KPDF
Courier Type 1 /usr/share/fonts/type1/gsfonts/n022003l.pfb
OTJKZH+CMR10    Type 1C        Yes

Let me know if you need any more info,
        Thanks! C.
Comment 1 c sights 2008-03-07 11:11:23 UTC
Created attachment 14921 [details]
rendered by okular
Comment 2 c sights 2008-03-07 11:11:47 UTC
Created attachment 14922 [details]
as rendered by KPDF
Comment 3 c sights 2008-03-07 11:13:16 UTC
Oh yes, okular is using libpoppler-qt4-2 0.6.4-1
Comment 4 Albert Astals Cid 2008-03-08 14:59:19 UTC
What does fc-match Courier return on your system?
Comment 5 c sights 2008-03-09 08:17:07 UTC
$ fc-match Courier
n022003l.pfb: "Nimbus Mono L" "Regular"
Comment 6 Albert Astals Cid 2008-03-09 15:34:32 UTC
Should be fixed on git master branch
Comment 7 Behdad Esfahbod 2008-12-28 03:07:32 UTC
*** Bug 17493 has been marked as a duplicate of this bug. ***
Comment 8 Behdad Esfahbod 2009-03-07 14:14:03 UTC
*** Bug 20226 has been marked as a duplicate of this bug. ***

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.