UTF8 with old X applications

kraft at fzi.de kraft at fzi.de
Tue Apr 26 16:53:27 UTC 2005


Hello,

I'm having a problem with Unicode and legacy X applications (like xemacs, 
xedit). Setting my locale with export LANG=de_DE.UTF-8 makes e.g. xedit bail 
out with:

dirk at dirk-laptop:~$ /usr/bin/X11/xedit
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Error: Aborting: no fontset found

dirk at dirk-laptop:~$

Great. Trying the same thing with export LANG=de_DE at euro (having generated 
both locales with dpkg-reconfigure locales) makes the application work fine.

Strangely, xset fp rehash makes fonts work in every locale, until X is 
restarted again. I have no idea why.

I initially thought the problem was the lack of Unicode font packages, but I 
do have xfonts-efont-unicode and xfonts-efont-unicode-ib installed. Also, 
blindly installing all font packages I could find did not result in a working 
UTF-8 xedit.

While xset fp rehash is a tolerable workaround for some time, I would really 
like to know if anyone can help me here. I'd also appreciate pointers to more 
information. I did not find any useful bugzilla bugs for that problem.

Oh, BTW. I am running hoary.

Yours,
-Dirk




More information about the ubuntu-users mailing list