6bdd276d05
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
15 lines
644 B
Diff
15 lines
644 B
Diff
diff --git a/pango/pangocoretext-fontmap.c b/pango/pangocoretext-fontmap.c
|
|
index 53b2676..2b30a07 100644
|
|
--- a/pango/pangocoretext-fontmap.c
|
|
+++ b/pango/pangocoretext-fontmap.c
|
|
@@ -411,6 +411,9 @@ _pango_core_text_font_description_from_ct_font_descriptor (CTFontDescriptorRef d
|
|
else
|
|
pango_font_description_set_style (font_desc, PANGO_STYLE_NORMAL);
|
|
|
|
+ if ((font_traits & kCTFontCondensedTrait) == kCTFontCondensedTrait)
|
|
+ pango_font_description_set_stretch (font_desc, PANGO_STRETCH_CONDENSED);
|
|
+
|
|
if (ct_font_descriptor_is_small_caps (desc))
|
|
pango_font_description_set_variant (font_desc, PANGO_VARIANT_SMALL_CAPS);
|
|
else
|