UWP: Different default font. Tahoma not available on XBOX (nw)
This commit is contained in:
parent
6b390947c7
commit
00cb280491
@ -359,7 +359,12 @@ public:
|
|||||||
|
|
||||||
// accept qualifiers from the name
|
// accept qualifiers from the name
|
||||||
std::string name(_name);
|
std::string name(_name);
|
||||||
if (name.compare("default") == 0) name = "Tahoma";
|
if (name.compare("default") == 0)
|
||||||
|
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||||
|
name = "Tahoma";
|
||||||
|
#else
|
||||||
|
name = "Segoe UI";
|
||||||
|
#endif
|
||||||
bool bold = (strreplace(name, "[B]", "") + strreplace(name, "[b]", "") > 0);
|
bool bold = (strreplace(name, "[B]", "") + strreplace(name, "[b]", "") > 0);
|
||||||
bool italic = (strreplace(name, "[I]", "") + strreplace(name, "[i]", "") > 0);
|
bool italic = (strreplace(name, "[I]", "") + strreplace(name, "[i]", "") > 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user