HelicalCynic
09-07-2003, 01:53 PM
You should no longer need to manually install ttmkfdir or XFSTT to use TTF fonts in Slackware current (pre-9.1). Do the following as root...
1) Copy your fonts from your Windows/Fonts directory to /usr/X11/lib/fonts/TTF
2a) cd /usr/X11/lib/fonts/TTF
2b) /usr/X11/bin/mkfontscale (you may need to remove marlett.ttf or some such font, mkfontscale gives an error on it)
2c) /usr/X11/bin/mkfontdir
3) Make sure that everyone can *read* the fonts you just copied: chmod a+r /usr/X11/lib/fonts/TTF/*
(This was the step I forgot, OpenOffice won't pick up that the fonts are there unless they can be read...)
4) Make sure your /etc/X11/XF86Config has a line like FontPath "/usr/X11/lib/fonts/TTF"
5) Restart X, and you should be ready to go! (Note: This does not yet get the fonts to show up in Mozilla Firebird-GTK2-XFT2)
1) Copy your fonts from your Windows/Fonts directory to /usr/X11/lib/fonts/TTF
2a) cd /usr/X11/lib/fonts/TTF
2b) /usr/X11/bin/mkfontscale (you may need to remove marlett.ttf or some such font, mkfontscale gives an error on it)
2c) /usr/X11/bin/mkfontdir
3) Make sure that everyone can *read* the fonts you just copied: chmod a+r /usr/X11/lib/fonts/TTF/*
(This was the step I forgot, OpenOffice won't pick up that the fonts are there unless they can be read...)
4) Make sure your /etc/X11/XF86Config has a line like FontPath "/usr/X11/lib/fonts/TTF"
5) Restart X, and you should be ready to go! (Note: This does not yet get the fonts to show up in Mozilla Firebird-GTK2-XFT2)