Ejemplo n.º 1
0
    def import_encoding(self):
        """Import groups, glyph names and glyph order from the project's encoding file, and temporarily saves them into a 'groups lib'.

        Group and glyph names are stored in a dictionary in ``hProject.libs['groups']['glyphs']``, while the glyph order is stored in ``hProject.libs['groups']['order']``.

        """
        _groups, _order = import_encoding(self.paths['encoding'])
        self.libs['groups']['glyphs'] = _groups
        self.libs['groups']['order'] = _order
Ejemplo n.º 2
0
 def import_encoding(self):
     '''Import glyph groups, names and order from enc file into lib.'''
     _groups, _order = import_encoding(self.paths['encoding'])
     self.libs['groups']['glyphs'] = _groups
     self.libs['groups']['order'] = _order