FC4下快速安裝jdk1.5.0(轉)

BSDLite發表於2007-08-11
FC4下快速安裝jdk1.5.0(轉)[@more@]以前一直使用1.4.2今天升了下級,發現1.5.0的控制檯中文全是方塊,看了網上相關的介紹,發現修改fonts.dir的方法不起作用,就研究了一下,現在把方法貼出來,順便把安裝方法一起寫下。

1.下載jdk1.5.0,這個就不用說了吧,到處都有,還是貼個地址吧

2.安裝./jdk-1_5_0-linux-i586.bin ,然後把解壓的目錄放到如/usr/local/目錄下。 夠easy吧

3.設定環境變數,個人建議修改使用者的profile,linux下就是使用者根目錄下的.bashrc,加入
JAVA_HOME=/usr/local/jdk1.5.0
PATH=$PATH:$JAVA_HOME/bin
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME PATH CLASSPATH

4.為firefox和konqueror新增外掛
firefox:ln -s /usr/local/jdk1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so /root/.mozilla/plugins/ (注意不要考備到plugins/目錄下,做連結就ok,不然可能會出問題)
konqueror:設定>配置konqueror>java和javascript--java執行程式的路徑:/usr/local/jdk1.5.0/jre/bin/java

5.字型設定
將/usr/local/jdk1.5.0/jre/lib/fontconfig.*備份到其他地方然後下載我上傳的檔案到/usr/local/jdk1.5.0/jre/lib/下,把txt去掉。
把檔案開啟查詢simsun.ttc,按照你們自己的設定稍稍修改一下路徑就可以了。
但最好不要用simsun.ttc因為它不是免費的,找一個免費的(自己動動手)或者用VeraSansYuanTi(不知道這個是不是免費的)
==========
.bashrc 是終端的配置把我覺得這個方法也許會更好
Create a file called java.sh in /etc/profile.d/ (If you're not too sure about how to do this, the easiest way is gedit /etc/profile.d/java.sh)
This file should contain the following lines (with the first line modified appropriately, according to what's actually in /usr/java/):

export JAVA_HOME="/usr/java/j2re1.4.2_02"
export JAVA_PATH="$JAVA_HOME"
export PATH="$PATH:$JAVA_HOME/bin"
Type chmod +x /etc/profile.d/java.sh
Java should now work properly. You may need to restart your computer for certain things to function properly.
To install the browser plugin for java, as root, do: ln -sf /usr/java//plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla-1.4.1/plugins -- note that you need to replace with the name of the actual directory that's there.
======
jdk1.5中文顯示笨辦法。
在jre/lib/fonts目錄建立一個目錄叫fallback
把simsun.ttf複製到那裡或建立個符號連線 都 可以。
就可以顯示中文了。
======
參考一些牛兒們的作法,在FC4上裝了sun的虛擬機器。

FC4上的jre是自帶的jre-1.4.2-gcj,而azureus和lumaqq是基於java sun的,所以要執行這兩個

東東,需裝sun的jre。到sun官站下jre-1_5_0_03-linux-i586-rpm.bin。

#chmod 777 jre-1_5_0_03-linux-i586-rpm.bin

#./jre-1_5_0_03-linux-i586-rpm.bin

會裝到/usr/java/jre1.5.0_03下。

這樣,系統裡就有了兩個java“虛擬機器”,可以用alternatives管理轉換(真希望能是個圖形工具)。

#alternatives --install /usr/bin/java java /usr/java/jre1.5.0_03/bin/java 2

#alternatives --config java

這時選2,“虛擬機器”就轉換為sun記的了。

================

上傳的附件
檔案型別: txt fontconfig.RedHat.properties.txt (15.9 KB, 351次檢視)

----------
# @(#)linux.fontconfig.RedHat.properties 1.7 04/02/13
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
#

# Version

version=1

# Component Font Mappings

allfonts.chinese-gbk=-misc-simsun-medium-r-normal--*-%d-*-*-c-*-gbk-0
allfonts.chinese-cn-iso10646=-misc-simsun-medium-r-normal--*-%d-*-*-c-*-iso10646-1
allfonts.chinese-big5=-misc-fzmingti-medium-r-normal--*-%d-*-*-p-*-big5-0
allfonts.chinese-tw-iso10646=-misc-fzmingti-medium-r-normal--*-%d-*-*-c-*-iso10646-1
allfonts.chinese-big5hkscs=-misc-fzheiti-medium-r-normal--*-%d-*-*-p-*-big5hkscs-0
allfonts.lucida=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1

serif.plain.japanese-x0201=-ricoh-mincho-medium-r-normal--*-%d-*-*-p-*-jisx0201.1976-0
serif.plain.japanese-x0208=-ricoh-mincho-medium-r-normal--*-%d-*-*-p-*-jisx0208.1983-0
serif.plain.japanese-iso10646=-ricoh-mincho-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.plain.korean=-misc-sundotum-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
serif.plain.korean-iso10646=-misc-sundotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.plain.latin-1=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1

serif.bold.japanese-x0201=-ricoh-mincho-medium-r-normal--*-%d-*-*-p-*-jisx0201.1976-0
serif.bold.japanese-x0208=-ricoh-mincho-medium-r-normal--*-%d-*-*-p-*-jisx0208.1983-0
serif.bold.japanese-iso10646=-ricoh-mincho-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.bold.korean=-misc-sundotum-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
serif.bold.korean-iso10646=-misc-sundotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.bold.latin-1=-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1

serif.italic.japanese-x0201=-ricoh-mincho-medium-r-normal--*-%d-*-*-p-*-jisx0201.1976-0
serif.italic.japanese-x0208=-ricoh-mincho-medium-r-normal--*-%d-*-*-p-*-jisx0208.1983-0
serif.italic.japanese-iso10646=-ricoh-mincho-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.italic.korean=-misc-sundotum-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
serif.italic.korean-iso10646=-misc-sundotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.italic.latin-1=-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1

serif.bolditalic.japanese-x0201=-ricoh-mincho-medium-r-normal--*-%d-*-*-p-*-jisx0201.1976-0
serif.bolditalic.japanese-x0208=-ricoh-mincho-medium-r-normal--*-%d-*-*-p-*-jisx0208.1983-0
serif.bolditalic.japanese-iso10646=-ricoh-mincho-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.bolditalic.korean=-misc-sundotum-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
serif.bolditalic.korean-iso10646=-misc-sundotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.bolditalic.latin-1=-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1

sansserif.plain.japanese-x0201=-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0201.1976-0
sansserif.plain.japanese-x0208=-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0208.1983-0
sansserif.plain.japanese-iso10646=-ricoh-gothic-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.plain.korean=-misc-sundotum-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
sansserif.plain.korean-iso10646=-misc-sundotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1

sansserif.bold.japanese-x0201=-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0201.1976-0
sansserif.bold.japanese-x0208=-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0208.1983-0
sansserif.bold.japanese-iso10646=-ricoh-gothic-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.bold.korean=-misc-sundotum-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
sansserif.bold.korean-iso10646=-misc-sundotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1

sansserif.italic.japanese-x0201=-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0201.1976-0
sansserif.italic.japanese-x0208=-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0208.1983-0
sansserif.italic.japanese-iso10646=-ricoh-gothic-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.italic.korean=-misc-sundotum-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
sansserif.italic.korean-iso10646=-misc-sundotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1

sansserif.bolditalic.japanese-x0201=-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0201.1976-0
sansserif.bolditalic.japanese-x0208=-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0208.1983-0
sansserif.bolditalic.japanese-iso10646=-ricoh-gothic-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.bolditalic.korean=-misc-sundotum-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
sansserif.bolditalic.korean-iso10646=-misc-sundotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1

monospaced.plain.japanese-x0201=-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0201.1976-0
monospaced.plain.japanese-x0208=-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0208.1983-0
monospaced.plain.japanese-iso10646=-ricoh-mincho-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.plain.korean=-misc-sundotumche-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
monospaced.plain.korean-iso10646=-misc-sundotumche-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1

monospaced.bold.japanese-x0201=-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0201.1976-0
monospaced.bold.japanese-x0208=-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0208.1983-0
monospaced.bold.japanese-iso10646=-ricoh-mincho-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.bold.korean=-misc-sundotumche-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
monospaced.bold.korean-iso10646=-misc-sundotumche-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1

monospaced.italic.japanese-x0201=-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0201.1976-0
monospaced.italic.japanese-x0208=-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0208.1983-0
monospaced.italic.japanese-iso10646=-ricoh-mincho-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.italic.korean=-misc-sundotumche-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
monospaced.italic.korean-iso10646=-misc-sundotumche-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.bolditalic.japanese-x0201=-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0201.1976-0
monospaced.bolditalic.japanese-x0208=-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0208.1983-0
monospaced.bolditalic.japanese-iso10646=-ricoh-mincho-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.bolditalic.korean=-misc-sundotumche-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
monospaced.bolditalic.korean-iso10646=-misc-sundotumche-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1

dialog.plain.japanese-x0201=-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0201.1976-0
dialog.plain.japanese-x0208=-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0208.1983-0
dialog.plain.japanese-iso10646=-ricoh-gothic-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.plain.korean=-misc-sundotum-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
dialog.plain.korean-iso10646=-misc-sundotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1

dialog.bold.japanese-x0201=-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0201.1976-0
dialog.bold.japanese-x0208=-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0208.1983-0
dialog.bold.japanese-iso10646=-ricoh-gothic-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.bold.korean=-misc-sundotum-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
dialog.bold.korean-iso10646=-misc-sundotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1

dialog.italic.japanese-x0201=-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0201.1976-0
dialog.italic.japanese-x0208=-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0208.1983-0
dialog.italic.japanese-iso10646=-ricoh-gothic-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.italic.korean=-misc-sundotum-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
dialog.italic.korean-iso10646=-misc-sundotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1

dialog.bolditalic.japanese-x0201=-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0201.1976-0
dialog.bolditalic.japanese-x0208=-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0208.1983-0
dialog.bolditalic.japanese-iso10646=-ricoh-gothic-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.bolditalic.korean=-misc-sundotum-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
dialog.bolditalic.korean-iso10646=-misc-sundotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1

dialoginput.plain.japanese-x0201=-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0201.1976-0
dialoginput.plain.japanese-x0208=-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0208.1983-0
dialoginput.plain.japanese-iso10646=-ricoh-mincho-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.plain.korean=-misc-sundotumche-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
dialoginput.plain.korean-iso10646=-misc-sundotumche-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1

dialoginput.bold.japanese-x0201=-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0201.1976-0
dialoginput.bold.japanese-x0208=-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0208.1983-0
dialoginput.bold.japanese-iso10646=-ricoh-mincho-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.bold.korean=-misc-sundotumche-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
dialoginput.bold.korean-iso10646=-misc-sundotumche-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1

dialoginput.italic.japanese-x0201=-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0201.1976-0
dialoginput.italic.japanese-x0208=-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0208.1983-0
dialoginput.italic.japanese-iso10646=-ricoh-mincho-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.italic.korean=-misc-sundotumche-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
dialoginput.italic.korean-iso10646=-misc-sundotumche-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1

dialoginput.bolditalic.japanese-x0201=-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0201.1976-0
dialoginput.bolditalic.japanese-x0208=-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0208.1983-0
dialoginput.bolditalic.japanese-iso10646=-ricoh-mincho-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.bolditalic.korean=-misc-sundotumche-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0
dialoginput.bolditalic.korean-iso10646=-misc-sundotumche-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1

# Search Sequences

sequence.allfonts=latin-1
sequence.allfonts.Big5=latin-1,chinese-big5
sequence.allfonts.Big5-HKSCS=latin-1,chinese-big5hkscs
sequence.allfonts.x-EUC-TW=latin-1,chinese-big5
sequence.allfonts.GB18030=latin-1,chinese-gbk,chinese-cn-iso10646
sequence.allfonts.GBK=latin-1,chinese-gbk
sequence.allfonts.EUC-KR=latin-1,korean
sequence.allfonts.x-euc-jp-linux=latin-1,japanese-x0201,japanese-x0208
sequence.allfonts.UTF-8.ko.KR=latin-1,korean-iso10646
sequence.allfonts.UTF-8.ja.JP=latin-1,japanese-iso10646
sequence.allfonts.UTF-8.zh.CN=latin-1,chinese-cn-iso10646
sequence.allfonts.UTF-8.zh.TW=latin-1,chinese-tw-iso10646
sequence.allfonts.UTF-8.zh.HK=latin-1,chinese-tw-iso10646

sequence.fallback=lucida,chinese-big5,chinese-gbk,japanese-x0208,korean

# Exclusion Ranges
exclusion.japanese-x0201=0390-03d6,2200-22ef,2701-27be
exclusion.japanese-x0208=0390-03d6,2200-22ef,2701-27be
exclusion.japanese-iso10646=0390-03d6,2200-22ef,2701-27be

# Font File Names
filename.-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1=$JRE_LIB_FONTS/LucidaSansRegular.ttf
filename.-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1=$JRE_LIB_FONTS/LucidaBrightRegular.ttf
filename.-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1=$JRE_LIB_FONTS/LucidaBrightDemiBold.ttf
filename.-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1=$JRE_LIB_FONTS/LucidaBrightItalic.ttf
filename.-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1=$JRE_LIB_FONTS/LucidaBrightDemiItalic.ttf
filename.-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1=$JRE_LIB_FONTS/LucidaSansDemiBold.ttf
filename.-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1=$JRE_LIB_FONTS/LucidaSansRegular.ttf
filename.-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1=$JRE_LIB_FONTS/LucidaSansDemiBold.ttf
filename.-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1=$JRE_LIB_FONTS/LucidaTypewriterRegular.ttf
filename.-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1=$JRE_LIB_FONTS/LucidaTypewriterBold.ttf
filename.-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1=$JRE_LIB_FONTS/LucidaTypewriterRegular.ttf
filename.-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1=$JRE_LIB_FONTS/LucidaTypewriterBold.ttf

filename.-misc-fzmingti-medium-r-normal--*-%d-*-*-p-*-big5-0=/usr/share/fonts/local/simsun.ttc
filename.-misc-fzheiti-medium-r-normal--*-%d-*-*-p-*-big5hkscs-0=/usr/share/fonts/local/simsun.ttc
filename.-misc-fzmingti-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/local/simsun.ttc
filename.-misc-simsun-medium-r-normal--*-%d-*-*-p-*-gbk-0=/usr/share/fonts/local/simsun.ttc
filename.-misc-simsun-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/local/simsun.ttc
filename.-misc-sundotum-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0=/usr/share/fonts/local/simsun.ttc
filename.-misc-sundotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/local/simsun.ttc
filename.-misc-sundotumche-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0=/usr/share/fonts/local/simsun.ttc
filename.-misc-sundotumche-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/local/simsun.ttc
filename.-ricoh-gothic-medium-r-normal--*-%d-*-*-m-*-jisx0208.1983-0=/usr/share/fonts/local/simsun.ttc
filename.-ricoh-gothic-medium-r-normal--*-%d-*-*-m-*-jisx0201.1976-0=/usr/share/fonts/local/simsun.ttc
filename.-ricoh-gothic-medium-r-normal--*-%d-*-*-m-*-iso10646-1=/usr/share/fonts/local/simsun.ttc
filename.-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0208.1983-0=/usr/share/fonts/local/simsun.ttc
filename.-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0201.1976-0=/usr/share/fonts/local/simsun.ttc
filename.-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-iso10646-1=/usr/share/fonts/local/simsun.ttc
filename.-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0208.1983-0=/usr/share/fonts/local/simsun.ttc
filename.-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0201.1976-0=/usr/share/fonts/local/simsun.ttc
filename.-ricoh-gothic-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/local/simsun.ttc
filename.-ricoh-mincho-medium-r-normal--*-%d-*-*-p-*-jisx0208.1983-0=/usr/share/fonts/local/simsun.ttc
filename.-ricoh-mincho-medium-r-normal--*-%d-*-*-p-*-jisx0201.1976-0=/usr/share/fonts/local/simsun.ttc
filename.-ricoh-mincho-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/local/simsun.ttc

# AWT X11 font paths
awtfontpath.chinese-big5=/usr/share/fonts/truetype/local
awtfontpath.chinese-big5hkscs=/usr/share/fonts/truetype/local
awtfontpath.chinese-gbk=/usr/share/fonts/truetype/local
awtfontpath.chinese-cn-iso10646=/usr/share/fonts/truetype/local
awtfontpath.chinese-tw-iso10646=/usr/share/fonts/truetype/local
awtfontpath.japanese-x0201=/usr/share/fonts/truetype
awtfontpath.japanese-x0208=/usr/share/fonts/truetype
awtfontpath.japanese-iso10646=/usr/share/fonts/truetype
awtfontpath.korean=/usr/share/fonts/truetype
awtfontpath.korean-iso10646=/usr/share/fonts/truetype

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10617542/viewspace-947482/,如需轉載,請註明出處,否則將追究法律責任。

相關文章