I made a new master by copying another, in which I (unfortunately) had already done a lot of TT hinting. Now I’d like to delete the TT hints in the new master. The new master is the fourth layer, so index 3. I’ve tried this:
for g in Glyphs.font.glyphs: # print g for h in g.layers.hints: # print h del(h) print "done"
(The print statements are there so I could make sure I was actually hitting the hints.) However, the hints are still there. What am I doing wrong? (This is my first attempt at a script, so please be gentle!)