summaryrefslogtreecommitdiffhomepage
path: root/gen-fonts
diff options
context:
space:
mode:
Diffstat (limited to 'gen-fonts')
-rwxr-xr-xgen-fonts10
1 files changed, 5 insertions, 5 deletions
diff --git a/gen-fonts b/gen-fonts
index 6c85422..d1f7b7d 100755
--- a/gen-fonts
+++ b/gen-fonts
@@ -3,13 +3,13 @@
. /usr/share/nvm/init-nvm.sh
make
-mkdir -p fonts
+mkdir -p src/fonts
uni=`find out -name '*.html' | xargs glyphhanger \
--cssSelector=':not(code, pre, kbd, samp)'`
pyftsubset /usr/share/fonts/WOFF2/Vollkorn-Regular.woff2 \
- --output-file=fonts/vollkorn-regular.woff2 \
+ --output-file=src/fonts/vollkorn-regular.woff2 \
--flavor=woff2 \
--layout-features-=locl \
--layout-features+=lnum \
@@ -17,7 +17,7 @@ pyftsubset /usr/share/fonts/WOFF2/Vollkorn-Regular.woff2 \
--no-hinting \
--desubroutinize
pyftsubset /usr/share/fonts/WOFF2/Vollkorn-Italic.woff2 \
- --output-file=fonts/vollkorn-italic.woff2 \
+ --output-file=src/fonts/vollkorn-italic.woff2 \
--flavor=woff2 \
--layout-features-=locl \
--layout-features+=lnum \
@@ -29,14 +29,14 @@ uni=`find out -name '*.html' | xargs glyphhanger \
--cssSelector='code, pre, kbd, samp, :where(code, pre, kbd, samp) *'`
pyftsubset /usr/share/fonts/iosevka-smooth/woff2-unhinted/iosevka-smooth-regular.woff2 \
- --output-file=fonts/iosevka-regular.woff2 \
+ --output-file=src/fonts/iosevka-regular.woff2 \
--flavor=woff2 \
--layout-features-=locl \
--unicodes="$uni" \
--no-hinting \
--desubroutinize
pyftsubset /usr/share/fonts/iosevka-smooth/woff2-unhinted/iosevka-smooth-italic.woff2 \
- --output-file=fonts/iosevka-italic.woff2 \
+ --output-file=src/fonts/iosevka-italic.woff2 \
--flavor=woff2 \
--layout-features-=locl \
--unicodes="$uni" \