Re: Unix PS printing and locales


Subject: Re: Unix PS printing and locales
From: Kenneth MacDonald (kenny@holyrood.ed.ac.uk)
Date: Fri May 26 2000 - 10:12:00 CDT


Here's a much better patch to fix the same thing. It temporarily sets
LC_NUMERIC to "C" locale and then back to the original setting.


>>>>> "Me" == Kenneth MacDonald <kenny@holyrood.ed.ac.uk> writes:

>>>>> "Me" == Kenneth MacDonald <kenny@holyrood.ed.ac.uk> writes:
Me> When printing with LANG=pt I cannot get good PostScript, as
Me> sprintf puts in commas as the radix character into the
Me> "setrgb" command. The patch below fixes this by hard wiring a
Me> "0." and then writes a number without a radix character. I
Me> can now print out coloured text!

Me> I forgot to mention that the patch is against 0.7.8.

Me> -- Kenny

Me> ADML Support, EUCS, The University of Edinburgh, Scotland.

-- 
Kenny

ADML Support, EUCS, The University of Edinburgh, Scotland.



This archive was generated by hypermail 2b25 : Fri May 26 2000 - 10:12:41 CDT