On Sat, 18 Nov 2000, Gong Yi LIAO,,, wrote:
At each time i load arphic truetype fonts,xfs-xtt always crash. when i use top to monitor the system ,i always seeing xfs-xtt loading hard and crashing a moment later; could someone offer his /etc/X11/xfs/config for reference? Thanx a lot! :o)....
It is probably not your /etc/X11/xfs/config. How do you start X? Do you use xdm/gdm/wdm or startx? Either way, make sure you have set "deferglyphs = 16" or the command line option -deferglyphs 16, e.g.
startx -- -deferglyphs 16
or check your /etc/X11/xfs/config and /etc/X11/xdm/Xserver files to make sure deferglyphs is there. The crash is caused by either xfs-xtt or the Xserver itself trying to load and render all 14,000 Chinese character/glyphs from the font file, causing a crash.
A question added: when i use gfontsel (the fonts selector in gnome) ,choose the arphic ttf, if i choose the fonts is coded in iso-8859-1 ,xfs-xtt would not crash , but if i choose ttf coded in big5 or gb2312 (like bkai00mp ,gkai00mp ,kai(default),ming(default)) the xfs-xtt will crash and the gfontsel will be dead there . Could someone who has successfull experiences in using arphic truetype fonts offer his experiences and related configurations? THANX A LOT!!!
iso-8859-1: 256 glyphs maximum. big5: about 14,000 glyphs. gb2312: About 7,000 glyphs.
Out of memory, or perhaps a bug with either xfs-xtt or the xserver? I don't know. :-)
Hope this helps,
Cheers,
Anthony
-- Anthony Fok Tung-Ling Civil and Environmental Engineering [EMAIL PROTECTED], [EMAIL PROTECTED] University of Alberta, Canada Debian GNU/Linux Chinese Project -- http://www.debian.org/zh/ Come visit Our Lady of Victory Camp -- http://www.olvc.ab.ca/

