Fix:font_freetype:Made working without fontconfig
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 15 Jan 2009 10:35:42 +0000 (10:35 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 15 Jan 2009 10:35:42 +0000 (10:35 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit@1950 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/font/freetype/font_freetype.c

index c9c73cb..ca94da1 100644 (file)
@@ -352,8 +352,8 @@ font_freetype_font_new(struct graphics_priv *gr,
 #endif
                library_init = 1;
        }
-#ifdef HAVE_FONTCONFIG
        font->size=size;
+#ifdef HAVE_FONTCONFIG
        dbg(2, " about to search for fonts, prefered = %s\n", fontfamily);
        for (exact = 1; !found && exact >= 0; exact--) {
                if (fontfamily) {