Diffusion Elisa c4c06554076b

compute correct sizes when using TextMetrics

Authored by mgallien on May 13 2019, 9:00 PM.

Description

compute correct sizes when using TextMetrics

Summary:
Use boundingRect of TextMetrics to compute the correct sizes

BUG: 407337

ensure all font.pointSize are set to integer values

Test Plan: Everything is looking fine

Reviewers: Elisa, ngraham

Reviewed By: ngraham

Differential Revision: https://phabricator.kde.org/D21198

Details