From 86a6c6c7c184ca07fa61b558b82aa40d4fc66f27 Mon Sep 17 00:00:00 2001 From: Richard Howell Date: Sun, 15 Jun 2014 21:39:29 +0200 Subject: [PATCH 1/2] remove a reference to a non existent struct field --- gfx/vg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/vg.c b/gfx/vg.c index a2bf830453..d3cee6bf56 100644 --- a/gfx/vg.c +++ b/gfx/vg.c @@ -146,7 +146,7 @@ static void *vg_init(const video_info_t *video, const input_driver_t **input, vo { vg->mFontsOn = true; - vg->mFontHeight = g_settings.video.font_size * (g_settings.video.font_scale ? (float) vg->mScreenWidth / 1280.0f : 1.0f); + vg->mFontHeight = g_settings.video.font_size; vg->mPaintFg = vgCreatePaint(); vg->mPaintBg = vgCreatePaint(); From b49cbeed1cbe24307f3a4b404b018195a3cbf7bb Mon Sep 17 00:00:00 2001 From: Richard Howell Date: Sun, 15 Jun 2014 12:02:02 +0200 Subject: [PATCH 2/2] make the vg backend compile without freetype --- gfx/vg.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gfx/vg.c b/gfx/vg.c index d3cee6bf56..816f7f9f88 100644 --- a/gfx/vg.c +++ b/gfx/vg.c @@ -25,11 +25,8 @@ #include "../general.h" #include "../driver.h" #include "../performance.h" - -#ifdef HAVE_FREETYPE #include "fonts/fonts.h" #include "../file.h" -#endif typedef struct {