change default font paths to point to Debian font location

This commit is contained in:
Toad King 2012-05-28 07:53:39 -04:00
parent eaff0d0f38
commit 619db3a047

View File

@ -211,17 +211,8 @@ static void *rpi_init(const video_info_t *video, const input_driver_t **input, v
#ifdef HAVE_FREETYPE
static const char *font_paths[] = {
#if defined(_WIN32)
"C:\\Windows\\Fonts\\consola.ttf",
"C:\\Windows\\Fonts\\verdana.ttf",
#elif defined(__APPLE__)
"/Library/Fonts/Microsoft/Candara.ttf",
"/Library/Fonts/Verdana.ttf",
"/Library/Fonts/Tahoma.ttf",
#else
"/usr/share/fonts/TTF/DejaVuSansMono.ttf",
"/usr/share/fonts/TTF/DejaVuSans.ttf",
#endif
"/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf",
"/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf",
"osd-font.ttf", // Magic font to search for, useful for distribution.
};