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 incorrect warning when converting to CFF a CFF2 variable font with non-varying glyphs #476

Merged
merged 3 commits into from
Jul 13, 2018

Conversation

miguelsousa
Copy link
Member

No description provided.

@miguelsousa
Copy link
Member Author

@readroberts you can take care of this branch now

@readroberts
Copy link
Contributor

Will do. I need to add the fix into 'tx' on this branch.

readroberts
readroberts previously approved these changes Jul 12, 2018
Copy link
Contributor

@readroberts readroberts left a comment

Choose a reason for hiding this comment

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

Test pass on my local system on he build servers.

@@ -986,6 +986,14 @@ static float var_applyDeltasForIndexPair(ctlSharedStmCallbacks *sscb, var_itemVa
}

subtable = &dataList->ivdSubtables.array[pair->outerIndex];

/* If specific glyphs do not have any variation, may will be
Copy link
Member Author

Choose a reason for hiding this comment

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

Typo: may --> they

Copy link
Contributor

Choose a reason for hiding this comment

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

@msousa Done - please check.

…e non-varying glyphs

A glyph which is non-varying in a variable font may be referenced by a
VariationStore data item subtable which has a region count of 0. The VF
support code assumed that this was an error, and issued a false warning.
@miguelsousa miguelsousa merged commit 2e7dc17 into develop Jul 13, 2018
@miguelsousa miguelsousa deleted the bug356 branch July 13, 2018 09:38
@miguelsousa miguelsousa changed the title Fixes #356 Fix incorrect warning when converting to CFF a CFF2 variable font with non-varying glyphs Aug 29, 2018
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.

2 participants