mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 04:22:38 +01:00
Removes the paired measure (Component::PAIRED_MEASURE, measure_pair and its six adopters, MeasureCx::least_width) and the prepared-leaf path (PreparedLeaf, PreparedStep, run_with, show_leaf_prepared, measure_under_prepared, child_with_prepared): every leaf is measured by measure alone, and the recursive run frames carry only what they read after their children again. Keeps the text layout memo and the lazy layout runs, with three fixes: a Line run keys its width as infinity, entries unused for 60 passes go instead of first in first out, and a 32 MiB budget bounds what the memo retains. TextLayout's full and runs are private behind full() and runs().