Skip to content

[glyphs] Instantiate smart components depth-first#1711

Merged
anthrotype merged 2 commits into
mainfrom
nested-smart-comps
Oct 24, 2025
Merged

[glyphs] Instantiate smart components depth-first#1711
anthrotype merged 2 commits into
mainfrom
nested-smart-comps

Conversation

@cmyr

@cmyr cmyr commented Oct 21, 2025

Copy link
Copy Markdown
Member

That is, ensure that a smart component that has its own smart components will get them instantiated before it gets instantiated itself.

This improves our own behaviour but doesn't get us any green numbers because glyphsLib also doesn't handle this correctly, see googlefonts/glyphsLib#1111

@cmyr cmyr force-pushed the nested-smart-comps branch from cdc89b8 to d00550a Compare October 21, 2025 16:59
That is, ensure that a smart component that has its own smart components
will get them instantiated before it gets instantiated itself.
@cmyr cmyr force-pushed the nested-smart-comps branch from d00550a to 827c5b3 Compare October 21, 2025 17:14

@anthrotype anthrotype left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but let's wait to merge before glyphsLib catches up?

@anthrotype

Copy link
Copy Markdown
Member

googlefonts/glyphsLib#1113 is merged, we can merge this as soon as we bump glyphsLib 6.12.2

anthrotype added a commit that referenced this pull request Oct 24, 2025
supports nested smart components
googlefonts/glyphsLib#1113

required for #1711
@anthrotype anthrotype added this pull request to the merge queue Oct 24, 2025
Merged via the queue into main with commit def7800 Oct 24, 2025
12 checks passed
@anthrotype anthrotype deleted the nested-smart-comps branch October 24, 2025 18:50
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