Red Hat Bugzilla – Bug 53743
groff is hardwired to US Letter paper format, not A4
Last modified: 2007-04-18 12:37:11 EDT
Description of Problem:
Formatting a man page with "groff -man somemanpage.1" leads to a postscript
file that is formatted for usletter paper, even when the system was
installed outside the United States or Canada (e.g., in the UK), where this
paper format is unknown and everyone uses the international standard format
(ISO A4, see http://www.cl.cam.ac.uk/~mgk25/iso-paper.html).
Version-Release number of selected component (if applicable):
In the file /usr/share/groff/font/devps/DESC change the line
(paper hight measured in 72000th of an inch changes from 11 inch to 297 mm)
and in the file /usr/share/groff/tmac/man.local add the line
unless the installation script knows that the system is configured for
North America only, for example because the file /etc/sysconfig/i18n
contains a line matching 'LANG="*_US"' or 'LANG="*_CA"'.
Markus Kuhn, University of Cambridge
I leave this for upstream groff sources to implement the
right strategies and they seem to keep to "legal" no matter
what language code is setup.
Florian La Roche