ahmadosama updated this revision to Diff 31856. ahmadosama added a comment.
I used Okular::buildRotationMatrix to rotate the highlights, the rotation angle is specified in the rotateAt function REPOSITORY R223 Okular CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D11901?vs=31291&id=31856 BRANCH HighlightTextBug (branched from master) REVISION DETAIL https://phabricator.kde.org/D11901 AFFECTED FILES core/page.cpp To: ahmadosama, #okular Cc: aacid, ngraham, #okular, michaelweghorn