redhat-fonts/64-redhat-mono-vf-fontconfig.conf

43 lines
1.1 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<!-- Try to workaround broken family name in RedHatMonoVF.ttf -->
<match target="scan">
<test name="style">
<string>Medium</string>
</test>
<test name="family">
<string>Red Hat Mono VF Light</string>
</test>
<edit name="family" mode="prepend">
<string>Red Hat Mono VF</string>
</edit>
</match>
<!-- Try to workaround broken family name in RedHatMonoVF-Italic.ttf -->
<match target="scan">
<test name="style">
<string>Medium Italic</string>
</test>
<test name="family">
<string>Red Hat Mono VF Light Italic</string>
</test>
<edit name="family" mode="prepend">
<string>Red Hat Mono VF</string>
</edit>
</match>
<!-- Generic name assignment -->
<alias>
<family>Red Hat Mono</family>
<default>
<family>monospace</family>
</default>
</alias>
<!-- Generic name aliasing -->
<alias>
<family>monospace</family>
<prefer>
<family>Red Hat Mono</family>
</prefer>
</alias>
</fontconfig>