GNOME Bugzilla – Bug 116568
locale-specific decimal in xrdb's Xft.dpi
Last modified: 2004-12-22 21:47:04 UTC
After logging in into Gnome (via gdm) xrdb -query shows this (amongst other lines): Xft.dpi: 96,000000 I have LANG=hu_HU and in Hungarian the decimal separator is the comma (as in many other European languages), so printf puts a comma for %f but scanf doesn't understand it. If I set LANG=en_US, the value will be 96.000000. I don't know where this value is used or if it is used at all, but as many applications using many different languages can connect to the same X server, I believe it is a bug. Tested with 2.2.1, looking at the source it seems to me that 2.3.3 is buggy too. In gnome-settings-daemon/gnome-settings-xsettings.c locale (LC_NUMERIC ???) should be temporarily set to C.
good thought. done.