QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1076|回复: 13

wxz8的中文字体做出来了吗?

[复制链接]
发表于 2004-12-21 18:32:22 | 显示全部楼层 |阅读模式
置顶那篇帖子已经16页了,但最后两页全都是在问哪能下载,到底作出来了没有?
我现在刚用上fireflysung,中文不是很好看,但能忍,最好的一点是英文不模糊了
我觉得再能加入粗体和斜体就很相当完美了。

我觉得中文化方面最好不要打一大堆补丁,我的fonts.conf明确写了:
<!--
        DO NOT EDIT THIS FILE.
        IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
        LOCAL CHANGES BELONG IN 'local.conf'.

。。。。。。
-->
难道看不到吗,非要改一大堆文件,以后升级系统时候怎么办?不同的发行版又怎么办?还作了一大堆美化包,改那么多文件,以后出了问题根本没地方去查。
作一个ttf文件,像fireflysung.ttf,直接考到字体目录里面,连shell命令都不用执行,在gnome控制台里立刻就能看到。
如果x没有提供粗体什么的算法,不用不就行了,无非是做个大点的字体文件嘛

那个基于simsun.ttf做得字体还有吗?谁能给我传一份?
thx
 楼主| 发表于 2004-12-21 19:56:42 | 显示全部楼层
跪求字体!!!发给我一个吧……发给我一个吧……发给我一个吧……发给我一个吧……发给我一个吧……发给我一个吧……发给我一个吧……发给我一个吧……发给我一个吧……发给我一个吧……发给我一个吧……发给我一个吧……发给我一个吧……发给我一个吧……发给我一个吧……

mailto:[email protected]
回复

使用道具 举报

发表于 2004-12-22 11:30:05 | 显示全部楼层
大哥,看来你的要求不高,那么你下载公社的unisun这个字体,用kde的话,安装非常方便的

我觉得美化真的是非常简单的事情

关键是你要有一个真正好用的fonts.conf
回复

使用道具 举报

发表于 2004-12-22 12:28:44 | 显示全部楼层
[quote:a06c2fa849="atfa"]我觉得美化真的是非常简单的事情

关键是你要有一个真正好用的fonts.conf[/quote]
回复

使用道具 举报

发表于 2004-12-22 12:37:00 | 显示全部楼层
晚上回家放出我的fonts.conf

其实我的fonts.conf文件有问题

我强行加了一个定义
本来只应该有下面的吧?
<default><family>sans-serif</family></default>
<default><family>serif</family></default>
反正我加了一个
<default><family>sans</family></default>

不知道对不对,反正我现在用unisun+simsun效果非常好

甚至我更本没有启动X之前就把这些工作作了
所以我安装好系统后第一次启动X的时候就看到非常好的界面

而且我认为在现在的状况下,不安装firefly的补丁而一味的追求从字体的设计上去优化界面是不明智的

当然我是说普通使用者,如果你是一个fans,花点时间去把系统的促体用方正粗圆代替,把写体用仿宋代替,才是真正的中文话,起码中国本来是没有斜体这个概念的,还是仿宋好一些
回复

使用道具 举报

发表于 2004-12-22 12:58:09 | 显示全部楼层
为什么要用粗圆而不是黑体
回复

使用道具 举报

 楼主| 发表于 2004-12-22 13:03:42 | 显示全部楼层
unisun
where to download?
回复

使用道具 举报

发表于 2004-12-22 21:24:42 | 显示全部楼层
http://www.linuxfans.org/nuke/modules.php?name=Site_Downloads&op=geninfo&did=2153
回复

使用道具 举报

 楼主| 发表于 2004-12-22 22:50:15 | 显示全部楼层
仔细阅读了这个版上的内容, 觉得做出一个建议方案也并不太困难
用什么fontforce(帖子上说得)
普通就用simsun
粗体用simhei, (把里面的几个索引内容改一改, 变成simsun类的, 不知道说得对不对)
斜体之类的碰不到, 也不管了
英文用tahoma一替
现在到底有没有人这样干过了? 能不能共享一下啊? 难道要逼我自己这么搞一回??????
回复

使用道具 举报

发表于 2004-12-23 00:22:48 | 显示全部楼层
好多人都干过的啊

不过都不是很成功

据说cnhnln就自己做过

赶快承认
回复

使用道具 举报

发表于 2004-12-23 00:27:06 | 显示全部楼层
下面是我的fonts.conf文件

[code:1]
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/fonts.conf file to configure system font access -->
<fontconfig>

