Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can I add a font path to Apple's X11 permanently?



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) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.