refactor(font): extract glyph-comparison logic into a domain segment

Move DualFontLayout and computeLineRenderModel from lib/ to a new
domain/ segment. This is the pure glyph-comparison algorithm — no
framework, no UI, no shared/model dependencies — so it belongs in
domain per the FSD+ ui -> model -> domain interior rule, shielded from
UI-kit and API churn.

Public API is unchanged: the slice index re-exports domain/, so
$entities/Font consumers (ComparisonView SliderArea, Line) are
unaffected.
This commit is contained in:
Ilia Mashkov
2026-05-31 14:08:09 +03:00
parent ecdb2f1b7f
commit 7d66b0bc92
7 changed files with 1 additions and 2 deletions