From 1166ac800c164d285208254c9e8128c7b226b7f3 Mon Sep 17 00:00:00 2001 From: James Godfrey-Kittle Date: Tue, 12 May 2015 11:32:02 -0700 Subject: Don't remove overlaps while italicizing glyphs. This was causing problems with Thin Italic font generation. --- scripts/lib/fontbuild/Build.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'scripts/lib/fontbuild/Build.py') 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 -- cgit v1.2.3