docs: public void postConstruct() {
          Assert.isTrue(this.name != null, "name parameter cannot be null");
          Assert.isTrue(this.style != null, "style parameter cannot be null");
          Assert.isTrue(this.size > 1, "size must be greater than 1");
  
          Font baseFont = null;
          for (String fontName: this.name) {
              try {
                  baseFont = new Font(fontName, this.style.styleId, this.size);
                  break;
              } catch (Exception e) {
                  // try next font in list
              }
          }
  
          if (baseFont == null) {
              String[] legalFonts =
                      GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
              throw new IllegalArgumentException(
                      Arrays.toString(this.name) + " does not contain a font that can be created by this Java "
                              + "Virtual Machine, legal options are: \n" + Arrays.toString(legalFonts));
          }
      }