mirror of
https://github.com/belluzj/fantasque-sans.git
synced 2024-12-22 15:31:31 +01:00
Add configuration file to enable ss01 on fontconfig systems
This commit is contained in:
parent
f26bc2f418
commit
a67df65146
15
Extras/fontconfig/ss01.conf
Normal file
15
Extras/fontconfig/ss01.conf
Normal 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
1
pkg.sh
|
@ -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}/ \
|
||||
|
|
Loading…
Reference in New Issue
Block a user