firefox scales too small when printing

Bug #437865 reported by Hadmut Danisch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox-3.0 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: firefox-3.0

Hi,

firefox scales pages wrong if absolute values are given in CSS sheets of pages, which,
e.g. tell that a div is 5cm wide or a font is 10pt large. Everything is too small.

In contrast, Microsoft's Internet Explorer prints correctly, so it does not seem to be a problem of the web pages.

It seems as if there was some scaling factor that tells firefox a wrong page size.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: fglrx
Package: firefox-3.0 3.0.14+build2+nobinonly-0ubuntu0.9.04.1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LC_MESSAGES=en_US.utf8
 SHELL=/bin/tcsh
SourcePackage: firefox-3.0
Uname: Linux 2.6.28-15-generic i686

Revision history for this message
Hadmut Danisch (hadmut) wrote :
Revision history for this message
Hadmut Danisch (hadmut) wrote :

I've found the reason:

If the html page contains a <pre>...</pre> statement with *very long* lines, firefox scales the page down to fit as much as possible on the page unless a style "overflow:hidden;" is given. If so, the page appears corrently, but, of course, the contents are cut.

I am not sure whether this is really a bug, but it differs from all other browsers I've tested (IE, konquerer,galeon).

Revision history for this message
Alexander Sack (asac) wrote :

I am not sure if its a bug either. I would suggest that you try to find a dupe in bugzilla.mozilla.org (also search wontfixed and other closed bugs) and if there is none, file a new bug.

A good start might be "Product: Core and Component: Printing - Output" to file this against.

Please give us your bug id.

Changed in firefox-3.0 (Ubuntu):
status: New → Confirmed
Revision history for this message
Alexander Sack (asac) wrote :

On top, could verify this with firefox-3.5/6/7 from our daily ppa first?

See: https://edge.launchpad.net/~ubuntu-mozilla-daily/+archive/ppa

Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.