Ubuntu-Note: Copy the TrueType Fonts into ”/usr/share/fonts/truetype” and then run “sudo fc-cache -f -v” and you are done. Details can be found in the Ubuntu Community Documentation. Of course, the Debian-way described below should also work on Ubuntu.
This Howto describes the steps to install Windows Truetype fonts onto a Debian system.
# mkdir -p /usr/local/share/fonts/ttfonts # cp /c/windows/fonts/*.ttf /usr/local/share/fonts/ttfonts # apt-get install ttmkfdir # cd /usr/local/share/fonts/ttfonts # ttmkfdir -o fonts.scale # head -1 fonts.scale > fonts.dir # tail +2 fonts.scale | tac >> fonts.dir # cp fonts.dir fonts.scale # cd /usr/local/share/fonts/ttfonts # python <pathto>/mkfontalias.py # grep 'iso8859-1"' fonts.alias > new.alias # mv new.alias fonts.alias
Edit /etc/X11/XF86Config-4 to include this line
FontPath "/usr/local/share/fonts/ttfonts"
as is including the tabspace and double quotes.
Run this line or restart the X server
$ xset fp+ /usr/local/share/fonts/ttfonts
— Contributed by Douglas Orchard 2005/08/30 18:34