Skip to content
New issue

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

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

Already on GitHub? # to your account

PR: Preserves timestamp, bboxes, and table order for faithful to original and reproducible font updating #190

Merged
merged 1 commit into from
Dec 8, 2021

Conversation

kumattau
Copy link
Contributor

@kumattau kumattau commented Dec 8, 2021

This PR resolves the following in #189 (comment)

Since the timestamp when the family is changed is embedded, the font checksum changes every time the command is executed, which is to be expected.

  • implement reproducing processing for changing family

By recalcTimestamp=False, "modified" timestamp field is preserved and same processing to change family returns same binary.
Also, recalcBBoxes=False and reorderTables=False are added to suppress processing that may change the table and content of font.

Copy link
Member

@dalthviz dalthviz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @kumattau ! LGTM 👍

@dalthviz dalthviz merged commit efdef87 into spyder-ide:master Dec 8, 2021
@kumattau kumattau deleted the reproducible-font-updating branch December 8, 2021 18:30
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants