summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-06 14:45:13 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-06 14:45:13 +0100
commitea129b5b09d881a77f1daeb0c55ab7d23bd6ef8e (patch)
treee9d83f73a7914c12745042f0b9ee98596231f6a0
parent038788ff0870713d1906970d51de8ac2fb9626d6 (diff)
Include fonts, and move them to src/
-rw-r--r--.gitignore1
-rwxr-xr-xgen-fonts10
-rw-r--r--src/fonts/iosevka-italic.woff2bin0 -> 15632 bytes
-rw-r--r--src/fonts/iosevka-regular.woff2bin0 -> 14060 bytes
-rw-r--r--src/fonts/vollkorn-italic.woff2bin0 -> 13576 bytes
-rw-r--r--src/fonts/vollkorn-regular.woff2bin0 -> 13000 bytes
6 files changed, 5 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 2adeaa1..89f9ac0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-fonts/
out/
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" \
diff --git a/src/fonts/iosevka-italic.woff2 b/src/fonts/iosevka-italic.woff2
new file mode 100644
index 0000000..0791684
--- /dev/null
+++ b/src/fonts/iosevka-italic.woff2
Binary files differ
diff --git a/src/fonts/iosevka-regular.woff2 b/src/fonts/iosevka-regular.woff2
new file mode 100644
index 0000000..0236526
--- /dev/null
+++ b/src/fonts/iosevka-regular.woff2
Binary files differ
diff --git a/src/fonts/vollkorn-italic.woff2 b/src/fonts/vollkorn-italic.woff2
new file mode 100644
index 0000000..01402cd
--- /dev/null
+++ b/src/fonts/vollkorn-italic.woff2
Binary files differ
diff --git a/src/fonts/vollkorn-regular.woff2 b/src/fonts/vollkorn-regular.woff2
new file mode 100644
index 0000000..f6d3a30
--- /dev/null
+++ b/src/fonts/vollkorn-regular.woff2
Binary files differ