Red Hat Bugzilla – Bug 458833
[patch] libpaper defaults are suboptimal. Patch to fallback through LC_PAPER.
Last modified: 2008-09-10 02:57:29 EDT
Description of problem:
libpaper is in fedora now, and quite a few applications suck it down with their Requires, but libpaper is from the Debian world where the Debian installer is libpaper aware and sets a suitable default /etc/papersize for it to use. In Fedora there is no default /etc/papersize created by e.g. anaconda and there is no UI to set a value for libpaper in our configuration tools.
Version-Release number of selected component (if applicable):
yum install libpaper
will always say "Letter" out of the box
The upshot of all this is that somewhere along the line OpenOffice.org got debianized and spawns off paperconf if it can find it and takes that as the default printer paper size, which is grievously confusing for non-Letter users.
Ideally in the face of no configuration libpaper would fallback through LC_PAPER before giving up and using Letter.
Patch attached to do this. This follows the mechanism that e.g. gtk2 uses for default paper size.
(http://wiki.services.openoffice.org/wiki/DefaultPaperSize for notes on some paper foo)
Created attachment 314108 [details]
patch to implement
I didn't get any response from an earlier cruder patch to the upstream debian maintainer FWIW
Seems sane. I'll push this out as an update for F-8 and F-9.
I also attached it to your upstream bug report:
libpaper-1.1.23-3.fc8 has been submitted as an update for Fedora 8.
libpaper-1.1.23-3.fc9 has been submitted as an update for Fedora 9.
libpaper-1.1.23-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
libpaper-1.1.23-3.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.