Call FcInitDebug from FcFreeTypeQueryFace

This commit is contained in:
Behdad Esfahbod 2014-07-24 15:01:57 -04:00
parent a5641cfb24
commit 07a0f511b1
1 changed files with 2 additions and 0 deletions

View File

@ -1107,6 +1107,8 @@ FcFreeTypeQueryFace (const FT_Face face,
FcRange *r = NULL; FcRange *r = NULL;
double lower_size = 0.0L, upper_size = DBL_MAX; double lower_size = 0.0L, upper_size = DBL_MAX;
FcInitDebug (); /* We might be called with no initizalization whatsoever. */
pat = FcPatternCreate (); pat = FcPatternCreate ();
if (!pat) if (!pat)
goto bail0; goto bail0;