mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 17:43:02 +00:00
Default font path OSX.
This commit is contained in:
parent
33ecedb462
commit
c996f816b8
@ -141,7 +141,7 @@ static const char *font_paths[] = {
|
|||||||
"C:\\Windows\\Fonts\\verdana.ttf",
|
"C:\\Windows\\Fonts\\verdana.ttf",
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
static const char *font_paths[] = {
|
static const char *font_paths[] = {
|
||||||
"/Library/Fonts/Microsoft/Lucidia Console.ttf",
|
"/Library/Fonts/Microsoft/Candara.ttf",
|
||||||
#else
|
#else
|
||||||
static const char *font_paths[] = {
|
static const char *font_paths[] = {
|
||||||
"/usr/share/fonts/TTF/DejaVuSansMono.ttf",
|
"/usr/share/fonts/TTF/DejaVuSansMono.ttf",
|
||||||
|
2
gfx/gl.c
2
gfx/gl.c
@ -352,6 +352,8 @@ static inline void gl_init_font(gl_t *gl, const char *font_path, unsigned font_s
|
|||||||
else
|
else
|
||||||
SSNES_WARN("Couldn't init font renderer with font \"%s\"...\n", font_path);
|
SSNES_WARN("Couldn't init font renderer with font \"%s\"...\n", font_path);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
SSNES_LOG("Did not find default font.\n");
|
||||||
#else
|
#else
|
||||||
(void)gl;
|
(void)gl;
|
||||||
(void)font_path;
|
(void)font_path;
|
||||||
|
@ -112,6 +112,8 @@ static void sdl_init_font(sdl_video_t *vid, const char *font_path, unsigned font
|
|||||||
else
|
else
|
||||||
SSNES_WARN("Failed to init font.\n");
|
SSNES_WARN("Failed to init font.\n");
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
SSNES_LOG("Did not find default font.\n");
|
||||||
#else
|
#else
|
||||||
(void)vid;
|
(void)vid;
|
||||||
(void)font_path;
|
(void)font_path;
|
||||||
|
@ -206,6 +206,8 @@ static void xv_init_font(xv_t *xv, const char *font_path, unsigned font_size)
|
|||||||
else
|
else
|
||||||
SSNES_WARN("Failed to init font.\n");
|
SSNES_WARN("Failed to init font.\n");
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
SSNES_LOG("Did not find default font.\n");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user