qt5base-lts/src/platformsupport
Eskil Abrahamsen Blomfeldt c2dcb7eaa1 Windows: Fix QPainter warnings when using some fonts
Some fonts, like Segoe UI, have empty glyphs defined for
characters such as space. When there is a margin on the glyphs,
we would previously render them as 4x4 completely transparent
images. This is a waste of time, and in the case of DirectWrite,
we fixed it in bb67c3b68b so that
it will always return an invalid image when the glyph does not
have dimensions.

But since we did not account for this in alphaMapBoundingBox(),
the texture glyph cache did not detect this case and would
request the empty image and try to add it to the cache.

Fixes: QTBUG-84629
Pick-to: 5.15
Change-Id: I470a4a55577c5e9239bf77de81c2b381bf8e6a49
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-06-03 07:00:32 +02:00
..
devicediscovery CMake: Regenerate src/platformsupport 2020-05-29 23:22:57 +02:00
edid Regenerate projects to correctly handle private dependencies 2020-02-05 14:36:31 +00:00
eglconvenience Fix Mesa warning that MESA_EGL_NO_X11_HEADERS is deprecated 2020-05-05 12:23:49 -07:00
eventdispatchers Add missing override 2020-05-21 11:34:12 +03:00
fbconvenience Regenerate projects to correctly handle private dependencies 2020-02-05 14:36:31 +00:00
fontdatabases Windows: Fix QPainter warnings when using some fonts 2020-06-03 07:00:32 +02:00
glxconvenience Merge remote-tracking branch 'origin/5.15' into dev 2020-04-08 20:11:39 +02:00
input Add missing override 2020-05-21 11:34:12 +03:00
kmsconvenience KMS: fix warning about hex() and dec() being deprecated 2020-04-09 09:38:32 -03:00
linuxaccessibility Move QtAccessibilitySupport into QtGui 2020-06-02 23:32:36 +02:00
linuxofono CMake: Regenerate src/platformsupport 2020-05-29 23:22:57 +02:00
services Fix URL opening in snap sandbox 2020-05-01 20:03:06 +04:00
themes MetaObject: Store the QMetaType of the methods 2020-06-02 22:42:15 +02:00
.prev_CMakeLists.txt CMake: Regenerate src/platformsupport 2020-05-29 23:22:57 +02:00
CMakeLists.txt Move QtAccessibilitySupport into QtGui 2020-06-02 23:32:36 +02:00
platformsupport.pro Move QtAccessibilitySupport into QtGui 2020-06-02 23:32:36 +02:00