To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68837





------- Additional comments from [EMAIL PROTECTED] Tue Oct 17 12:19:02 -0700 
2006 -------
Ok, to elaborate more on the situation, based on my LIMITED debugging skills.. 
hehe

As I said before, centimeters vs. Inches aren't changed in 2.0.4 unless LC_ALL 
is changed..

This is what locale tells me:
$ locale
LANG=es_MX
LC_CTYPE="es_MX"
LC_NUMERIC="es_MX"
LC_TIME="es_MX"
LC_COLLATE="es_MX"
LC_MONETARY="es_MX"
LC_MESSAGES="es_MX"
LC_PAPER="es_MX"
LC_NAME="es_MX"
LC_ADDRESS="es_MX"
LC_TELEPHONE="es_MX"
LC_MEASUREMENT="es_MX"
LC_IDENTIFICATION="es_MX"
LC_ALL=es_MX

Then I ran: 

LC_ALL="" LANGUAGE="es_MX" LANG="es_MX" LC_PAPER="en_US" LC_ADDRESS="en_US" 
LC_COLLATE="en_US" LC_CTYPE="en_US" LC_IDENTIFICATION="en_US" 
LC_MEASUREMENT="en_US" LC_MONETARY="en_US" LC_NAME="en_US" LC_NUMERIC="en_US" 
LC_TELEPHONE="en_US" LC_TIME="en_US" LC_MESSAGES="en_US" oowriter2

The result: 

- In openoffice 2.0.2
  The program is run in english, with LETTER as default paper size and using 
CENTIMETERS ( I guess somehow openoffice did take into account the LANG 
setting, because in en_US, inches is standard )

- In Openoffice 2.0.4
  The program is run in english, with A4 as default paper size and using 
INCHES ( OOo just didn't care ;) )

I guess something got messed up in the locale reading routines, or am I wrong?  
Again, strace shows openoffice reading /usr/lib/locale/es_MX or en_US files 
according to my definition of LC_ variables in the commandline, but it seems 
as if openoffice >= 2.0.3 just didn't care unless it was LC_ALL.  Again, 
changing LC_ALL="en_US" changed default pagesize to LETTER

Sorry if I'm just posting the same things all over again

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to