2010年1月1日 星期五

Install a New font in Ubuntu

For instance, I want to install a new font "Crisp" to my Ubuntu 9.10:


1. Create a new directory for your new font:

sudo mkdir /usr/share/fonts/truetype/crisp/

sudo cp ~/download/Crisp.ttf /usr/share/fonts/truetype/crisp/


2. Rebuild the font information files:

sudo fc-cache -f -v | grep -i crisp

-> /usr/share/fonts/truetype/crisp: caching, new cache contents: 1 fonts, 0 dirs


3. Restart the programs in which you want to use the new font.


--------
Ref:

沒有留言:

張貼留言