blob: 05e1a05b7be806375e408398aa23c33249124995 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#
# Removes local guides from all glyphs
#
if __name__ == "__main__":
font = CurrentFont()
print "Removing local guides from all glyphs of %r" % font
if font is not None:
for g in font:
if 'com.typemytype.robofont.guides' in g.lib:
del(g.lib['com.typemytype.robofont.guides'])
font.update()
else:
print "No fonts open"
print "Done"
|