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.