Font (@NotNull String family, @Nullable String regularSubFamily, @Nullable String boldSubFamily, @JdkConstants.FontStyle int style) { FontFamily fontFamily = myFamilies.get(family); return fontFamily == null ? super.getFontImpl(family, regularSubFamily, boldSubFamily, style) : fontFamily.getFont(regularSubFamily, boldSubFamily, style); }