예제 #1
0
 def paint_groups(self, crop=False):
     """Paints and orders the glyphs in the font based on the project's ``groups`` lib."""
     paint_groups(self.ufo, crop)
예제 #2
0
 def paint_groups(self, crop=False):
     '''Paint and order the glyphs in the font according to their group.'''
     paint_groups(self.ufo, crop)
예제 #3
0
# [h] paint and arrange groups

from hTools2.modules.encoding import paint_groups
from hTools2.modules.messages import no_font_open

f = CurrentFont()

if f is not None:
    paint_groups(f)

else:
    print(no_font_open)