Add substitution rule for system-ui

This commit is contained in:
Akira TAGOH 2020-07-31 21:25:51 +09:00
parent 77da3b113f
commit fb5ad6ecf7
2 changed files with 19 additions and 1 deletions

View File

@ -3,7 +3,7 @@
Name: abattis-cantarell-fonts Name: abattis-cantarell-fonts
Version: 0.201 Version: 0.201
Release: 3%{?dist} Release: 4%{?dist}
Summary: Humanist sans serif font Summary: Humanist sans serif font
License: OFL License: OFL
@ -53,6 +53,9 @@ appstream-util validate-relax --nonet \
%{_datadir}/metainfo/org.gnome.cantarell.metainfo.xml %{_datadir}/metainfo/org.gnome.cantarell.metainfo.xml
%changelog %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 * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.201-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -6,7 +6,22 @@
--> -->
<fontconfig> <fontconfig>
<!-- Font substitution -->
<alias binding="same">
<family>system-ui</family>
<accept>
<family>Cantarell</family>
</accept>
</alias>
<!-- Generic name assignment --> <!-- Generic name assignment -->
<alias>
<family>Cantarell</family>
<default>
<family>system-ui</family>
</default>
</alias>
<match target="pattern"> <match target="pattern">
<test qual="any" name="family"> <test qual="any" name="family">
<string>Cantarell</string> <string>Cantarell</string>