diff options
author | James Godfrey-Kittle <jamesgk@google.com> | 2015-05-12 11:32:02 -0700 |
---|---|---|
committer | jamesgk <jamesgk19@gmail.com> | 2015-05-12 11:32:02 -0700 |
commit | 1166ac800c164d285208254c9e8128c7b226b7f3 (patch) | |
tree | d73edc4f5a43f3c358fb16fe2634fc9d759a8e89 /scripts/lib/fontbuild | |
parent | 51a104941b097a959c5d806d567115d99051fcc1 (diff) |
Don't remove overlaps while italicizing glyphs.
This was causing problems with Thin Italic font generation.
Diffstat (limited to 'scripts/lib/fontbuild')
-rw-r--r-- | scripts/lib/fontbuild/Build.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/lib/fontbuild/Build.py b/scripts/lib/fontbuild/Build.py index fda97b9..b8943f7 100644 --- a/scripts/lib/fontbuild/Build.py +++ b/scripts/lib/fontbuild/Build.py @@ -131,17 +131,11 @@ class FontProject: # print g.name # if self.thinfont != None: # narrowFLGlyph(g,self.thinfont.getGlyph(g.name),factor=narrowAmmount) - - if g.name != "eight" or g.name != "Q": - removeGlyphOverlap(g) - - # not sure why FontLab sometimes refuses, seems to work if called twice if g.name in self.lessItalic: italicizeGlyph(f, g, 9, stemWidth=stemWidth) elif g.name != ".notdef": italicizeGlyph(f, g, 10, stemWidth=stemWidth) - removeGlyphOverlap(g) if g.width != 0: g.width += 10 |