Skip to content

[ir] Fix logic bug in decomposition#1663

Merged
cmyr merged 1 commit intomainfrom
yet-more-intermediates
Sep 29, 2025
Merged

[ir] Fix logic bug in decomposition#1663
cmyr merged 1 commit intomainfrom
yet-more-intermediates

Conversation

@cmyr
Copy link
Member

@cmyr cmyr commented Sep 28, 2025

We were making sure that the composite glyph was defined at the component glyph locations, but we were not actually using that updated glyph when we then went to make sure each component was defined at the appropriate locations.

There is a remaining issue with how we handle non-trivial affines, but this patch at least fixes a crash in a number of sources.

We were making sure that the composite glyph was defined at the
component glyph locations, but we were not actually using that updated
glyph when we then went to make sure each component was defined at the
appropriate locations.

There is a remaining issue with how we handle non-trivial affines, but
this patch at least fixes a crash in a number of sources.
@anthrotype
Copy link
Member

we were not actually using that updated glyph

the classic 'use the wrong variable' bug 🐛

@cmyr cmyr added this pull request to the merge queue Sep 29, 2025
Merged via the queue into main with commit 368acf3 Sep 29, 2025
12 checks passed
@cmyr cmyr deleted the yet-more-intermediates branch September 29, 2025 16:04
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