วิธีการติดตั้งฟ้อนท์ไทย บน ubuntu 7.04 แบบง่ายๆ
1. ติดตั้งใน home directory ของแต่ละคน สามารถทำได้ดังนี้
$mkdir ~/.fonts
และทำการ copy font thai ไปใน .fonts
$cp /paht/of/thai/fonts ~/.fonts
$fc-cache -f -v
เมื่อติดตั้งฟ้อนท์เสร็จแล้ว ให้ logout และทำการ login ใหม่อีกครั้ง
2. การติดตั้งใน system
ให้ทำการ copy ฟ้อนท์ไปไว้ใน /usr/share/fonts/truetype
$sudo cp /path/of/thai/fonts /usr/share/fonts/truetype/ttf-custom
หลังจากนั้นสั่งรัน fc-cache
$sudo fc-cache -f -v
3. วิธีสุดท้าย ติดตั้งผ่าน apt-get แต่ต้องต่อ internet ก่อนนะ
$sudo apt-get update
$sudo apt-get install ttf-thai-tlwg xfonts-thai xfonts-thai-etl \
xfonts-thai-manop xfonts-thai-nectec xfonts-thai-poonlap xfonts-thai-ttf xfonts-thai-vor
$sudo apt-get install msttcorefonts
เสร็จสิ้นสำหรับการติดตั้งฟ้อนท์ไทยแล้ว
หมายเหตุ
ขอบคุณ ทุกท่านที่สละเวลานั่งทำ thai fonts ให้คนไทยได้ใช้กันครับ
1. ติดตั้งใน home directory ของแต่ละคน สามารถทำได้ดังนี้
$mkdir ~/.fonts
และทำการ copy font thai ไปใน .fonts
$cp /paht/of/thai/fonts ~/.fonts
$fc-cache -f -v
เมื่อติดตั้งฟ้อนท์เสร็จแล้ว ให้ logout และทำการ login ใหม่อีกครั้ง
2. การติดตั้งใน system
ให้ทำการ copy ฟ้อนท์ไปไว้ใน /usr/share/fonts/truetype
$sudo cp /path/of/thai/fonts /usr/share/fonts/truetype/ttf-custom
หลังจากนั้นสั่งรัน fc-cache
$sudo fc-cache -f -v
3. วิธีสุดท้าย ติดตั้งผ่าน apt-get แต่ต้องต่อ internet ก่อนนะ
$sudo apt-get update
$sudo apt-get install ttf-thai-tlwg xfonts-thai xfonts-thai-etl \
xfonts-thai-manop xfonts-thai-nectec xfonts-thai-poonlap xfonts-thai-ttf xfonts-thai-vor
$sudo apt-get install msttcorefonts
เสร็จสิ้นสำหรับการติดตั้งฟ้อนท์ไทยแล้ว
หมายเหตุ
ขอบคุณ ทุกท่านที่สละเวลานั่งทำ thai fonts ให้คนไทยได้ใช้กันครับ