2007-01-23 Behdad Esfahbod <behdad@gnome.org>
Bug 399738 – pango 1.15.5 won't compile on Mac OS X: 'FC_HINT_STYLE'
undeclared (first use in this function)
* pango/pangoft2.c (pango_ft2_font_get_face): Don't use FC_HINT_STYLE
if it's not defined (old fontconfig versions).
svn path=/trunk/; revision=2183
+2007-01-23 Behdad Esfahbod <behdad@gnome.org>
+
+ Bug 399738 – pango 1.15.5 won't compile on Mac OS X: 'FC_HINT_STYLE'
+ undeclared (first use in this function)
+
+ * pango/pangoft2.c (pango_ft2_font_get_face): Don't use FC_HINT_STYLE
+ if it's not defined (old fontconfig versions).
+
2007-01-22 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.15.5 ===
FC_HINTING, 0, &hinting) != FcResultMatch)
hinting = FcTrue;
+#ifdef FC_HINT_STYLE
if (FcPatternGetInteger (pattern, FC_HINT_STYLE, 0, &hintstyle) != FcResultMatch)
hintstyle = FC_HINT_FULL;
ft2font->load_flags |= FT_LOAD_TARGET_NORMAL;
break;
}
+#else
+ if (!hinting)
+ ft2font->load_flags |= FT_LOAD_NO_HINTING;
+#endif
/* force autohinting if requested */
if (FcPatternGetBool (pattern,