UWP: Different default font. Tahoma not available on XBOX (nw)

This commit is contained in:
Brad Hughes 2016-11-14 20:44:38 -05:00
parent 6b390947c7
commit 00cb280491

View File

@ -359,7 +359,12 @@ public:
// accept qualifiers from the 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 italic = (strreplace(name, "[I]", "") + strreplace(name, "[i]", "") > 0);