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

Use Proxy for GSFont.features/featurePrefixes #632

Merged
merged 3 commits into from
Nov 23, 2020
Merged

Use Proxy for GSFont.features/featurePrefixes #632

merged 3 commits into from
Nov 23, 2020

Conversation

khaledhosny
Copy link
Collaborator

Matches Glyphs App API and for consistency with the rather identical GSFont.classes.

Matches Glyphs App API and for consistency with the rather identical
GSFont.classes.

Fixes also what seems to be a typo in test_write_font_attributes() that
was writing (I think) invalid data to the file.
@madig
Copy link
Collaborator

madig commented Nov 6, 2020

Out of curiosity, is there something that didn't work before but does with this PR?

@khaledhosny
Copy link
Collaborator Author

Out of curiosity, is there something that didn't work before but does with this PR?

Without this PR they are simple lists, so you can’t access them by name, like in the examples in https://docu.glyphsapp.com/#GSFont.features. I was merging two fonts and trying to merge Languagesystems prefix instead of having two of it when I found this limitation. It can be worked around of course.

@anthrotype anthrotype merged commit 308ccf2 into googlefonts:master Nov 23, 2020
@anthrotype
Copy link
Member

thanks

@khaledhosny khaledhosny deleted the proxy branch November 25, 2020 16:48
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.

4 participants