diff options
author | Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com> | 2015-08-27 18:27:57 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com> | 2015-09-22 21:19:12 +0000 |
commit | 9c71f55ef9575c0168bf8d0b305ec9591a61999d (patch) | |
tree | 9666eec06cefd62d2bddd850c5ae38a945e71831 /src/gui/kernel/qguiapplication.cpp | |
parent | 5f3529be32df3cce81e77c3dbb76cfda7feb320c (diff) |
QFontEngine: Read minimum left and right glyph bearings from 'hhea' table
This table has values precomputed based on every single glyph in
the font, not just the subset we use as a fallback, which should
improve both performance and correctness.
The fallback codepath of computing the minimum values based on a
subset of the characters in the font is left in, as we still need
that for bitmap fonts, and some font tables that have invalid
values.
Change-Id: I71aac1e09c9f9de80446b023ba15a9e2afe7d226
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src/gui/kernel/qguiapplication.cpp')
0 files changed, 0 insertions, 0 deletions