Bug 9502

Summary: Wrong rendering of a pdf generated with ps2pdf
Product: poppler Reporter: David Henry <tfc.duke>
Component: splash backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: a PDF file generated with a2ps+ps2pdf
Poppler (wrong) rendering on Evince
Xpdf 3.01 (good) rendering
The original PS file used to create the PDF

Description David Henry 2007-01-01 06:14:34 UTC
Description:
 Poppler produces a wrong rendering of a pdf generated with ps2pdf. The original
postscript file has been produced with a2ps from a C source file.

Steps to reproduce:
 1. Create an hello.c file with some code (hello world...)
 2. a2ps hello.c -o hello.ps
 3. ps2pdf hello.ps

Expected result:
 Keywords are rendered in bold, types in italics, standard code in normal
weight.

Poppler result:
 Standard code is rendered in bold face, like keywords.

You can compare the rendering with xpdf for example. Note that poppler renders
well the PS file.
Comment 1 David Henry 2007-01-01 06:15:54 UTC
Created attachment 8264 [details]
a PDF file generated with a2ps+ps2pdf
Comment 2 David Henry 2007-01-01 06:16:53 UTC
Created attachment 8265 [details]
Poppler (wrong) rendering on Evince
Comment 3 David Henry 2007-01-01 06:18:14 UTC
Created attachment 8267 [details]
Xpdf 3.01 (good) rendering
Comment 4 David Henry 2007-01-01 06:18:49 UTC
Created attachment 8268 [details]
The original PS file used to create the PDF
Comment 5 Albert Astals Cid 2009-06-17 12:16:28 UTC
Works for me on current poppler, please reopen if you can still reproduce

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.