summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-02-25 15:59:31 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-02-27 08:59:08 +0000
commit25677ec4b2957f7fd56618781dec28cb139f9df7 (patch)
tree4224a03d89ce07cb4c35441c96a80c501afe374b /tests/auto/widgets
parentd32a6793a43dc64dab3364fe3052bc464192ba90 (diff)
Fix bounding box of zero-width entities in QFontEngineFT
Freetype can give us non empty bounds for zero-width characters, this change just makes us skip metrics of characters already found to not contribute to text advance. The coretext and windows font-engines already uses the already calculated advance. Change-Id: I82b3521a4fb92614be509be5982cd5ab9c1eb7de Fixes: QTBUG-58854 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'tests/auto/widgets')
0 files changed, 0 insertions, 0 deletions