Thanks much. It's my mistake of carrying over an initial idea to use a script in the back end of locale launcher. We'll use mostly C code, and can use X(Get|Set)FontPath and the likes.
Suresh > > Not really - the "Font Path" tag could change with localization, and the > path especially cannot be relied on to be a list of font servers or > directories that directly contain fonts. Xorg inherits the long-ago > XFree86 extension of being able to append qualifiers such as ":unscaled", > and the X11R7.3 release adds the ability to have a "catalog" directory > that contains symlinks to other font paths [1]. > > The Committed method of getting the current font path is > XGetFontPath(3X11). > > As far as I know, there has never been a public method of parsing the > font path, or determining what meaning is applied to the values it > contains. > > [1] http://lists.freedesktop.org/archives/xorg/2007-June/025744.html >
