How can I add a font path to Apple's X11 permanently?
How can I add a font path to Apple's X11 permanently?
- Subject: How can I add a font path to Apple's X11 permanently?
- From: cucmi <email@hidden>
- Date: Tue, 10 Apr 2007 17:01:12 +0800
Hi all,
I have question about how to add font path to apple's X11. I want to
install a bitmap font (which is wqy-bitmapfont, can be downloaded
from http://wqy.sourceforge.net). I have done the following:
1, Extract the entire tgz to /usr/X11/lib/X11/fonts dir
2, cd /usr/X11/lib/X11/fonts; mkfontdir wqy-bitmap
3, fc-cache wqy-bitmap
4, xset fp+ /usr/X11/lib/X11/fonts/wqy-bitmap; xset rehash
5, xlsfonts | grep wenquanyi
After the five steps listed above I can see the font listed by
xlsfonts. So I add the font path to /usr/X11R6/lib/X11/fs/config. Now
the catalogue section in the config file looks like:
catalogue = /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/
TTF/ ,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/
fonts/Type1/,/usr/X 11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/
fonts/75dpi/,/usr/X11R6/lib/X 11/fonts/100dpi/,/usr/X11R6/lib/
X11/fonts/wqy-bitmapfont/
After I restart the X11 server, the font I have installed previously
disappeared. I am confused! How can I add a font path to Apple's X11
permanently?
Regards!
Jiang
2007-04-10
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden