From 8052c15f615413fd914627237791635b7ebb2aef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 14 Nov 2025 09:10:24 +0100 Subject: [PATCH] Fix references to the old font files --- Common/Render/Text/draw_text_cocoa.mm | 2 -- UI/EmuScreen.cpp | 4 ++-- android/ab.cmd | 2 +- android/ab.sh | 2 +- android/buildassets.sh | 2 +- asciifont_atlasscript.txt | 2 +- assets/lang/de_DE.ini | 1 - font_atlasscript.txt | 2 +- ios/Launch Screen.storyboard | 4 ++-- 9 files changed, 9 insertions(+), 12 deletions(-) diff --git a/Common/Render/Text/draw_text_cocoa.mm b/Common/Render/Text/draw_text_cocoa.mm index 3ed8043710..18acdf9b34 100644 --- a/Common/Render/Text/draw_text_cocoa.mm +++ b/Common/Render/Text/draw_text_cocoa.mm @@ -32,8 +32,6 @@ enum { MAX_TEXT_HEIGHT = 512 }; -#define APPLE_FONT "RobotoCondensed-Regular" - // for future OpenEmu support #ifndef PPSSPP_FONT_BUNDLE #define PPSSPP_FONT_BUNDLE [NSBundle mainBundle] diff --git a/UI/EmuScreen.cpp b/UI/EmuScreen.cpp index 32c6cea58c..ce303dc63b 100644 --- a/UI/EmuScreen.cpp +++ b/UI/EmuScreen.cpp @@ -1862,9 +1862,9 @@ void EmuScreen::runImDebugger() { // Read the TTF font size_t propSize = 0; - uint8_t *propFontData = g_VFS.ReadFile("Roboto-Condensed.ttf", &propSize); + const uint8_t *propFontData = g_VFS.ReadFile("Roboto_Condensed-Regular.ttf", &propSize); size_t fixedSize = 0; - uint8_t *fixedFontData = g_VFS.ReadFile("Inconsolata-Medium.ttf", &fixedSize); + const uint8_t *fixedFontData = g_VFS.ReadFile("Inconsolata-Regular.ttf", &fixedSize); // This call works even if fontData is nullptr, in which case the font just won't get loaded. // This takes ownership of the font array. ImGui_ImplThin3d_Init(draw, propFontData, propSize, fixedFontData, fixedSize); diff --git a/android/ab.cmd b/android/ab.cmd index 3071406b2b..06f21acfaf 100644 --- a/android/ab.cmd +++ b/android/ab.cmd @@ -5,7 +5,7 @@ xcopy ..\assets\shaders assets\shaders\ /s /y - - Roboto-Condensed + + Roboto_Condensed-Regular