minor change to fontbuild
This commit is contained in:
parent
c06dd62eaf
commit
34a5d1b31f
1 changed files with 13 additions and 12 deletions
|
|
@ -148,6 +148,7 @@ class FontProject:
|
||||||
# adjust width of italic glyphs
|
# adjust width of italic glyphs
|
||||||
if italic == True:
|
if italic == True:
|
||||||
widthAdjustment = -8
|
widthAdjustment = -8
|
||||||
|
if widthAdjustment != 0:
|
||||||
leftAdjustment = math.floor(widthAdjustment / 2)
|
leftAdjustment = math.floor(widthAdjustment / 2)
|
||||||
rightAdjustment = math.ceil(widthAdjustment / 2)
|
rightAdjustment = math.ceil(widthAdjustment / 2)
|
||||||
for g in f:
|
for g in f:
|
||||||
|
|
|
||||||
Reference in a new issue