Skip to content

Don't reorder components based on missing identifiers - #334

Merged
benkiel merged 3 commits into
robotools:masterfrom
daltonmaag:match-components-by-identifier
Dec 1, 2026
Merged

benkiel merged 3 commits into
robotools:masterfrom
daltonmaag:match-components-by-identifier

Conversation

@madig

@madig madig commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

When fontMath reorders based on missing identifiers, it can create composite incompatibilities across the design space when some glyphs (accidentally) have more identifiers than others. This PR prefers the component order in these cases.

@madig
madig force-pushed the match-components-by-identifier branch from 1fc3f76 to 183f945 Compare December 1, 2026 11:37
@madig
madig force-pushed the match-components-by-identifier branch from 183f945 to f5518de Compare December 1, 2026 11:48
@madig
madig force-pushed the match-components-by-identifier branch from f5518de to 864de63 Compare December 1, 2026 11:51
@codecov

codecov Bot commented Dec 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.93%. Comparing base (9dde2a2) to head (864de63).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #334      +/-   ##
==========================================
+ Coverage   89.51%   89.93%   +0.42%     
==========================================
  Files          13       13              
  Lines        2355     2364       +9     
  Branches      276      277       +1     
==========================================
+ Hits         2108     2126      +18     
+ Misses        177      172       -5     
+ Partials       70       66       -4     
Flag Coverage Δ
unittests 89.93% <100.00%> (+0.42%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@madig madig changed the title Pairing components with inconsistent identifiers Don't reorder components based on missing identifiers Dec 1, 2026
@madig
madig marked this pull request as ready for review December 1, 2026 11:56

@benkiel benkiel 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, thank you!

@benkiel
benkiel merged commit 0c2d15c into robotools:master Dec 1, 2026
11 checks passed
@benkiel

benkiel commented Dec 1, 2026

Copy link
Copy Markdown
Member

@madig this is merged, but our PyPi publish action is apparently broken... You can grab from releases, will get this fixed, but likely not today.

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