[Fontconfig] How do I rename a font within fontconfig?
James Su
suzhe at turbolinux.com.cn
Thu Apr 17 20:57:18 EST 2003
Hi,
I have a ttf font with very ugly name, so I want to rename it within
fontconfig, then user will feel more comfortable. I add the following
pieces of code into fonts.conf:
<match target="font">
<test name="family" compare="eq">
<string>UglyName</string>
</test>
<edit target="font" name="family" mode="assign">
<string>NewName</string>
</edit>
</match>
But no use. Replacing the mode to prepend and append are also no effect.
Could you please tell me how can I do that correctly?
Regards
James Su
More information about the Fontconfig
mailing list