- Make a new directory, say /usr/X11R6/lib/X11/fonts/MyTTFdir
- Copy your .ttf font files into there
- cd /usr/X11R6/lib/X11/fonts/MyTTFdir
- ttmkfdir to make the fonts.scale file
- mkfontdir to make the fonts.dir file (needed for TTF fonts?)
- chkfontpath --add=/usr/X11R6/lib/X11/fonts/MyTTFdir (or manually by editing /etc/X11/fs/config)
- service xfs restart (or /etc/init.d/xfs restart)
- chkfontpath --list to see if MyTTFdir was added
- xfontsel to browse/view available fonts
No comments:
Post a Comment