<!--
        DO NOT EDIT THIS FILE.
        IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
        LOCAL CHANGES BELONG IN 'local.conf'.

        The intent of this standard configuration file is to be adequate for
        most environments.  If you have a reasonably normal environment and
        have found problems with this configuration, they are probably
        things that others will also want fixed.  Please submit any
        problems to the fontconfig bugzilla system located at fontconfig.org

        Note that the normal 'make install' procedure for fontconfig is to
        replace any existing fonts.conf file with the new version.  Place
        any local customizations in local.conf which this file references.

        Keith Packard
-->

        <dir>/usr/share/fonts</dir>
        <dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
        <dir>~/.fonts</dir>

<!--
        <match target="font">
                <edit name="rgba" mode="assign"><const>rgb</const></edit>
        </match>
-->

<!--
  Accept deprecated 'mono' alias, replacing it with 'monospace'
-->
        <match target="pattern">
                <test qual="any" name="family">
                        <string>mono</string>
                </test>
                <edit name="family" mode="assign">
                        <string>monospace</string>
                </edit>
        </match>

<!--
  Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
-->
        <match target="pattern">
                <test qual="any" name="family">
                        <string>sans serif</string>
                </test>
                <edit name="family" mode="assign">
                        <string>sans-serif</string>
                </edit>
        </match>

<!--
  Accept deprecated 'sans' alias, replacing it with 'sans-serif'
-->
        <match target="pattern">
                <test qual="any" name="family">
                        <string>sans</string>
                </test>
                <edit name="family" mode="assign">
                        <string>sans-serif</string>
                </edit>
        </match>

<!--
  Mark common families with their generics so we'll get
  something reasonable
-->
<!--
        <match target="font">
                <test name="family" compare="eq"><string>SimSun</string></test>
                <test compare="more" name="size" qual="any"><double>7.5</double></test>
                <test compare="less" name="size" qual="any"><double>16</double></test>
                <edit name="antialias" mode="assign"><bool>false</bool></edit>
        </match>

        <match target="font">
                <test name="family" compare="eq"><string>UniSun</string></test>
                <test compare="more" name="size" qual="any"><double>7.5</double></test>
                <test compare="less" name="size" qual="any"><double>16</double></test>
                <edit name="antialias" mode="assign"><bool>false</bool></edit>
        </match>

        <match target="font">
                <test name="family" compare="eq"><string>PMingLiu</string></test>
                <test compare="more" name="size" qual="any"><double>8</double></test>
                <test compare="less" name="size" qual="any"><double>16</double></test>
                <edit name="antialias" mode="assign"><bool>false</bool></edit>
        </match>

        <match target="font">
                <test name="family" compare="eq"><string>MingLiu</string></test>
                <test compare="more" name="size" qual="any"><double>8</double></test>
                <test compare="less" name="size" qual="any"><double>16</double></test>
                <edit name="antialias" mode="assign"><bool>false</bool></edit>
        </match>
-->


        <alias>
                <family>Bitstream Vera Sans</family>
                <family>Helvetica</family>
                <family>Arial</family>
                <family>Verdana</family>
                <family>Tahoma</family>
                <family>Nimbus Sans L</family>
                <family>Luxi Sans</family>
                <family>UniSun</family>
                <family>PMingLiu</family>
                <family>Kochi Gothic</family>
                <family>AR PL KaitiM GB</family>
                <family>AR PL KaitiM Big5</family>
                <family>Baekmuk Dotum</family>
                <default><family>serif</family></default>
        </alias>


<!--
  Serif faces
-->
        <alias>
                <family>Tahoma</family>
                <family>SimSun</family>
                <family>Bitstream Vera Serif</family>
                <family>Times</family>
                <family>Times New Roman</family>
                <family>Nimbus Roman No9 L</family>
                <family>Luxi Serif</family>
                <family>UniSun</family>
                <family>Kochi Mincho</family>
                <family>Baekmuk Batang</family>                       
                <default><family>sans</family></default>
        </alias>
<!--
  Sans-serif faces
-->
        <alias>
                <family>Bitstream Vera Sans</family>
                <family>Helvetica</family>
                <family>Arial</family>
                <family>Verdana</family>
                <family>Tahoma</family>
                <family>SimSun</family>
                <family>Nimbus Sans L</family>
                <family>Luxi Sans</family>
                <family>UniSun</family>
                <family>Kochi Gothic</family>
                <family>Baekmuk Dotum</family>
                <default><family>sans-serif</family></default>
        </alias>
