Add a sub-package for variable font, abattis-cantarell-vf-fonts.

Resolves: rhbz#2045012
Convert the spec file to the latest font packaging guidelines.
This commit is contained in:
Akira TAGOH 2022-01-26 16:42:13 +09:00
parent dfdf661815
commit a34f990883
2 changed files with 26 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<!--
Define aliasing and other fontconfig settings for Cantarell.

25
31-cantarell.conf Normal file
View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<!--
Define aliasing and other fontconfig settings for Cantarell.
-->
<fontconfig>
<!-- Font substitution -->
<alias binding="same">
<family>system-ui</family>
<accept>
<family>Cantarell</family>
</accept>
</alias>
<!-- Generic name assignment -->
<alias>
<family>Cantarell</family>
<default>
<family>system-ui</family>
</default>
</alias>
</fontconfig>