示例#1
0
def rename_glyphs(goadb, fontfile):
    manager = GoadbManager(goadb, fontfile)
    manager.rename_glyphs()
    manager.save(fontfile)
    manager.close()
示例#2
0
def get_glyphs_names(goadb_file_name):
    name_dict, _ = GoadbManager.parse_goadb(goadb_file_name)
    inv_name_dict = {v: k for k, v in name_dict.items()}
    return inv_name_dict