Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't propagate anchors to "mark" composite glyphs with anchors #815

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

anthrotype
Copy link
Member

This is meant to match Glyphs.app's anchors propagation logic whereby if a composite glyph is classified as a "mark" and it already has some anchors, then anchors from its components do not get propagated to it, otherwise Bad Things(tm) happen

see #802

(A similar fix should be added to glyphsLib's anchor_propagation.py until the latter is superseded by the ufo2ft filter ... eventually)

@anthrotype anthrotype changed the title No marks anchor propagation Don't propagate anchors to "mark" composite glyphs with anchors Jan 23, 2024
@anthrotype anthrotype force-pushed the no-marks-anchor-propagation branch 2 times, most recently from 9141d2c to 1b97f1f Compare January 24, 2024 09:59
This is meant to match Glyphs.app's logic, see #802

(A similar fix should be added to glyphsLib's anchor_propagation.py until the latter is superseded by the ufo2ft filter)
@anthrotype
Copy link
Member Author

@simoncozens can you check if this is what you expected? I borrowed the test case from #802. I know this doesn't directly fix your problem -- since you're actually using glyphsLib to propagate the anchors and not this ufo2ft filter, but eventually we want to consolidate the two (i.e. stop doing it in glyphsLib) so this would be a step towards that.

@anthrotype anthrotype merged commit 2738430 into main Feb 2, 2024
9 checks passed
@anthrotype anthrotype deleted the no-marks-anchor-propagation branch February 2, 2024 10:37
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.

1 participant