QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1057|回复: 5

有谁成功解决jdk中文问题的吗

[复制链接]
发表于 2006-1-12 22:29:31 | 显示全部楼层 |阅读模式
弄了半天
结果awt还是乱码!
实在是郁闷
 楼主| 发表于 2006-1-12 22:30:55 | 显示全部楼层
我的字体配置文件如下!显示的是乱码
未配置前是方框字块
# @(#)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/ttf/zh_CN/simsun.ttc
filename.-misc-fzheiti-medium-r-normal--*-%d-*-*-p-*-big5hkscs-0=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-misc-fzmingti-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-misc-simsun-medium-r-normal--*-%d-*-*-p-*-gbk-0=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-misc-simsun-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-misc-sundotum-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-misc-sundotum-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-misc-sundotumche-medium-r-normal--*-%d-*-*-p-*-ksc5601.1987-0=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-misc-sundotumche-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-ricoh-gothic-medium-r-normal--*-%d-*-*-m-*-jisx0208.1983-0=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-ricoh-gothic-medium-r-normal--*-%d-*-*-m-*-jisx0201.1976-0=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-ricoh-gothic-medium-r-normal--*-%d-*-*-m-*-iso10646-1=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0208.1983-0=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-jisx0201.1976-0=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-ricoh-mincho-medium-r-normal--*-%d-*-*-m-*-iso10646-1=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0208.1983-0=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-ricoh-gothic-medium-r-normal--*-%d-*-*-p-*-jisx0201.1976-0=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-ricoh-gothic-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-ricoh-mincho-medium-r-normal--*-%d-*-*-p-*-jisx0208.1983-0=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-ricoh-mincho-medium-r-normal--*-%d-*-*-p-*-jisx0201.1976-0=/usr/share/fonts/ttf/zh_CN/simsun.ttc
filename.-ricoh-mincho-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/ttf/zh_CN/simsun.ttc

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

使用道具 举报

发表于 2006-1-12 22:56:51 | 显示全部楼层
你的字体配置文件名是什么?
回复

使用道具 举报

发表于 2006-1-12 23:17:07 | 显示全部楼层
不知道你有没有安装simsun,你使用的字体是RC2默认的吗?

如果你使用的 simsun ,去搜以前的帖子,我曾经发过。

如果你使用的RC2默认的,请把下面的内容覆盖 fontconfig.properties

[code:1]# @(#)linux.fontconfig.properties       1.2 03/10/28
#
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
#

# Version

version=1

# Component Font Mappings


serif.plain.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.bold.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.italic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.bolditalic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1

sansserif.plain.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.bold.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.italic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.bolditalic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1

monospaced.plain.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.bold.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.italic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.bolditalic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1

dialog.plain.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.bold.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.italic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.bolditalic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1

dialoginput.plain.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.bold.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.italic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.bolditalic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1

# Search Sequences

sequence.allfonts=latin-1
sequence.allfonts.GB18030=latin-1,chinese-gb18030

# Exclusion Ranges
# the fallback sequence omits the following character subsets:
sequence.fallback=chinese-gb18030

# Font File Names
filename.-misc-ar_pl_shanheisun_uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/ttf/zh_CN/uming.ttf

# AWT X11 font paths
awtfontpath.latin-1=/usr/share/fonts
awtfontpath.chinese-gb18030=/usr/share/fonts
[/code:1]
回复

使用道具 举报

 楼主| 发表于 2006-1-13 11:09:20 | 显示全部楼层
谢谢
已经可以了
本来用RC2自带的字体
后来实在没办法 去拷贝了simsun
楼上的方法确实可行
thanks again
但是jboss启动的中文画面还是乱码阿
郁闷
回复

使用道具 举报

发表于 2006-1-13 13:32:14 | 显示全部楼层
这个我也不太清楚,jboss我也没用过,不过你试试下面的方法(我觉得可能是simsun字体没有安装),所以:
1. 安装simsun字体,具体方法你搜搜论坛里的帖子,我没试过,没有发言权
2. 使用这个 fontconfig.properties(这是RC2的jre相关文件):[code:1]# @(#)linux.fontconfig.properties       1.2 03/10/28
#
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
#

# Version

version=1

# Component Font Mappings


serif.plain.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.bold.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.italic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.bolditalic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1

sansserif.plain.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.bold.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.italic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.bolditalic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1

monospaced.plain.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.bold.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.italic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.bolditalic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1

dialog.plain.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.bold.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.italic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.bolditalic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1

dialoginput.plain.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.bold.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.italic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.bolditalic.latin-1=-misc-ar pl shanheisun uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1

# Search Sequences

sequence.allfonts=latin-1
sequence.allfonts.GB18030=latin-1,chinese-gb18030

# Exclusion Ranges
# the fallback sequence omits the following character subsets:
sequence.fallback=chinese-gb18030

# Font File Names
filename.-misc-ar_pl_shanheisun_uni-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/ttf/zh_CN/uming.ttf

# AWT X11 font paths
awtfontpath.latin-1=/usr/share/fonts
awtfontpath.chinese-gb18030=/usr/share/fonts
[/code:1]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-25 11:57 , Processed in 0.172928 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表