Skip to content

Commit

Permalink
Update fixDirection.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEssem authored and timdream committed Mar 7, 2018
1 parent bd40caa commit 7bd7fa8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions fixDirection.py
@@ -1,18 +1,11 @@
import fontforge
import sys
import psMat
import math

fontfile = sys.argv[1]

f = fontforge.open(fontfile)

flip = psMat.scale(1.25,-1.25)
align = psMat.translate(0,500)

for glyph in f.glyphs():
#glyph.transform(flip)
#glyph.transform(align)
glyph.correctDirection()

f.generate(fontfile)

0 comments on commit 7bd7fa8

Please sign in to comment.