From 07a0f511b13a872824c2c57251b7e47ee7df1354 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 24 Jul 2014 15:01:57 -0400 Subject: [PATCH] Call FcInitDebug from FcFreeTypeQueryFace --- src/fcfreetype.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fcfreetype.c b/src/fcfreetype.c index baf13e5..bfbcad0 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -1107,6 +1107,8 @@ FcFreeTypeQueryFace (const FT_Face face, FcRange *r = NULL; double lower_size = 0.0L, upper_size = DBL_MAX; + FcInitDebug (); /* We might be called with no initizalization whatsoever. */ + pat = FcPatternCreate (); if (!pat) goto bail0;