Hi, In the fontface and fontoptions sources, there are checks for whether Cairo was built with FreeType support (CAIRO_HAS_FT_FONT), however, in Cairo 1.12 (at least), Cairo can be built with FreeType support with or without FontConfig support (which is checked by CAIRO_HAS_FC_FONT). So, if one builds cairomm against Cairo that has FreeType support enabled but without FontConfig support enabled (for example, on Windows builds), the build would fail. I will attach patches to have the sources/headers check for whether Cairo had FontConfig support so that this kind of situation can be supported...
Created attachment 106491 [details] [review] fontface/fontoption: Check for whether Cairo was built with FontConfig Hi, This patch updates the fontface/fontoption sources and headers so that they will also check whether Cairo was built with Fontconfig in addition to checking for FreeType. With blessings, thank you!
Sorry for not noticing this for so long. I've pushed this now. Thanks.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.