Require fontconfig >= 2.8 and change its guard macro name
FcConfigAppFontAddFile() that we use is only available since 2.8, so check for at least this version of the library in configure. Also change the macro guarding its use to the more semantically appropriate "wxHAVE" rather than "wxUSE" and make it more precise by adding "2_8_0" suffix to it.
This commit is contained in:
@@ -118,7 +118,7 @@ private:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxFont);
|
||||
};
|
||||
|
||||
#if wxUSE_FONTCONFIG
|
||||
#ifdef wxHAVE_FONTCONFIG_2_8_0
|
||||
#define wxHAS_PRIVATE_FONTS 1
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user