diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-05-14 20:15:56 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-05-14 21:47:44 +0300 |
commit | 7db29efa7ddfde1ed9cde93caf6a6d2dd221880f (patch) | |
tree | 93626dfeb78d2595fa3e70ee9883c5a5be2e04de /thirdparty/harfbuzz/src/hb-ot-os2-table.hh | |
parent | 4971b71899ada7b65496ac71c591414b303ae437 (diff) | |
download | redot-engine-7db29efa7ddfde1ed9cde93caf6a6d2dd221880f.tar.gz |
Update HarfBuzz to 8.5.0
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-ot-os2-table.hh')
-rw-r--r-- | thirdparty/harfbuzz/src/hb-ot-os2-table.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/harfbuzz/src/hb-ot-os2-table.hh b/thirdparty/harfbuzz/src/hb-ot-os2-table.hh index 43b58d9bbf..6c91402269 100644 --- a/thirdparty/harfbuzz/src/hb-ot-os2-table.hh +++ b/thirdparty/harfbuzz/src/hb-ot-os2-table.hh @@ -272,7 +272,7 @@ struct OS2 Triple *axis_range; if (c->plan->user_axes_location.has (HB_TAG ('w','g','h','t'), &axis_range)) { - unsigned weight_class = static_cast<unsigned> (roundf (hb_clamp (axis_range->middle, 1.0f, 1000.0f))); + unsigned weight_class = static_cast<unsigned> (roundf (hb_clamp (axis_range->middle, 1.0, 1000.0))); if (os2_prime->usWeightClass != weight_class) os2_prime->usWeightClass = weight_class; } |