Monday, June 30, 2008

Ubuntu 8.04 Flash 中文顯示解決方案

sudo gedit /etc/fonts/conf.d/49-sansserif.conf

修改紅色字的部份,原為
sans-serif,改為中文字型
<match target="pattern">
<test qual="all" name="family" compare="not_eq">
<string>LiHei Pro</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>LiHei Pro</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>monospace</string>
</test>
<edit name="family" mode="append_last">
<string>LiHei Pro</string>
</edit>
</match>

修改後重新開啟Firefox即可

Reference:http://blog.pixnet.net/allisonxu/post/17608099

No comments: