Per the OpenType spec, coverage offsets that are not explicitly
documented as nullable must not be NULL. Changed buildCoverage()
to always return a Coverage object (with empty glyphs list if no
glyphs supplied) instead of returning None.
This fixes null offsets being written in GDEF MarkGlyphSetsDef
coverage arrays, and other coverage offset arrays like
BacktrackCoverage, InputCoverage, and LookAheadCoverage.
Per the OpenType spec, coverage offsets that are not explicitly
documented as nullable must not be NULL. Changed buildCoverage()
to always return a Coverage object (with empty glyphs list if no
glyphs supplied) instead of returning None.
This fixes null offsets being written in GDEF MarkGlyphSetsDef
coverage arrays, and other coverage offset arrays like
BacktrackCoverage, InputCoverage, and LookAheadCoverage.