mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(STB) WinRT/UWP can't deal with relative paths, so don't look for
osd-font.ttf
This commit is contained in:
parent
2aa0b74d55
commit
8784d21c74
@ -184,7 +184,7 @@ error:
|
||||
static const char *font_renderer_stb_get_default_font(void)
|
||||
{
|
||||
static const char *paths[] = {
|
||||
#if defined(_WIN32)
|
||||
#if defined(_WIN32) && !defined(__WINRT__)
|
||||
"C:\\Windows\\Fonts\\consola.ttf",
|
||||
"C:\\Windows\\Fonts\\verdana.ttf",
|
||||
#elif defined(__APPLE__)
|
||||
@ -205,15 +205,15 @@ static const char *font_renderer_stb_get_default_font(void)
|
||||
"vs0:data/external/font/pvf/k006004ds.ttf",
|
||||
"vs0:data/external/font/pvf/n023055ms.ttf",
|
||||
"vs0:data/external/font/pvf/n023055ts.ttf",
|
||||
#else
|
||||
#elif !defined(__WINRT__)
|
||||
"/usr/share/fonts/TTF/DejaVuSansMono.ttf",
|
||||
"/usr/share/fonts/TTF/DejaVuSans.ttf",
|
||||
"/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf",
|
||||
"/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf",
|
||||
"/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf",
|
||||
"/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf",
|
||||
#endif
|
||||
"osd-font.ttf",
|
||||
#endif
|
||||
NULL
|
||||
};
|
||||
|
||||
|
@ -306,8 +306,8 @@ static const char *font_renderer_stb_unicode_get_default_font(void)
|
||||
"/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf",
|
||||
"/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf",
|
||||
"/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf",
|
||||
#endif
|
||||
"osd-font.ttf",
|
||||
#endif
|
||||
NULL
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user