mirror of
https://github.com/rsms/inter.git
synced 2024-11-15 19:47:47 +01:00
15 lines
369 B
Python
15 lines
369 B
Python
#
|
|
# 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"
|