<!--
  Monospace faces
-->
        <alias>
                <family>Bitstream Vera Sans Mono</family>
                <family>Courier</family>
                <family>Courier New</family>
                <family>SimSun</family>
                <family>Andale Mono</family>
                <family>Luxi Mono</family>
                <family>Nimbus Mono L</family>
                <family>UniSun</family>
                <default><family>monospace</family></default>
        </alias>
<!--
  If the font still has no generic name, add sans-serif
-->
        <match target="pattern">
                <test qual="all" name="family" compare="not_eq">
                        <string>sans-serif</string>
                </test>
                <test qual="all" name="family" compare="not_eq">
                        <string>serif</string>
                </test>
                <test qual="all" name="family" compare="not_eq">
                        <string>monospace</string>
                </test>
                <edit name="family" mode="append_last">
                        <string>sans-serif</string>
                </edit>
        </match>
       
<!--
  Some Asian fonts misadvertise themselves as monospaced when
  in fact they are dual-spaced (half and full).  This makes
  FreeType very confused as it forces all widths to match.
  Undo this magic by disabling the width forcing code -->
        <match target="font">
                <test name="family"><string>GulimChe</string></test>
                <edit name="globaladvance"><bool>false</bool></edit>
        </match>
       
        <match target="font">
                <test name="family"><string>DotumChe</string></test>
                <edit name="globaladvance"><bool>false</bool></edit>
        </match>

        <match target="font">
                <test name="family"><string>BatangChe</string></test>
                <edit name="globaladvance"><bool>false</bool></edit>
        </match>

        <match target="font">
                <test name="family"><string>GungsuhChe</string></test>
                <edit name="globaladvance"><bool>false</bool></edit>
        </match>

<!--
        The Bitstream Vera fonts have GASP entries suggesting that hinting be
        disabled below 8 ppem, but FreeType ignores those, preferring to use
        the data found in the instructed hints.  The initial Vera release
        didn't include the right instructions in the 'prep' table. Fix this
        by disabling hinting manually at smaller sizes (< 8ppem)
-->
       
        <match target="font">
                <test name="family">
                        <string>Bitstream Vera Sans</string>
                </test>
                <test name="pixelsize" compare="less">
                        <double>7.5</double>
                </test>
                <edit name="hinting">
                        <bool>false</bool>
                </edit>
        </match>
       
        <match target="font">
                <test name="family">
                        <string>Bitstream Vera Serif</string>
                </test>
                <test name="pixelsize" compare="less">
                        <double>7.5</double>
                </test>
                <edit name="hinting">
                        <bool>false</bool>
                </edit>
        </match>
       
        <match target="font">
                <test name="family">
                        <string>Bitstream Vera Sans Mono</string>
                </test>
                <test name="pixelsize" compare="less">
                        <double>7.5</double>
                </test>
                <edit name="hinting">
                        <bool>false</bool>
                </edit>
        </match>
       
<!--
  Load per-user customization file
-->
        <include ignore_missing="yes">~/.fonts.conf</include>

<!--
  Load local system customization file
-->
        <include ignore_missing="yes">local.conf</include>

<!--
  Alias well known font names to available TrueType fonts
-->
        <alias>
                <family>Times</family>
                <accept><family>Times New Roman</family></accept>
        </alias>
        <alias>
                <family>Helvetica</family>
                <accept><family>Verdana</family></accept>
        </alias>
        <alias>
                <family>Arial</family>
                <accept><family>Verdana</family></accept>
        </alias>
        <alias>
                <family>Courier</family>
                <accept><family>Courier New</family></accept>
        </alias>

<!--
Check user preference to avoid bitmap fonts and replace
bitmap face names with equivalent scalable fonts
-->

        <match target="pattern">
                <test name="prefer_outline">
                        <bool>true</bool>
                </test>
                <test name="family">
                        <string>Helvetica</string>
                </test>
                <edit name="family" mode="prepend" binding="same">
                        <string>Arial</string>
                </edit>
        </match>

        <match target="pattern">
                <test name="prefer_outline">
                        <bool>true</bool>
                </test>
                <test name="family">
                        <string>Times</string>
                </test>
                <edit name="family" mode="prepend" binding="same">
                        <string>Times New Roman</string>
                </edit>
        </match>
<!--
  Provide required aliases for standard names
