LinuxBasics.org

The community that helps people to run Linux

rss

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.

Truetype fonts in Debian

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


Copyright (c) by the authors.
Prior to editing, authors agreed to license their contributions by the terms of the GPL.
See our licensing page for details.


Linux® is a registered trademark of Linus Torvalds.


 
  tutorials/using/truetype_fonts_in_debian.txt · Last modified: 2007/11/16 12:24

LinuxBasics.org

Start Linux-Course Tutorials Linux Links Security Mailing List Online Chat Blog Forum

Site-Info

Help Get in Touch Making of LBo

Wiki-Control

Powered by

Linux Apache DokuWiki Mailman RUTE ht://Dig