Bug 277997

Summary: copy and paste text from Qt's license agreement does paste weird characters
Product: [Applications] okular Reporter: Martin Koller <kollix>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 0.12.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Martin Koller 2011-07-18 07:35:13 UTC
Version:           0.12.5 (using KDE 4.6.4) 
OS:                Linux

Viewing this document
http://qt.digia.com/files/pdf/licenses/qt-commercial-license-agreement_FI_Digia.pdf
and using the "Text selection tool" to copy any text, e.g. the first line of the header:
"Qt COMMERCIAL LICENSE AGREEMENT"
and pasting the text somewhere else (e.g. into this bugreport here) shows the following result:
Yƚ KDDZ/ > >/E^ 'ZDEd

Don't know why/what these characters shall be, but it's definitely wrong.
Other PDF documents work.

Reproducible: Always

Steps to Reproduce:
See Details

Actual Results:  
See Details

Expected Results:  
Pasting text I can read

OS: Linux (i686) release 2.6.34.8-0.2-desktop
Compiler: gcc
openSuse 11.3; KDE 4.6.5; 32bit
Comment 1 Albert Astals Cid 2011-07-18 08:55:58 UTC
The PDF is broken, tell Digia to use something that creates better PDF.
Comment 2 Martin Koller 2011-07-18 16:58:21 UTC
OK, I'll do if you tell me in which respect it is broken.

What I find still strange is that obviously okular _can_ detect what is a text character as it displays the content just fine, but fails to put exactly this characters into the clipboard.
Comment 3 Pino Toscano 2011-07-18 17:03:50 UTC
Okular (Poppler, rather) detects nothing, it just renders the graphics of the page (which includes also what you see in form of "text"). The real text information is totally different.