diff options
author | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2016-07-22 10:43:01 +0200 |
---|---|---|
committer | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2016-07-27 09:01:15 +0000 |
commit | 5b64b64717caca231d399a138e747bdded9c116c (patch) | |
tree | 84e38d5604122aab8645894f99f9ad4ed5c00993 /LICENSE.FDL | |
parent | a2157df28b8aaa0c6fc02a35a2b24fa82cb77230 (diff) |
Fontengine: Avoid invalid alpha maps when antialiasing is off
When font antialising is disabled, the created alpha maps will be Mono
format. Make sure that the created QImage is valid by ensuring that
it has a color table of the right size.
Issue was earlier handled by a4e2f2e687ca7aec88ecf82f72d42ac61e17a5b9,
but that will be partially reverted because of compatibility break.
Task-number: QTBUG-50745
Change-Id: I7c521288469ae94805a3326644771270d97ab979
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'LICENSE.FDL')
0 files changed, 0 insertions, 0 deletions