-
Notifications
You must be signed in to change notification settings - Fork 606
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
[subset] TrueType/CFF2 variable font #1558
Comments
|
Removed task "Calculate TT/CFF2 VF glyph widths from HVAR/VVAR" because it is already in place |
|
This is my plan for HVAR & VVAR subsetting including VariationStore.
To subset inner indices for VariationStore, I am going to repurpose I am not going to bother subsetting & remapping outer indices; for an unused outer index, its corresponding item variation data subtable is emptied. This wastes 6 bytes each but I don’t expect to see many outer indices in wild after all. |
|
Actually an empty item variation data subtable wastes 10 bytes counting 4-byte offset. It would be nice if an item variation data offset may be set to null for a missing table, but OTF spec doesn't seem to say so. Darn. |
|
Created branch var-subset for this task |
|
Decided to subset outer indices & variation data subtables after all, as fontTools appears to support it. |
|
Pushed advance width calculation using gvar & glyf |
|
Pushed glyph extents calculation using gvar & glyf |
|
Closing since there's nothing actionable here. |
Not to subset: MVAR, BASE, cvar
Not in scope: axes subsetting, instantiation
The text was updated successfully, but these errors were encountered: