diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-10-25 02:29:22 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-10-25 02:29:22 +0000 |
commit | b214c7903f194ca376ad696cdc759ecd09bcd72f (patch) | |
tree | 1b74c7d64baf198609f5e68c358387b617fe8645 | |
parent | 135d6852153c4d8844d077ee61ec98c5595a9782 (diff) | |
parent | 43961f477c1be0a3ad7d516e9de40d2dd7eca1f9 (diff) | |
download | pango-b214c7903f194ca376ad696cdc759ecd09bcd72f.tar.gz |
Merge branch 'coretext-gravity' into 'master'
[coretext] make setting font gravity work
See merge request GNOME/pango!150
-rw-r--r-- | pango/pangocoretext-fontmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pangocoretext-fontmap.c b/pango/pangocoretext-fontmap.c index 96e13bab..038287a0 100644 --- a/pango/pangocoretext-fontmap.c +++ b/pango/pangocoretext-fontmap.c @@ -1188,6 +1188,7 @@ find_best_match (PangoCoreTextFamily *font_family, for (i = 0; i < font_family->n_faces; i++) { new_desc = pango_font_face_describe (font_family->faces[i]); + pango_font_description_set_gravity (new_desc, pango_font_description_get_gravity (description)); if (pango_font_description_better_match (description, best_description, new_desc)) |