qt5base-lts/tests/auto
Nils Jeisecke 4a240bb67e QTextDocument: Fix device scaling for QTextFrameFormat margins, padding and border
Those values must be scaled to device coordinates - otherwise borders,
margins etc. will be too small when rendered on high dpi devices
(printers etc.).

This change will add the scaling to those values.

QTextDocument::print applies 2cm margins to the root frame of a
unpaginated QTextDocument. Those margins were previously scaled to
device coordinates in order to give the correct result. But because
scaling is now done inside QTextDocumentLayout that scaling must be
removed and pixel values based on qt_defaultDpi are provided instead.

Fixes: QTBUG-78318
Change-Id: I6fe6dcc25f846341f6a2fe5df2f54baea473fdfd
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2019-09-17 23:05:09 +02:00
..
bic/data Add binary compatibility files for Qt5.13.0 for QtBase 2019-08-15 04:19:39 +00:00
cmake CMake: Add support for auto-importing plugins in CMake 2019-08-12 18:23:58 +02:00
concurrent Introduce QT_NO_LINKED_LIST and mark QtBase (almost) free of it 2019-07-12 14:26:30 +02:00
corelib Fix mis-handling of actual TLD in qIsEffectiveTLD() 2019-09-16 17:05:09 +02:00
dbus unblacklist passing tests 2019-07-08 11:01:42 +00:00
gui CoreText: Modernize style hint fallback lookup 2019-09-16 11:26:07 +02:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake
network Fix mis-handling of actual TLD in qIsEffectiveTLD() 2019-09-16 17:05:09 +02:00
opengl Remove dead code from Qt 4 times 2019-08-20 22:27:46 +00:00
other Merge remote-tracking branch 'origin/5.13' into 5.14 2019-09-09 07:51:49 +00:00
printsupport Remove the remaining usages of deprecated APIs of qtbase 2019-08-01 06:48:27 +02:00
shared Make tst_qwidget pass on High-DPI screens (Windows) 2019-06-03 10:41:08 +02:00
sql test: migrate QSqlDatabase test to QRegularExpression 2019-07-29 20:01:24 +02:00
testlib Merge remote-tracking branch 'origin/5.13' into 5.14 2019-09-13 01:00:15 +02:00
tools Merge remote-tracking branch 'origin/5.13' into 5.14 2019-09-04 07:03:54 +02:00
widgets QTextDocument: Fix device scaling for QTextFrameFormat margins, padding and border 2019-09-17 23:05:09 +02:00
xml Convert uses of QTime as a timer to QElapsedTimer 2019-06-14 10:42:33 +02:00
auto.pro winrt: Skip network auto tests for now 2018-06-22 05:02:39 +00:00
network-settings.h test: migrate QNetworkReply test to QRegularExpression 2019-06-10 16:49:19 +02:00