`RunGeometry` bounds fix (#24247)
# Objective We sum `GlyphRun::offset` and `LineMetrics::inline_min_coord` when calculating the run geometry bounding boxes during text layout. But this is incorrect because `GlyphRun::offset` is set equal to `offset + self.line.data.metrics.inline_min_coord + self.line.data.metrics.offset`, so `inline_min_coord` is added twice. We don't see any errors in layout because `BreakerState::set_line_x` isn't used anywhere atm, so the value of `inline_min_coord` is always zero, but it's still wrong. ## Solution Don't add `inline_min_coord` to the run bounds.
I
ickshonpe committed
3f83fbc1a18bc0ceddb2910188d7b89c5d20a9f7
Parent: 05ed761
Committed by GitHub <noreply@github.com>
on 5/12/2026, 8:21:09 PM