Red Hat Bugzilla – Bug 140735
Ghostscript renders keywords and strings poorly
Last modified: 2007-11-30 17:10:55 EST
I'm really not that familiar with the inner workings of ghostscript,
so this may be more of a headsmack than a bug.
Recently, I migrated from RH-9.0 to FC3; I use my linux system to
develop a lot of Perl for my company, and specifically use a2ps and
ps2pdf to generate nice hardcopies of the source for reviews using
the following script, called 'pl2pdf':
The above script used to put out nicely formatted, two page per sheet
code, provided the code stayed within 80 columns (which I strictly
hold to). Now, I get lines that overrun from one page to another,
especially in the raw postscript (ps2pdf seems to clean up some of
it). Fixed fonts, strings, and keywords all do this.
Version-Release number of selected component (if applicable): n/a
How reproducible: Every time
Steps to Reproduce: See attached shell script
Actual results: See PDF attachment
Expected results: Properly rendered code @ 80 columns
Additional info: See the attachment for a sanitized (corporate
reasons) piece of code that [mostly] displays what I'm talking
about. I've used kghostview, ggv, xpdf, and Acrobat Reader (latest
all) to render this, and come up with the same results in each.
Created attachment 107397 [details]
Created attachment 107398 [details]
Example PDF output
Created attachment 107399 [details]
Script used to generate PDF from perl code
Sounds like bug #140584.
*** This bug has been marked as a duplicate of 140584 ***