qt5base-lts/src/platformsupport
Tor Arne Vestbø 35793cea28 CoreText: Respect Qt::AA_Use96Dpi flag when creating CT fonts
The pixel size passed into QCoreTextFontDatabase::fontEngine() has already
been scaled to take the destination DPI into account. In the normal case
the destination DPI is the same as the screen's logical DPI, 72, and we
end up with the pixel size being equal to the point size. But when the
Qt::AA_Use96Dpi flag has been set, e.g. when running tests, the pixel
size is larger than the point size, and we need to pass this information
to CoreText, otherwise we end up with clipped text rendering. This was
evident when looking at the lancelot baselines for OS X, which are
produced using QTestLib, and hence run with Qt::AA_Use96Dpi set.

Change-Id: Ib0f720bb318b2dc437172a6b712675e3dfe3f7ac
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
2015-09-09 17:18:34 +00:00
..
accessibility Update copyright headers 2015-02-11 06:49:51 +00:00
cfsocketnotifier Update copyright headers 2015-02-11 06:49:51 +00:00
cglconvenience Fixed license headers 2015-02-17 18:46:09 +00:00
clipboard Fixed license headers 2015-02-17 18:46:09 +00:00
dbusmenu platformsupport/dbusmenu: fix uses of inefficient QLists 2015-07-19 18:13:20 +00:00
dbustray platformsupport/dbustray: mark some types as movable 2015-07-19 18:13:26 +00:00
devicediscovery Add joystick/gamepad recognition to device discovery 2015-03-09 11:13:54 +00:00
eglconvenience Merge remote-tracking branch 'origin/5.5' into 5.6 2015-08-26 20:06:57 +02:00
eventdispatchers CF event dispatcher: Decide if eventsProcessed before breaking out of loop 2015-03-10 12:48:32 +00:00
fbconvenience Use QVector::reserve() all over the place. 2015-06-29 19:31:59 +00:00
fontdatabases CoreText: Respect Qt::AA_Use96Dpi flag when creating CT fonts 2015-09-09 17:18:34 +00:00
glxconvenience Update copyright headers 2015-02-11 06:49:51 +00:00
input libinput: Fix key mapping 2015-08-21 21:02:56 +00:00
linuxaccessibility Fix crash on exit caused by QStringLiterals 2015-09-05 07:42:01 +00:00
platformcompositor Avoid QWidget dependency in QtGui 2015-06-01 13:38:18 +00:00
services Pass params of shareable type by const-ref rather than by value 2015-02-13 16:29:16 +00:00
themes Adding plasma5 support for QKdeTheme 2015-08-26 10:19:01 +00:00
platformsupport.pro QSystemTrayIcon uses D-Bus StatusNotifier on Linux when possible 2015-01-22 12:50:51 +01:00