Switch default fixed font from NotoMono to NotoSansMono

Change-Id: Ib9eab5a2e266393b234cf7f4a6934fd58e31c943
Reviewed-on: https://review.haiku-os.org/48
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
Humdinger
2018-08-02 10:43:57 +00:00
committed by Jérôme Duval
parent d9eeaa720a
commit b2acee1cb9
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,
literal, option, parameter, sgmltag, systemitem {
font-family: "Noto Mono", Courier, "Courier New", monospace, fixed;
font-family: "Noto Sans Mono", Courier, "Courier New", monospace, fixed;
}
term {
font-weight: bold;
+1 -1
View File
@@ -143,7 +143,7 @@ static const char *kStyleSheet = "\n"
"body#gopher span {\n"
" margin-left: 1em;\n"
" padding-left: 2em;\n"
" font-family: 'Noto Mono', Courier, monospace;\n"
" font-family: 'Noto Sans Mono', Courier, monospace;\n"
" word-wrap: break-word;\n"
" white-space: pre-wrap; }\n"
"\n"
+1 -1
View File
@@ -35,7 +35,7 @@
#define FALLBACK_BOLD_FONT_FAMILY "Swis721 BT"
#define DEFAULT_BOLD_FONT_STYLE "Bold"
#define DEFAULT_BOLD_FONT_SIZE 12.0f
#define DEFAULT_FIXED_FONT_FAMILY "Noto Mono"
#define DEFAULT_FIXED_FONT_FAMILY "Noto Sans Mono"
#define FALLBACK_FIXED_FONT_FAMILY "Courier10 BT"
#define DEFAULT_FIXED_FONT_STYLE "Regular"
#define DEFAULT_FIXED_FONT_SIZE 12.0f
+2 -2
View File
@@ -342,8 +342,8 @@ FontManager::_LoadRecentFontMappings()
_AddDefaultMapping("Noto Sans", "Bold", veraFontPath.Path());
veraFontPath.SetTo(ttfontsPath.Path());
veraFontPath.Append("NotoMono-Regular.ttf");
_AddDefaultMapping("Noto Mono", "Regular", veraFontPath.Path());
veraFontPath.Append("NotoSansMono-Regular.ttf");
_AddDefaultMapping("Noto Sans Mono", "Regular", veraFontPath.Path());
return true;
}