14 lines
253 B
Python
Executable File
14 lines
253 B
Python
Executable File
#FLM: Copy all glyphs to mask layer
|
|
|
|
from robofab.world import CurrentFont
|
|
|
|
f = CurrentFont()
|
|
for c in f:
|
|
|
|
# go to the desired glyph
|
|
fl.EditGlyph(c.index)
|
|
|
|
# copy the desired glyph
|
|
fl.CallCommand(fl_cmd.MaskClear)
|
|
fl.CallCommand(fl_cmd.MaskCopy)
|