Skip to content

fix edt inner bounding box#64

Closed
lhapaipai wants to merge 1 commit into
mapbox:mainfrom
lhapaipai:fix-edt
Closed

fix edt inner bounding box#64
lhapaipai wants to merge 1 commit into
mapbox:mainfrom
lhapaipai:fix-edt

Conversation

@lhapaipai
Copy link
Copy Markdown

Hi 👋

It seems that this can fix #63

I've left playground.html so you can test the difference before/after (you can delete the file after)

edt-after.prepared.mp4

@mourner
Copy link
Copy Markdown
Member

mourner commented May 4, 2026

Thanks for the PR! It's conceptually correct, but turned out it was enough to expand the inner EDT by just one pixel to fix edge cases like this, which preserves the optimization. Superceded by #67.

@mourner mourner closed this May 4, 2026
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.

Inner EDT restricted to glyph bounding box causes incorrect SDF values at glyph edges

2 participants