MozTW 討論區 https://forum.moztw.org/ |
|
applet displays big5 in mozilla https://forum.moztw.org/viewtopic.php?f=7&t=441 |
第 1 頁 (共 1 頁) |
發表人: | guest [ 2002-10-11, 15:23 ] |
文章主題 : | applet displays big5 in mozilla |
few months ago i encountered a problem that applet in mozilla (in any of its versions) can't display traditional chinese correctly has been solved. i suppose it's because last time the fontset, such as mingliu.ttc, didn't register properly into x window system. so, via following up user firefly's article, it utilized ttfm.sh to setup fonts first for later used in x window system (as gloabl to all programs). then, i only copied font.properties.zh_TW into $JAVA_HOME/jre/lib/ folder. it's all ok. <br>i am not very sure what the ttfm.sh does, so i can only guess that it make fontsets to be global to all other programs in compared with steps last time i did via my own hand (i copied necessary fonts like mingliu.ttc into $JAVA_HOME/jre/lib/fonts/ and edit fonts.dir under $JAVA_HOME/jre/lib/fonts/; thus it appears that the mozilla installed via root displayed big5 character correctly, but via non-root account it didn't . and that's the first step.<br>second, copy font.properties.zh_TW into $JAVA_HOME/jre/lib/.<br>those steps are which i suppose necessary for display big5 correctly either in applet in mozilla or in programming java. and the reason i post this article is because i suppose it can be simplified through simply editin' some necessary files and copying font files into correct folders - that the ttfm.sh did - without root's configration. (i do not know too much about shell script, so hope someone be able to give me some suggestions or tell me what the ttfm.sh does)<br>regards, |
發表人: | Jeremy [ 2002-10-11, 15:47 ] |
文章主題 : | Re: applet displays big5 in mozilla |
對不起<br>我好想知道方法<br>但真的看不明白 |
發表人: | guest [ 2002-10-16, 09:31 ] |
文章主題 : | Re: applet displays big5 in mozilla |
[quote author=Jeremy link=board=news;num=1034321009;start=0#1 date=10/11/02 15:47:27]對不起<br>我好想知道方法<br>但真的看不明白[/quote]<br><br><br>我想你可以參考 http://home.kimo.com.tw/firefly_z.tw/setfont/ 的網頁 - 作者, 螢火飛 - 步驟講的滿詳細的. 若無特殊狀況的話,應該只有兩個大步驟. 首先, 下載 ttfm.sh 後 把需要的字型 如 mingliu.ttc 加入 ; 然後把抓到的 font.properties.zh_TW 放到 $JAVA_HOME/jre/lib/ 目錄下 即可.<br> |
發表人: | jeremy [ 2002-10-19, 11:22 ] |
文章主題 : | Re: applet displays big5 in mozilla |
but i use windows...it it work?<br>how to use the ttsm.sh? |
發表人: | jeremy [ 2002-10-19, 11:22 ] |
文章主題 : | Re: applet displays big5 in mozilla |
but i use windows...it it work?<br>how to use the ttsm.sh? |
發表人: | jeremy [ 2002-10-19, 11:22 ] |
文章主題 : | Re: applet displays big5 in mozilla |
but i use windows...it it work?<br>how to use the ttsm.sh? |
發表人: | jeremy [ 2002-10-19, 11:22 ] |
文章主題 : | Re: applet displays big5 in mozilla |
but i use windows...it it work?<br>how to use the ttsm.sh? |
發表人: | guest [ 2002-10-23, 17:48 ] |
文章主題 : | Re: applet displays big5 in mozilla |
[quote author=jeremy link=board=news;num=1034321009;start=0#6 date=10/19/02 11:22:24]but i use windows...it it work?<br>how to use the ttsm.sh?[/quote]<br>window 版的 mozilla不用 設定 ttfm.sh 就可以看的到 applet上的中文了吧, 前提條件是 plugin 要設定正確. <br>確定 mozilla是否有抓到 plugin 可以在 mozilla網址列輸入 about:plugins 查看看是不是正確抓到 plugin, 有的話 就應該 抓的到. |
第 1 頁 (共 1 頁) | 所有顯示的時間為 UTC + 8 小時 |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |