Sunday, September 20, 2009

Add new font for Ubuntu

ขั้นตอนการเพิ่ม font TTF ให้กับ Ubuntu
1. กำหนดให้ font chan.ttf อยู่ที่ /home/chan/Desktop
2. cd /usr/share/fonts/truetype
3. mkdir myfonts
4. cd myfonts
5. cp /home/chan/Desktop/chan.ttf .
6. sudo chown root.root chan.ttf
7. sudo mkfontdir
8. cd ..
9. fc-cache

No comments: