@ixtab:
the freetype font engine may create new problems, but it also unexpectedly helped solve a problem with Chinese font hacking.
i changed the Chinese fonts in my KT by creating this font config under /etc/fonts/conf.d:
Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- sans serif -->
<match target="pattern" name="family">
<test name="family">
<string>Helvetica Neue LT</string>
</test>
<edit name="family" mode="append">
<string>FZBoYaFangKanSongK bold</string>
</edit>
</match>
<!-- serif -->
<match target="pattern" name="family">
<test name="family">
<string>Caecilia Regular</string>
</test>
<edit name="family" mode="append">
<string>XHei</string>
</edit>
</match>
<!-- condensed -->
<match target="pattern" name="family">
<test name="family">
<string>condensed</string>
</test>
<edit name="family" mode="append">
<string>FZShuSong-Z01</string>
</edit>
</match>
</fontconfig>
as there is no native bold font included, the bold font is rendered by the KT. the result is the bold font will have a lot of "bleeding". this problem has been troubling those who hack their Chinese fonts for quite some time. but with the freetype engine provided by you the problem is solved! thank you so much.