selectAndDecomposeTranformedComponents.py 461 B

12345678910111213
  1. #font = CurrentFont()
  2. names = ["uni0313", "uni0315", "uni1DCE", "uni1DE0", "uni1DEE", "emdash", "uni2094", "uni2DEC", "uni2E0D", "uni2E15", "uni2E1D", "uni2E32", "uni2E3A", "uni2E3B", "uniA780", "uniAB51", "commaaboverightcomb"]
  3. for font in AllFonts():
  4. for glyph in font:
  5. #print (unicodes)
  6. if glyph.name in names:
  7. glyph.selected = True
  8. print("selected " + glyph.name)
  9. glyph.decompose()
  10. font.save()