[Okular-devel] [okular] [Bug 266739] okular ignores the printer settings

2014-11-28 Thread t_d_l_c
https://bugs.kde.org/show_bug.cgi?id=266739 t_d_...@gmx.de changed: What|Removed |Added CC||t_d_...@gmx.de --- Comment #1 from t_d_...@gmx.

[Okular-devel] [okular] [Bug 266739] okular ignores the printer settings

2014-11-28 Thread t_d_l_c
https://bugs.kde.org/show_bug.cgi?id=266739 --- Comment #2 from t_d_...@gmx.de --- Created attachment 89753 --> https://bugs.kde.org/attachment.cgi?id=89753&action=edit patch, removes only one line -- You are receiving this mail because: You are the assignee for the bug. __

[Okular-devel] [okular] [Bug 266739] okular ignores the printer settings

2014-11-28 Thread t_d_l_c
https://bugs.kde.org/show_bug.cgi?id=266739 --- Comment #3 from t_d_...@gmx.de --- The problem is in QPrinter::Orientation Document::orientation() const in document.cpp. It swaps width and height when there is a rotation of 90/270 defined, but width and height are already swapped in Okular::Page.