code: protected float getHeight (TextLayout layout)
      {
          float height = layout.getLeading() + layout.getAscent() + layout.getDescent();
          if ((_style & OUTLINE) != 0) {
              height += 2;
          } else if ((_style & SHADOW) != 0) {
              height += 1;
          }
          return height;
      }
docs: Computes the height based on the leading, ascent and descent rather than what the layout
  reports via <code>getBounds()</code> which rarely seems to have any bearing on reality.