Variable fonts can now be diffed and their tables dumped. They can also be diffed against static ttfs or other variable fonts (user will need to input which instance to diff).
This implementation uses fontTools.varLib.mutator.instantiateVariableFont to gen an in-memory static instance which then gets diffed.
I felt this approach was better than writing my own code to derive instance data. FontTools already has tests in place https://github.com/fonttools/fonttools/tree/master/Tests/varLib and we shouldn't reinvent the wheel. I can also report any bugs I find to the fontTools repo.
Variable fonts can now be diffed and their tables dumped. They can also be diffed against static ttfs or other variable fonts (user will need to input which instance to diff).
This implementation uses fontTools.varLib.mutator.instantiateVariableFont to gen an in-memory static instance which then gets diffed.
I felt this approach was better than writing my own code to derive instance data. FontTools already has tests in place https://github.com/fonttools/fonttools/tree/master/Tests/varLib and we shouldn't reinvent the wheel. I can also report any bugs I find to the fontTools repo.