diff options
author | 2016-11-14 20:44:38 -0500 | |
---|---|---|
committer | 2016-11-14 20:44:38 -0500 | |
commit | 00cb2804918480d288e7ca02961698d5a15e76bb (patch) | |
tree | 801921c6334ac69b7f991216e6e12133a72a3375 | |
parent | 6b390947c7599b1fbad414cbcb7d9bcdbfe5bb35 (diff) |
UWP: Different default font. Tahoma not available on XBOX (nw)
-rw-r--r-- | src/osd/modules/font/font_dwrite.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/osd/modules/font/font_dwrite.cpp b/src/osd/modules/font/font_dwrite.cpp index 57b25d87329..884f2bed5f3 100644 --- a/src/osd/modules/font/font_dwrite.cpp +++ b/src/osd/modules/font/font_dwrite.cpp @@ -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); |