mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
Set Noto Sans Mono as monospace default font
Should help improve [1]. [1]: https://github.com/haikuports/haikuports/issues/3116 Change-Id: I29dd94e3380c3a5935d47d97e2a2ac1c5fb7e774 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3070 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
parent
e10762d1ce
commit
60a6f1d5d7
@ -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;
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -342,8 +342,8 @@ FontManager::_LoadRecentFontMappings()
|
||||
_AddDefaultMapping("Noto Sans Display", "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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user