Поиск |
[software] [catdoc] [tcl] [geography] [old things] | |||||||||||||||||
XfontDumpThis program is devoted to Cyril Slobin for his excellent works in area of russification. I've sometimes encountered problems of misterious X program crashes due to unability to find proper X fonts. So, I've written small debugging tool to debug just this problem Compile xfontdump.c file with command gcc -shared -o xfontdump.so xfontdump.cand then start troublesome program with LD_PRELOAD=/path/to/xfontdump.so program xfontdump would intercept all XLoadQueryFont and XLoadFont calls and report to stderr exact font specifications program have requested. If you have problems with some other shared library calls, you can easily extend this apporach. Of course, you can use ltrace, but you'll have hard time analyzing it's output. |