Thursday, November 03, 2005

Fonts - custom TrueType


- put custom TrueType fonts in a directory

/usr/share/fonts/truetype/custom

- create font indices for X

# cd /usr/share/fonts/truetype/custom
# sudo mkfontscale
# sudo mkfontdir

- add the new font path in X config

# vi /etc/X11/xorg.conf

FontPath "/usr/share/fonts/truetype/custom"

- rebuild font information cache files

# sudo fc-cache -f -v

***

- add the new font path in fontconfig

# vi /etc/fonts/local.conf

No comments: