如何调整Netbeans的字体

开发Rails应用有一阵子了,使用了朋友推荐的Netbeans作为主要的开发工具,功能很好,唯一让我别扭的地方便是无法设置一个好的字体。由于Netbeans是基于的Swing,所以字体的渲染要通过Java来实现。默认的配置下的monospaced字体是映射到宋体的,如果在字体中选择其他的字体,那么中文就无法显示了。那如何解决这个问题,可以按照以下几个步骤:

1. 找到Netbeans所使用的jdk或jre的根目录

我的机器上安装的是jdk 1.5,因为sun开发了java的自动更新程序,所有后来又有好多个jre的更新目录,这时候要选中Netbeans所使用的那个。由于Netbeans的初衷是为java开发,所以自然会默认选择最新的jdk目录,而我的主要目的仅仅是开发Rails应用,对于java 1.6增加的字体抗锯齿显示显然是无法放弃的。查看或修改Netbeans的jre目录的方法是查看Netbeans安装目录下的etc目录,例如“C:\Program Files\NetBeans 6.0 Beta 1\etc”,打开netbeans.conf文件,如下一条便是netbeans使用的jre的目录了(如果要进行Java开发,必须是jdk的路径,我只进行rails开发,所以只使用jre就可以了):

netbeans_jdkhome=”C:\Program Files\Java\jre1.6.0_03″

2. 找到或创建jre的字体显示配置文件

找到了netbeans所使用的jre目录后,如果此目录是一个完整的jdk目录,那么应该在此目录下的jre\lib下,找到fontconfig.properties,如果仅仅是一个jre目录,那么应该在此目录下的lib目录下,找到fontconfig.properties。

如果没有找到fontconfig.properties,而找到了fontconfig.properties.src,那么说明你没有改动过java的字体设置,fontconfig.properties.src保存了fontconfig.properties的原始配置,我们可以将其复制一份并改名为fontconfig.properties。

3. 修改fontconfig.properties

打开fontconfig.properties,以后我们做出的修改就会体现在java的Swing应用上了。修改的要领是:

  • java对于某一个字体族,如serif、monospaced,会在不同编码下映射到不同的字体,比如将Serif字体的基本的ascii编码映射到Times New Roman,将GB2312的编码的字符,映射到Simsun,这样他遇到什么编码,就是用什么字体,如:
    serif.plain.alphabetic=Times New Roman
  • 光配置的编码和字体之间的映射还不足够,还有个优先级问题,例如,GB2312编码其实涵盖了ASCII,那么它是先考虑ASCII呢,还是先考虑GB2312呢?于是有个序列的配置,例如:
    sequence.serif.GBK=alphabetic,chinese-ms936,dingbats,symbol
    默认的monospaced的字体,GBK上优先顺序都是先考虑GB2312的,所以这一点也要修改
  • 还指定字体和字体文件名之间的关系,如果你使用了一个自定义的字体而没有告诉JAVA这个字体是从哪里来的,一样没有用,这些配置像这样:
    filename.Arial=ARIAL.TTF
    filename.Courier_New=COUR.TTF
    字体中的空格请使用下划线代替

好,那么下面我贴一份使用我在上一篇“最好的写代码的字体”中推荐的DejaVu字体的fontconfig.properties文件,以及效果图:
netbeans-fontconfig.png

点此下载fontconfig.properties

