unified-font-object / ufo-spec

The official Unified Font Object specification source files.
http://unifiedfontobject.org
175 stars 30 forks source link

[version/ufo3/glif.md] add lib key 'public.openTypeCategory' #160

Closed moyogo closed 3 years ago

moyogo commented 3 years ago

This adds the UFO3 glif lib key public.openTypeCategory to be used in the GDEF Glyph Class Definition table as proposed in Support for storing glyph category #146 (see comment).

FontLab Studio 5, FontLab VI and 7, and FontForge can store the GDEF Glyph Class type per glyph. These implementations or others may make use of this public lib key.

Glyphs.app has a more refined set of categories and subcategories defined for each glyph which would not fit in this public lib key.

moyogo commented 3 years ago

/cc @simoncozens

benkiel commented 3 years ago

Just want to throw this to @justvanrossum who has thought about this a bit more than me: last I remember we were discussing having this as part of the mini-spec for the glyph.lib but I'm not opposed to this as a public key. Before merge just want to see if there is wide agreement.

justvanrossum commented 3 years ago

Mini specs should still happen, but I think this case is generally important and useful enough to warrant a new public key.

moyogo commented 3 years ago

Thank you @benkiel and @justvanrossum