JBR-1624 Fonts rendering is broken in the 2019.2 EAP (Fira Code)

Restored old behaviour of registerFontsInDir as it does not affect idea bundled fonts

(cherry picked from commit cef29e8100)
This commit is contained in:
Alexey Ushakov
2019-06-26 16:15:46 +03:00
committed by jbrbot
parent 1beb844479
commit 9d8d7726f2

View File

@@ -3068,7 +3068,7 @@ public abstract class SunFontManager implements FontSupport, FontManagerForSGE {
/* Called to register fall back fonts */
public void registerFontsInDir(String dirName) {
registerJREFonts();
registerFontsInDir(dirName, true, Font2D.JRE_RANK, true, false);
}
// MACOSX begin -- need to access this in subclass