Unlinked references within ASCII glyphs; move to r0.1.11.

This commit is contained in:
be5invis 2015-09-10 03:54:29 +08:00
parent cbb61d1947
commit 68bdae6915
2 changed files with 3 additions and 3 deletions

View file

@ -6,8 +6,6 @@ import sys
source = sys.argv[1]
font = fontforge.open(source)
print sys.argv
# Replace accented characters into references
if len(sys.argv) <= 3:
print "Reference finding: ", font.fontname
@ -31,6 +29,8 @@ for i in font:
if len(sys.argv) <= 3:
font.selection.all()
font.replaceWithReference(2)
font.selection.select(("ranges", "unicode", None), 0x20, 0x7e)
font.unlinkReferences()
# Outline simplify
print "Simplify, pass 1: ", font.fontname