diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-11-04 10:01:30 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-11-08 13:26:21 +0200 |
commit | da8aedfc171843388a1743b107dea5a98a6ab6eb (patch) | |
tree | 091bdb0a1e407dc6a0028da9fd3a435424ed3d92 /thirdparty/harfbuzz/src/hb-style.cc | |
parent | ce634e03d5bbfe7f92b6285a79e8c0ce29649642 (diff) | |
download | redot-engine-da8aedfc171843388a1743b107dea5a98a6ab6eb.tar.gz |
HarfBuzz: Update to version 3.1.1
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-style.cc')
-rw-r--r-- | thirdparty/harfbuzz/src/hb-style.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/thirdparty/harfbuzz/src/hb-style.cc b/thirdparty/harfbuzz/src/hb-style.cc index dfb1017c88..f1b44cea53 100644 --- a/thirdparty/harfbuzz/src/hb-style.cc +++ b/thirdparty/harfbuzz/src/hb-style.cc @@ -113,7 +113,9 @@ hb_style_get_value (hb_font_t *font, hb_style_tag_t style_tag) case HB_STYLE_TAG_WIDTH: return face->table.OS2->has_data () ? face->table.OS2->get_width () - : (face->table.head->is_condensed () ? 75 : 100); + : (face->table.head->is_condensed () ? 75 : + face->table.head->is_expanded () ? 125 : + 100); case HB_STYLE_TAG_WEIGHT: return face->table.OS2->has_data () ? face->table.OS2->usWeightClass |