private static boolean isDialogFamily(@NotNull String family) {
    if (family.equals(Font.DIALOG)) return true;
    return family.startsWith(Font.DIALOG) && family.charAt(Font.DIALOG.length()) == '.';
  }
private static boolean isDialogFamily(@NotNull String family)