|
发表于 2010-2-28 19:56:47
|
显示全部楼层
Post by naturennn;2072317
今天重新安装了qt,另又装了phonon,之后qt程序的字体就变得很难看,并且通过qtconfig设置不起作用,想问一下字体怎么改
创建文件 ~/.fonts.conf, 内容:- <?xml version='1.0'?>
- <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
- <fontconfig>
- <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>
- </fontconfig>
复制代码 |
|