Merge pull request #2286 from fonttools/mutator-round-lsb
[mutator] Round lsb for CFF2 fonts as well
This commit is contained in:
commit
8caf2f0dfb
@ -138,7 +138,7 @@ def interpolate_cff2_metrics(varfont, topDict, glyphOrder, loc):
|
||||
# Happens with non-marking glyphs
|
||||
lsb_delta = 0
|
||||
else:
|
||||
lsb = boundsPen.bounds[0]
|
||||
lsb = otRound(boundsPen.bounds[0])
|
||||
lsb_delta = entry[1] - lsb
|
||||
|
||||
if lsb_delta or width_delta:
|
||||
|
Loading…
x
Reference in New Issue
Block a user