Bug 76938 - groff uses config file to think everyone's using A4
groff uses config file to think everyone's using A4
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: groff (Show other bugs)
8.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Florian La Roche
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-10-29 14:51 EST by John Verel
Modified: 2007-04-18 12:48 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-07 15:06:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Verel 2002-10-29 14:51:29 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204

Description of problem:
With upgrade to man-1.5j-11, man -t formats incorrectly.  If you pipe to lpr,
the margins are wrong, shifted up and to the rights.  Also running
enscript-1.6.1-22 from 8.0 upgrade.  Same printer, same driver.  Everything else
prings fine.

Version-Release number of selected component (if applicable):

man-1.5j-11

enscript-1.6.1-22

How reproducible:
Always

Steps to Reproduce:
1.From console, type man -t foo | lpr
2.
3.
	

Actual Results:  Margins are wrong, shifted up and to the right for US Letter paper.

Expected Results:  Text centered on page as before upgrade.

Additional info:
Comment 1 Need Real Name 2002-11-06 23:40:11 EST
groff's postscript generator is configured to use A4 paper by default. 

I don't know enough about groff for an "official" solution. For a workaround, 
edit /usr/share/groff/1.18/font/devps/DESC, changing

        papersize /etc/papersize a4

to

        papersize /etc/papersize letter

Comment 2 Eido Inoue 2003-01-07 14:55:24 EST
groff should actually be usuing the locale LC_PAPER to determine the paper size
rather than a local config file. re-assigning to groff.
Comment 3 Florian La Roche 2003-01-07 15:06:05 EST
Groff has an upstream discussion on how to best set the default papersize and
I don't want to change this for the Red Hat Linux sources. Seems LC_PAPERSIZE
will not be used and things stay as they are. /etc/papersize or groff options
are possibilities to override this.

greetings,

Florian La Roche

Note You need to log in before you can comment on or make changes to this bug.