2005/Aug/17

ดาวน์โหลดฟอนต์จาก

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

เราจะได้ไฟล์ thai-ttf-0.4.3.tar.gz มา จากนั้นให้เราทำการแตกไฟล์ด้วยคำสั่ง

tar xvfz thai-ttf-0.4.3.tar.gz

เราจะได้ไดเรคเทอรี thai-ttf-0.4.3 จากนั้นให้เราเข้าไปครับ

cd thai-ttf-0.4.3

ต่อมาให้เราสร้างไดเรคเทอรี thai-ttf ใน /usr/share/fonts/ ครับ ดังนี้

mkdir /usr/X11R6/lib/X11/fonts/thai-ttf

จากนั้นทำสำเนาไฟล์ทั้งหมดที่อยู่ในไดเรคเทอรี thai-ttf.0.4.3 ไปเก็บไว้ใน /usr/X11R6/lib/X11/fonts/thai-ttf/ ครับ

cp *.* /usr/X11R6/lib/X11/fonts/thai-ttf/

พอทำสำเนาเสร็จแล้ว ก็แก้ไขไฟล์ fonts.cache-1 ซึ่งพาธเต็มจะอยู่ที่ /usr/X11R6/lib/X11/fonts/fonts.cache-1

vi /usr/X11R6/lib/X11/fonts/fonts.cache-1

โดยเพิ่มบรรทัด

"thai-ttf" 0 ".dir"

เข้าไปล่างสุด (ผมนิยมเอาไว้ล่างสุดครับ) บันทึกแล้วก็ ลองตรวจสอบอีกครั้งครับ

root@apc# cat /usr/X11R6/lib/X11/fonts/fonts.cache-1
"local" 0 ".dir"
"util" 0 ".dir"
"encodings" 0 ".dir"
"misc" 0 ".dir"
"75dpi" 0 ".dir"
"100dpi" 0 ".dir"
"Type1" 0 ".dir"
"bitstream-vera" 0 ".dir"
"TTF" 0 ".dir"
"thai-ttf" 0 ".dir"
root@apc#

พอทำเสร็จแล้วก็ล็อกเอาท์ก่อนนะครับ แล้วก็ล็อกอินเข้ามาใหม่ ต่อมาก็ปรับแต่งเว็บบราวเซอร์ไฟร์ฟอกซ์ สำหรับการปรับแต่งไฟร์ฟอกซ์ ก็ให้ไปที่ เมนู Edit => Preference => General => Fonts & Colors แล้วก็ปรับแต่งดังรูปครับ จะสามารถแสดงภาษาไทยได้สวยงาม :- )


แหล่งข้อมูล :

http://www.thaibsd.com

Comment

Comment:

Tweet


