fix: increase tree glyph stroke weight
Reference site / build (push) Canceled after 0s

This commit is contained in:
2026-10-11 01:15:32 +09:00
parent ef5ea5e528
commit 6897b2368a
4 changed files with 45 additions and 14 deletions
+4 -1
View File
@@ -90,7 +90,10 @@ It reads `public/fonts/LythMono-Regular.ttf` from the site working directory,
extracts box glyphs directly through cmap (no programming ligatures or GSUB
shaping), and normalizes the vertical cell to the 24px tree row. Direct glyph
lookup also avoids Lyth Mono's contextual GSUB lookups that OpenType.js 2.0.0
does not support. The 0.604em advance and glyph stroke width are retained.
does not support. The 0.604em advance and connection centers are retained;
tree stroke edges are expanded symmetrically by 25% for legibility (the resting
vertical stem is 1.33px). Cell boundaries stay fixed so neighboring glyphs join.
The distributed font binaries and ordinary text weights are unchanged.
The resulting SVG paths are emitted into static HTML; neither the parser nor
the TTF is fetched by the browser. Anime.js controls the shared tree transform