Fix a build issue with freetype <2.5.1
This commit is contained in:
parent
3cd573fc1f
commit
fff91eee7d
|
@ -1108,10 +1108,7 @@ FcFreeTypeQueryFace (const FT_Face face,
|
||||||
FT_Error err;
|
FT_Error err;
|
||||||
FT_ULong len = 0, alen;
|
FT_ULong len = 0, alen;
|
||||||
FcRange *r = NULL;
|
FcRange *r = NULL;
|
||||||
#if defined (HAVE_TT_OS2_USUPPEROPTICALPOINTSIZE) && defined (HAVE_TT_OS2_USLOWEROPTICALPOINTSIZE)
|
|
||||||
double lower_size = 0.0L, upper_size = DBL_MAX;
|
double lower_size = 0.0L, upper_size = DBL_MAX;
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
pat = FcPatternCreate ();
|
pat = FcPatternCreate ();
|
||||||
if (!pat)
|
if (!pat)
|
||||||
|
|
Loading…
Reference in New Issue