Debian Codegraph @

scripts/rearrange_contours_and_start_points.py

raw symbols SCIP
1 import os
2 import fontforge
3 import sys
4
5 font = fontforge.open(sys.argv[1])
6 for glyph in font.glyphs() :
7 if glyph.color == 0xff00ff :
8 glyph.canonicalContours()
9 glyph.canonicalStart()
10 font.save()