[poppler] LC_NUMERIC fix at printing

Martin Kretzschmar m_kretzschmar at gmx.net
Thu Mar 24 14:26:40 PST 2005


Hi,

This patch never resets LC_NUMERIC to the original value.
Even if it did (e.g. by moving a pair of setlocale calls around each
printf invocation), calling setlocale in libraries is not optimal, see:

http://bugzilla.gnome.org/show_bug.cgi?id=109446 and
http://mail.gnome.org/archives/desktop-devel-list/2003-June/msg00524.html

OTOH, a user might less angry about a badly formatted number in the UI,
than broken PostScript output.

Am Mittwoch, den 23.03.2005, 20:01 +0100 schrieb Albert Astals Cid:
> More patches from Takashi Iwai 
> 
> **********
> This patch fixes the problem regarding the printing on xpdf with some
> locales.  Resetting LC_NUMERIC to make printf() correctly.
> **********

Hmm.

Martin



More information about the poppler mailing list