Skip to content

Take openTypeCategories from the source an instance sits on - #1017

Merged
anthrotype merged 2 commits into
mainfrom
instance-categories-on-source
Oct 29, 2026
Merged

anthrotype merged 2 commits into
mainfrom
instance-categories-on-source

Conversation

@anthrotype

Copy link
Copy Markdown
Member

Like #1016 for panose: an instance sitting exactly on a source now takes that source's public.openTypeCategories instead of the default's. They can differ per source, e.g. glyphsLib infers a glyph's GDEF base class from each master's anchors, so a static cut on a non-default master could lose mark attachment. Sources that define no categories, and instances between sources, still get the default's.

@anthrotype
anthrotype requested a review from cmyr October 29, 2026 15:39

@cmyr cmyr 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.

👍

@anthrotype
anthrotype merged commit 301e8e1 into main Oct 29, 2026
15 checks passed
@anthrotype
anthrotype deleted the instance-categories-on-source branch October 29, 2026 16:02
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