def rename_glyphs(goadb, fontfile): manager = GoadbManager(goadb, fontfile) manager.rename_glyphs() manager.save(fontfile) manager.close()
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