summaryrefslogtreecommitdiffstats
path: root/scripts/build_fonts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build_fonts.sh')
-rwxr-xr-xscripts/build_fonts.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/build_fonts.sh b/scripts/build_fonts.sh
new file mode 100755
index 0000000..d7c5e13
--- /dev/null
+++ b/scripts/build_fonts.sh
@@ -0,0 +1,13 @@
1#!/bin/bash
2
3pyftsubset assets/iosevka-term-ss09-regular.ttf \
4 --text-file='assets/glyphs.txt' \
5 --layout-features+=ss09,dlig \
6 --flavor='woff2' \
7 --output-file='dist/iosevka-term-ss09-regular.woff2'
8
9pyftsubset assets/iosevka-term-ss09-bold.ttf \
10 --text-file='assets/glyphs.txt' \
11 --layout-features+=ss09,dlig \
12 --flavor='woff2' \
13 --output-file='dist/iosevka-term-ss09-bold.woff2'