minor change to fontbuild

This commit is contained in:
Rasmus Andersson 2018-02-17 20:17:55 -08:00
parent c06dd62eaf
commit 34a5d1b31f

View file

@ -148,6 +148,7 @@ class FontProject:
# adjust width of italic glyphs
if italic == True:
widthAdjustment = -8
if widthAdjustment != 0:
leftAdjustment = math.floor(widthAdjustment / 2)
rightAdjustment = math.ceil(widthAdjustment / 2)
for g in f: