diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-03-31 13:03:43 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-03-31 13:03:43 +0300 |
commit | 56544d80138cddd3a2e7ae8506f440af4c48f36d (patch) | |
tree | 79c01d07018973bf445ac68942eb74d57632fe3e /thirdparty/harfbuzz/src/hb-ft.cc | |
parent | fc4e9d6299593794489a0271bebf2c528aadcc74 (diff) |
HarfBuzz: Update to version 4.2.0
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-ft.cc')
-rw-r--r-- | thirdparty/harfbuzz/src/hb-ft.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/thirdparty/harfbuzz/src/hb-ft.cc b/thirdparty/harfbuzz/src/hb-ft.cc index 40311e1b91..0cfbb22e31 100644 --- a/thirdparty/harfbuzz/src/hb-ft.cc +++ b/thirdparty/harfbuzz/src/hb-ft.cc @@ -382,6 +382,7 @@ hb_ft_get_glyph_v_advance (hb_font_t *font, /* Note: FreeType's vertical metrics grows downward while other FreeType coordinates * have a Y growing upward. Hence the extra negation. */ + return (-v + (1<<9)) >> 10; } #endif |