After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 116568 - locale-specific decimal in xrdb's Xft.dpi
locale-specific decimal in xrdb's Xft.dpi
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] settings-daemon
unspecified
Other Linux
: Normal minor
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-07-02 21:18 UTC by Egmont Koblinger
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Egmont Koblinger 2003-07-02 21:18:08 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.
Comment 1 Jody Goldberg 2003-07-02 21:31:17 UTC
good thought.
done.