[Ubuntu-zh] 问一个关于字体的小问题
依云
lilydjwg在gmail.com
星期日 五月 20 07:36:16 UTC 2012
这段是设置默认字体的:
<match target="pattern">
<test qual="any" name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>DejaVu Sans Mono</string>
<string>文泉驿等宽正黑</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>DejaVu Serif</string>
<string>文泉驿正黑</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>DejaVu Sans</string>
<string>文泉驿正黑</string>
</edit>
</match>
On Sun, May 20, 2012 at 03:17:22PM +0800, Tao KY wrote:
> 可是~/.fonts.conf里面和你的文件相差有点大,是进行小修改后替换~/.fonts.conf?
>
> 2012/5/20 依云 <lilydjwg在gmail.com>:
> > 你不看我的帖子么?
> > http://p.vim-cn.com/c5v/xml
> >
> > On Sun, May 20, 2012 at 10:54:06AM +0800, Tao KY wrote:
> >> .fonts.conf的内容:
> >> <?xml version='1.0'?>
> >> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
> >> <fontconfig>
> >> <match target="font">
> >> <edit mode="assign" name="rgba">
> >> <const>rgb</const>
> >> </edit>
> >> </match>
> >> <match target="font">
> >> <edit mode="assign" name="hinting">
> >> <bool>true</bool>
> >> </edit>
> >> </match>
> >> <match target="font">
> >> <edit mode="assign" name="hintstyle">
> >> <const>hintmedium</const>
> >> </edit>
> >> </match>
> >> <match target="font">
> >> <edit mode="assign" name="antialias">
> >> <bool>true</bool>
> >> </edit>
> >> </match>
> >> <dir>~/.fonts</dir>
> >> </fontconfig>
> >> 哪里要改?
> >
> > --
> > Best regards,
> > lilydjwg
> >
> > Linux Vim Python 我的博客:
> > http://lilydjwg.is-programmer.com/
> > --
> > A: Because it obfuscates the reading.
> > Q: Why is top posting so bad?
> >
> > --
> > ubuntu-zh mailing list
> > ubuntu-zh在lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
> --
> ubuntu-zh mailing list
> ubuntu-zh在lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
--
Best regards,
lilydjwg
Linux Vim Python 我的博客:
http://lilydjwg.is-programmer.com/
--
A: Because it obfuscates the reading.
Q: Why is top posting so bad?
关于邮件列表 ubuntu-zh 的更多信息