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

Add some STAT validation to buildcff2vf #1200

Merged
merged 3 commits into from
Jul 31, 2020
Merged

Conversation

punchcutter
Copy link
Contributor

Check that all fvar axes are defined in the STAT table (required by spec)
Check that STAT axis values are within the ranges defined in the fvar
Update STAT axis name IDs to use the same as fvar (spec says required although no implementations seem to complain yet either way)

Copy link
Collaborator

@josh-hadley josh-hadley left a comment

Choose a reason for hiding this comment

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

A few minor (I hope) updates on test code needed.

tests/buildcff2vf_test.py Outdated Show resolved Hide resolved
tests/buildcff2vf_test.py Outdated Show resolved Hide resolved
tests/buildcff2vf_test.py Outdated Show resolved Hide resolved
python/afdko/buildcff2vf.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@josh-hadley josh-hadley left a comment

Choose a reason for hiding this comment

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

A thing of beauty 😸 Thanks!

@josh-hadley josh-hadley merged commit 977ed7e into develop Jul 31, 2020
@josh-hadley josh-hadley deleted the zqs-buildcff2vf-STAT branch July 31, 2020 03:30
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