private static @Nullable String getFallbackName(@NotNull String fontName) {
    Font plainFont = new Font(fontName, Font.PLAIN, 12);
    if (plainFont.getFamily().equals("Dialog") && !("Dialog".equals(fontName) || fontName.startsWith("Dialog."))) {
      return AppEditorFontOptions.getInstance().getFontPreferences().getFontFamily();
    }
    return null;
  }
private static @Nullable String getFallbackName(@NotNull String fontName)