Use Source Code Pro as we don't have problems with unprintable pseudo-graphics as we iterate fonts to find suitable one for unprintable characters.

This commit is contained in:
Dmitry Trofimov
2013-11-28 14:09:20 +01:00
parent 6a19297266
commit 7bf1e6fc27
@@ -151,19 +151,11 @@ class JBTerminalSystemSettingsProvider extends DefaultTabbedSettingsProvider imp
public String getFontName() {
List<String> fonts = myColorScheme.getConsoleFontPreferences().getEffectiveFontFamilies();
for (String font : fonts) {
if (isApplicable(font)) {
return font;
}
if (fonts.size()>0) {
return fonts.get(0);
}
return "Monospaced-14";
}
private static boolean isApplicable(String font) {
if ("Source Code Pro".equals(font)) {
return false;
}
return true;
return "Monospaced-14";
}
@Override