Hi all
I'm looking for a simple way to generate the Accents glyphs with a Robofab/Python script. From the Robofab documentation it looks like generateGlyph should do the trick.
from robofab.world import CurrentFont
f = CurrentFont()
glyphs = ['ccaron','amacron','Cacute','Cdotaccent','Abreve','cdotaccent','ccircumflex','Aogonek','abreve','cacute','Ccaron','Amacron','aogonek','Ccircumflex']
for glyph in glyphs:
nglyph = f.generateGlyph(glyph)
nglyph.autoUnicodes()
nglyph.mark = 10
#
f.update()
This works fine for generating the glyphs and adding the base glyphs but doesn't add the accent. Is it possible to add the accent with Robofab so the code would work like - Glyph > Generate Gkyohs in FontLab.
Rr