getLsb method

int getLsb(
  1. int glyphId
)

Left side bearing for glyphId in font units (unscaled).

Implementation

int getLsb(int glyphId) {
  if (glyphId < 0 || glyphId >= _hmtx.length) return 0;
  return _hmtx[glyphId].lsb;
}