[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#367410: xserver-xorg: font problems with some fixed fonts



David Nusinow wrote:
> On Mon, May 15, 2006 at 06:17:32PM -0400, The Anarcat wrote:
>> I didn't think about doing a strace first time round, but here's
>> something.. everything looks fine until:
>>
>> $ strace -o f gnucash
>> ...
>> brk(0x82a0000)                          = 0x82a0000
>> open("/usr/lib/X11/locale/locale.alias", O_RDONLY) = -1 ENOENT (No such
>> file or directory)
>> open("/usr/lib/X11/locale/locale.dir", O_RDONLY) = -1 ENOENT (No such
>> file or directory)
> <snip>
>> Might it be that there is a .dir or .alias file missing, so it falls
>> back on xomGeneric.so.2 (whatever that is..)?
> 
> Interesting, I may have mis-diagnosed. Could you link
> /usr/share/X11/locale/locale.dir to /usr/lib/X11/locale/locale.dir? And do
> the same for locale.alias? If that fixes your problem, at least then we've
> narrowed the scope. If that's the problem then we need to find out what
> library is actually trying to open those files, so we can patch it.

Well... there were lots of things missing in there, so I just symlinked
everything...

lrwxrwxrwx 1 root root   31 2006-05-15 19:09 armscii-8 ->
/usr/share/X11/locale/armscii-8/
lrwxrwxrwx 1 root root   23 2006-05-15 19:09 C -> /usr/share/X11/locale/C/
drwxr-xr-x 2 root root 4096 2006-05-15 10:58 common/
lrwxrwxrwx 1 root root   33 2006-05-15 19:09 compose.dir ->
/usr/share/X11/locale/compose.dir
lrwxrwxrwx 1 root root   33 2006-05-15 19:09 el_GR.UTF-8 ->
/usr/share/X11/locale/el_GR.UTF-8/
lrwxrwxrwx 1 root root   33 2006-05-15 19:09 en_US.UTF-8 ->
/usr/share/X11/locale/en_US.UTF-8/
lrwxrwxrwx 1 root root   38 2006-05-15 19:09 georgian-academy ->
/usr/share/X11/locale/georgian-academy/
lrwxrwxrwx 1 root root   33 2006-05-15 19:09 georgian-ps ->
/usr/share/X11/locale/georgian-ps/
lrwxrwxrwx 1 root root   32 2006-05-15 19:09 ibm-cp1133 ->
/usr/share/X11/locale/ibm-cp1133/
lrwxrwxrwx 1 root root   31 2006-05-15 19:09 iscii-dev ->
/usr/share/X11/locale/iscii-dev/
lrwxrwxrwx 1 root root   32 2006-05-15 19:09 isiri-3342 ->
/usr/share/X11/locale/isiri-3342/
lrwxrwxrwx 1 root root   31 2006-05-15 19:09 iso8859-1 ->
/usr/share/X11/locale/iso8859-1/
lrwxrwxrwx 1 root root   32 2006-05-15 19:09 iso8859-10 ->
/usr/share/X11/locale/iso8859-10/
lrwxrwxrwx 1 root root   32 2006-05-15 19:09 iso8859-11 ->
/usr/share/X11/locale/iso8859-11/
lrwxrwxrwx 1 root root   32 2006-05-15 19:09 iso8859-13 ->
/usr/share/X11/locale/iso8859-13/
lrwxrwxrwx 1 root root   32 2006-05-15 19:09 iso8859-14 ->
/usr/share/X11/locale/iso8859-14/
lrwxrwxrwx 1 root root   32 2006-05-15 19:09 iso8859-15 ->
/usr/share/X11/locale/iso8859-15/
lrwxrwxrwx 1 root root   31 2006-05-15 19:09 iso8859-2 ->
/usr/share/X11/locale/iso8859-2/
lrwxrwxrwx 1 root root   31 2006-05-15 19:09 iso8859-3 ->
/usr/share/X11/locale/iso8859-3/
lrwxrwxrwx 1 root root   31 2006-05-15 19:09 iso8859-4 ->
/usr/share/X11/locale/iso8859-4/
lrwxrwxrwx 1 root root   31 2006-05-15 19:09 iso8859-5 ->
/usr/share/X11/locale/iso8859-5/
lrwxrwxrwx 1 root root   31 2006-05-15 19:09 iso8859-6 ->
/usr/share/X11/locale/iso8859-6/
lrwxrwxrwx 1 root root   31 2006-05-15 19:09 iso8859-7 ->
/usr/share/X11/locale/iso8859-7/
lrwxrwxrwx 1 root root   31 2006-05-15 19:09 iso8859-8 ->
/usr/share/X11/locale/iso8859-8/
lrwxrwxrwx 1 root root   31 2006-05-15 19:09 iso8859-9 ->
/usr/share/X11/locale/iso8859-9/
lrwxrwxrwx 1 root root   32 2006-05-15 19:09 iso8859-9e ->
/usr/share/X11/locale/iso8859-9e/
lrwxrwxrwx 1 root root   24 2006-05-15 19:09 ja -> /usr/share/X11/locale/ja/
lrwxrwxrwx 1 root root   28 2006-05-15 19:09 ja.JIS ->
/usr/share/X11/locale/ja.JIS/
lrwxrwxrwx 1 root root   33 2006-05-15 19:09 ja_JP.UTF-8 ->
/usr/share/X11/locale/ja_JP.UTF-8/
lrwxrwxrwx 1 root root   28 2006-05-15 19:09 ja.S90 ->
/usr/share/X11/locale/ja.S90/
lrwxrwxrwx 1 root root   29 2006-05-15 19:09 ja.SJIS ->
/usr/share/X11/locale/ja.SJIS/
lrwxrwxrwx 1 root root   28 2006-05-15 19:09 ja.U90 ->
/usr/share/X11/locale/ja.U90/
lrwxrwxrwx 1 root root   24 2006-05-15 19:09 ko -> /usr/share/X11/locale/ko/
lrwxrwxrwx 1 root root   28 2006-05-15 19:09 koi8-c ->
/usr/share/X11/locale/koi8-c/
lrwxrwxrwx 1 root root   28 2006-05-15 19:09 koi8-r ->
/usr/share/X11/locale/koi8-r/
lrwxrwxrwx 1 root root   28 2006-05-15 19:09 koi8-u ->
/usr/share/X11/locale/koi8-u/
lrwxrwxrwx 1 root root   33 2006-05-15 19:09 ko_KR.UTF-8 ->
/usr/share/X11/locale/ko_KR.UTF-8/
lrwxrwxrwx 1 root root   34 2006-05-15 19:09 locale.alias ->
/usr/share/X11/locale/locale.alias
lrwxrwxrwx 1 root root   32 2006-05-15 19:09 locale.dir ->
/usr/share/X11/locale/locale.dir
lrwxrwxrwx 1 root root   38 2006-05-15 19:09 microsoft-cp1251 ->
/usr/share/X11/locale/microsoft-cp1251/
lrwxrwxrwx 1 root root   38 2006-05-15 19:09 microsoft-cp1255 ->
/usr/share/X11/locale/microsoft-cp1255/
lrwxrwxrwx 1 root root   38 2006-05-15 19:09 microsoft-cp1256 ->
/usr/share/X11/locale/microsoft-cp1256/
lrwxrwxrwx 1 root root   31 2006-05-15 19:09 mulelao-1 ->
/usr/share/X11/locale/mulelao-1/
lrwxrwxrwx 1 root root   31 2006-05-15 19:09 nokhchi-1 ->
/usr/share/X11/locale/nokhchi-1/
lrwxrwxrwx 1 root root   33 2006-05-15 19:09 pt_BR.UTF-8 ->
/usr/share/X11/locale/pt_BR.UTF-8/
lrwxrwxrwx 1 root root   33 2006-05-15 19:09 ru_RU.UTF-8 ->
/usr/share/X11/locale/ru_RU.UTF-8/
lrwxrwxrwx 1 root root   31 2006-05-15 19:09 tatar-cyr ->
/usr/share/X11/locale/tatar-cyr/
lrwxrwxrwx 1 root root   27 2006-05-15 19:09 th_TH ->
/usr/share/X11/locale/th_TH/
lrwxrwxrwx 1 root root   33 2006-05-15 19:09 th_TH.UTF-8 ->
/usr/share/X11/locale/th_TH.UTF-8/
lrwxrwxrwx 1 root root   29 2006-05-15 19:09 tscii-0 ->
/usr/share/X11/locale/tscii-0/
lrwxrwxrwx 1 root root   32 2006-05-15 19:09 vi_VN.tcvn ->
/usr/share/X11/locale/vi_VN.tcvn/
lrwxrwxrwx 1 root root   34 2006-05-15 19:09 vi_VN.viscii ->
/usr/share/X11/locale/vi_VN.viscii/
lrwxrwxrwx 1 root root   27 2006-05-15 19:09 zh_CN ->
/usr/share/X11/locale/zh_CN/
lrwxrwxrwx 1 root root   35 2006-05-15 19:09 zh_CN.gb18030 ->
/usr/share/X11/locale/zh_CN.gb18030/
lrwxrwxrwx 1 root root   31 2006-05-15 19:09 zh_CN.gbk ->
/usr/share/X11/locale/zh_CN.gbk/
lrwxrwxrwx 1 root root   33 2006-05-15 19:09 zh_CN.UTF-8 ->
/usr/share/X11/locale/zh_CN.UTF-8/
lrwxrwxrwx 1 root root   32 2006-05-15 19:09 zh_HK.big5 ->
/usr/share/X11/locale/zh_HK.big5/
lrwxrwxrwx 1 root root   37 2006-05-15 19:09 zh_HK.big5hkscs ->
/usr/share/X11/locale/zh_HK.big5hkscs/
lrwxrwxrwx 1 root root   33 2006-05-15 19:09 zh_HK.UTF-8 ->
/usr/share/X11/locale/zh_HK.UTF-8/
lrwxrwxrwx 1 root root   27 2006-05-15 19:09 zh_TW ->
/usr/share/X11/locale/zh_TW/
lrwxrwxrwx 1 root root   32 2006-05-15 19:09 zh_TW.big5 ->
/usr/share/X11/locale/zh_TW.big5/
lrwxrwxrwx 1 root root   33 2006-05-15 19:09 zh_TW.UTF-8 ->
/usr/share/X11/locale/zh_TW.UTF-8/

That doesn't fix the problem, however. :) The strace tells me both emacs
and gnucash open the alias and dir file, but still do the same insanities.

Note that the "common" directory in /usr/lib/X11/locale/common is not in
/usr/share/X11/locale.

If you want a shell here, it can be arranged.

A.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: