From f0276b33a3f516568c6cc2d8aad2bac027e7f2d8 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Mon, 19 Nov 2018 12:05:23 -0500 Subject: [PATCH] New default font for Linux et al; new default font sizes. Closer in apperance between the three main desktops; minimizes italic truncation. --- sdl2/pdcscrn.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sdl2/pdcscrn.c b/sdl2/pdcscrn.c index 388ee4d1..f929752b 100644 --- a/sdl2/pdcscrn.c +++ b/sdl2/pdcscrn.c @@ -15,11 +15,16 @@ # elif defined(__APPLE__) # define PDC_FONT_PATH "/System/Library/Fonts/Menlo.ttc" # else -# define PDC_FONT_PATH "/usr/share/fonts/truetype/freefont/FreeMono.ttf" +# define PDC_FONT_PATH "/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf" # endif # endif TTF_Font *pdc_ttffont = NULL; -int pdc_font_size = 18; +int pdc_font_size = +# ifdef _WIN32 + 16; +# else + 17; +# endif #endif SDL_Window *pdc_window = NULL;