[Okular-devel] [Bug 236967] New: PDF links broken when filepath or filename contains spaces or accented chars
Valentin Villenave
valentin at villenave.net
Sun May 9 11:27:21 CEST 2010
https://bugs.kde.org/show_bug.cgi?id=236967
Summary: PDF links broken when filepath or filename contains
spaces or accented chars
Product: okular
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: okular-devel at kde.org
ReportedBy: valentin at villenave.net
Version: 0.10.02 (using Devel)
OS: Linux
Installed from: Compiled sources
Greetings,
I looked for a duplicate but couldn't find any; please close if this has
already been reported!
Long story short: external links to a local file are broken in Okular if the
filepath contains accented characters.
Long story long:
GNU LilyPond is a music notation software that generates PDF music scores from
a text file written in a specific syntax. The generated PDFs contain specific
links, so that by clicking on any object (note, etc.) in Okular, a text editor
is opened with the cursor at the exact corresponding point of the source code.
For example, the Frescobaldi editor regroups a Katepart and an Okular component
in the same window; clicking on any note of the PDF places the cursor to the
appropriate location in the source code (see http://frescobaldi.org/screenshots
).
This is handled with textedit:// links to the (local) source file. These links
are UTF-8 encoded (and spaces are encoded as %20), however Okular is unable to
decode accented chars and spaces.
For instance, have a look at the attached PDF on Frescobaldi's bug tracker:
http://code.google.com/p/lilykde/issues/detail?id=33
--
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