Revert "Switch default fixed font from NotoMono to NotoSansMono"

This reverts commit b2acee1cb9.

Reason: NotoSansMono is not per se a fixed font.
This commit is contained in:
Jérôme Duval
2018-08-02 14:19:33 +02:00
parent 033f3450e3
commit 9a90ee3a38
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
} }
cmdsynopsis, code, command, computeroutput, envar, filename, keycode, keysym, cmdsynopsis, code, command, computeroutput, envar, filename, keycode, keysym,
literal, option, parameter, sgmltag, systemitem { literal, option, parameter, sgmltag, systemitem {
font-family: "Noto Sans Mono", Courier, "Courier New", monospace, fixed; font-family: "Noto Mono", Courier, "Courier New", monospace, fixed;
} }
term { term {
font-weight: bold; font-weight: bold;
+1 -1
View File
@@ -143,7 +143,7 @@ static const char *kStyleSheet = "\n"
"body#gopher span {\n" "body#gopher span {\n"
" margin-left: 1em;\n" " margin-left: 1em;\n"
" padding-left: 2em;\n" " padding-left: 2em;\n"
" font-family: 'Noto Sans Mono', Courier, monospace;\n" " font-family: 'Noto Mono', Courier, monospace;\n"
" word-wrap: break-word;\n" " word-wrap: break-word;\n"
" white-space: pre-wrap; }\n" " white-space: pre-wrap; }\n"
"\n" "\n"
+1 -1
View File
@@ -35,7 +35,7 @@
#define FALLBACK_BOLD_FONT_FAMILY "Swis721 BT" #define FALLBACK_BOLD_FONT_FAMILY "Swis721 BT"
#define DEFAULT_BOLD_FONT_STYLE "Bold" #define DEFAULT_BOLD_FONT_STYLE "Bold"
#define DEFAULT_BOLD_FONT_SIZE 12.0f #define DEFAULT_BOLD_FONT_SIZE 12.0f
#define DEFAULT_FIXED_FONT_FAMILY "Noto Sans Mono" #define DEFAULT_FIXED_FONT_FAMILY "Noto Mono"
#define FALLBACK_FIXED_FONT_FAMILY "Courier10 BT" #define FALLBACK_FIXED_FONT_FAMILY "Courier10 BT"
#define DEFAULT_FIXED_FONT_STYLE "Regular" #define DEFAULT_FIXED_FONT_STYLE "Regular"
#define DEFAULT_FIXED_FONT_SIZE 12.0f #define DEFAULT_FIXED_FONT_SIZE 12.0f
+2 -2
View File
@@ -342,8 +342,8 @@ FontManager::_LoadRecentFontMappings()
_AddDefaultMapping("Noto Sans", "Bold", veraFontPath.Path()); _AddDefaultMapping("Noto Sans", "Bold", veraFontPath.Path());
veraFontPath.SetTo(ttfontsPath.Path()); veraFontPath.SetTo(ttfontsPath.Path());
veraFontPath.Append("NotoSansMono-Regular.ttf"); veraFontPath.Append("NotoMono-Regular.ttf");
_AddDefaultMapping("Noto Sans Mono", "Regular", veraFontPath.Path()); _AddDefaultMapping("Noto Mono", "Regular", veraFontPath.Path());
return true; return true;
} }