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

fix for issue 897 #906

Merged
merged 1 commit into from
Aug 15, 2019
Merged

fix for issue 897 #906

merged 1 commit into from
Aug 15, 2019

Conversation

cjchapman
Copy link
Contributor

fixes #897
The original fdselect4.otf font had defaultWidthX operators in the private dictionaries of a CFF2 table, which is incorrect. I copied that font to tests/tx_data/input/bad/bug897.otf for test purposes, and removed the defaultWidthX operators from the private dictionaries of fdselect4.otf. I then added tests to check that tx -cff2 removes the defaultWidthX operators from the private dictionaries of its CFF2 output and tx -cff preserves them in its CFF output.

fixes #897
The original `fdselect4.otf` font had `defaultWidthX` operators in the private dictionaries of a CFF2 table, which is incorrect. I copied that font to `tests/tx_data/input/bad/bug897.otf` for test purposes, and removed the `defaultWidthX` operators from the private dictionaries of `fdselect4.otf`. I then added tests to check that `tx -cff2` removes the `defaultWidthX` operators from the private dictionaries of its CFF2 output and `tx -cff` preserves them in its CFF output.
@miguelsousa miguelsousa merged commit 2ae050d into develop Aug 15, 2019
@miguelsousa miguelsousa deleted the cjc-fix-bug-897 branch August 15, 2019 03:33
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.

fdselect4.otf contains invalid CFF2 Private Dict operator
2 participants