mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Fix font loading for the UWP backend, although wacky rendering issues remain
This commit is contained in:
1 parent
4283e66a12
commit
bf5ded9c02
5 files changed
+126
-84
No files matched your search
+1
-4
@@ -698,10 +698,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
|
||||
auto des = GetI18NCategory(I18NCat::DESKTOPUI);
|
||||
|
||||
#if PPSSPP_PLATFORM(UWP)
|
||||
// Roboto font is loaded in TextDrawerUWP.
|
||||
g_Config.sFont = des->T("Font", "Roboto");
|
||||
#elif defined(USING_QT_UI)
|
||||
#if defined(USING_QT_UI)
|
||||
size_t fontSize = 0;
|
||||
uint8_t *fontData = g_VFS.ReadFile("Roboto-Condensed.ttf", &fontSize);
|
||||
if (fontData) {
|
||||
|
||||
Reference in new issue
Block a user