Skip to content

Conversation

cmyr
Copy link
Contributor

@cmyr cmyr commented Jul 29, 2025

The order of lookups within a feature doesn't matter, and so features that have the same set of lookups can reuse the same feature record, regardless of the order in which those lookups are added to the feature.

The order of lookups within a feature doesn't matter, and so features
that have the same set of lookups can reuse the same feature record,
regardless of the order in which those lookups are added to the feature.
Copy link
Member

@anthrotype anthrotype left a comment

Choose a reason for hiding this comment

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

LGTM

(personally I'd also be ok to just sort and dedup like fontc does, if the order of feature lookup indices is indeed meaningless, but this at at least would reduce the amount of needless changes)

@cmyr
Copy link
Contributor Author

cmyr commented Jul 29, 2025

yea I wanted to just keep this patch minimal.

@anthrotype anthrotype merged commit ec716f1 into fonttools:main Jul 29, 2025
11 checks passed
@behdad
Copy link
Member

behdad commented Jul 29, 2025

I'm in for sorting as well.

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.

3 participants