Files
photocraft/crates/text
VladimirPozdnyakov 90bc4e0ca6 Two follow-ups from the re-review: the kerning runs once in the hung arms, and justify-all counts the growth once
- The hung center/right arms add kern_align back: their slack already
  deducts the line's kerning (each mark's trim carries the kern that
  moved it), so base's shift applied the kerning twice and parked hung
  lines left of centre on lines with manual/tab/optical kerning
  (hanging_centers_a_kerned_line_exactly).
- The justify-all slack is the drawn width once: extra already carries
  the horizontal-scale growth, so scaling adv counted it twice and left
  a 150% last line short of the box edge
  (justify_all_spreads_to_the_edge_exactly).
2026-10-24 23:07:36 +03:00
..