Check for freetype2 version when PangoFT is used
authorРуслан Ижбулатов <lrn1986@gmail.com>
Thu, 11 Jan 2018 17:49:43 +0000 (17:49 +0000)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 28 Mar 2018 08:14:37 +0000 (16:14 +0800)
commit48613eca278ad2260bc666cde64dbab20390ea8b
tree383cbd7dccbe3bf07c0ef4c046d949db312f86e8
parent69e1128cd329a4a8643c6636d92494937789c3a7
Check for freetype2 version when PangoFT is used

Check for freetype2 version, because pangoft works with any version
(pangoft availability does not indicate that ft2 is new enough), unlike
GTK.

On Windows, since pangoft is optional, we check for the presence of
freetype2 .pc file first after finding that we have pangoft, and then
check for FT_Get_Var_Design_Coordinates() manually by looking for the
freetype headers and .lib first, and then looking for the presence of
that symbol, since freetype2's Visual Studio build system does not
generate a .pc file for us.

https://bugzilla.gnome.org/show_bug.cgi?id=773299
gtk/meson.build
meson.build