|
楼主 |
发表于 2006-5-23 08:08:44
|
显示全部楼层
这个我知道的,可是我希望simsun 的英文也能比较好
这是我的 local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
<!--
Add by Firefly(firefly@firefly.idv.tw)
-->
<!-- -->
<match target="font">
<edit name="embeddedbitmap" mod="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="autohint"><bool>false</bool></edit>
<edit name="hinting"><bool>true</bool></edit>
<edit name="antialias"><bool>true</bool></edit>
</match>
<!--
Add by Firefly(firefly@firefly.idv.tw)
Most of Asian fonts can't explain by freetype2,
so,if these fonts have dual width(half/full) and monospacing,
you need to disable globaladvance.
-->
<match target="font">
<test name="spacing" compare="more_eq">
<const>mono</const>
</test>
<edit name="globaladvance" mode="assign">
<bool>false</bool>
</edit>
</match>
<!-- Added by me for System-->
<match target="font">
<test name="family">
<string>bitstream vera sans mono</string>
<string>bitstream vera sans serif</string>
<string>consolas</string>
</test>
<edit mode="assign" name="antialias" ><bool>true</bool></edit>
<edit mode="assign" name="autohinting"><bool>false</bool></edit>
<edit mode="assign" name="hinting"><bool>true</bool></edit>
<edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
</match>
<!---->
<match target="font">
<test name="family">
<string>arial</string>
<string>courier new</string>
<string>estrangelo edessa</string>
<string>georgia</string>
<string>impact</string>
<string>latha</string>
<string>lucida console</string>
<string>mangal</string>
<string>microsoft sans serif</string>
<string>mv boli</string>
<string>palatino linotype</string>
<string>raavi</string>
<string>shruti</string>
<string>symbol</string>
<string>tahoma</string>
<string>times new roman</string>
<string>trebuchet ms</string>
<string>tunga</string>
<string>verdana</string>
<string>webdings</string>
<string>wingdings</string>
<string>wingdings 2</string>
<string>wingdings 3</string>
<string>gautami</string>
</test>
<test name="size" compare="less">
<double>14</double>
</test>
<test name="size" compare="more_eq">
<double>8</double>
</test>
<edit mode="assign" name="antialias" ><bool>false</bool></edit>
<edit mode="assign" name="hinting" ><bool>true</bool></edit>
<edit mode="assign" name="hintstyle"><const>hintmedium</const></edit>
</match>
<match target="font">
<test name="family">
<string>arial</string>
<string>courier new</string>
<string>estrangelo edessa</string>
<string>georgia</string>
<string>impact</string>
<string>latha</string>
<string>lucida console</string>
<string>mangal</string>
<string>microsoft sans serif</string>
<string>mv boli</string>
<string>palatino linotype</string>
<string>raavi</string>
<string>shruti</string>
<string>symbol</string>
<string>tahoma</string>
<string>times new roman</string>
<string>trebuchet ms</string>
<string>tunga</string>
<string>verdana</string>
<string>webdings</string>
<string>wingdings</string>
<string>wingdings 2</string>
<string>wingdings 3</string>
<string>gautami</string>
</test>
<test name="pixelsize" compare="less">
<double>18</double>
</test>
<test name="pixelsize" compare="more_eq">
<double>8</double>
</test>
<edit mode="assign" name="antialias" ><bool>false</bool></edit>
<edit mode="assign" name="hinting" ><bool>true</bool></edit>
<edit mode="assign" name="hintstyle"><const>hintmedium</const></edit>
</match>
<match target="font">
<test name="family">
<string>simsun</string>
</test>
<test name="size" compare="less_eq">
<double>11</double>
</test>
<test name="size" compare="more_eq">
<double>9</double>
</test>
<edit mode="assign" name="antialias" ><bool>false</bool></edit>
<edit mode="assign" name="hinting" ><bool>true</bool></edit>
<edit mode="assign" name="hintstyle"><const>hintmedium</const></edit>
</match>
<match target="font">
<test name="family">
<string>simsun</string>
</test>
<test name="pixelsize" compare="less">
<double>14</double>
</test>
<test name="pixelsize" compare="more_eq">
<double>12</double>
</test>
<edit mode="assign" name="antialias" ><bool>false</bool></edit>
<edit mode="assign" name="hinting" ><bool>true</bool></edit>
<edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
</match>
<match target="font">
<test name="family">
<string>simsun</string>
</test>
<test target="pattern" name="weight" compare="more">
<const>medium</const>
</test>
<edit mode="assign" name="embolden"><bool>true</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>
</fontconfig> |
|