typemytype / drawbot

http://www.drawbot.com
Other
398 stars 61 forks source link

Fix for #485: don't assume the axis name exists #486

Closed justvanrossum closed 1 year ago

justvanrossum commented 1 year ago

If an fvar axis uses a nameID that isn't in the name table, CoreText.kCTFontVariationAxisNameKey isn't in the description dict; fall back to the tag.

This fixes #485