Bug 14883 - courier font displayed incorrectly as italic
Summary: courier font displayed incorrectly as italic
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: qt4 frontend (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
: 17493 20226 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-07 11:10 UTC by c sights
Modified: 2009-03-07 14:14 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
test PDF (4.16 KB, application/pdf)
2008-03-07 11:10 UTC, c sights
Details
rendered by okular (22.21 KB, image/png)
2008-03-07 11:11 UTC, c sights
Details
as rendered by KPDF (18.70 KB, image/png)
2008-03-07 11:11 UTC, c sights
Details

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.