Ubuntu字体美化之安装使用准圆字体(附图) 第4页

该字体其实就是bitstream vera sans + 方正准圆,比纯准圆要更impressive,而且含斜体,粗体和mono,这样桌面和应用程序就比较一致了,由于bitstream的西方字体的完备性,就不再被其他文字所困扰,应该说比较完美了。感谢原作者的辛勤劳动。

ftp下载地址:Ubuntu.org.cn/home/zhuqin_83/verasansyuanti_mod_by_zhuqin.rar

注意language-selector.conf要修改一下,下面是我的,仅供参考。
代码:
<fontconfig>
        <alias>
                <family>serif</family>
                <prefer>
                        <family>Bitstream Vera Serif</family>
                        <family>Vera Sans YuanTi</family>
                </prefer>
        </alias>
        <alias>
                <family>sans-serif</family>
                <prefer>
                        <family>Bitstream Vera Sans</family>
                        <family>Vera Sans YuanTi</family>
                </prefer>
        </alias>
        <alias>
                <family>monospace</family>
                <prefer>
                        <family>Bitstream Vera Sans Mono</family>
                        <family>Vera Sans YuanTi Mono</family>
                </prefer>
        </alias>
        <match target="font" >
                <test qual="any" compare="eq" >
                        <string>Vera Sans YuanTi</string>
                        <string>Vera Sans YuanTi Mono</string>
                        <string>Bitstream Vera Serif</string>
                        <string>Bitstream Vera Sans</string>
                        <string>Bitstream Vera Sans Mono</string>
                </test>
                <edit mode="assign">
                        <const>rgb</const>
                </edit>
                <edit mode="assign" >
                        <bool>true</bool>
                </edit>
                <edit mode="assign" >
                        <bool>false</bool>
                </edit>
                <edit mode="assign" >
                        <bool>true</bool>
                </edit>
                <edit mode="assign" >
                        <const>hintslight</const>
                </edit>
        </match>
        <match target="font" >
                <test compare="contains" >
                        <string>Song</string>
                        <string>Sun</string>
                        <string>Kai</string>
                        <string>Ming</string>
                </test>
                <!-- check to see if the font is just regular -->
                <test compare="less_eq">
                        <int>100</int>
                </test>
                <test compare="more_eq" target="pattern" >
                        <int>180</int>
                </test>
                <edit mode="assign" >
                        <bool>true</bool>
                </edit>
        </match>
        <match target="font" >
                <test compare="contains" >
                        <string>Song</string>
                        <string>Sun</string>
                        <string>Kai</string>
                        <string>Ming</string>
                </test>
                <edit>
                        <bool>false</bool>
                </edit>
                <edit>
                        <int>0</int>
                </edit>
                <edit>
                        <bool>true</bool>
                </edit>
                <edit>
                        <bool>false</bool>
                </edit>
                <edit mode="assign">
                        <bool>true</bool>
                </edit>
                <test compare="less_eq">
                        <int>18</int>
                </test>
                <edit mode="assign" >
                        <bool>false</bool>
                </edit>
        </match>
</fontconfig>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/6796bd3a3d085c6e1849a5a65cb2e597.html