private static boolean isUnsupportedFont(@NotNull String fontName, @NotNull String font2DName) {
    return font2DName.startsWith(Font.DIALOG) && !fontName.startsWith(Font.DIALOG);
  }
private static boolean isUnsupportedFont(@NotNull String fontName, @NotNull String font2DName)