From 1e5a920790e470116a7314ad66ee26cb8fa27a37 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 2 Dec 2023 02:24:18 +0100 Subject: Remove Vollkorn --- gen-fonts | 22 +--------------------- src/fonts/vollkorn-italic.woff2 | Bin 13796 -> 0 bytes src/fonts/vollkorn-regular.woff2 | Bin 13216 -> 0 bytes src/style.css | 16 +--------------- 4 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 src/fonts/vollkorn-italic.woff2 delete mode 100644 src/fonts/vollkorn-regular.woff2 diff --git a/gen-fonts b/gen-fonts index d1f7b7d..f945a33 100755 --- a/gen-fonts +++ b/gen-fonts @@ -1,30 +1,10 @@ -#!/bin/bash +#!/bin/sh . /usr/share/nvm/init-nvm.sh 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) *'` diff --git a/src/fonts/vollkorn-italic.woff2 b/src/fonts/vollkorn-italic.woff2 deleted file mode 100644 index a1443cf..0000000 Binary files a/src/fonts/vollkorn-italic.woff2 and /dev/null differ diff --git a/src/fonts/vollkorn-regular.woff2 b/src/fonts/vollkorn-regular.woff2 deleted file mode 100644 index 0c72d62..0000000 Binary files a/src/fonts/vollkorn-regular.woff2 and /dev/null 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; @@ -15,20 +15,6 @@ --grey: #B3B3B3; } -@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'); -- cgit v1.2.3