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.
|
Excuse me, last night, back to you, there is another question to ask you.
My device is KPW 5.3.5
I am a reader from China, need to use the 'Song T' and the other Chinese fonts. If I modify your code to retain Chinese fonts and refuse English, whether the change will affect the display of English books and system interface English?
PS: 5.3.5 is applicable?