Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

Install True Type Fonts: Using a Font Server

You can add your own fonts and sharing them by putting them into /usr/local/share/fonts/truetype. You need to run a couple of commands to make them available to X (thanks to Adam Trickett 080302):

# aptitude install ttmkfdir
# cd /usr/local/share/fonts/truetype
# mkdir ttf-foo
(then put your foo fonts in here)
# cd foo
# ttmkfdir
# head -1 fonts.scale > fonts.dir
# tail -n +2 fonts.scale | tac >> fonts.dir
# cp fonts.dir fonts.scale

Copyright © 1995-2018 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware and the author of the open source software Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials of Data Science.