summaryrefslogtreecommitdiffhomepage
path: root/gen-fonts
diff options
context:
space:
mode:
Diffstat (limited to 'gen-fonts')
-rwxr-xr-xgen-fonts22
1 files changed, 1 insertions, 21 deletions
diff --git a/gen-fonts b/gen-fonts
index d1f7b7d..f945a33 100755
--- a/gen-fonts
+++ b/gen-fonts
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
. /usr/share/nvm/init-nvm.sh
@@ -6,26 +6,6 @@ make
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=src/fonts/vollkorn-regular.woff2 \
- --flavor=woff2 \
- --layout-features-=locl \
- --layout-features+=lnum \
- --unicodes="$uni" \
- --no-hinting \
- --desubroutinize
-pyftsubset /usr/share/fonts/WOFF2/Vollkorn-Italic.woff2 \
- --output-file=src/fonts/vollkorn-italic.woff2 \
- --flavor=woff2 \
- --layout-features-=locl \
- --layout-features+=lnum \
- --unicodes="$uni" \
- --no-hinting \
- --desubroutinize
-
-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 \