LSB miscalculated in TTF export
-
The LSB value in the hmtx table is miscalculated when exporting TTFs which have off-curve points as the leftmost point ...
See attached example TTF, both glyphs,
/A
and/a
, have a LSB of 30 in the hmtx table, but for/a
it should be about 13.This causes the outlines in the exported TTFs to shift noticeably to the right.
-
Thanks Jens
its seems to be a fontTools issue :)
http://sourceforge.net/p/fonttools/code/ci/master/tree/Lib/fontTools/ttLib/tables/_g_l_y_f.py#l549
it seems to recalculate the bounds from all points instead of analysing the bounds of the contour
(this will be fixed in the next version...