void (@NotNull EditorFontType fontType, @NotNull String familyName, int style, float fontSize, @NotNull FontPreferences fontPreferences) { Font baseFont = FontFamilyService.getFont(familyName, fontPreferences.getRegularSubFamily(), fontPreferences.getBoldSubFamily(), style, fontSize); myFontsMap.put(fontType, EditorFontCacheImpl.deriveFontWithLigatures(baseFont, myUseLigatures != null ? myUseLigatures : fontPreferences.useLigatures())); }