“如何调整Netbeans的字体”的12个回复

  1. 谢谢,如何修改这个文件,用vista中的msuighur.ttf替代默认的arabic字体.
    我是初学的,前辈帮忙,指教.

  2. @陈少鸿

    Arabic字体我没有接触过(阿拉伯文?),Vista我也没有,你应该先打开msuighur.ttf看看他的名称,然后根据arabric的编码进行修改
    应该是先在最后添加一个
    filename.msuighur = msuighur.ttf
    然后
    allfonts.< 编码>=< 字体名>

  3. 请指教:
    # @(#)fontconfig.properties 1.5 04/01/28
    #
    # Copyright 2003 Sun Microsystems, Inc. All rights reserved.
    #

    # Version

    version=1

    # Component Font Mappings

    allfonts.arabic=Microsoft Uighur
    allfonts.chinese-ms936=SimSun
    allfonts.chinese-gb18030=SimSun-18030
    allfonts.chinese-hkscs=MingLiU_HKSCS
    allfonts.devanagari=Mangal
    allfonts.dingbats=Wingdings
    allfonts.lucida=Lucida Sans Regular
    allfonts.symbol=Symbol
    allfonts.thai=Lucida Sans Regular

    serif.plain.alphabetic/1252=Times New Roman
    serif.plain.arabic=Microsoft Uighur
    serif.plain.chinese-ms950=MingLiU
    serif.plain.hebrew=David
    serif.plain.japanese=MS Mincho
    serif.plain.korean=Batang

    serif.bold.alphabetic/1252=Times New Roman Bold
    serif.bold.arabic=Microsoft Uighur
    serif.bold.chinese-ms950=PMingLiU
    serif.bold.hebrew=David Bold
    serif.bold.japanese=MS Mincho
    serif.bold.korean=Batang

    serif.italic.alphabetic/1252=Times New Roman Italic
    serif.italic.arabic=Microsoft Uighur
    serif.italic.chinese-ms950=PMingLiU
    serif.italic.hebrew=David
    serif.italic.japanese=MS Mincho
    serif.italic.korean=Batang

    serif.bolditalic.alphabetic/1252=Times New Roman Bold Italic
    serif.bolditalic.arabic=Microsoft Uighur
    serif.bolditalic.chinese-ms950=PMingLiU
    serif.bolditalic.hebrew=David Bold
    serif.bolditalic.japanese=MS Mincho
    serif.bolditalic.korean=Batang

    sansserif.plain.alphabetic/1252=Arial
    sansserif.plain.arabic=Microsoft Uighur
    sansserif.plain.chinese-ms950=MingLiU
    sansserif.plain.hebrew=David
    sansserif.plain.japanese=MS Gothic
    sansserif.plain.korean=Gulim

    sansserif.bold.alphabetic/1252=Arial Bold
    sansserif.bold.arabic=Microsoft Uighur
    sansserif.bold.chinese-ms950=PMingLiU
    sansserif.bold.hebrew=David Bold
    sansserif.bold.japanese=MS Gothic
    sansserif.bold.korean=Gulim

    sansserif.italic.alphabetic/1252=Arial Italic
    sansserif.italic.arabic=Microsoft Uighur
    sansserif.italic.chinese-ms950=PMingLiU
    sansserif.italic.hebrew=David
    sansserif.italic.japanese=MS Gothic
    sansserif.italic.korean=Gulim

    sansserif.bolditalic.alphabetic/1252=Arial Bold Italic
    sansserif.bolditalic.arabic=Microsoft Uighur
    sansserif.bolditalic.chinese-ms950=PMingLiU
    sansserif.bolditalic.hebrew=David Bold
    sansserif.bolditalic.japanese=MS Gothic
    sansserif.bolditalic.korean=Gulim

    monospaced.plain.alphabetic/1252=Courier New
    monospaced.plain.arabic=Microsoft Uighur
    monospaced.plain.chinese-ms950=MingLiU
    monospaced.plain.hebrew=David
    monospaced.plain.japanese=MS Gothic
    monospaced.plain.korean=GulimChe

    monospaced.bold.alphabetic/1252=Courier New Bold
    monospaced.bold.arabic=Microsoft Uighur
    monospaced.bold.chinese-ms950=PMingLiU
    monospaced.bold.hebrew=David Bold
    monospaced.bold.japanese=MS Gothic
    monospaced.bold.korean=GulimChe

    monospaced.italic.alphabetic/1252=Courier New Italic
    monospaced.italic.arabic=Microsoft Uighur
    monospaced.italic.chinese-ms950=PMingLiU
    monospaced.italic.hebrew=David
    monospaced.italic.japanese=MS Gothic
    monospaced.italic.korean=GulimChe

    monospaced.bolditalic.alphabetic/1252=Courier New Bold Italic
    monospaced.bolditalic.arabic=Microsoft Uighur
    monospaced.bolditalic.chinese-ms950=PMingLiU
    monospaced.bolditalic.hebrew=David Bold
    monospaced.bolditalic.japanese=MS Gothic
    monospaced.bolditalic.korean=GulimChe

    dialog.plain.alphabetic/1252=Arial
    dialog.plain.arabic=Microsoft Uighur
    dialog.plain.chinese-ms950=MingLiU
    dialog.plain.hebrew=David
    dialog.plain.japanese=MS Gothic
    dialog.plain.korean=Gulim

    dialog.bold.alphabetic/1252=Arial Bold
    dialog.bold.arabic=Microsoft Uighur
    dialog.bold.chinese-ms950=PMingLiU
    dialog.bold.hebrew=David Bold
    dialog.bold.japanese=MS Gothic
    dialog.bold.korean=Gulim

    dialog.italic.alphabetic/1252=Arial Italic
    dialog.italic.arabic=Microsoft Uighur
    dialog.italic.chinese-ms950=PMingLiU
    dialog.italic.hebrew=David
    dialog.italic.japanese=MS Gothic
    dialog.italic.korean=Gulim

    dialog.bolditalic.alphabetic/1252=Arial Bold Italic
    dialog.bolditalic.arabic=Microsoft Uighur
    dialog.bolditalic.chinese-ms950=PMingLiU
    dialog.bolditalic.hebrew=David Bold
    dialog.bolditalic.japanese=MS Gothic
    dialog.bolditalic.korean=Gulim

    dialoginput.plain.alphabetic/1252=Courier New
    dialoginput.plain.arabic=Microsoft Uighur
    dialoginput.plain.chinese-ms950=MingLiU
    dialoginput.plain.hebrew=David
    dialoginput.plain.japanese=MS Gothic
    dialoginput.plain.korean=Gulim

    dialoginput.bold.alphabetic/1252=Courier New Bold
    dialoginput.bold.arabic=Microsoft Uighur
    dialoginput.bold.chinese-ms950=PMingLiU
    dialoginput.bold.hebrew=David Bold
    dialoginput.bold.japanese=MS Gothic
    dialoginput.bold.korean=Gulim

    dialoginput.italic.alphabetic/1252=Courier New Italic
    dialoginput.italic.arabic=Microsoft Uighur
    dialoginput.italic.chinese-ms950=PMingLiU
    dialoginput.italic.hebrew=David
    dialoginput.italic.japanese=MS Gothic
    dialoginput.italic.korean=Gulim

    dialoginput.bolditalic.alphabetic/1252=Courier New Bold Italic
    dialoginput.bolditalic.arabic=Microsoft Uighur
    dialoginput.bolditalic.chinese-ms950=PMingLiU
    dialoginput.bolditalic.hebrew=David Bold
    dialoginput.bolditalic.japanese=MS Gothic
    dialoginput.bolditalic.korean=Gulim

    # Search Sequences

    sequence.allfonts=arabic,alphabetic/1252,dingbats,symbol

    sequence.serif.GBK=alphabetic,chinese-ms936,dingbats,symbol
    sequence.sansserif.GBK=alphabetic,chinese-ms936,dingbats,symbol
    sequence.monospaced.GBK=chinese-ms936,alphabetic,dingbats,symbol
    sequence.dialog.GBK=alphabetic,chinese-ms936,dingbats,symbol
    sequence.dialoginput.GBK=alphabetic,chinese-ms936,dingbats,symbol

    sequence.serif.GB18030=alphabetic,chinese-gb18030,dingbats,symbol
    sequence.sansserif.GB18030=alphabetic,chinese-gb18030,dingbats,symbol
    sequence.monospaced.GB18030=chinese-gb18030,alphabetic,dingbats,symbol
    sequence.dialog.GB18030=alphabetic,chinese-gb18030,dingbats,symbol
    sequence.dialoginput.GB18030=alphabetic,chinese-gb18030,dingbats,symbol

    sequence.serif.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol
    sequence.sansserif.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol
    sequence.monospaced.x-windows-950=chinese-ms950,alphabetic,dingbats,symbol
    sequence.dialog.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol
    sequence.dialoginput.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol

    sequence.serif.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol
    sequence.sansserif.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol
    sequence.monospaced.x-MS950-HKSCS=chinese-ms950,alphabetic,chinese-hkscs,dingbats,symbol
    sequence.dialog.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol
    sequence.dialoginput.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol

    sequence.allfonts.UTF-8.hi=alphabetic/1252,devanagari,dingbats,symbol

    sequence.allfonts.windows-1255=hebrew,alphabetic/1252,dingbats,symbol
    sequence.allfonts.windows-1256=arabic,alphabetic/1252,dingbats,symbol

    sequence.serif.windows-31j=alphabetic,japanese,dingbats,symbol
    sequence.sansserif.windows-31j=alphabetic,japanese,dingbats,symbol
    sequence.monospaced.windows-31j=japanese,alphabetic,dingbats,symbol
    sequence.dialog.windows-31j=alphabetic,japanese,dingbats,symbol
    sequence.dialoginput.windows-31j=alphabetic,japanese,dingbats,symbol

    sequence.serif.x-windows-949=alphabetic,korean,dingbats,symbol
    sequence.sansserif.x-windows-949=alphabetic,korean,dingbats,symbol
    sequence.monospaced.x-windows-949=korean,alphabetic,dingbats,symbol
    sequence.dialog.x-windows-949=alphabetic,korean,dingbats,symbol
    sequence.dialoginput.x-windows-949=alphabetic,korean,dingbats,symbol

    sequence.allfonts.x-windows-874=alphabetic,thai,dingbats,symbol

    sequence.fallback=lucida,\
    chinese-ms950,chinese-hkscs,chinese-ms936,chinese-gb18030,\
    japanese,korean

    # Exclusion Ranges

    exclusion.alphabetic=0700-1e9f,1f00-20ab,20ad-f8ff
    exclusion.arabic=0041-005a,0060-007a,007f-00ff
    exclusion.chinese-gb18030=0390-03d6,2200-22ef,2701-27be
    exclusion.hebrew=0041-005a,0060-007a,007f-00ff,20ac-20ac

    # Monospaced to Proportional width variant mapping
    # (Experimental private syntax)
    proportional.MS_Gothic=MS PGothic
    proportional.MS_Mincho=MS PMincho
    proportional.MingLiU=PMingLiU

    # Font File Names

    filename.Microsoft_Uighur=MSUIGHUR.TTF

    filename.Arial=ARIAL.TTF
    filename.Arial_Bold=ARIALBD.TTF
    filename.Arial_Italic=ARIALI.TTF
    filename.Arial_Bold_Italic=ARIALBI.TTF

    filename.Courier_New=COUR.TTF
    filename.Courier_New_Bold=COURBD.TTF
    filename.Courier_New_Italic=COURI.TTF
    filename.Courier_New_Bold_Italic=COURBI.TTF

    filename.Times_New_Roman=TIMES.TTF
    filename.Times_New_Roman_Bold=TIMESBD.TTF
    filename.Times_New_Roman_Italic=TIMESI.TTF
    filename.Times_New_Roman_Bold_Italic=TIMESBI.TTF

    filename.SimSun=SIMSUN.TTC
    filename.SimSun-18030=SIMSUN18030.TTC

    filename.MingLiU=MINGLIU.TTC
    filename.PMingLiU=MINGLIU.TTC
    filename.MingLiU_HKSCS=hkscsm3u.ttf

    filename.David=DAVID.TTF
    filename.David_Bold=DAVIDBD.TTF

    filename.MS_Mincho=MSMINCHO.TTC
    filename.MS_PMincho=MSMINCHO.TTC
    filename.MS_Gothic=MSGOTHIC.TTC
    filename.MS_PGothic=MSGOTHIC.TTC

    filename.Gulim=gulim.TTC
    filename.Batang=batang.TTC
    filename.GulimChe=gulim.TTC

    filename.Lucida_Sans_Regular=LucidaSansRegular.ttf
    filename.Mangal=MANGAL.TTF
    filename.Symbol=SYMBOL.TTF
    filename.Wingdings=WINGDING.TTF

  4. 可能是java不支持维文吧,几种维文字体都试了,字体可以看到,但由于光标的位置的不对,输入显示不对.藏语可以的, 和在WORD中一样,没问题.
    我想用oracle数据库的开发工具forms, 在jre下运行, 真头痛。

  5. @陈少鸿
    维文和藏文我没接触过,没有经验
    理论上说java支持Unicode,应该各种编码都支持
    是不是因为维文的显示顺序是从右到左而造成的这个问题呢?

  6. 谢谢你能在百忙中回答我的问题, 维文可以显示出来,但可能JAVa没有能识别出维文的代码页,好像java好像控制输入法,汉字好像在JRE好像有自己的输入框出现,也不知道如何让JRE识别ug-CN
    LCID/Culture Identifier 0x0480
    Culture Name ug-CN
    Locale/Language Country/Region Uighur (PRC)
    Language Uighur
    Local/language name ÆۇíÛۇÑ íېÒìÞì (ÌۇڭÎۇÇ ÎەáÞ ÌۇãªۇÑìíìÊì)
    ANSI/codepage 1256
    OEM/codepage 720
    Country or Region name abbreviation * CHN
    Language name abbreviation ** UIG
    ABOVE FROM: http://www.microsoft.com/globaldev/nlsweb/default.mspx

  7. 我想在Java下显示藏文,但是修改fontconfig.properties文件时候下面的东西就不会改了,各位大虾能帮帮小弟吗~~~~~~
    # @(#)fontconfig.properties 1.5 04/01/28
    #
    # Copyright 2003 Sun Microsystems, Inc. All rights reserved.
    #

    # Version

    version=1

    # Component Font Mappings

    allfonts.chinese-ms936=SimSun
    allfonts.tibetan=Microsoft Himalaya
    allfonts.chinese-gb18030=SimSun-18030
    allfonts.chinese-hkscs=MingLiU_HKSCS
    allfonts.devanagari=Mangal
    allfonts.dingbats=Wingdings
    allfonts.lucida=Lucida Sans Regular
    allfonts.symbol=Symbol
    allfonts.thai=Lucida Sans Regular

    serif.plain.alphabetic=Times New Roman
    serif.plain.tibetan=Microsoft Himalaya
    serif.plain.chinese-ms950=MingLiU
    serif.plain.hebrew=David
    serif.plain.japanese=MS Mincho
    serif.plain.korean=Batang

    serif.bold.alphabetic=Times New Roman Bold
    serif.bold.tibetan=Microsoft Himalaya
    serif.bold.chinese-ms950=PMingLiU
    serif.bold.hebrew=David Bold
    serif.bold.japanese=MS Mincho
    serif.bold.korean=Batang

    serif.italic.alphabetic=Times New Roman Italic
    serif.italic.tibetan=Microsoft Himalaya
    serif.italic.chinese-ms950=PMingLiU
    serif.italic.hebrew=David
    serif.italic.japanese=MS Mincho
    serif.italic.korean=Batang

    serif.bolditalic.alphabetic=Times New Roman Bold Italic
    serif.bolditalic.tibetan=Microsoft Himalaya
    serif.bolditalic.chinese-ms950=PMingLiU
    serif.bolditalic.hebrew=David Bold
    serif.bolditalic.japanese=MS Mincho
    serif.bolditalic.korean=Batang

    sansserif.plain.alphabetic=Arial
    sansserif.plain.tibetan=Microsoft Himalaya
    sansserif.plain.chinese-ms950=MingLiU
    sansserif.plain.hebrew=David
    sansserif.plain.japanese=MS Gothic
    sansserif.plain.korean=Gulim

    sansserif.bold.alphabetic=Arial Bold
    sansserif.bold.tibetan=Microsoft Himalaya
    sansserif.bold.chinese-ms950=PMingLiU
    sansserif.bold.hebrew=David Bold
    sansserif.bold.japanese=MS Gothic
    sansserif.bold.korean=Gulim

    sansserif.italic.alphabetic=Arial Italic
    sansserif.italic.tibetan=Microsoft Himalaya
    sansserif.italic.chinese-ms950=PMingLiU
    sansserif.italic.hebrew=David
    sansserif.italic.japanese=MS Gothic
    sansserif.italic.korean=Gulim

    sansserif.bolditalic.alphabetic=Arial Bold Italic
    sansserif.bolditalic.tibetan=Microsoft Himalaya
    sansserif.bolditalic.chinese-ms950=PMingLiU
    sansserif.bolditalic.hebrew=David Bold
    sansserif.bolditalic.japanese=MS Gothic
    sansserif.bolditalic.korean=Gulim

    monospaced.plain.alphabetic=Courier New
    monospaced.plain.tibetan=Microsoft Himalaya
    monospaced.plain.chinese-ms950=MingLiU
    monospaced.plain.hebrew=David
    monospaced.plain.japanese=MS Gothic
    monospaced.plain.korean=GulimChe

    monospaced.bold.alphabetic=Courier New Bold
    monospaced.bold.tibetan=Microsoft Himalaya
    monospaced.bold.chinese-ms950=PMingLiU
    monospaced.bold.hebrew=David Bold
    monospaced.bold.japanese=MS Gothic
    monospaced.bold.korean=GulimChe

    monospaced.italic.alphabetic=Courier New Italic
    monospaced.italic.tibetan=Microsoft Himalaya
    monospaced.italic.chinese-ms950=PMingLiU
    monospaced.italic.hebrew=David
    monospaced.italic.japanese=MS Gothic
    monospaced.italic.korean=GulimChe

    monospaced.bolditalic.alphabetic=Courier New Bold Italic
    monospaced.bolditalic.tibetan=Microsoft Himalaya
    monospaced.bolditalic.chinese-ms950=PMingLiU
    monospaced.bolditalic.hebrew=David Bold
    monospaced.bolditalic.japanese=MS Gothic
    monospaced.bolditalic.korean=GulimChe

    dialog.plain.alphabetic=Arial
    dialog.plain.tibetan=Microsoft Himalaya
    dialog.plain.chinese-ms950=MingLiU
    dialog.plain.hebrew=David
    dialog.plain.japanese=MS Gothic
    dialog.plain.korean=Gulim

    dialog.bold.alphabetic=Arial Bold
    dialog.bold.tibetan=Microsoft Himalaya
    dialog.bold.chinese-ms950=PMingLiU
    dialog.bold.hebrew=David Bold
    dialog.bold.japanese=MS Gothic
    dialog.bold.korean=Gulim

    dialog.italic.alphabetic=Arial Italic
    dialog.italic.tibetan=Microsoft Himalaya
    dialog.italic.chinese-ms950=PMingLiU
    dialog.italic.hebrew=David
    dialog.italic.japanese=MS Gothic
    dialog.italic.korean=Gulim

    dialog.bolditalic.alphabetic=Arial Bold Italic
    dialog.bolditalic.tibetan=Microsoft Himalaya
    dialog.bolditalic.chinese-ms950=PMingLiU
    dialog.bolditalic.hebrew=David Bold
    dialog.bolditalic.japanese=MS Gothic
    dialog.bolditalic.korean=Gulim

    dialoginput.plain.alphabetic=Courier New
    dialoginput.plain.tibetan=Microsoft Himalaya
    dialoginput.plain.chinese-ms950=MingLiU
    dialoginput.plain.hebrew=David
    dialoginput.plain.japanese=MS Gothic
    dialoginput.plain.korean=Gulim

    dialoginput.bold.alphabetic=Courier New Bold
    dialoginput.bold.tibetan=Microsoft Himalaya
    dialoginput.bold.chinese-ms950=PMingLiU
    dialoginput.bold.hebrew=David Bold
    dialoginput.bold.japanese=MS Gothic
    dialoginput.bold.korean=Gulim

    dialoginput.italic.alphabetic=Courier New Italic
    dialoginput.italic.tibetan=Microsoft Himalaya
    dialoginput.italic.chinese-ms950=PMingLiU
    dialoginput.italic.hebrew=David
    dialoginput.italic.japanese=MS Gothic
    dialoginput.italic.korean=Gulim

    dialoginput.bolditalic.alphabetic=Courier New Bold Italic
    dialoginput.bolditalic.tibetan=Microsoft Himalaya
    dialoginput.bolditalic.chinese-ms950=PMingLiU
    dialoginput.bolditalic.hebrew=David Bold
    dialoginput.bolditalic.japanese=MS Gothic
    dialoginput.bolditalic.korean=Gulim

    # Search Sequences

    sequence.allfonts=alphabetic/default,dingbats,symbol

    sequence.serif.GBK=alphabetic,chinese-ms936,dingbats,symbol
    sequence.sansserif.GBK=alphabetic,chinese-ms936,dingbats,symbol
    sequence.monospaced.GBK=chinese-ms936,alphabetic,dingbats,symbol
    sequence.dialog.GBK=alphabetic,chinese-ms936,dingbats,symbol
    sequence.dialoginput.GBK=alphabetic,chinese-ms936,dingbats,symbol

    sequence.serif.GB18030=alphabetic,chinese-gb18030,dingbats,symbol
    sequence.sansserif.GB18030=alphabetic,chinese-gb18030,dingbats,symbol
    sequence.monospaced.GB18030=chinese-gb18030,alphabetic,dingbats,symbol
    sequence.dialog.GB18030=alphabetic,chinese-gb18030,dingbats,symbol
    sequence.dialoginput.GB18030=alphabetic,chinese-gb18030,dingbats,symbol

    sequence.serif.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol
    sequence.sansserif.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol
    sequence.monospaced.x-windows-950=chinese-ms950,alphabetic,dingbats,symbol
    sequence.dialog.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol
    sequence.dialoginput.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol

    sequence.serif.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol
    sequence.sansserif.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol
    sequence.monospaced.x-MS950-HKSCS=chinese-ms950,alphabetic,chinese-hkscs,dingbats,symbol
    sequence.dialog.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol
    sequence.dialoginput.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol

    sequence.allfonts.UTF-8.hi=alphabetic/1252,devanagari,dingbats,symbol

    sequence.allfonts.windows-1255=hebrew,alphabetic/1252,dingbats,symbol

    sequence.serif.windows-31j=alphabetic,japanese,dingbats,symbol
    sequence.sansserif.windows-31j=alphabetic,japanese,dingbats,symbol
    sequence.monospaced.windows-31j=japanese,alphabetic,dingbats,symbol
    sequence.dialog.windows-31j=alphabetic,japanese,dingbats,symbol
    sequence.dialoginput.windows-31j=alphabetic,japanese,dingbats,symbol

    sequence.serif.x-windows-949=alphabetic,korean,dingbats,symbol
    sequence.sansserif.x-windows-949=alphabetic,korean,dingbats,symbol
    sequence.monospaced.x-windows-949=korean,alphabetic,dingbats,symbol
    sequence.dialog.x-windows-949=alphabetic,korean,dingbats,symbol
    sequence.dialoginput.x-windows-949=alphabetic,korean,dingbats,symbol

    sequence.allfonts.x-windows-874=alphabetic,thai,dingbats,symbol

    sequence.fallback=lucida,\
    chinese-ms950,chinese-hkscs,chinese-ms936,chinese-gb18030,\
    japanese,korean

    # Exclusion Ranges

    exclusion.alphabetic=0700-1e9f,1f00-20ab,20ad-f8ff
    exclusion.tibetan=0041-005a,0060-007a,007f-00ff
    exclusion.chinese-gb18030=0390-03d6,2200-22ef,2701-27be
    exclusion.hebrew=0041-005a,0060-007a,007f-00ff,20ac-20ac

    # Monospaced to Proportional width variant mapping
    # (Experimental private syntax)
    proportional.MS_Gothic=MS PGothic
    proportional.MS_Mincho=MS PMincho
    proportional.MingLiU=PMingLiU

    # Font File Names

    filename.Microsoft_Himalaya=himalaya.TTF

    filename.Arial=ARIAL.TTF
    filename.Arial_Bold=ARIALBD.TTF
    filename.Arial_Italic=ARIALI.TTF
    filename.Arial_Bold_Italic=ARIALBI.TTF

    filename.Courier_New=COUR.TTF
    filename.Courier_New_Bold=COURBD.TTF
    filename.Courier_New_Italic=COURI.TTF
    filename.Courier_New_Bold_Italic=COURBI.TTF

    filename.Times_New_Roman=TIMES.TTF
    filename.Times_New_Roman_Bold=TIMESBD.TTF
    filename.Times_New_Roman_Italic=TIMESI.TTF
    filename.Times_New_Roman_Bold_Italic=TIMESBI.TTF

    filename.SimSun=SIMSUN.TTC
    filename.SimSun-18030=SIMSUN18030.TTC

    filename.MingLiU=MINGLIU.TTC
    filename.PMingLiU=MINGLIU.TTC
    filename.MingLiU_HKSCS=hkscsm3u.ttf

    filename.David=DAVID.TTF
    filename.David_Bold=DAVIDBD.TTF

    filename.MS_Mincho=MSMINCHO.TTC
    filename.MS_PMincho=MSMINCHO.TTC
    filename.MS_Gothic=MSGOTHIC.TTC
    filename.MS_PGothic=MSGOTHIC.TTC

    filename.Gulim=gulim.TTC
    filename.Batang=batang.TTC
    filename.GulimChe=gulim.TTC

    filename.Lucida_Sans_Regular=LucidaSansRegular.ttf
    filename.Mangal=MANGAL.TTF
    filename.Symbol=SYMBOL.TTF
    filename.Wingdings=WINGDING.TTF

  8. 藏语的文件,好象搜索序列缺少,我过去也是头痛,想让维语从ARAIL字库中分离出来,我想藏语也是一样,不过我的论文结束了,

发表评论

电子邮件地址不会被公开。 必填项已用*标注