fonttools icon indicating copy to clipboard operation
fonttools copied to clipboard

avar-2 support for TTFont.getGlyphSet()?

Open justvanrossum opened this issue 1 year ago • 2 comments

It would be nice if TTFont.normalizeLocation() (as used by getGlyphSet()) would support the avar-2 format:

https://github.com/fonttools/fonttools/blob/430e364db7baf5494d1bdfe077154edc4dbd6b71/Lib/fontTools/ttLib/ttFont.py#L774-L804

Apart from the usefulness of having getGlyphSet() support avar-2, this would be very useful as a reference / example.

justvanrossum avatar Mar 28 '24 19:03 justvanrossum

Yep, I think there's a couple other places too that need updating.

behdad avatar Mar 28 '24 19:03 behdad

I'm working on this. Might take a few days to update all places.

behdad avatar Mar 29 '24 05:03 behdad

I'm working on this right now. Should have ttFont done today for sure. WIP will go into: https://github.com/fonttools/fonttools/pull/3473

behdad avatar Apr 02 '24 16:04 behdad