Initial public commit
This commit is contained in:
commit
3b1fffade1
6648 changed files with 363948 additions and 0 deletions
15
misc/rf-scripts/RemoveLocalGuides.py
Normal file
15
misc/rf-scripts/RemoveLocalGuides.py
Normal file
|
|
@ -0,0 +1,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"
|
||||
Reference in a new issue