aports/testing/emulationstation/20-fontpaths.patch
Holger Jaekel 6c4c32a4bf testing/emulationstation: fix build with musl 1.2.5
provide resources in /usr/share/emulationstation/resources
load resources from /usr/share/emulationstation/resources
set CMAKE_INSTALL_PREFIX
rebuild against boost 1.84
2024-05-21 16:13:08 +00:00

15 lines
582 B
Diff

--- a/es-core/src/resources/Font.cpp
+++ b/es-core/src/resources/Font.cpp
@@ -261,9 +261,9 @@
// Linux
const char* paths[] = {
- "/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf",
- "/usr/share/fonts/truetype/freefont/FreeMono.ttf",
- "/usr/share/fonts/truetype/droid/DroidSansFallbackFull.ttf" // japanese, chinese, present on Debian
+ "/usr/share/fonts/dejavu/DejaVuSans.ttf",
+ "/usr/share/fonts/freefont/FreeMono.ttf",
+ "/usr/share/fonts/droid-nonlatin/DroidSansFallbackFull.ttf" // japanese, chinese, present on Debian
};
std::vector<std::string> fontPaths;