diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com> | 2015-01-08 13:29:04 +0100 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com> | 2015-02-17 15:02:48 +0000 |
commit | 12d6f700378702d70a3c3c34ab49e2bf2c9cb882 (patch) | |
tree | 52449d5b3fc10bda9e8c17a8e04123215eb9e016 /src/corelib/tools | |
parent | 81a45e1f13fdf56129aed952a6e3479e16c14a2c (diff) |
Fix QTextDocument test when default font is pixel-sized
When the default font has the pixel size set instead of point
size, then pointSize() will return -1 and the output from the
HTML will include the pixel size instead. This happens e.g.
on Android when we extract font information from the system.
Change-Id: I26dc49fff215c9887cf0b78dcfff88df0f74450d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to 'src/corelib/tools')
0 files changed, 0 insertions, 0 deletions