Closed Bug 464684 Opened 16 years ago Closed 16 years ago

Inconsistent text spacing in printouts

Categories

(Core :: Graphics, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 403513

People

(Reporter: mcepl, Unassigned)

Details

Attachments

(2 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.9.0.2) Gecko/2008102718 Fedora/3.0.2-1.fc10 Firefox/3.0.2
Build Identifier: firefox-3.0.1-1.fc9.x86_64 

(originally filed as https://bugzilla.redhat.com/show_bug.cgi?id=459919)

Printing a page from Firefox 3 results in inconsistent text spacing.



Reproducible: Always

Steps to Reproduce:
1. Browse to http://fedoraproject.org
2. Print the page (to PDF or a physical printer)
Actual Results:  
Text spacing is wildly inconsistent making the page difficult to read.

Expected Results:  
Text spacing is consistent with rendered page on screen.

I reinstalled Firefox 2 from F8, and it prints out correctly.
Attached file test case
Another example (which is slightly over 512kB unfortunately) is https://bugzilla.redhat.com/attachment.cgi?id=314884
The spacing problem seems to affect only some character combination. The bug is in printing preview, too.
Attachment #347961 - Attachment is obsolete: true
Component: General → Print Preview
Product: Firefox → Core
QA Contact: general → printing
It comes from gfxPangoFontGroup::CreateGlyphRunsFast(), where pango_font_get_glyph_extents() returns incorrect values of glyph width during Print and Print preview...
Component: Print Preview → GFX: Thebes
QA Contact: printing → thebes
Fully reproducible with 3.1b2 binaries. It seem to be caused by wrong font scale setup, everything is fine when browser and print preview use the same DPI values...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Is this the same bug as bug 403513?
Yes, it's a dupe of 403513. Thanks for the info.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: