From 985a3e2282e635f336f036e6206ca9238b7dfd37 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Mon, 12 Apr 2021 15:46:56 +0100 Subject: [PATCH] reenable fontfile --- libvips/create/text.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libvips/create/text.c b/libvips/create/text.c index 71dd9786..26c4d177 100644 --- a/libvips/create/text.c +++ b/libvips/create/text.c @@ -84,6 +84,7 @@ #include #include #include +#include #include "pcreate.h" @@ -371,7 +372,6 @@ vips_text_build( VipsObject *object ) text->context = pango_font_map_create_context( PANGO_FONT_MAP( vips_text_fontmap ) ); - /* if( text->fontfile && !g_hash_table_lookup( vips_text_fontfiles, text->fontfile ) ) { if( !FcConfigAppFontAddFile( NULL, @@ -386,7 +386,6 @@ vips_text_build( VipsObject *object ) text->fontfile, g_strdup( text->fontfile ) ); } - */ /* If our caller set height and not dpi, we adjust dpi until * we get a fit.