-->
        <alias>
                <family>sans</family>
                <prefer>
                        <family>Bitstream Vera Serif</family>
                        <family>Tahoma</family>
                        <family>SimSun</family>
                        <family>Times New Roman</family>
                        <family>Nimbus Roman No9 L</family>
                        <family>Luxi Serif</family>
                        <family>Times</family>
                        <family>Kochi Mincho</family>
                        <family>UniSun</family>
                        <family>Baekmuk Batang</family>                       
                </prefer>
        </alias>
        <alias>
                <family>serif</family>
                <prefer>
                        <family>Bitstream Vera Serif</family>
                        <family>Tahoma</family>
                        <family>UniSun</family>
                        <family>Times New Roman</family>
                        <family>Nimbus Roman No9 L</family>
                        <family>Luxi Serif</family>
                        <family>Times</family>
                        <family>Kochi Mincho</family>
                        <family>Baekmuk Batang</family>
                </prefer>
        </alias>

        <alias>
                <family>sans-serif</family>
                <prefer>
                        <family>Bitstream Vera Sans</family>
                        <family>Verdana</family>
                        <family>Tahoma</family>
                        <family>SimSun</family>
                        <family>Nimbus Sans L</family>
                        <family>Luxi Sans</family>
                        <family>Arial</family>
                        <family>Helvetica</family>
                        <family>Kochi Gothic</family>
                        <family>UniSun</family>
                        <family>Baekmuk Dotum</family>
                </prefer>
        </alias>
        <alias>
                <family>monospace</family>
                <prefer>
                        <family>Bitstream Vera Sans Mono</family>
                        <family>Andale Mono</family>
                        <family>Courier New</family>
                        <family>SimSun</family>
                        <family>Luxi Mono</family>
                        <family>Nimbus Mono L</family>
                        <family>Kochi Gothic</family>
                        <family>UniSun</family>
                        <family>Baekmuk Dotum</family>
                </prefer>
        </alias>

<!--
Artificial oblique for fonts without an italic or oblique version
-->

        <match target="font">
                <!-- check to see if the font is roman -->
                <test name="slant">
                        <const>roman</const>
                </test>
                <!-- check to see if the pattern requested non-roman -->
                <test target="pattern" name="slant" compare="not_eq">
                        <const>roman</const>
                </test>
                <!-- multiply the matrix to slant the font -->
                <edit name="matrix" mode="assign">
                        <times>
                                <name>matrix</name>
                                <matrix><double>1</double><double>0.2</double>
                                        <double>0</double><double>1</double>
                                </matrix>
                        </times>
                </edit>
                <!-- pretend the font is oblique now -->
                <edit name="slant" mode="assign">
                        <const>oblique</const>
                </edit>
        </match>

<!--
Add by [email protected]
Artificial bold for fonts without a bold version.
-->
        <match target="font">
                <!-- check to see if the pattern requested > "medium" -->
                <test target="pattern" name="weight" compare="more">
                        <const>medium</const>
                </test>
                <!-- pretend the font is bold now -->
                <edit name="weight" mode="assign">
                        <const>bold</const>
                </edit>
        </match>

<!--
  Add by [email protected]
  Disable "Global Advance" for all mono spacing fonts.
-->
        <match target="font">
                <test name="spacing" compare="eq">
                        <const>mono</const>
                </test>
                <edit name="globaladvance" mode="assign">
                        <bool>false</bool>
                </edit>
        </match>

<!--
  Add by [email protected]
  Enable "hinting & autohint" for all fonts.
-->
        <match target="font">
                <test name="family" compare="eq">
                        <string>SimSun</string>"or"<string>UniSun</string>"or"<string>MingLiu</string>"or"<string>Bitstream Cyberbit</string>"or"<string>AR PL KaitiM Big5</string>"or"<string>AR PL Mingti2L Big5</string>"or"<string>AR PL KaitiM GB</string>"or"<string>AR PL SungtiL GB</string>
                </test>
                <edit name="hinting" mode="assign">
                        <bool>true</bool>
                </edit>
                <edit name="autohint" mode="assign">
                        <bool>true</bool>
                </edit>
        </match>

<!--
  Add by [email protected]
  If you don't want to use emdebedbitmap first.
  you can set this "embed" with false.
        <match target="font">
                <edit name="embed" mode="assign">
                        <bool>false</bool>
                </edit>
        </match>
-->

        <config>
<!--
  These are the default Unicode chars that are expected to be blank
  in fonts.  All other blank chars are assumed to be broken and
  won't appear in the resulting charsets
