--- deliantra/Deliantra-Client/pango-font.c 2007/12/26 11:10:53 1.2 +++ deliantra/Deliantra-Client/pango-font.c 2009/04/05 19:28:54 1.3 @@ -72,6 +72,12 @@ if (FcPatternGetDouble (pattern, FC_PIXEL_SIZE, 0, &d) == FcResultMatch) font->size = d * PANGO_SCALE; + /* pango 1.24 is ABI-incompatible with 1.22, but distros */ + /* usually package it under the same name, so a runtime check */ + /* is required */ + if (pango_version () > PANGO_VERSION_ENCODE (1, 23, 0)) + PANGO_FC_FONT (font)->fontmap = fontmap; + return font; }