-
Notifications
You must be signed in to change notification settings - Fork 55
[write-fonts] VARC table #1716
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
[write-fonts] VARC table #1716
Conversation
ce25133 to
2d42491
Compare
| pub condition_index: Option<VarcVariationIndex>, | ||
| pub axis_values: Option<BTreeMap<u16, f32>>, | ||
| pub axis_values_var_index: Option<VarcVariationIndex>, | ||
| pub transform: DecomposedTransform, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It came as a surprise to me that DecomposedTransform has optional fields. Maybe the name should reflect that?
|
This looks great to me! Thanks for working on it. |
|
One thing to mention is that this is the least intrusive approach. Because of that, we construct a bunch of |
cmyr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few little notes inline but overall this looks excellent, thanks!
Co-authored-by: Colin Rofls <colin@cmyr.net>
8736481 to
8f6dd3d
Compare
This adds a new MultiItemVariationStoreBuilder (abstracting out common functionality between it and the VariationStoreBuilder), and implements write-fonts support for the VARC table.
The
varc.rstests provide some examples of how to use this to build VARC tables.