Permalink
Browse files

made minor change

  • Loading branch information...
1 parent 1dfd578 commit a8162363c85b7c7d1a5dbed8ccd310dd69c83a89 nagi committed Sep 28, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 fontcreator/scripts/changefeature.py
@@ -22,11 +22,11 @@ def featureChange(Font, Feature, ResultFont):
for l in font.gsub_lookups:
font.removeLookup(l)
font.mergeFeature(Feature)
- font.fullname = ResultFont
- font.familyname = ResultFont
- font.fontname = ResultFont
- font.version = "7.7"
resultName = ResultFont.split(".ttf")[0]
+ font.fullname = resultName
+ font.familyname = resultName
+ font.fontname = resultName
+ font.version = "7.7"
font.generate(resultName+".ttf")
def usage():

0 comments on commit a816236

Please sign in to comment.