From 619db3a04739d9692a164e36d5781b549e85c9c7 Mon Sep 17 00:00:00 2001 From: Toad King Date: Mon, 28 May 2012 07:53:39 -0400 Subject: [PATCH] change default font paths to point to Debian font location --- gfx/rpi.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/gfx/rpi.c b/gfx/rpi.c index 94d76eaaf2..78c9b31805 100644 --- a/gfx/rpi.c +++ b/gfx/rpi.c @@ -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. };