Quote:
Originally Posted by RogueLeader
For KPW, 5.3.1, my workaround for curbing the display of the additional stock fonts is to create /etc/fonts/local.conf with the following content:
Code:
<rejectfont>
<pattern>
<patelt name="family">
<string>Song S</string>
</patelt>
</pattern>
<pattern>
<patelt name="family">
<string>MKai PRC</string>
</patelt>
</pattern>
<pattern>
<patelt name="family">
<string>TBMincho</string>
</patelt>
</pattern>
<pattern>
<patelt name="family">
<string>TBGothic</string>
</patelt>
</pattern>
<pattern>
<patelt name="family">
<string>HYGothic</string>
</patelt>
</pattern>
<pattern>
<patelt name="family">
<string>HYMyeongJo</string>
</patelt>
</pattern>
<pattern>
<patelt name="family">
<string>MYing Hei T</string>
</patelt>
</pattern>
<pattern>
<patelt name="family">
<string>Song T</string>
</patelt>
</pattern>
<pattern>
<patelt name="family">
<string>MYing Hei S</string>
</patelt>
</pattern>
<pattern>
<patelt name="family">
<string>MT Chinese Surrogates</string>
</patelt>
</pattern>
</rejectfont>
You can add or remove fonts to this file as desired.
There is probably a more elegant solution, as I just scratched the surface of fontconfig to do this, but it worked for me. It allows for the Aa dialog to fit more custom fonts if that is your desire. I just like the fact that the box is once again small enough that you can see the text above/below, thus getting a live preview of your settings.
|
Does this code work for KPW 5.3.5,do you have a try?