Bug 177516 - unable to open file.eps.gz
Summary: unable to open file.eps.gz
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-11 19:07 UTC by Jan Paral
Modified: 2008-12-12 22:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Paral 2008-12-11 19:07:26 UTC
Version:            (using KDE 4.1.3)
Installed from:    Debian testing/unstable Packages

If I remember correctly kpdf was able to open gzipped postscript files. It is very useful feature since when working with LaTeX documents it is better to store the ps figures packed using gzip since TeX can work with them directly when including into the document.
Comment 1 Pino Toscano 2008-12-11 19:16:37 UTC
> If I remember correctly kpdf was able to open gzipped postscript files.

Nope.

Beside that:
$ okular valgrind_manual.ps
okular(10374)/kdecore (trader) KMimeTypeTrader::query: query for mimeType  "application/postscript" ,  "okular/Generator"  : returning  1  offers
okular(10374)/okular (Spectre) GSGenerator::loadDocument: Page count: 213
...
$ okular valgrind_manual.ps.gz
okular(10446)/kdecore (trader) KMimeTypeTrader::query: query for mimeType  "application/postscript" ,  "okular/Generator"  : returning  1  offers
okular(10446)/okular (Spectre) GSGenerator::loadDocument: Page count: 213

Okular supports PS documents and .gz and .bz2 versions of them.

Are you really sure you can open uncompressed postscript files?
Comment 2 Jan Paral 2008-12-12 21:10:24 UTC
My fault. It was not PS file but EPS (file.eps.gz) file which doesn't open properly.
Okular says: "Can not find the plugin which is able to open the document."
Comment 3 Pino Toscano 2008-12-12 22:44:51 UTC
SVN commit 896220 by pino:

add the compressed versions of eps
BUG: 177516


 M  +1 -1      generators/kimgio/okularApplication_kimgio.desktop  
 M  +1 -1      generators/kimgio/okularKimgio.desktop  
 M  +1 -1      generators/spectre/okularApplication_ghostview.desktop  
 M  +1 -1      generators/spectre/okularGhostview.desktop  
 M  +4 -0      part.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=896220
Comment 4 Pino Toscano 2008-12-12 22:46:14 UTC
SVN commit 896221 by pino:

backport:
add the compressed versions of eps
CCBUG: 177516


 M  +1 -1      generators/kimgio/okularApplication_kimgio.desktop  
 M  +1 -1      generators/kimgio/okularKimgio.desktop  
 M  +1 -1      generators/spectre/okularApplication_ghostview.desktop  
 M  +1 -1      generators/spectre/okularGhostview.desktop  
 M  +4 -0      part.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=896221