Bug 131564

Summary: umlauts not correctly exported/searched in pdf- / dvi-files
Product: [Unmaintained] kpdf Reporter: Florian Ehrenthal <dizzinger>
Component: generalAssignee: Albert Astals Cid <aacid>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: latex testcase

Description Florian Ehrenthal 2006-07-31 00:39:38 UTC
Version:            (using KDE KDE 3.5.3)
Installed from:    Gentoo Packages

i noticed that umlaut-containing words cannot be copy & pasted correctly from kpdf.
fire up pdflatex with the "code" below (or if you don't have latex-unicode package convert it to latin1 and try that) and try to search for text "like ü" - it won't match.
try copying a single umlaut, it'll say "Copy 4 letters to clipboard" in the dialog. pasting that into a texteditor will in fact screw up the umlaut into something like '"\n   u'

the same applies to dvi-files (within dvi-viewer), maybe i should be posting another bug for that?

ctrl-c'ing umlaut-containing text results in a 10-second-frozen kpdf; text is screwed up in the way described above.

i guess this applies to every pdf/dvi viewer in kde (okular, kpdf, kviewshell?)
hope to see that fixed.

----testcase.latex----
\documentclass[a4paper,10pt]{article}
\usepackage[utf8x]{inputenc}

\begin{document}
this is a umlaut-test with ä and others like ü or ö.
\end{document}
Comment 1 Florian Ehrenthal 2006-07-31 00:45:49 UTC
Created attachment 17177 [details]
latex testcase

attaching testcase as referenced in bug-description
Comment 2 Albert Astals Cid 2006-07-31 09:00:16 UTC
I bet this is more a pdflatex fault than our fault, Acrobat Reader can not neither copy the text from that file.
Comment 3 Florian Ehrenthal 2006-08-04 12:17:43 UTC
i guess you're right, so that bug should be closed although no solution in sight?
should i be adding another bug against kdvi ("@@a" in clipboard when selecting "ä")?
Comment 4 Albert Astals Cid 2006-08-04 14:12:04 UTC
I would say yes.
Comment 5 Georg Sauthoff 2007-09-29 14:30:07 UTC
Hi, it is not pdflatex fault neither ;).

I fixed your testcase (thus I suggest to close this bug):
\documentclass[a4paper,10pt]{article} 
\usepackage[utf8]{inputenc}
% for umlauts etc. you have to use the right font encoding
\usepackage[T1]{fontenc}
% comment this out to use the EC fonts ... but lmodern is usually
% that what you want
\usepackage{lmodern}
 
\begin{document} 
this is a umlaut-test with ä and others like ü or ö. 
\end{document}
Comment 6 Pino Toscano 2007-11-08 23:46:55 UTC
So, can this bug be closed?
Comment 7 Albert Astals Cid 2010-11-30 00:58:26 UTC
It was never a kpdf bug.