diff options
author | Mårten Nordheim <[email protected]> | 2021-12-01 16:46:27 +0100 |
---|---|---|
committer | Mårten Nordheim <[email protected]> | 2021-12-02 12:53:34 +0100 |
commit | 0062f5a2089f9654c8880087ac6fb0b46a90bef2 (patch) | |
tree | dd71f978da6ceb5e662256252c544e97696c43a4 /src/tools/androiddeployqt/main.cpp | |
parent | 022891bcd8ae4e8de02cdef9ed281e9a31eedbc4 (diff) |
Freetype: adjust underlinePosition to match our expectations
We expect underlinePosition() to be the topleft corner of where we
start drawing the underline but freetype reports the _center_ of the
underline:
"underline_position: [...]. It is the center of the underlining stem."
- https://freetype.org/freetype2/docs/reference/ft2-base_interface.html
Pick-to: 6.2 5.15
Fixes: QTBUG-62602
Change-Id: I96808816f50f3f37b18f579adf285502c88e6ea5
Reviewed-by: Konstantin Ritt <[email protected]>
Reviewed-by: Marc Mutz <[email protected]>
Reviewed-by: Ievgenii Meshcheriakov <[email protected]>
Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]>
Diffstat (limited to 'src/tools/androiddeployqt/main.cpp')
0 files changed, 0 insertions, 0 deletions