-
Notifications
You must be signed in to change notification settings - Fork 15
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
Respect 'Propagate Anchors' custom parameter #1308
Conversation
thanks. Could you also add a test? you could create a minimal test font in Glyphs.app with two glyphs, a simple one with an anchor, and a composite glyph using the latter as component. You also add the Propagate Anchors custom param set to false. Pass it through the resources/scripts/tidy_glyphs.py python script before committing to get rid of unwated stuff (timestamps etc.). then in your test you would simply Font::load the test file and assert that the composite glyph gets no propagated anchors |
ce7776d
to
2ab30ca
Compare
@anthrotype, I have attempted to create the test, but I am still not getting good results. Can you help me understand what I'm doing wrong here? |
2ab30ca
to
afb1727
Compare
I'm getting this panic:
My reasoning here is that:
But I must have missed something, because it panics... What do you think? |
the panic is just saying that the test failed, and it failed because apparently |
okay the issue seems to be that the "Propagate Anchors" custom param is set on the master, not on the font? |
afb1727
to
5ec6f1a
Compare
Yep! Thanks! Just moved it and the check now passes. |
I've tested this by running ttx_diff on notofonts/arabic/sources/NotoSansArabic.glyphspackage and got these improvements: | COMPARISON | Before | After | | ------------- | ------- | --------- | | (mark / kern) | 29.249% | Identical | | GDEF | 56.062% | Identical | | GPOS | 87.500% | Identical | | ligcaret | 34.043% | Identical | (issue googlefonts#889)
5ec6f1a
to
a236e2d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, thanks!
I've tested this by running ttx_diff on notofonts/arabic/sources/NotoSansArabic.glyphspackage and got these improvements:
(issue #889)