code: float width(int character) {
          if (image == null)
              return font.getWidthPoint(character, size) * hScale;
          else
              return image.getScaledWidth();
      }
docs: Returns the width of a certain character of this font.
  
  @param		character	a certain character
  @return		a width in Text Space