Monday, February 28, 2005

Adding fonts : xset

Adding new fonts to your X environment is often problematic.
Following points need to be remembered when adding new fonts in the user path:
- Fonts need be in gzip format so compress them if they aren't.
- Run mkfontdir to generate the fonts.dir file in the new font directory.
- xset +fp sets up the directory in the font search path.
fp rehash rereads the font database given by the current font path.

With these steps we are ready to use the fonts. We can see out current X settings using 'xset q' commnad

0 Comments:

Post a Comment

<< Home