As described in #937, the current color layer implementation writes unicode values for each layer in a color glyph. Recent fontmake fixes now treat this as an error which prevents color fonts from building.
This changes color_layers.py to set the Unicode mapping on each layer-glyph in the color glyph to an empty list. It does this in color_layers.py rather than modifying the builder.to_ufo_glyph method because it seems highly specific to color layer-glyphs.
As described in #937, the current color layer implementation writes unicode values for each layer in a color glyph. Recent fontmake fixes now treat this as an error which prevents color fonts from building.
This changes
color_layers.py
to set the Unicode mapping on each layer-glyph in the color glyph to an empty list. It does this incolor_layers.py
rather than modifying thebuilder.to_ufo_glyph
method because it seems highly specific to color layer-glyphs.Fixes #937.