[quote:f1bcfbbab9="hzhr"]Well done! sunmoon1997!
能不能再研究一下,怎么让下列代码工作正常?即通过fontconfig替换字体的大小。
[code:1]
<match target="font" >
<test qual="any" name="family" compare="eq">
<string>SimSun</string>
<string>NSimSun</string>
<string>宋体</string>
<string>新宋体</string>
</test>
<test name="pixelsize" compare="more_eq">
<!--int>10</int-->
<double>10.6</double>
</test>
<test name="pixelsize" compare="less">
<int>12</int>
</test>
<edit name="pixelsize" mode="assign">
<int>12</int>
</edit>
</match>
[/code:1][/quote]
对 cairo 没用,我也没办法
