Public bug reported:

Binary package hint: gnumeric

In page setup, there are limits on how large the margins can be if the
unit is mm, cm or in. For cm and in the limits are so low that it is
impossible to set proper margins for almost all print jobs. If the unit
is pt there is no problem.

Steps to reproduce:

1. Start gnumeric. A new empty spreadsheet opens.
2. Open page setup dialog. Select unit cm.
3. Try to set page margins. There are maximum limits for horizontal and 
vertical margins according to: top+bottom=1.05 cm, left+right=0.74 cm.
4. Switch unit to in. Now the limits are top+bottom=0.16 in, left+right=0.11 in.
5. Switch unit to mm. Now the limits are top+bottom=104.8 mm, left+right=74.1 
mm.
5. Switch unit to pt. Now the margins can be set arbitrarily (within the 
confines of the paper of course).

It's apparent that unit conversion has been done twice, so that the
limits have been multiplied with the square of the unit conversion
factor. E.g., instead of

horizontal limit for A4 paper = 842 pt (postscript points) = 842/72 in =
11.69 in

the page setup dialog uses 842/72/72 in = 0.16 in.

This is probably an upstream bug, but I'm not sure if it is in gnumeric
or libgnomeprint.

** Affects: gnumeric (Ubuntu)
     Importance: Undecided
         Status: New

-- 
cannot set page setup margins properly in mm, cm and in
https://bugs.launchpad.net/bugs/132932
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to