diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com> | 2015-07-10 13:22:32 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-10-23 08:59:45 +0000 |
commit | 0a2f2382541424726168804be2c90b91381608c6 (patch) | |
tree | 1e35fbd18f77ac56ff4a38ed419c434504bb187c /src/opengl | |
parent | b05d05fd9ce2aeedfaf805a7ed9007a93c902bc9 (diff) | |
download | qt4-tools-4.8.tar.gz |
Specifically when reading files with broken cmap tables, we could
get some undeterministic results. We handle this more gracefully
by verifying that the offsets are sane and bailing out early if not.
This replaces the current pattern throughout the font engine for
consistency.
This is a back-port of 4a1e5dbade4bab55f39bd368480dcca9a11e4b38
from Qt 5.
Change-Id: If4172b9ef0808801c8e27ffaad962535afe572ed
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/opengl')
0 files changed, 0 insertions, 0 deletions