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:
@@ -836,7 +836,7 @@
|
||||
/*
|
||||
* Use FontConfig library for private fonts support in wxFont.
|
||||
*/
|
||||
#define wxUSE_FONTCONFIG 0
|
||||
#undef wxHAVE_FONTCONFIG_2_8_0
|
||||
/*
|
||||
* Use GTK print for printing under GTK+ 2.10+
|
||||
*/
|
||||
|
Reference in New Issue
Block a user