Feature/adaptive crossfade window #50

Merged
ilia merged 7 commits from feature/adaptive-crossfade-window into main 2026-06-06 06:05:09 +00:00
Showing only changes of commit 8dbea97a33 - Show all commits
@@ -1,7 +1,8 @@
<!--
Component: Line
Renders one laid-out line as three regions: a fontA bulk run (past the
slider), an N-char crossfade window straddling it, and a fontB bulk run (not
slider), a crossfade window straddling it (its size derived per line from
the line's grapheme count via `windowSizeForLine`), and a fontB bulk run (not
yet past). Bulk runs are native shaped text (kerning, ligatures); only the
window uses per-char DOM. `split` is a primitive so the render-model
`$derived` skips recomputation on ticks that leave it unchanged.