Revert "Switch default fixed font from NotoMono to NotoSansMono"
This reverts commit b2acee1cb986b696adfad7daabfe9279949a3e54. Reason: NotoSansMono is not per se a fixed font.
This commit is contained in:
parent
033f3450e3
commit
9a90ee3a38
@ -12,7 +12,7 @@
|
||||
}
|
||||
cmdsynopsis, code, command, computeroutput, envar, filename, keycode, keysym,
|
||||
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 {
|
||||
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 Sans Mono', Courier, monospace;\n"
|
||||
" font-family: 'Noto 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 Sans Mono"
|
||||
#define DEFAULT_FIXED_FONT_FAMILY "Noto 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", "Bold", veraFontPath.Path());
|
||||
|
||||
veraFontPath.SetTo(ttfontsPath.Path());
|
||||
veraFontPath.Append("NotoSansMono-Regular.ttf");
|
||||
_AddDefaultMapping("Noto Sans Mono", "Regular", veraFontPath.Path());
|
||||
veraFontPath.Append("NotoMono-Regular.ttf");
|
||||
_AddDefaultMapping("Noto Mono", "Regular", veraFontPath.Path());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user