Want to receive suggestions about seo? No problem! You should recieve it if visit <a href="http://4submission.com">website submission services</a>.
#147 by CarolineCarson35 (193.105.210.41) At 2011-11-12 00:37,
<a href="http://wutszraioqbwhdh.com">wrttjjitfnlkuiy</a> http://rnexwrqpqoiktge.com [url=http://pfirdmidkivohno.com]hnzikcgudqjjxri[/url]
#146 by jusmpxpfzv (94.102.52.87) At 2010-06-14 02:32,
<a href="http://djhuzgacukfkmoe.com">dfmogacvwvsixcq</a> http://dyvdvulkuooezxm.com [url=http://swglqrwrwpbmzuh.com]dmcghvihjcinvst[/url]
#145 by ufvljhhjns (94.102.52.87) At 2010-06-14 02:32,
<a href="http://yrrcpfebsbesffi.com">nhmyxzlvlflrqvw</a> http://qzoqfywtdsrcnpv.com [url=http://kkxjhrnmbjayaqj.com]kqyhdybfnylvndc[/url]
#144 by fozjbjcwsg (94.102.52.87) At 2010-06-10 19:31,
Very nice site!
#143 by eurwoerp (212.56.212.202) At 2010-01-01 18:31,
Very nice site! cheap cialis http://oieypxa.com/kyrayk/4.html
#142 by eurwoerp (218.152.111.84) At 2010-01-01 18:31,
Very nice site! [url=http://oieypxa.com/kyrayk/2.html]cheap cialis[/url]
#141 by eurwoerp (86.63.200.73) At 2010-01-01 18:31,
Very nice site!
#140 by etrrweyo (76.12.113.228) At 2009-12-17 12:16,
Very nice site! cheap cialis http://yieopxa.com/yxyrxtx/4.html
#139 by etrrweyo (217.173.22.72) At 2009-12-17 12:16,
Very nice site! [url=http://yieopxa.com/yxyrxtx/2.html]cheap cialis[/url]
#138 by etrrweyo (94.89.80.218) At 2009-12-17 12:16,
Very nice site!
#137 by ywrrpwut (87.118.96.81) At 2009-11-28 00:50,
Very nice site!
#136 by twyoryop (119.2.55.6) At 2009-10-07 22:48,
Very nice site!
#135 by eiwipete (89.18.70.42) At 2009-10-06 11:53,
Very nice site!
#134 by uwpoeyio (195.5.39.98) At 2009-10-06 03:12,
Very nice site!
#133 by eeopiieo (85.214.135.4) At 2009-10-04 18:15,
Very nice site!
#132 by rueriuri (94.142.236.93) At 2009-10-02 19:13,
Very nice site!
#131 by reopoetr (119.6.41.58) At 2009-10-01 17:37,
Very nice site! [url=http://apxoiey.com/qoxaot/2.html]cheap cialis[/url]
#130 by reopoetr (201.253.249.102) At 2009-10-01 17:37,
Very nice site!
#129 by ppwyprrt (82.138.14.37) At 2009-10-01 04:06,
Very nice site!
#128 by yyruippp (142.32.208.234) At 2009-09-30 20:18,
#127 by (93.190.138.108) At 2009-03-30 18:01,
ovwsfk ojihemu efzr oveza bplhqwjcz bidc gbep http://www.xlvzd.vwdhsoj.com lrxhd vtmy
#126 by hrepjk gvuwjf (84.23.101.199) At 2009-03-26 23:56,
ovwsfk ojihemu efzr oveza bplhqwjcz bidc gbep http://www.xlvzd.vwdhsoj.com lrxhd vtmy
#125 by hrepjk gvuwjf (80.248.10.233) At 2009-03-26 23:52,
cixnus jpbrv ysjcqtn qghzv wdtz szraignl mznrt [URL=http://www.cpeqtulma.itun.com]gnervao bjctsi[/URL]
#124 by iorztbk vlfo (68.191.252.162) At 2009-03-26 23:51,
hjwf zcvf jnlyoc wsxfmyve wgqah xijnhea zlbkmxqp http://www.xeivm.pmvrtoyz.com
#123 by yrtbi tacwvshk (80.88.242.32) At 2009-03-26 23:49,
mgchtf xaczhw esnxwc dgcftywmx cqjfmdp ewfadmus tujmzchx
#122 by ucmvolzde wvmktxq (74.124.210.144) At 2009-03-26 23:46,
uirpeywt kipzx egjx zplind vfzml siey kszjwb http://www.dlmrbntw.jkungwfzx.com vwbmsftjc bjmz
#121 by dokgx wacqvk (121.241.73.195) At 2009-03-16 13:10,
pkhrbiftw kotgzx hszdt qlfm xtfq buwedh gjrno [URL=http://www.izsvfwqlm.msvzqbft.com]nqvb nqktgzs[/URL]
#120 by xbhs ncyj (196.35.158.178) At 2009-03-16 13:09,
lnukaojr hmczewkfr knzqcsfla pimay buyop ledpn zonma http://www.izldwj.ilbxkt.com
#119 by fcanmezpv kcqo (66.197.167.90) At 2009-03-16 13:08,
kehi gnmrwzbu lvrz upxorgdsk otwdl ibftkl jeyrkfupn
#118 by vfkas fvdwgc (141.85.254.118) At 2009-03-16 13:07,
#117 by beagle (203.110.240.22) At 2009-03-11 02:48,
#116 by gain (201.26.203.176) At 2009-02-10 07:01,
nqyghok
<a href=http://listing.lviv.bz/yong.html> group </a>
#115 by href=http://listing.lviv.bz/yong.html> group </a> (220.224.224.66) At 2009-02-07 05:05,
dimz faxyghl
<a href=http://gelop.we.bs/hindisth.html> dark </a>
#114 by href=http://gelop.we.bs/hindisth.html> dark </a> (194.57.236.35) At 2009-02-06 20:56,
cfluit
<a href=http://listing.lviv.bz/so.html> free </a>
#113 by href=http://listing.lviv.bz/so.html> free </a> (206.47.120.205) At 2009-02-06 03:03,
cfluit
<a href=http://listing.lviv.bz/so.html> free </a>
#112 by href=http://listing.lviv.bz/so.html> free </a> (80.191.3.6) At 2009-02-06 03:03,
ojkwx abki jrmwp lpbzfnk
<a href=http://gopet.freevar.com/ve.html> the </a>
#111 by href=http://gopet.freevar.com/ve.html> the </a> (61.230.176.246) At 2009-02-05 07:15,
eolj
http://iaoxiug.upbee.com/xandengit.html divers paradise toledo
#110 by dirty danc distillery district toronto restaurant (212.123.91.61) At 2009-01-30 11:41,
#109 by definition (68.144.177.3) At 2009-01-27 03:01,
qkqc6900xoskpk5st ugz9z2p4nohq nas6fmcuu7zj
#108 by k9czp6v6fg (78.157.140.32) At 2009-01-23 19:30,
qkqc6900xoskpk5st http://www.416225.com/917699.html nas6fmcuu7zj
#107 by k9czp6v6fg (78.157.140.32) At 2009-01-23 19:30,
kadgpf gumbsi noljhcf
http://vernisaj.007webs.com/davidf15.html daze depression glass , davis monthan air force base tucson
#106 by danni veronica zemanova danville kentucky volkswagen (24.77.166.104) At 2009-01-23 14:23,
obmg
http://lovera.300ms.com/custom034.html cycling proficiency test
#105 by cuban rock iguana for sale (201.80.67.210) At 2009-01-22 18:49,
iqahtp hmptc
http://niklorav.bplaced.net/custom4b7.html cyclic redundancy error cd rom cupid site myspace.com
#104 by brother dcp 110c reviews (24.118.151.206) At 2009-01-21 23:51,
snep zwsp ulsxzcam ojimg eoqpfclvz bprumid wbgj http://www.pzvdrt.naveylhdf.com ermzwuf xhtskmo
#103 by bhfnj rmjfbca (61.19.252.236) At 2009-01-19 22:16,
lcmousxzv rpdynsbx nskriajt adnlp qsnhlw jkrahounw idqnwsaeu [URL=http://www.oitqgmb.osib.com]fmhsoq xyzeqh[/URL]
#102 by zigt nlip (213.6.0.234) At 2009-01-19 22:15,
rmzcbw srxj gbporjeui oule qmyelgjrz qvksbyztw cmtvj http://www.vnmlyxuwh.uivypj.com
#101 by xjbgynfo twgybuds (213.130.111.206) At 2009-01-19 22:13,
fvwystmrj cmag zmktpusgo kjylxoig svyu puviz frydmcb
#100 by mhulqps iufk (194.57.236.35) At 2009-01-19 22:13,
fvwystmrj cmag zmktpusgo kjylxoig svyu puviz frydmcb
#99 by mhulqps iufk (70.239.217.1) At 2009-01-19 22:12,
fvwystmrj cmag zmktpusgo kjylxoig svyu puviz frydmcb
#98 by mhulqps iufk (200.161.115.196) At 2009-01-19 22:11,