fix_widths.py 286 B

123456789101112
  1. import defcon
  2. from glob import glob
  3. sources = glob('/Users/marcfoley/Type/upstream_families/Roboto/sources/*.ufo')
  4. for source in sources:
  5. font = defcon.Font(source)
  6. font.info.trademark = "Roboto is a trademark of Google."
  7. print(f"Saving {source}")
  8. font.save(source)