mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-23 11:12:33 +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",
|
||||
#elif defined(__APPLE__)
|
||||
static const char *font_paths[] = {
|
||||
"/Library/Fonts/Microsoft/Lucidia Console.ttf",
|
||||
"/Library/Fonts/Microsoft/Candara.ttf",
|
||||
#else
|
||||
static const char *font_paths[] = {
|
||||
"/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
|
||||
SSNES_WARN("Couldn't init font renderer with font \"%s\"...\n", font_path);
|
||||
}
|
||||
else
|
||||
SSNES_LOG("Did not find default font.\n");
|
||||
#else
|
||||
(void)gl;
|
||||
(void)font_path;
|
||||
|
@ -112,6 +112,8 @@ static void sdl_init_font(sdl_video_t *vid, const char *font_path, unsigned font
|
||||
else
|
||||
SSNES_WARN("Failed to init font.\n");
|
||||
}
|
||||
else
|
||||
SSNES_LOG("Did not find default font.\n");
|
||||
#else
|
||||
(void)vid;
|
||||
(void)font_path;
|
||||
|
@ -206,6 +206,8 @@ static void xv_init_font(xv_t *xv, const char *font_path, unsigned font_size)
|
||||
else
|
||||
SSNES_WARN("Failed to init font.\n");
|
||||
}
|
||||
else
|
||||
SSNES_LOG("Did not find default font.\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user