code: public final void setFont(Font font) {
          this.font = font;
          textRenderer = new TextRenderer(font.getAWTFont(), true, true);
      }
docs: Sets the Font of this Text.
  
  @param font The Font of the Text.