#!/bin/sh set -eu cd "$(dirname "$0")/.." # Keep Latin, common punctuation, math, arrows, and box-drawing characters. # The browser falls back to a system monospace font for other characters. uv run --no-project --with fonttools --with brotli fonttools subset \ node_modules/@fontsource/iosevka/files/iosevka-latin-400-normal.woff2 \ --unicodes=U+0000-024F,U+1E00-1EFF,U+2000-206F,U+20A0-20CF,U+2100-214F,U+2190-21FF,U+2200-22FF,U+2300-23FF,U+2500-257F,U+25A0-25FF,U+2600-26FF,U+27C0-27EF,U+2B00-2BFF \ --flavor=woff2 \ --output-file=src/iosevka-latin-subset.woff2