[ create a new paste ] login | about

Link: http://codepad.org/0VV7nHfD    [ raw code | output | fork ]

Python, pasted on Oct 2:
1
2
3
4
5
6
7
8
9
10
11
12
__doc__ = '''Marks glyphs that have components.'''

from FL import *


for g in fl.font.glyphs:
	if len( g.components) > 0:
		if len(g.nodes) == 0:
			g.mark = 25


fl.UpdateFont(-1)


Output:
1
2
3
4
Traceback (most recent call last):
  Line 3, in <module>
    from FL import *
ImportError: No module named FL


Create a new paste based on this one


Comments: