diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2019-05-14 17:02:45 +0200 |
---|---|---|
committer | Szabolcs David <davidsz@inf.u-szeged.hu> | 2019-06-04 15:34:48 +0200 |
commit | 7f89badd0e1b71dabb5a88d1330b08ce9d8b6eb7 (patch) | |
tree | cc4f7d878a60127c535804299d19e3e500d505dd /dist | |
parent | 8b848e4aee238edb58dba0ded8d773c8b70392f6 (diff) |
Workaround for CSS orientation issues
Web content can define its orientation for printing using the @page rule
in CSS. This creates some edge cases, for example when the pages are not
uniform and some of them has different orientation than the others.
The current version of desktop Chromium can't handle this perfectly:
sometimes it renders portrait pages to landscape papers by cutting down
the extra parts. This patch makes our result similar to Chromium's -
by ignoring the user's orientation settings in QPrinter.
Task-number: QTBUG-75092
Change-Id: Ifaea69c94b6ee1b6a83609cb15207a58554975f9
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions