-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
I've noticed the following shortcomings in the handling of variable fonts / font variations:
- Given an
opentype/api/font.FontorFace, it's not possible to determine what axes the font offers.Facehas aCoordsfield that's documented as "It is empty for non variable fonts.", but since we create faces by simply wrapping fonts in them, Coords is also empty ifFace.SetVariationshasn't been called, in which case the font is using its default values. I haven't found any other way to know which axes a font supports. I believe what we want is to expose the fvar and STAT tables of a font. - fontscan is fully unaware of variable fonts. It doesn't use axes to fulfill requests, and
footprintdoesn't record which axes a font offers, either.
ajitid
Metadata
Metadata
Assignees
Labels
No labels