parent
5464abed7e
commit
177db1e47f
@ -27,11 +27,11 @@
|
||||
|
||||
// These definitions provide the server something to use for default
|
||||
// system fonts.
|
||||
#define DEFAULT_PLAIN_FONT_FAMILY "Noto Sans"
|
||||
#define DEFAULT_PLAIN_FONT_FAMILY "Noto Sans Display"
|
||||
#define FALLBACK_PLAIN_FONT_FAMILY "Swis721 BT"
|
||||
#define DEFAULT_PLAIN_FONT_STYLE "Book"
|
||||
#define DEFAULT_PLAIN_FONT_SIZE 12.0f
|
||||
#define DEFAULT_BOLD_FONT_FAMILY "Noto Sans"
|
||||
#define DEFAULT_BOLD_FONT_FAMILY "Noto Sans Display"
|
||||
#define FALLBACK_BOLD_FONT_FAMILY "Swis721 BT"
|
||||
#define DEFAULT_BOLD_FONT_STYLE "Bold"
|
||||
#define DEFAULT_BOLD_FONT_SIZE 12.0f
|
||||
|
@ -334,12 +334,12 @@ FontManager::_LoadRecentFontMappings()
|
||||
ttfontsPath.Append("ttfonts");
|
||||
|
||||
BPath veraFontPath = ttfontsPath;
|
||||
veraFontPath.Append("NotoSans-Regular.ttf");
|
||||
_AddDefaultMapping("Noto Sans", "Book", veraFontPath.Path());
|
||||
veraFontPath.Append("NotoSansDisplay-Regular.ttf");
|
||||
_AddDefaultMapping("Noto Sans Display", "Book", veraFontPath.Path());
|
||||
|
||||
veraFontPath.SetTo(ttfontsPath.Path());
|
||||
veraFontPath.Append("NotoSans-Bold.ttf");
|
||||
_AddDefaultMapping("Noto Sans", "Bold", veraFontPath.Path());
|
||||
veraFontPath.Append("NotoSansDisplay-Bold.ttf");
|
||||
_AddDefaultMapping("Noto Sans Display", "Bold", veraFontPath.Path());
|
||||
|
||||
veraFontPath.SetTo(ttfontsPath.Path());
|
||||
veraFontPath.Append("NotoMono-Regular.ttf");
|
||||
|
@ -324,7 +324,7 @@ GlyphLayoutEngine::_WriteLockAndAcquireFallbackEntry(
|
||||
// and b) be similar to the original font. So there should be a mapping
|
||||
// of some kind to know the most suitable fallback font.
|
||||
static const char* fallbacks[] = {
|
||||
"Noto Sans",
|
||||
"Noto Sans Display",
|
||||
"Noto Sans CJK JP",
|
||||
"Noto Sans Symbols",
|
||||
NULL
|
||||
|
Loading…
Reference in New Issue
Block a user