How do I rename a font within fontconfig?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux