summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-12-02 02:24:18 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-12-02 02:24:18 +0100
commit1e5a920790e470116a7314ad66ee26cb8fa27a37 (patch)
tree988c376ffbaa77e4d82a6236e37bdd122265b400
parent02b46a0062db61061a6683c7d498c6e700a384d0 (diff)
Remove Vollkorn
-rwxr-xr-xgen-fonts22
-rw-r--r--src/fonts/vollkorn-italic.woff2bin13796 -> 0 bytes
-rw-r--r--src/fonts/vollkorn-regular.woff2bin13216 -> 0 bytes
-rw-r--r--src/style.css16
4 files changed, 2 insertions, 36 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 \
diff --git a/src/fonts/vollkorn-italic.woff2 b/src/fonts/vollkorn-italic.woff2
deleted file mode 100644
index a1443cf..0000000
--- a/src/fonts/vollkorn-italic.woff2
+++ /dev/null
Binary files differ
diff --git a/src/fonts/vollkorn-regular.woff2 b/src/fonts/vollkorn-regular.woff2
deleted file mode 100644
index 0c72d62..0000000
--- a/src/fonts/vollkorn-regular.woff2
+++ /dev/null
Binary files differ
diff --git a/src/style.css b/src/style.css
index a418a11..6581e9d 100644
--- a/src/style.css
+++ b/src/style.css
@@ -1,5 +1,5 @@
:root {
- --serif: Vollkorn;
+ --serif: serif;
--mono: 'Iosevka Smooth';
--bg: #1D1F21;
--fg: #C5C8C6;
@@ -16,20 +16,6 @@
}
@font-face {
- font-family: Vollkorn;
- src: url('fonts/vollkorn-regular.woff2') format('woff2');
- font-weight: normal;
- font-style: normal;
-}
-
-@font-face {
- font-family: Vollkorn;
- src: url('fonts/vollkorn-italic.woff2') format('woff2');
- font-weight: normal;
- font-style: italic;
-}
-
-@font-face {
font-family: 'Iosevka Smooth';
src: url('fonts/iosevka-regular.woff2') format('woff2');
font-weight: normal;