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

Reduce the ordering difference with respect to Glyphs #863

Merged
merged 2 commits into from
Feb 23, 2023
Merged

Reduce the ordering difference with respect to Glyphs #863

merged 2 commits into from
Feb 23, 2023

Conversation

IvanUkhov
Copy link
Collaborator

When using glyphsLib for manipulating Glyphs files, it produces a lot of unrelated changes due to its serialization order that is different from the one used by Glyphs. This PR is an attempt to reduce the different.

@anthrotype
Copy link
Member

LGTM (pending tests fixups)

@IvanUkhov
Copy link
Collaborator Author

IvanUkhov commented Feb 23, 2023

I have updated the tests.

It is important to emphasize that, since there is no documentation for such things, it was inferred manually based on a number of typefaces (Mark Simonson's collection was used). There could be cases that have not been seen yet but would lead to further refinement of the ordering. To be continued, in other words.

(In general, there are other deviations that are not related to ordering. The most common ones are infinity and "infinity" as well as lists with and without spaces after commas.)

@anthrotype anthrotype merged commit 032ae1f into googlefonts:main Feb 23, 2023
@IvanUkhov IvanUkhov deleted the ordering-difference branch February 23, 2023 14:11
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