Bug 302634 - When saving as text ligatures are not translated to characters
Summary: When saving as text ligatures are not translated to characters
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: New backend wishes (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-27 13:39 UTC by John Culleton
Modified: 2012-06-27 22:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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