Open typemytype opened 5 years ago
combine all fontAscender() fontDescender() into a ufo.info like object and deprecate those methods
fontAscender()
fontDescender()
add name table entries from https://developer.apple.com/documentation/coretext/ctfont/name_specifier_constants?language=objc
info = fontInfo(fontName=None) print(info.ascender)
when fontName is None use the current font
fontName
... and fontName could also be a fontPath.
fontPath
yeah, something like pathOrFontName and it should try to figure out what to get where.
pathOrFontName
combine all
fontAscender()
fontDescender()
into a ufo.info like object and deprecate those methodsadd name table entries from https://developer.apple.com/documentation/coretext/ctfont/name_specifier_constants?language=objc
when
fontName
is None use the current font