Skip to content

rootless: Fix Glyphs damage bounding box to correctly compute union#2183

Open
metux wants to merge 1 commit intorelease/25.0from
pr/25.0/rootless-fix-glyphs-damage-bounding-box-to-correctly-compute-union-_2026-04-13_12-28-43
Open

rootless: Fix Glyphs damage bounding box to correctly compute union#2183
metux wants to merge 1 commit intorelease/25.0from
pr/25.0/rootless-fix-glyphs-damage-bounding-box-to-correctly-compute-union-_2026-04-13_12-28-43

Conversation

@metux
Copy link
Copy Markdown
Contributor

@metux metux commented Apr 13, 2026

RootlessGlyphs used max() for box.x1 and box.y1 when accumulating the
bounding box across glyphs in a list. Computing the union of bounding
boxes requires min() for the lower coordinate corner and max for the
higher coordinate corner.

Signed-off-by: Jeremy Huddleston Sequoia jeremyhu@apple.com

@metux metux added this to the 25.0.x bugfix milestone Apr 13, 2026
@metux metux self-assigned this Apr 13, 2026
@metux metux requested a review from a team April 13, 2026 10:28
metux pushed a commit that referenced this pull request Apr 13, 2026
RootlessGlyphs used max() for box.x1 and box.y1 when accumulating the
bounding box across glyphs in a list.  Computing the union of bounding
boxes requires min() for the lower coordinate corner and max for the
higher coordinate corner.

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
@metux metux force-pushed the pr/25.0/rootless-fix-glyphs-damage-bounding-box-to-correctly-compute-union-_2026-04-13_12-28-43 branch from c1d6105 to 2733acb Compare April 17, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants