Bug 302634

Summary: When saving as text ligatures are not translated to characters
Product: [Applications] okular Reporter: John Culleton <sales>
Component: New backend wishesAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal CC: aacid
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.9.0
Sentry Crash Report:

Description John Culleton 2012-06-27 13:39:27 UTC
I save pdfs as text as part of my indexing technique. Okular works fine except for ligatures. These become question marks. Other pdf viewers are able to translate the ligatures to correct glyph pairs. 

Reproducible: Always

Steps to Reproduce:
1.Save pdf file as text.
2.View text file. 
3.
Actual Results:  
Text is fine except for ligatures. 

Expected Results:  
Ligatures are translated as ?

Broken the ligatures into their component glyphs.
Comment 1 Albert Astals Cid 2012-06-27 16:45:43 UTC
Can you please attach a document reproducing the problem?

Also when you say "Save pdf file as text." what do you exactly mean? Using File->Export?

Thanks for reporting this issue.
Comment 2 Albert Astals Cid 2012-06-27 22:13:37 UTC
Git commit 98a073558ac99b1e7db26e040ab5e4efba036a1d by Albert Astals Cid.
Committed on 28/06/2012 at 00:13.
Pushed by aacid into branch 'master'.

Normalize ligatures on text export too
FIXED-IN: 4.9.0

M  +1    -1    generators/poppler/generator_pdf.cpp

http://commits.kde.org/okular/98a073558ac99b1e7db26e040ab5e4efba036a1d
Comment 3 Albert Astals Cid 2012-06-27 22:13:55 UTC
Git commit 2c3b98a8a7502ffb0a2efa98a326222a1caa9905 by Albert Astals Cid.
Committed on 28/06/2012 at 00:13.
Pushed by aacid into branch 'KDE/4.9'.

Normalize ligatures on text export too
FIXED-IN: 4.9.0
(cherry picked from commit 98a073558ac99b1e7db26e040ab5e4efba036a1d)

M  +1    -1    generators/poppler/generator_pdf.cpp

http://commits.kde.org/okular/2c3b98a8a7502ffb0a2efa98a326222a1caa9905