Default font path OSX.

This commit is contained in:
Themaister 2011-10-06 21:12:11 +02:00
parent 33ecedb462
commit c996f816b8
4 changed files with 7 additions and 1 deletions

View File

@ -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",

View File

@ -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;

View File

@ -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;

View File

@ -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
}