[Okular-devel] [Bug 287781] New: Text selection/copying is broken in the presence of drop-caps

Marijn Kruisselbrink mkruisselbrink at kde.org
Mon Nov 28 19:00:12 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=287781

           Summary: Text selection/copying is broken in the presence of
                    drop-caps
           Product: okular
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: mkruisselbrink at kde.org


Version:           unspecified (using KDE 4.6.5) 
OS:                Linux

When trying to select a paragraph that starts with a drop-cap, the order of
words inside that paragraph is completely messed up in current okular master.
For example try selecting/copying the first paragraph on page 7 of
http://www.nwcg.gov/pms/pubs/442/archive/pms442.pdf and notice how the copied
text has words in the wrong order. I've also tested it in Okular 0.12.5 and
there it is actually slightly better, the text is copied much more in the
correct order there. In that version it then of course completely fails with
the two-column layout of the document, so it seems likely the support for that
caused a regression in handling drop-caps.

Reproducible: Always

Steps to Reproduce:
Open http://www.nwcg.gov/pms/pubs/442/archive/pms442.pdf, go to page 7, using
the Text selection tool select the first paragraph of text ("Land management
[..] training drivers."), copy and paste in some other application.

Actual Results:  
The pasted text has the order of words completely messed up.

Expected Results:  
The words are copied in the order they appear in the document.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list