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