☰
Debian Codegraph
@
3.4+ds-1
/
/
scripts
/
rearrange_contours_and_start_points.py
☽
☼
scripts/rearrange_contours_and_start_points.py
code
plain
raw
symbols
SCIP
OFL-1.1
2015-2022 Amin Abedi <
[email protected]
>
debian/copyright
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
()