mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-08 11:31:41 +00:00
* warichu: split long runs in one pass instead of trying every length The exact split tries every line length for every start, so its work grew with the square of the run's length, and a document can set warichu on a run of any length. Runs longer than 512 glyphs are now split where the running advance reaches each line's share, keeping the break minimums. The glyphs drawn with the run find their anchor by binary search instead of a scan per glyph. * address review: warichu split picks the break closest to the target