| Summary: | eps picture in dvi is not shown when picture path contains non-latin letters | ||
|---|---|---|---|
| Product: | [Applications] okular | Reporter: | oleg motygin <mov222> |
| Component: | DVI backend | Assignee: | Okular developers <okular-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ice-beam |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Unlisted Binaries | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
example of tex-file
example example patch to fix nonlatin eps paths |
||
can you please attach some example files and also write some dir names so we can test with the same conditions you do? Created attachment 41128 [details]
example of tex-file
Created attachment 41129 [details]
example
Created attachment 41130 [details]
example
The directory to check the attached files has to have a non-latin name (for me it is for example Проба). You mean that with a latin name in the directory it works? Meh i should read the bug before commenting, sorry :-/ Created attachment 42268 [details]
patch to fix nonlatin eps paths
I just dropped the QString::toLatin1() conversion on the eps file paths. No idea if this will have any unwanted side effects however.
SVN commit 1107836 by glenkaukola: Fix for the dvi generator issue with .eps files that have non-latin characters in the path. Fix only in KDE > 4.5. BUG: 228551 M +2 -2 psgs.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1107836 *** Bug 241761 has been marked as a duplicate of this bug. *** |
Version: (using KDE 4.3.5) OS: Linux Installed from: Unspecified Linux Okular does not show eps pictures inserted into dvi with \includegraphics{foo.eps} (PS specials) if the full path to the eps-file contains non-latin letters (in my system LANG=ru_RU.UTF-8). When these (dvi and eps) files are moved to a directory with latin path or Okular is invoked with LANG=C, everything works properly. The same problem appears in Kdvi (Kde 3.5.10). Some investigation shows that the temporary ps-file, which Okular produces for rasterizing, contains `?' instead of non-latin letters in the paths to eps-files.