https://bugs.kde.org/show_bug.cgi?id=491459
Bug ID: 491459 Summary: Rotated pdf page: Highlighter and Text extractor fail Classification: Applications Product: okular Version: 23.08.1 Platform: Other OS: Microsoft Windows Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: okular-de...@kde.org Reporter: leo.m...@syonic.eu Target Milestone: --- Created attachment 172420 --> https://bugs.kde.org/attachment.cgi?id=172420&action=edit PDF document (zipped) with rotated page Highlighter and Text extractor fail on rotated pdf-pages SUMMARY Some pdf documents include rotated pages (see attached pdf-file). The Highlighter tool fails to properly highlight the corresponding text. The text selection tool (including the Area selector) fail to properly select the corresponding text. Rotating clockwise does not correct the errors. STEPS TO REPRODUCE 1. Open attached pdf file 2. Go to page 7, which is rotated 3.a. Select highlighter and try to highlight e.g. "Homo sapiens" 3.b. Select "Text selection" and try to copy the first peptide sequence ("KEFSEV...") 3.c. Select the "Area selection" and try to copy the same first sequence 4. Repeat the steps with the page rotated clockwise OBSERVED RESULT 3.a. The highlighting is very wrong and very annoying. 3.b. Nothing useful is selected 3.c. If the area is narrow enough, then something usable can be selected. However, the text is rebersed! "V Y K E L D Q I R G E V E S F E K " => should be "KEFSEV..." Note: MS Edge is actually able to select the proper text: "KEFSEVEGRIQDLEKYV", even without rotating the page! EXPECTED RESULT Highlighter should highlight the proper line. Text selection should select line by line. SOFTWARE/OS VERSIONS Windows: 10 ADDITIONAL INFORMATION Is partly related to: https://bugs.kde.org/show_bug.cgi?id=334297 - but that bug does not mention the Text selection; - the page in this bug is also slightly more complex; -- You are receiving this mail because: You are watching all bug changes.