Open chrissimpkins opened 5 years ago
Added Python script with example of glyph-specific data reads using fontTools.ufoLib.glifLib library in
https://github.com/inkwork/gs-proposal/blob/master/src/python/ufo-glyphdata-pull.py
The note free text that is entered in the editor is parsed to a Py3 Unicode str
or None
if it is not present on the glyph
Free text strings can be stored in UFO source at the glyph level. These are used to annotate Unicode code positions by design teams for documentation to self and to others in collaborative project workflows.
These data are maintained in UFO source
*.glif
files with the following format (free text entered on this glyph is "this is a note"):The UFO 3 spec for the
note
field of the *.glif file is located at http://unifiedfontobject.org/versions/ufo3/glyphs/glif/#note. There is no specified structure or encoding requirements for the field in UFO 3 source.TODO: