After upgrading my KT's firmware to 5.3.2, I can see only one font available (黑体) when reading Chinese files. While for English files, three fonts are available (Caecilia, Helvetica and Caecilia Condensed). I want to know which configuration file controls this? How can I add another Chinese font and let the system display it for selection?
I don't want to use the USE_ALT_FONTS method, because all the stock fonts will show up.
In firmware 5.1.2, I could add a config file in /etc/fonts/conf.d directory to intercept the rendering of the three families for English files, like the following example to display custom Chinese font for the Caecilia Regular family:
Code:
<!-- Search for CJK_Serif.ttf and CJK_Serif_Bold.ttf and add them to CJK_Serif_Family -->
<match target="scan">
<test name="file" compare="eq">
<string>/mnt/us/fonts/CJK_Serif.ttf</string>
</test>
<edit name="family" mode="assign">
<string>CJK_Serif_Family</string>
</edit>
<edit name="style" mode="assign">
<string>Regular</string>
</edit>
<edit name="weight" mode="assign">
<const>medium</const>
</edit>
</match>
<!-- scanning Bold font -->
<match target="scan">
<test name="file" compare="eq">
<string>/mnt/us/fonts/CJK_Serif_Bold.ttf</string>
</test>
<edit name="family" mode="assign">
<string>CJK_Serif_Family</string>
</edit>
<edit name="style" mode="assign">
<string>Bold</string>
</edit>
<edit name="weight" mode="assign">
<const>bold</const>
</edit>
</match>
<!-- Intercept the Caecilia Regular family and append the CJK_Serif_Family -->
<match target="pattern">
<test name="family">
<string>Caecilia Regular</string>
</test>
<edit name="family" mode="append">
<string>CJK_Serif_Family</string>
</edit>
<edit name="family" mode="append">
<string>Kindle Symbol</string>
</edit>
</match>
Now the above method no longer works because there is only one font available for selection for Chinese files.
Is there a config file that we can modify to add more font to be displayed?