Maching paper size with locale

P at draigBrady.com P at draigBrady.com
Mon Sep 27 15:16:03 UTC 2004


Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Kyrre Ness Sjobak wrote:
> 
>>Why is there no common setting of this - one file where all programs
>>read what the standard papersize/orientation etc should be?
> 
> 
> There is, the paper size information is part of the locale.
> 
> It's just that not all programs use that information.  And of course
> they can only use those values for an initial setup.  I.e., firefox
> could only use the information when it creates a new profile.  The
> setting in existing profiles must be accepted.
> 
> If you find a program not respecting the information in the initial
> setup, file a bug for that program.  Point to the LC_PAPER locale category.

As a side note, I find it useful to lookup the locale database
for various things using the local util. For e.g.:

LANG=fr_FR locale int_prefix

So what's the corresponding command for paper size?
Why doesn't the locale command have a --list-all-fields option?

cheers,
Pádraig.





More information about the fedora-devel-list mailing list