顺便借你的帖子再问个问题------cairo 1.0.2 make后谁make check过......
"ft-font-create-for-ft-face" test到这里, /bin/sh 报错, line 1 段错误.
lfs svn (gcc4.0.2 fontconfig 2.3.2)......
请教一下。
我的这个代码怎么才能把8到13号的中文字体的斜体的AA打开?我自己试过,但是怎么也匹配不对:lol:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- conf.d/10myfont.conf -->
<fontconfig>
<dir>/usr/share/fonts</dir>
<dir>/usr/local/share/fonts</dir>
<dir>~/.fonts</dir>
<!--加入点阵字体路径-->
<dir>/usr/X11R6/lib/X11/fonts</dir>
<!-- 关闭 8到13号字体的AA, -->
<match target="font" >
<test target="pattern" compare="contains" name="lang" >
<string>zh</string>
<string>ja</string>
<string>ko</string>
</test>
<test compare="more_eq" name="pixelsize" qual="any" >
<double>10</double>
</test>
<test compare="less_eq" name="pixelsize" qual="any" >
<double>16</double>
</test>
<edit mode="assign" name="antialias" >
<bool>false</bool>
</edit>
</match>
<!-- 解决英文字体间距过宽 -->
<match target="font">
<test target="pattern" name="lang" compare="contains">
<string>zh</string>
<string>ja</string>
<string>ko</string>
</test>
<edit name="spacing">
<const>proportional</const>
</edit>
<edit name="globaladvance">
<bool>false</bool>
</edit>
</match>
<!--
设定中文最小字号,使得小字的中文美观
-->
<match target="font" >
<test name="family" qual="any" >
<string>AR PL ShanHeiSun Uni</string>
<string>AR PL SenKai Uni</string>
<string>AR PL New Sung</string>
</test>
<test compare="more_eq" name="pixelsize" >
<int>6</int>
</test>
<test compare="less_eq" name="pixelsize" >
<int>9</int>
</test>
<edit compare="eq" name="pixelsize" >
<int>9</int>
</edit>
</match>
</fontconfig>
页:
1
[2]