Bug 456589

Summary: output from firefox printing to a postscript file is garbled
Product: Red Hat Enterprise Linux 4 Reporter: Cameron Meadors <cmeadors>
Component: ghostscriptAssignee: Tim Waugh <twaugh>
Status: CLOSED WONTFIX QA Contact: QE Internationalization Bugs <qe-i18n-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 4.7CC: benl, gozen, jwest, rkhadgar, tao
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-14 20:31:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
sample output from printing to a ps file none

Description Cameron Meadors 2008-07-24 20:10:19 UTC
When I print a webpage to a postscript file, it comes out garbled.  The links
are just blue lines and there are random characters throughout the document. 
Printing to a pdf file works fine.

Tested on i386 and x86_64 with firefox-3.0.1-1.el4 and firefox-3.0.1-3.el4

Comment 1 Cameron Meadors 2008-07-24 20:26:35 UTC
Created attachment 312595 [details]
sample output from printing to a ps file

Comment 2 Cameron Meadors 2008-07-24 20:27:48 UTC
so ggv on rhel 4.7 shows the attached file as garbled.  Evince on RHEL 5.2 shows
is clearly rendered.

Comment 3 Christopher Aillon 2008-07-24 20:35:28 UTC
So is the problem simply in ggv on RHEL4?  Does the file print to a printer okay?

Comment 5 Ben Levenson 2008-07-24 21:10:11 UTC
(In reply to comment #3)
> So is the problem simply in ggv on RHEL4?  Does the file print to a printer okay?

The hard copy looks fine (confirmed by gozen). So firefox doesn't appear to be
the culprit.

switching to ggv

Comment 6 Kristian Høgsberg 2008-09-30 16:10:36 UTC
I'll take a look, but it's more likely to be a ghostscript issue.

Comment 8 RHEL Program Management 2008-10-31 16:46:04 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 9 ritz 2009-01-31 19:02:23 UTC
seems to be an issue with gs, rather than ff itself.

# gs mozilla.ps
GNU Ghostscript 7.07 (2003-05-17)
Copyright (C) 2003 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusRomNo9L-Regu font from /usr/share/fonts/default/Type1/n021003l.pfb... 2469820 1099972 1642520 351150 0 done.
Using NimbusRomanNo9L-Regu font for NimbusRomNo9L-Regu.
Loading NimbusSanL-Regu font from /usr/share/fonts/default/Type1/n019003l.pfb... 2844780 1444610 1682712 365686 0 done.
Using NimbusSansL-Regu font for NimbusSanL-Regu.
Can't find (or can't open) font file /usr/share/ghostscript/Resource/Font/f-0-0.
Can't find (or can't open) font file f-0-0.
...
Substituting font Courier for f-0-0.

font loading issue. apparently, Courier is sans-serif, and ff uses serif by default for print.  Setting the font to sans-serif should fix part of this issue, provided liberation-fonts( for courier font) package is installed on system .

Comment 10 Issue Tracker 2009-02-01 17:16:12 UTC
hmmm, this issue is only seen when printing to ps, and not to pdf.

-- ritz


This event sent from IssueTracker by rkhadgar 
 issue 251815

Comment 11 ritz 2009-02-02 14:40:41 UTC
bingo - https://bugzilla.redhat.com/show_bug.cgi?id=120498

-- ritz

Comment 12 ritz 2009-02-05 17:26:03 UTC
_TEST_ package can be downloaded from http://people.redhat.com/rkhadgar/work/bz456589/

-- ritz

Comment 15 RHEL Program Management 2012-02-08 07:01:45 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.