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

[makeotfexe] Fix issue #456: negative widths are written as large numbers. #460

Merged
merged 3 commits into from
Jul 10, 2018

Conversation

readroberts
Copy link
Contributor

makeotfexe wrote negative values into an unsigned short field, resulting in a value of (65536 - value). makeotfexe now sets negative values to 0, and issues a warning.

Copy link
Member

@miguelsousa miguelsousa left a comment

Choose a reason for hiding this comment

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

There's no need for additional test files and additional tests. Commit the makeotfexe changes and I'll take care of the tests.

@miguelsousa
Copy link
Member

@readroberts thanks, I'll takeover this branch. #458 needs to be merged first.

readroberts and others added 2 commits July 9, 2018 16:29
… large glyph advance widths

makeotfexe wrote negative values into an unsigned short field, resulting in a value of (65536 - value). makeotfexe now sets negative values to 0, and issues a warning.
@miguelsousa miguelsousa merged commit 5498790 into develop Jul 10, 2018
@miguelsousa miguelsousa deleted the makeotf-negative-width-fix branch July 10, 2018 20:32
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