subset julia mono

This commit is contained in:
Alexander 2025-06-14 16:51:41 -04:00
parent 4388064d92
commit e5fda203c3
4 changed files with 15 additions and 5 deletions

View file

@ -10,6 +10,12 @@ function soup_config {
source ./pgvv/bin/activate
find acl.cool/site/ ytheleus.org/site/ -type f \( -name '*.dj' -o -name '*.html' \) -exec cat {} + > all_chars.txt
for font in fonts/JuliaMono/*{-Light,-Regular,-SemiBold}{,Italic}.woff2; do
pyftsubset "$font" --flavor=woff2 --text-file=all_chars.txt \
--output-file="$(awk -F '.woff2' '{print $1}' <<< "$font")-Subset.woff2"
done
rm css/code.css
pygmentize -f html -S algol_nu | grep -v 'line-height' > css/code.css