I'm looking for a simple way to print into output window the glyphs I have selected.
I wrote this to select pre defined groups - like using classes but simpler
from robofab.world import CurrentFont
f = CurrentFont()
#
#
myGlyphs = ['A','Amacron','Abreve','Aogonek','Agrave','Aacute','Acircumflex','Atilde','Adieresis','Aring']
#
for glyphName in myGlyphs:
f[glyphName].selected = 1
f[glyphName].update()
#
f.update()
Now I'm trying to do the other way so groups of glyphs I select will be printed in the output window - I was trying something like this.
from robofab.world import CurrentFont
f = CurrentFont()
toPrint = f.selected
print toPrint.name
f.update()