public @NotNull FontInfo getFontInfo() {
    if (myFontRenderContext == null) {
      throw new IllegalStateException("FontRenderContext must be set to generate FontInfo");
    }
    return myFontInfo;
  }
public @NotNull FontInfo getFontInfo()