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

@ -45,7 +45,7 @@ define regular (
.family 'Iosevka' .family 'Iosevka'
.style 'Regular' .style 'Regular'
.weight 400 .weight 400
.version 'r0.1.10' .version 'r0.1.11'
.variantSelector (.) .variantSelector (.)
.copyright 'Copyright (c) 2015 Belleve Invis.' .copyright 'Copyright (c) 2015 Belleve Invis.'
) )

View File

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