diff options
author | Rasmus Andersson <rasmus@notion.se> | 2018-02-18 06:53:57 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2018-02-18 06:53:57 +0300 |
commit | a95c991daa4cf4811b6264f9c42dc041da2f1946 (patch) | |
tree | f820cc34dc14a9915cff46d4770d355eb6495ca8 /misc/ufocompile | |
parent | b31b1887091e6559a0a8f0ad48c70547b4667a7a (diff) | |
download | inter-a95c991daa4cf4811b6264f9c42dc041da2f1946.tar.xz |
Adjust italic angle from 10 to 12 and change spacing delta to -8
Diffstat (limited to 'misc/ufocompile')
-rwxr-xr-x | misc/ufocompile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/ufocompile b/misc/ufocompile index f577a4609..e63f93739 100755 --- a/misc/ufocompile +++ b/misc/ufocompile @@ -161,7 +161,7 @@ def main(): # styleCode should be one of: # Regular, Italic, Bold, Bold Italic # - # italicNarrowAmount controls scale on the x axis. 1.0 means no scaling. + # scaleX controls scale on the x axis, used for italics. 1.0 means no scaling. # italicMeanYCenter controls how far on the x axis the glyph should slide # to compensate for the slant. @@ -174,7 +174,7 @@ def main(): handledStyles.append('italic') proj.generateFont( rg.font, "%s/Italic/Italic/Rg" % FAMILYNAME, - italic=True, stemWidth=232, italicMeanYCenter=-825, italicNarrowAmount=1, + italic=True, stemWidth=232, italicMeanYCenter=-825, panose=mkpanose(5)) @@ -190,7 +190,7 @@ def main(): proj.generateFont( Mix2([rg, bl], 0.32, glyphSpecializations.get('medium', {})), "%s/Medium Italic/Italic/Me" % FAMILYNAME, - italic=True, stemWidth=300, italicMeanYCenter=-825, italicNarrowAmount=1, + italic=True, stemWidth=300, italicMeanYCenter=-825, panose=mkpanose(6)) @@ -206,7 +206,7 @@ def main(): proj.generateFont( Mix2([rg, bl], 0.68, glyphSpecializations.get('bold', {})), "%s/Bold Italic/Bold Italic/Rg" % FAMILYNAME, - italic=True, stemWidth=350, italicMeanYCenter=-825, italicNarrowAmount=1, + italic=True, stemWidth=350, italicMeanYCenter=-825, panose=mkpanose(8)) @@ -219,7 +219,7 @@ def main(): handledStyles.append('blackitalic') proj.generateFont( bl.font, "%s/Black Italic/Italic/Bl" % FAMILYNAME, - italic=True, stemWidth=400, italicMeanYCenter=-825, italicNarrowAmount=1, + italic=True, stemWidth=400, italicMeanYCenter=-825, panose=mkpanose(9)) # generate TTFs |