We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f53959b commit 985a3e2Copy full SHA for 985a3e2
libvips/create/text.c
@@ -84,6 +84,7 @@
84
#include <cairo.h>
85
#include <pango/pango.h>
86
#include <pango/pangocairo.h>
87
+#include <fontconfig/fontconfig.h>
88
89
#include "pcreate.h"
90
@@ -371,7 +372,6 @@ vips_text_build( VipsObject *object )
371
372
text->context = pango_font_map_create_context(
373
PANGO_FONT_MAP( vips_text_fontmap ) );
374
- /*
375
if( text->fontfile &&
376
!g_hash_table_lookup( vips_text_fontfiles, text->fontfile ) ) {
377
if( !FcConfigAppFontAddFile( NULL,
@@ -386,7 +386,6 @@ vips_text_build( VipsObject *object )
386
text->fontfile,
387
g_strdup( text->fontfile ) );
388
}
389
- */
390
391
/* If our caller set height and not dpi, we adjust dpi until
392
* we get a fit.
0 commit comments