-->
                <blank>
                        <int>0x0020</int>        <!-- SPACE -->
                        <int>0x00a0</int>        <!-- NO-BREAK SPACE -->
                        <int>0x00ad</int>        <!-- SOFT HYPHEN -->
                        <int>0x115f</int>        <!-- HANGUL CHOSEONG FILLER -->
                        <int>0x1160</int>        <!-- HANGUL JUNGSEONG FILLER -->
                        <int>0x1680</int>        <!-- OGHAM SPACE MARK -->
                        <int>0x2000</int>        <!-- EN QUAD -->
                        <int>0x2001</int>        <!-- EM QUAD -->
                        <int>0x2002</int>        <!-- EN SPACE -->
                        <int>0x2003</int>        <!-- EM SPACE -->
                        <int>0x2004</int>        <!-- THREE-PER-EM SPACE -->
                        <int>0x2005</int>        <!-- FOUR-PER-EM SPACE -->
                        <int>0x2006</int>        <!-- SIX-PER-EM SPACE -->
                        <int>0x2007</int>        <!-- FIGURE SPACE -->
                        <int>0x2008</int>        <!-- PUNCTUATION SPACE -->
                        <int>0x2009</int>        <!-- THIN SPACE -->
                        <int>0x200a</int>        <!-- HAIR SPACE -->
                        <int>0x200b</int>        <!-- ZERO WIDTH SPACE -->
                        <int>0x200c</int>        <!-- ZERO WIDTH NON-JOINER -->
                        <int>0x200d</int>        <!-- ZERO WIDTH JOINER -->
                        <int>0x200e</int>        <!-- LEFT-TO-RIGHT MARK -->
                        <int>0x200f</int>        <!-- RIGHT-TO-LEFT MARK -->
                        <int>0x2028</int>        <!-- LINE SEPARATOR -->
                        <int>0x2029</int>        <!-- PARAGRAPH SEPARATOR -->
                        <int>0x202a</int>        <!-- LEFT-TO-RIGHT EMBEDDING -->
                        <int>0x202b</int>        <!-- RIGHT-TO-LEFT EMBEDDING -->
                        <int>0x202c</int>        <!-- POP DIRECTIONAL FORMATTING -->
                        <int>0x202d</int>        <!-- LEFT-TO-RIGHT OVERRIDE -->
                        <int>0x202e</int>        <!-- RIGHT-TO-LEFT OVERRIDE -->
                        <int>0x202f</int>        <!-- NARROW NO-BREAK SPACE -->
                        <int>0x205f</int>        <!-- MEDIUM MATHEMATICAL SPACE -->
                        <int>0x2060</int>        <!-- WORD JOINER -->
                        <int>0x2061</int>        <!-- FUNCTION APPLICATION -->
                        <int>0x2062</int>        <!-- INVISIBLE TIMES -->
                        <int>0x2063</int>        <!-- INVISIBLE SEPARATOR -->
                        <int>0x206A</int>        <!-- INHIBIT SYMMETRIC SWAPPING -->
                        <int>0x206B</int>        <!-- ACTIVATE SYMMETRIC SWAPPING -->
                        <int>0x206C</int>        <!-- INHIBIT ARABIC FORM SHAPING -->
                        <int>0x206D</int>        <!-- ACTIVATE ARABIC FORM SHAPING -->
                        <int>0x206E</int>        <!-- NATIONAL DIGIT SHAPES -->
                        <int>0x206F</int>        <!-- NOMINAL DIGIT SHAPES -->
                        <int>0x3000</int>        <!-- IDEOGRAPHIC SPACE -->
                        <int>0x3164</int>        <!-- HANGUL FILLER -->
                        <int>0xfeff</int>        <!-- ZERO WIDTH NO-BREAK SPACE -->
                        <int>0xffa0</int>        <!-- HALFWIDTH HANGUL FILLER -->
                        <int>0xfff9</int>        <!-- INTERLINEAR ANNOTATION ANCHOR -->
                        <int>0xfffa</int>        <!-- INTERLINEAR ANNOTATION SEPARATOR -->
                        <int>0xfffb</int>        <!-- INTERLINEAR ANNOTATION TERMINATOR -->
                </blank>
<!--
  Rescan configuration every 30 seconds when FcFontSetList is called
-->
                <rescan>
                        <int>30</int>
                </rescan>
        </config>

</fontconfig>

[/code:1]


下面是我的local.conf文件

[code:1]
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Uncomment below to enable bitmapped fonts -->
<!--
  <dir>/usr/X11R6/lib/X11/fonts</dir>
