14
0
mirror of https://github.com/belluzj/fantasque-sans.git synced 2024-12-22 07:21:31 +01:00

Add configuration file to enable ss01 on fontconfig systems

This commit is contained in:
James Buren 2019-11-30 15:58:14 -06:00
parent f26bc2f418
commit a67df65146
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<test name="fontformat" compare="not_eq">
<string/>
</test>
<test name="family" compare="eq">
<string>Fantasque Sans Mono</string>
</test>
<edit name="fontfeatures" mode="assign_replace">
<string>ss01</string>
</edit>
</match>
</fontconfig>

1
pkg.sh
View File

@ -27,6 +27,7 @@ fpm -s dir -t ${pkg} -a all \
Variants/Normal/OTF/FantasqueSansMono-Bold.otf=/usr/share/fonts/opentype/${name}/ \
Variants/Normal/OTF/FantasqueSansMono-Italic.otf=/usr/share/fonts/opentype/${name}/ \
Variants/Normal/OTF/FantasqueSansMono-BoldItalic.otf=/usr/share/fonts/opentype/${name}/ \
Extras/fontconfig/ss01.conf=/etc/fonts/conf.avail/25-${name}-nondescript-k.conf \
LICENSE.txt=/usr/share/doc/${name}/copyright \
README.md=/usr/share/doc/${name}/ \
CHANGELOG.md=/usr/share/doc/${name}/ \