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 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'gen-fonts') 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) *'` -- cgit v1.2.3