|
中文显示不了,只有一个个的小方块。 程序很简单,没什么说的。
请教该怎么设置 修改/jre/lib/fontconfig.properties.src
也找了些方法,但系统不同,不知如何下手。高手能不能讲解一下jdk fonts文件夹文件意义?
$ java -version
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)
系统 : Mandriva 2006 kernel 2.6.12
$ pwd
/usr/share/fonts
$ ls
9x15.pcf.gz console8x16.pcf.gz default/ fonts.dir override/ zh_TW/
afms/ console8x8.pcf.gz fonts.cache-1 otf/ ttf/
---------------
$ pwd
/usr/jdk1.5.0_05/jre/lib
$ ls
applet/ fontconfig.RedHat.9.0.bfc javaws/
audio/ fontconfig.RedHat.9.0.properties.src javaws.jar
charsets.jar fontconfig.RedHat.bfc jce.jar
classlist fontconfig.RedHat.properties.src jsse.jar
cmm/ fontconfig.Sun.2003.bfc jvm.hprof.txt
content-types.properties fontconfig.Sun.2003.properties.src locale/
deploy.jar fontconfig.Sun.bfc logging.properties
ext/ fontconfig.Sun.properties.src management/
flavormap.properties fontconfig.SuSE.bfc net.properties
fontconfig.bfc fontconfig.SuSE.properties.src oblique-fonts/
fontconfig.properties.src fontconfig.Turbo.8.0.bfc plugin.jar
fontconfig.properties.src.bak fontconfig.Turbo.8.0.properties.src psfontj2d.properties
fontconfig.RedHat.2.1.bfc fontconfig.Turbo.bfc psfont.properties.ja
fontconfig.RedHat.2.1.properties.src fontconfig.Turbo.properties.src rt.jar
fontconfig.RedHat.3.bfc fonts/ security/
fontconfig.RedHat.3.properties.src i386/ sound.properties
fontconfig.RedHat.8.0.bfc im/ zi/
fontconfig.RedHat.8.0.properties.src images/
---------------
fontconfig.properties.src内容
# @(#)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=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1
serif.bold.latin-1=-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1
serif.italic.latin-1=-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1
serif.bolditalic.latin-1=-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1
sansserif.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1
monospaced.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1
dialog.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1
dialoginput.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1
# Search Sequences
sequence.allfonts=latin-1 |
|