Supported full width forms of ASCII characters (U+FF01 to U+FF5E).

This commit is contained in:
be5invis 2015-08-31 08:13:54 +08:00
parent 70462cfa08
commit 0d7414bda3
8 changed files with 44 additions and 19 deletions

14
pass3-features.py Normal file
View file

@ -0,0 +1,14 @@
import fontforge
import psMat
import sys
import math
source = sys.argv[1]
font = fontforge.open(source)
font.em = int(sys.argv[4])
font.selection.all()
font.round()
font.removeOverlap()
font.simplify(0.1)
font.mergeFeature(sys.argv[2])
font.generate(sys.argv[3], flags = ("short-post", "opentype"))