Deleting glyphs in RoboFont doesn't delete those glyphs in
gsubfeature. Which means that manually deleting glyphs leads to an unusable ufo, because those deleted glyphs are still referred to in the feature files so the ufo doesn't generate anymore. The ufo then turned into a jungle.
What would be the correct approach for subsetting in RF?
The next version will have a pref setting that will let users choose if they want to remove the glyph name from
font.kerningwhen a glyph is being deleted.
RoboFont will not remove the glyph name from the feature file (not in the kern feature or in feature groups)
And subsetting is easier the other way around, I think. Create a new documents and copy all the necessary glyphs from a "master" UFO. (bests with a script off course)
About the new pref: if deleted glyphs, which will be removed from the kern groups, are part of an exception in the kerning, will that exception than also be deleted? (or is this oldskool feature-file thinking?)
it will remove the glyph name from all groups in
and it will remove the kerning pair of one of two is equal to the removed glyph
so when a user removes glyph 'A', it will remove (if those settings are enabled):
font.kerning[('A', 'V')] font.kerning[('A', 'myKerningGroups')] font.kerning[('V', 'A')]