If setting a larger-than-default distance field base font size (renderTypeQuality in qml), an exceptionally large glyph could cause integer overflows in the distance filed computation, causing asserts or crashes. Change the computation types to avoid the overflow. This improves on b6f962c87f5084eaf962bfb033b1398f80475120. Fixes: QTBUG-124310 Pick-to: 6.7 6.5 6.2 5.15 Change-Id: I48b7dc3c0a0f35859d45c40d03498ac057e9fa70 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit 30a753944300c13e96f9239a9891cbc8e2e378c1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%