From cae7ffb78dee81c032dcdeaa7931f4a11827f6b9 Mon Sep 17 00:00:00 2001 From: Rustam Vishnyakov Date: Fri, 28 Apr 2017 11:06:27 +0300 Subject: [PATCH] Revert default font changes (failing tests) --- .../com/intellij/openapi/editor/colors/FontPreferences.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/platform/editor-ui-api/src/com/intellij/openapi/editor/colors/FontPreferences.java b/platform/editor-ui-api/src/com/intellij/openapi/editor/colors/FontPreferences.java index 9f9c392fc530..8d5271faee51 100644 --- a/platform/editor-ui-api/src/com/intellij/openapi/editor/colors/FontPreferences.java +++ b/platform/editor-ui-api/src/com/intellij/openapi/editor/colors/FontPreferences.java @@ -31,8 +31,7 @@ public interface FontPreferences { float DEFAULT_LINE_SPACING = 1.0f; String MAC_OS_DEFAULT_FONT_FAMILY = "Menlo"; String LINUX_DEFAULT_FONT_FAMILY = "DejaVu Sans Mono"; - String WINDOWS_DEFAULT_FONT_FAMILY = "Consolas"; - String FALLBACK_FONT_FAMILY = "Monospaced"; + String WINDOWS_DEFAULT_FONT_FAMILY = "Monospaced"; @NotNull List getEffectiveFontFamilies(); @@ -85,7 +84,6 @@ public interface FontPreferences { return font.getFontName(); } } - return FALLBACK_FONT_FAMILY; } return WINDOWS_DEFAULT_FONT_FAMILY; }