Fixes for the 'xamarin' profile.
[mono.git] / bockbuild / MacSDK / patches / pango-coretext-condensed-trait.patch
1 diff --git a/pango/pangocoretext-fontmap.c b/pango/pangocoretext-fontmap.c
2 index 53b2676..2b30a07 100644
3 --- a/pango/pangocoretext-fontmap.c
4 +++ b/pango/pangocoretext-fontmap.c
5 @@ -411,6 +411,9 @@ _pango_core_text_font_description_from_ct_font_descriptor (CTFontDescriptorRef d
6    else
7      pango_font_description_set_style (font_desc, PANGO_STYLE_NORMAL);
8
9 +  if ((font_traits & kCTFontCondensedTrait) == kCTFontCondensedTrait)
10 +    pango_font_description_set_stretch (font_desc, PANGO_STRETCH_CONDENSED);
11 +
12    if (ct_font_descriptor_is_small_caps (desc))
13      pango_font_description_set_variant (font_desc, PANGO_VARIANT_SMALL_CAPS);
14    else