#1 Add substitution rule for system-ui
Merged 2 years ago by kalev. Opened 2 years ago by tagoh.
rpms/ tagoh/abattis-cantarell-fonts master  into  master

Add substitution rule for system-ui
Akira TAGOH • 2 years ago  
file modified
+4 -1
@@ -3,7 +3,7 @@ 

  

  Name: abattis-cantarell-fonts

  Version: 0.201

- Release: 3%{?dist}

+ Release: 4%{?dist}

  Summary: Humanist sans serif font

  

  License: OFL
@@ -53,6 +53,9 @@ 

  %{_datadir}/metainfo/org.gnome.cantarell.metainfo.xml

  

  %changelog

+ * Fri Jul 31 2020 Akira TAGOH <tagoh@redhat.com> - 0.201-4

+ - Add the substitution rule for system-ui in fontconfig config.

+ 

  * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.201-3

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

  

file modified
+15
@@ -6,7 +6,22 @@ 

  

  -->

  <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>

+ 

    <match target="pattern">

      <test qual="any" name="family">

        <string>Cantarell</string>

Cantarell fonts are used as the default font in GNOME for UI so it would be better having the substitution rule for system-ui generic family.

Nice, thanks! I'll add you as a co-maintainer as well, if you are OK with it.

Pull-Request has been merged by kalev

2 years ago

I'm willing to co-maintain this package. thanks for offering!

OK, added you. Thanks!