Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rounding errors caused by glyph cross references (#2545) #2546

Merged
merged 3 commits into from
Oct 13, 2024

Conversation

be5invis
Copy link
Owner

This change fixes #2545, which is caused by rounding error, which is then caused by glyph level dependencies when flattening the geometry.

ReferenceGeometry holds a glyph reference, so when simplifying the geometry, we cannot modify the geometry data glyph by glyph (a later processed glyph may depend on some other glyph before it, causing this bug).

@be5invis be5invis enabled auto-merge (squash) October 13, 2024 00:05
@be5invis be5invis merged commit 35de3aa into dev Oct 13, 2024
5 checks passed
@be5invis be5invis deleted the b/fix-rounding-errors-caused-by-glyph-references branch October 13, 2024 01:25
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.

1 participant