checkPainter();
  public float getAlignment(int axis)  {    float align;    if (axis == Y_AXIS)      {        checkPainter();        GlyphPainter painter = getGlyphPainter();        float height = painter.getHeight(this);        float descent = painter.getDescent(this);        align = (height - descent) / height;       }    else      align = super.getAlignment(axis);    return align;  }