CentOS 5 กับภาษาไทย

by admin on August 24, 2008

ปัญหาที่ผมพบกับ centos ก็คืออ่านภาษาไทยยากครับ มีปัญหากับตำแหน่งสระ และวรรยุกต์ วิธีการแก้ไขนั้นก็ไม่ยากครับ คือเราเพียงแค่ลง font ภาษาไทยเพิ่มเข้าไป มาดูขั้นตอนกัน

เปิด terminal ขึ้นมาครับ

เปลี่ยนไปยัง directory ที่ต้องการ แล้วพิมพ์คำสั่งดังนี้ครับ

wget ftp://linux.thai.net/pub/ThaiLinux/software/thai-ttf/thai-ttf-0.4.6.tar.gz

tar xvfz thai-ttf-0.4.6.tar.gz

cd thai-ttf-0.4.6

mkdir /usr/share/fonts/thai-ttf

cp *.* /usr/share/fonts/thai-ttf/

chkfontpath –add /usr/share/fonts/thai-ttf

เท่านี้ก็เรียบร้อยครับ restart Firefox แล้วเข้าไป set font ตามชอบครับ

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>