root/trunk/Documentation/TypoTechnica 2005/scripts Folder/Paulus - font/copy all glyphs to mask layer.py

Revision 1, 253 bytes (checked in by erik, 3 years ago)

initial import

  • Property svn:executable set to
Line 
1 #FLM: Copy all glyphs to mask layer
2
3 from robofab.world import CurrentFont
4
5 f = CurrentFont()
6 for c in f:
7        
8         # go to the desired glyph
9         fl.EditGlyph(c.index)
10        
11         # copy the desired glyph
12         fl.CallCommand(fl_cmd.MaskClear)
13         fl.CallCommand(fl_cmd.MaskCopy)
Note: See TracBrowser for help on using the browser.