Пример #1
0
def main(args=None):
    opt = parse_options(args)
    if opt.glyphs is not None:
        if opt.instances is None:
            glyphslib.build_masters(opt.glyphs, opt.masters, italic=opt.italic)
        else:
            glyphslib.build_instances(opt.glyphs, opt.masters, opt.instances,
                                      italic=opt.italic)
Пример #2
0
    def build_masters(self, glyphs_path, is_italic=False):
        """Build master UFOs from Glyphs source."""

        master_dir = self._output_dir('ufo')
        return build_masters(glyphs_path, master_dir, is_italic)
Пример #3
0
    def build_masters(self, glyphs_path, is_italic=False):
        """Build master UFOs from Glyphs source."""

        master_dir = self._output_dir('ufo')
        return build_masters(glyphs_path, master_dir, is_italic)