|
楼主 |
发表于 2008-3-31 21:25:46
|
显示全部楼层
仔细看了,版上置顶的东东翻来覆去看了好几遍。
我做了如下操作,劳烦各位大拿指点
1. 把language-selector.conf link到了none
2. 删除local.conf
3. 打开/etc/fonts/fonts.conf,只发现了<include ...>conf.d</include>的语句
4. 在fonts.conf包含conf.d的后面加上了<include ignore_missing="yes">~/.fonts.conf</include>
5. fc-cache -fv
6. 重启X
没用。。。
/etc/fonts/fonts.conf内容如下:
~/.fonts.conf内容如下:
- <?xml version="1.0"?>
- <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
- <!-- WenQuanYi Zen Hei Configure File -->
- <fontconfig>
- <!-- modified by Madsen@SMTH -->
- <match target="font">
- <test qual="any" name="family"><string>WenQuanYi Zen Hei</string></test>
- <edit name="globaladvance"><bool>false</bool></edit>
- <edit name="spacing"><int>0</int></edit>
- <edit name="antialias" mode="assign"><bool>true</bool></edit>
- <edit name="hinting" mode="assign"><bool>true</bool></edit>
- <edit name="hintstyle" mode="assign"><const>hintnone</const></edit>
- <edit name="autohint" mode="assign"><bool>false</bool></edit>
- <edit name="rh_prefer_bitmaps" mode="assign"><bool>false</bool></edit>
- <edit name="rgba" mode="assign"><const>none</const></edit>
- <edit name="embeddedbitmap"><bool>false</bool></edit>
- </match>
- <match target="pattern">
- <edit name="dpi" mode="assign" >
- <double>100</double>
- </edit>
- </match>
- <alias>
- <family>serif</family>
- <prefer>
- <family>Bitstream Vera Serif</family>
- <family>DejaVu Serif</family>
- <family>WenQuanYi Zen Hei</family>
- </prefer>
- </alias>
- <alias>
- <family>sans-serif</family>
- <prefer>
- <family>Bitstream Vera Sans</family>
- <family>DejaVu Sans</family>
- <family>WenQuanYi Zen Hei</family>
- </prefer>
- </alias>
- <alias>
- <family>monospace</family>
- <prefer>
- <family>Bitstream Vera Sans Mono</family>
- <family>DejaVu Sans Mono</family>
- </prefer>
- </alias>
- </fontconfig>
复制代码 |
|