-->
<!-- Uncomment below to enable subpixel rendering -->
<!--
-->
  <match target="font">
    <test qual="all" name="rgba">
      <const>unknown</const>
    </test>
    <edit name="rgba" mode="assign"><const>rgb</const></edit>
  </match>

<!--
  Enable "hinting & autohint" for all fonts.
-->
        <match target="font">
                <edit name="autohint" mode="assign">
                        <bool>true</bool>
                </edit>
        </match>
<!--

-->
        <match target="font">
                <test qual="any" name="family">
                        <string>SimSun</string>
                </test>
                <test name="pixelsize" compare="more_eq">
                        <int>8</int>
                </test>
                <test name="pixelsize" compare="less_eq">
                        <int>16</int>
                </test>
                <edit name="antialias" mode="assign">
                        <bool>false</bool>
                </edit>
        </match>

        <match target="font">
                <test qual="any" name="family">
                        <string>UniSun</string>
                </test>
                <test name="pixelsize" compare="more_eq">
                        <int>8</int>
                </test>
                <test name="pixelsize" compare="less_eq">
                        <int>16</int>
                </test>
                <edit name="antialias" mode="assign">
                        <bool>false</bool>
                </edit>
        </match>

<!--
-->
        <match target="pattern">
                <test qual="any" name="family">
                        <string>monospace</string>
                </test>
                <edit name="family" mode="append" binding="strong">
                        <string>Bitstream Vera Sans Mono</string>
                </edit>
        </match>

<!-- Not use or Use embedded font
-->
        <match target="font">
                <edit name="embed" mode="assign">
                        <bool>true</bool>
                </edit>
        </match>
        <match target="font">
                <edit name="embeddedbitmap" mode="assign">
                        <bool>true</bool>                       
                </edit>
        </match>
<!--
Try binding Bitstream Vera Sans to SimSun for better English fonts
-->

<match target="pattern">
        <test qual="any" name="family" compare="eq">
                <string>SimSun</string>
        </test>
        <edit name="family" mode="prepend_first" binding="strong">
        <string>Bitstream Vera Sans</string>
        </edit>
</match>

<match target="pattern">
        <test qual="any" name="family" compare="eq">
                <string>UniSun</string>
        </test>
        <edit name="family" mode="prepend_first" binding="strong">
        <string>Bitstream Vera Sans</string>
        </edit>
</match>


<!--
binding Bitstream Vera Sans Mono to AR PL SungtiL GB
-->
<match target="pattern">
        <test qual="any" name="family" compare="eq">
                <string>AR PL SungtiL GB</string>
        </test>
        <edit name="family" mode="prepend_first" binding="strong">
                <string>Bitstream Vera Sans Mono</string>
        </edit>
</match>

<!--
bingding Bitstream Vera Sans to AR PL Kaitim GB
-->

<match target="pattern">
        <test qual="any" name="family" compare="eq">
                <string>AR PL Kaitim GB</string>
        </test>
        <edit name="family" mode="prepend_first" binding="strong">
                <string>Bitstream Vera Sans</string>
        </edit>
</match>
        <match target="font">
                <test qual="any" name="family">
                        <string>AR PL Kaitim GB</string>
                </test>
                <test name="pixelsize" compare="more_eq">
                        <int>7</int>
                </test>
                <test name="pixelsize" compare="less_eq">
                        <int>19</int>
                </test>
                <edit name="antialias" mode="assign">
                        <bool>false</bool>
                </edit>
        </match>

<!--
bingding Bitstream Vera Sans to sans-serif
-->

<match target="pattern">
        <test qual="any" name="family">
                <string>sans-serif</string>
        </test>
        <edit name="family" mode="append" binding="strong">
                <string>Bitstream Vera Sans</string>
        </edit>
</match>

<!--
bingding Bitstream Vera Sans Mono to monospace
-->

<match target="pattern">
        <test qual="any" name="family">
                <string>monospace</string>
        </test>
        <edit name="family" mode="append" binding="strong">
                <string>Bitstream Vera Sans Mono</string>
        </edit>
</match>

</fontconfig>
[/code:1]

需要在下面的目录有这些字体:

[code:1]
ls /usr/share/fonts/truetype/idealinux/
fonts.cache-1  fonts.scale   tahoma.ttf    verdanai.ttf
fonts.dir      simsun.ttf    unisun.ttf    verdana.ttf
fonts.dir~     tahomabd.ttf  verdanab.ttf  verdanaz.ttf
[/code:1]

最后是我的fonts.dir文件,其实完全没有什么用

