Skip to content

v0.0.1: Add Google-Fonts-style webfont subsetting for all four regions

Choose a tag to compare

@github-actions github-actions released this 13 Sep 19:58
· 21 commits to main since this release
subset_webfont.py fetches unicode-range slice definitions from the
Google Fonts CSS API (Noto Sans SC/TC/JP/KR, ~100-124 frequency-ordered
slices per language), then uses pyftsubset to split each region's
Regular TTF into woff2 subsets with a matching CSS file.  Browsers
load only the slices needed for the page content.

The CI workflow runs this on tagged releases only, packaging the
result as PlemoCJK_webfont_VERSION.zip alongside the other archives.