googlefonts / nanoemoji

A wee tool to build color fonts.
Apache License 2.0
239 stars 19 forks source link

support variable COLRv1 #294

Open anthrotype opened 3 years ago

anthrotype commented 3 years ago

behdad recently added support for 32-bit VarStore in fonttools, required to variate some of the COLRv1 fields; The fontTools.colorLib.builder already can take a VarStore object and stuck it in the COLRv1 table. However, fontTools.varLib still needs to be updated to create a variable COLRv1 table from a set of masters: https://github.com/fonttools/fonttools/issues/2328

anthrotype commented 3 years ago

FYI FontGoggles already supports rendering variable COLRv1 fonts, see justvanrossum/fontgoggles#176

behdad commented 3 years ago

Relevant: https://github.com/fonttools/fonttools/issues/2328#issuecomment-858211540