+++ /dev/null
-diff -urN pango-1.1.5.orig/pango/pangoft2.c pango-1.1.5/pango/pangoft2.c
---- pango-1.1.5.orig/pango/pangoft2.c Wed Dec 11 01:31:31 2002
-+++ pango-1.1.5/pango/pangoft2.c Wed Dec 11 01:38:29 2002
-@@ -204,6 +204,8 @@
- FcPattern *pattern;
- FcChar8 *filename;
- FcBool hinting, autohint;
-+ FT_ULong hint_flags;
-+ int hintstyle;
- int id;
-
- pattern = ft2font->font_pattern;
-@@ -219,8 +221,22 @@
- if (FcPatternGetBool (pattern, FC_HINTING, 0, &hinting) != FcResultMatch)
- hinting = FcTrue;
-
-- if (!hinting)
-- ft2font->load_flags |= FT_LOAD_NO_HINTING;
-+ if (FcPatternGetInteger (pattern, FC_HINT_STYLE, 0, &hintstyle) != FcResultMatch)
-+ hintstyle = FC_HINT_FULL;
-+
-+ if (!hinting || hintstyle == FC_HINT_NONE)
-+ ft2font->load_flags |= FT_LOAD_NO_HINTING;
-+
-+ switch (hintstyle) {
-+ case FC_HINT_SLIGHT:
-+ hint_flags = FT_HINT_NO_INTEGER_STEM | FT_HINT_NO_VSTEM_ALIGN;
-+ break;
-+ case FC_HINT_MEDIUM:
-+ hint_flags = FT_HINT_NO_INTEGER_STEM;
-+ break;
-+ default:
-+ hint_flags = 0;
-+ }
-
- /* force autohinting if requested */
- if (FcPatternGetBool (pattern, FC_AUTOHINT, 0, &autohint) != FcResultMatch)
-@@ -243,6 +259,8 @@
- load_fallback_face (ft2font, filename);
- }
-
-+ FT_Set_Hint_Flags (ft2font->face, hint_flags);
-+
- g_assert (ft2font->face);
-
- if (!set_unicode_charmap (ft2font->face))