aacid added a comment.
In D11901#241751 <https://phabricator.kde.org/D11901#241751>, @ahmadosama wrote: > I tried rotating using ( const QTransform matrix = rotationMatrix() ) but it only works when rotating a page from its original orientation, this is why I modified the RotationJob::rotationMatrix in a way similar to Okular::buildRotationMatrix to allow rotating from different orientations. So you mean that the rects in m_page->m_rects are not being rotated correctly either? REPOSITORY R223 Okular REVISION DETAIL https://phabricator.kde.org/D11901 To: ahmadosama, #okular Cc: aacid, ngraham, #okular, michaelweghorn