FC4下快速安装jdk1.5.0(转)
FC4下快速安装jdk1.5.0(转)[@more@]以前一直使用1.4.2今天升了下级,发现1.5.0的控制台中文全是方块,看了网上相关的介绍,发现修改fonts.dir的方法不起作用,就研究了一下,现在把方法贴出来,顺便把安装方法一起写下。
1.下载jdk1.5.0,这个就不用说了吧,到处都有,还是贴个地址吧
http://ftp.isu.edu.tw/pub/Sun/java/J2SE/5.0/linux/
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记的了。
http://www.linuxsir.org/bbs/show ... 5401&highlight=java
================
上传的附件
文件类型: 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
网页标题:FC4下快速安装jdk1.5.0(转)
本文来源:http://lswzjz.com/article/ghchjs.html
1.下载jdk1.5.0,这个就不用说了吧,到处都有,还是贴个地址吧
http://ftp.isu.edu.tw/pub/Sun/java/J2SE/5.0/linux/
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记的了。
http://www.linuxsir.org/bbs/show ... 5401&highlight=java
================
上传的附件
文件类型: 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
网页标题:FC4下快速安装jdk1.5.0(转)
本文来源:http://lswzjz.com/article/ghchjs.html