[code:1]
95
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-gbk-0
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-ibm-cp850
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-koi8-r
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-iso10646-1
unisun.ttf -misc-UniSun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
unisun.ttf -misc-UniSun-medium-r-normal--0-0-0-0-c-0-gbk-0
unisun.ttf -misc-UniSun-medium-r-normal--0-0-0-0-c-0-ibm-cp850
unisun.ttf -misc-UniSun-medium-r-normal--0-0-0-0-c-0-koi8-r
unisun.ttf -misc-UniSun-medium-r-normal--0-0-0-0-c-0-iso10646-1
simsun.ttf -misc-fixed-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
simsun.ttf -misc-fixed-medium-r-normal--0-0-0-0-c-0-gbk-0
ai=0.2:simsun.ttf -misc-fixed-medium-o-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.4:simsun.ttf -misc-fixed-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0
ai=-0.4:simsun.ttf -misc-fixed-medium-ri-normal--0-0-0-0-c-0-gb2312.1980-0
ai=-0.2:simsun.ttf -misc-fixed-medium-ro-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.2:simsun.ttf -misc-SimSun-medium-o-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.4:simsun.ttf -misc-SimSun-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0
ai=-0.4:simsun.ttf -misc-SimSun-medium-ri-normal--0-0-0-0-c-0-gb2312.1980-0
ai=-0.2:simsun.ttf -misc-SimSun-medium-ro-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.2:unisun.ttf -misc-UniSun-medium-o-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.4:unisun.ttf -misc-UniSun-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0
ai=-0.4:unisun.ttf -misc-UniSun-medium-ri-normal--0-0-0-0-c-0-gb2312.1980-0
ai=-0.2:unisun.ttf -misc-UniSun-medium-ro-normal--0-0-0-0-c-0-gb2312.1980-0
ab=y:simsun.ttf -misc-fixed-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.2:ab=y:simsun.ttf -misc-fixed-bold-o-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.4:ab=y:simsun.ttf -misc-fixed-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0
ai=-0.4:ab=y:simsun.ttf -misc-fixed-bold-ri-normal--0-0-0-0-c-0-gb2312.1980-0
ai=-0.2:ab=y:simsun.ttf -misc-fixed-bold-ro-normal--0-0-0-0-c-0-gb2312.1980-0
ab=y:simsun.ttf -misc-SimSun-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.2:ab=y:simsun.ttf -misc-SimSun-bold-o-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.4:ab=y:simsun.ttf -misc-SimSun-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0
ai=-0.4:ab=y:simsun.ttf -misc-SimSun-bold-ri-normal--0-0-0-0-c-0-gb2312.1980-0
ai=-0.2:ab=y:simsun.ttf -misc-SimSun-bold-ro-normal--0-0-0-0-c-0-gb2312.1980-0
ab=y:unisun.ttf -misc-UniSun-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.2:ab=y:unisun.ttf -misc-UniSun-bold-o-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.4:ab=y:unisun.ttf -misc-UniSun-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0
ai=-0.4:ab=y:unisun.ttf -misc-UniSun-bold-ri-normal--0-0-0-0-c-0-gb2312.1980-0
ai=-0.2:ab=y:unisun.ttf -misc-UniSun-bold-ro-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.2:simsun.ttf -misc-fixed-medium-o-normal--0-0-0-0-c-0-gbk-0
ai=0.4:simsun.ttf -misc-fixed-medium-i-normal--0-0-0-0-c-0-gbk-0
ai=-0.4:simsun.ttf -misc-fixed-medium-ri-normal--0-0-0-0-c-0-gbk-0
ai=-0.2:simsun.ttf -misc-fixed-medium-ro-normal--0-0-0-0-c-0-gbk-0
ai=0.2:simsun.ttf -misc-SimSun-medium-o-normal--0-0-0-0-c-0-gbk-0
ai=0.4:simsun.ttf -misc-SimSun-medium-i-normal--0-0-0-0-c-0-gbk-0
ai=-0.4:simsun.ttf -misc-SimSun-medium-ri-normal--0-0-0-0-c-0-gbk-0
ai=-0.2:simsun.ttf -misc-SimSun-medium-ro-normal--0-0-0-0-c-0-gbk-0
ai=0.2:unisun.ttf -misc-UniSun-medium-o-normal--0-0-0-0-c-0-gbk-0
ai=0.4:unisun.ttf -misc-UniSun-medium-i-normal--0-0-0-0-c-0-gbk-0
ai=-0.4:unisun.ttf -misc-UniSun-medium-ri-normal--0-0-0-0-c-0-gbk-0
ai=-0.2:unisun.ttf -misc-UniSun-medium-ro-normal--0-0-0-0-c-0-gbk-0
ab=y:simsun.ttf -misc-fixed-bold-r-normal--0-0-0-0-c-0-gbk-0
ai=0.2:ab=y:simsun.ttf -misc-fixed-bold-o-normal--0-0-0-0-c-0-gbk-0
ai=0.4:ab=y:simsun.ttf -misc-fixed-bold-i-normal--0-0-0-0-c-0-gbk-0
ai=-0.4:ab=y:simsun.ttf -misc-fixed-bold-ri-normal--0-0-0-0-c-0-gbk-0
ai=-0.2:ab=y:simsun.ttf -misc-fixed-bold-ro-normal--0-0-0-0-c-0-gbk-0
ab=y:simsun.ttf -misc-SimSun-bold-r-normal--0-0-0-0-c-0-gbk-0
ai=0.2:ab=y:simsun.ttf -misc-SimSun-bold-o-normal--0-0-0-0-c-0-gbk-0
ai=0.4:ab=y:simsun.ttf -misc-SimSun-bold-i-normal--0-0-0-0-c-0-gbk-0
ai=-0.4:ab=y:simsun.ttf -misc-SimSun-bold-ri-normal--0-0-0-0-c-0-gbk-0
ai=-0.2:ab=y:simsun.ttf -misc-SimSun-bold-ro-normal--0-0-0-0-c-0-gbk-0
ab=y:unisun.ttf -misc-UniSun-bold-r-normal--0-0-0-0-c-0-gbk-0
ai=0.2:ab=y:unisun.ttf -misc-UniSun-bold-o-normal--0-0-0-0-c-0-gbk-0
ai=0.4:ab=y:unisun.ttf -misc-UniSun-bold-i-normal--0-0-0-0-c-0-gbk-0
ai=-0.4:ab=y:unisun.ttf -misc-UniSun-bold-ri-normal--0-0-0-0-c-0-gbk-0
ai=-0.2:ab=y:unisun.ttf -misc-UniSun-bold-ro-normal--0-0-0-0-c-0-gbk-0
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-urdunaqsh-0
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-mulearabic-2
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-mulearabic-1
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-mulearabic-0
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-tcvn-5712
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-viscii1.1-1
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-microsoft-cp1256
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-microsoft-cp1255
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-tatar-cyr
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-microsoft-cp1251
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-koi8-u
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-koi8-r
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-16
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-15
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-14
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-13
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-tis620-2
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-tis620-0
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-tis620.2533-1
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-10
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-9
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-8
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-7
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-6
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-5
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-4
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-3
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-2
tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-1

