Topic: FC3下怎样正确显示中文

  Print this page

1.FC3下怎样正确显示中文 Copy to clipboard
Posted by: hyq40
Posted on: 2005-04-29 09:16

我在FC3下中文始终乱码
修改font.properties.zh_CN
提示Warning: Cannot convert string "-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-" to type FontStruct
我的font.properties.zh_CN如下.请高手修改
# %W% %E%
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
#

# Component Font Mappings For RedhatLinux 8.0/zh_CN
#
serif.0=-b&h-luxi serif-medium-r-normal--*-%d-*-*-p-*-iso8859-1
serif.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

serif.italic.0=-b&h-luxi serif-medium-i-normal--*-%d-*-*-p-*-iso8859-1
serif.italic.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

serif.bold.0=-b&h-luxi serif-bold-r-normal--*-%d-*-*-p-*-iso8859-1
serif.bold.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

serif.bolditalic.0=-b&h-luxi serif-bold-i-normal--*-%d-*-*-p-*-iso8859-1
serif.bolditalic.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

sansserif.0=-b&h-luxi sans-medium-r-normal--*-%d-*-*-p-*-iso8859-1
sansserif.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

sansserif.italic.0=-b&h-luxi sans-medium-i-normal--*-%d-*-*-p-*-iso8859-1
sansserif.italic.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

sansserif.bold.0=-b&h-luxi sans-bold-r-normal--*-%d-*-*-p-*-iso8859-1
sansserif.bold.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

sansserif.bolditalic.0=-b&h-luxi sans-bold-i-normal--*-%d-*-*-p-*-iso8859-1
sansserif.bolditalic.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

monospaced.0=-b&h-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1
monospaced.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

monospaced.italic.0=-b&h-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1
monospaced.italic.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

monospaced.bold.0=-b&h-luxi mono-bold-r-normal--*-%d-*-*-m-*-iso8859-1
monospaced.bold.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

monospaced.bolditalic.0=-b&h-luxi mono-bold-r-normal--*-%d-*-*-m-*-iso8859-1
monospaced.bolditalic.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

dialog.0=-b&h-luxi sans-medium-r-normal--*-%d-*-*-p-*-iso8859-1
dialog.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

dialog.italic.0=-b&h-luxi sans-medium-i-normal--*-%d-*-*-p-*-iso8859-1
dialog.italic.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

dialog.bold.0=-b&h-luxi sans-bold-r-normal--*-%d-*-*-p-*-iso8859-1
dialog.bold.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

dialog.bolditalic.0=-b&h-luxi sans-bold-i-normal--*-%d-*-*-p-*-iso8859-1
dialog.bolditalic.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

dialoginput.0=-b&h-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1
dialoginput.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

dialoginput.italic.0=-b&h-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1
dialoginput.italic.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

dialoginput.bold.0=-b&h-luxi mono-bold-r-normal--*-%d-*-*-m-*-iso8859-1
dialoginput.bold.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

dialoginput.bolditalic.0=-b&h-luxi mono-bold-r-normal--*-%d-*-*-m-*-iso8859-1
dialoginput.bolditalic.1=-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0

# Missing Glyph Character
#
default.char=274f

# Component Font Character Encodings
#
fontcharset.serif.0=sun.io.CharToByteISO8859_1
fontcharset.serif.1=sun.io.CharToByteUnicodeBigUnmarked

fontcharset.sansserif.0=sun.io.CharToByteISO8859_1
fontcharset.sansserif.1=sun.io.CharToByteUnicodeBigUnmarked

fontcharset.monospaced.0=sun.io.CharToByteISO8859_1
fontcharset.monospaced.1=sun.io.CharToByteUnicodeBigUnmarked

fontcharset.dialog.0=sun.io.CharToByteISO8859_1
fontcharset.dialog.1=sun.io.CharToByteUnicodeBigUnmarked

fontcharset.dialoginput.0=sun.io.CharToByteISO8859_1
fontcharset.dialoginput.1=sun.io.CharToByteUnicodeBigUnmarked

# Exclusion Ranges
#

# XFontSet Information
#
fontset.serif.plain=\
-b&h-luxi serif-medium-r-normal--*-%d-*-*-p-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.serif.italic=\
-b&h-luxi serif-medium-i-normal--*-%d-*-*-p-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.serif.bold=\
-b&h-luxi serif-bold-r-normal--*-%d-*-*-p-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.serif.bolditalic=\
-b&h-luxi serif-bold-i-normal--*-%d-*-*-p-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.sansserif.plain=\
-b&h-luxi sans-medium-i-normal--*-%d-*-*-p-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.sansserif.italic=\
-b&h-luxi sans-medium-i-normal--*-%d-*-*-p-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.sansserif.bold=\
-b&h-luxi sans-bold-r-normal--*-%d-*-*-p-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.sansserif.bolditalic=\
-b&h-luxi sans-bold-i-normal--*-%d-*-*-p-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.monospaced.plain=\
-b&h-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.monospaced.italic=\
-b&h-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.monospaced.bold=\
-b&h-luxi mono-bold-r-normal--*-%d-*-*-m-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.monospaced.bolditalic=\
-b&h-luxi mono-bold-r-normal--*-%d-*-*-m-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.dialog.italic=\
-b&h-luxi sans-medium-i-normal--*-%d-*-*-p-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.dialog.bold=\
-b&h-luxi sans-bold-r-normal--*-%d-*-*-p-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.dialog.bolditalic=\
-b&h-luxi sans-bold-i-normal--*-%d-*-*-p-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.dialog.plain=\
-b&h-luxi sans-medium-r-normal--*-%d-*-*-p-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.dialoginput.italic=\
-b&h-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.dialoginput.bold=\
-b&h-luxi mono-bold-r-normal--*-%d-*-*-m-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.dialoginput.bolditalic=\
-b&h-luxi mono-bold-r-normal--*-%d-*-*-m-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.dialoginput.plain=\
-b&h-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

fontset.default=\
-b&h-luxi sans-medium-r-normal--*-%d-*-*-p-*-iso8859-1,\
-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-

filename.-default-simsun-medium-r-normal--12-*-*-*-c-*-gb2312.1980-0=/usr/share/fonts/zh_CN/TrueType/simsun/simsun.ttf


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923