-
Notifications
You must be signed in to change notification settings - Fork 447
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
[instancer] CFF2 instancing #3506
Conversation
93092bc
to
34170eb
Compare
I put the blends into the VarStore, instantiate that, and rebuild the blends from it. Since we have code to instantiate VarStore, it works nicely. |
|
cdea0d1
to
6e8891b
Compare
Did the advance widths. |
Down to this now... |
Oh, and pruning the VarStore; and dropping vsindex when not needed and VarStore when not needed. |
gvar is removed by the time we get to hmtx/vmtx subsetting.
vsindex 0 is implied. Also, add Unimplemented code for private-dict variable values. I couldn't find any fonts using them, so for now they remain unimplemented.
Done. |
I know how to do it. But can't find any fonts using those. So, for now, I left it unimplemented error. I think this PR is ready. Volunteers for tests needed. |
We might also want to downgrade to CFF if static instancing. |
As well as actually save!
Also drop explicit width. See comments.
Otherwise it fails for charset fonts.
Co-authored-by: Cosimo Lupo <cosimo@anthrotype.com>
They can't be decompiled standalone. Decompiling glyph programs already decompiled the used ones.
WIP. Almost there.