[/code:1]


我的字体配置信息

留个名,以后好找
回复

使用道具 举报

发表于 2004-12-23 23:36:43 | 显示全部楼层
有方正的粗宋和宋黑可以代替黑体,效果会好些
但关键是在点阵部分,中文小字体没有点阵并不好(无论AA与否)。这就牵扯到点阵粗体的制作,当然用simsun里的点阵制作粗体最好,但是fontforge在这方面并不擅长,而xmbdfed在提取simsun里的点阵的时候会自动把没有点阵的字符也提出来。像simsun的点阵只有GB码的中文字符,没有英文的latin部分,而用xmbdfed提取后就成了包含由矢量的latin转换而来的点阵部分,自然就无法使用tahoma字体了。虽然可以先把simsun里的替换为tahoma,但是最终还是tahoma的点阵
我希望的结果是英文都用矢量的tahoma(因为它在小字体时有很好的hinting,没任何理由用点阵。我们平时在win下看到的就是打开hinting以后的效果),中文小字用simsun的点阵,其他大小的中文部分都是矢量。改了几个都不满意,而且更重要的版权的问题。所以你可以用firefly改过的文鼎宋体

PS:unisun和firefly的文鼎新宋内嵌的点阵都含有latin部分
回复

使用道具 举报

发表于 2004-12-24 09:28:49 | 显示全部楼层
说白了

如果有人出每月10,000的工资给3n兄

他就给大家做一个字体出来

包含tahoma的点阵和simsun的点阵以及unisun的点阵
回复

使用道具 举报

发表于 2004-12-25 00:27:31 | 显示全部楼层
表这么直白吗

以后有时间和心情了我会慢慢试试的
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-24 00:29 , Processed in 0.044484 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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