f195f85d6d
- Split packages for variable fonts. - Drop unnecessary/duplicate fonts from packages. - Worked around broken family name in variable fonts
43 lines
1.1 KiB
XML
43 lines
1.1 KiB
XML
<?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>
|