Bug 325083 - Okular displays SVG files as plain text
Summary: Okular displays SVG files as plain text
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.17.1
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-19 10:31 UTC by m101010a
Modified: 2013-10-01 21:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m101010a 2013-09-19 10:31:58 UTC
When I open an SVG file with "okular file.svg" it shows me the raw XML contained in the file rather than interpreting it as an SVG image.

Reproducible: Always

Steps to Reproduce:
0. Have an svg file
1. Open the file in okular by typing "okular file.svg"
Actual Results:  
Okular displays paginated XML text.

Expected Results:  
Okular displays pretty pictures.
Comment 1 Yuri Chornoivan 2013-09-19 10:58:35 UTC
Okular is not an SVG viewer:

http://okular.kde.org/formats.php

Please use KDE picture viewer (Gwenview) to watch SVG.
Comment 2 Christoph Feck 2013-10-01 21:09:24 UTC
Okular does not render SVG right now, but using an image viewer does not sound like a suitable replacement.

When printing using Gwenview (and possibly other image viewers), it will first convert the SVG to raster data, which degrades the quality of the print-out.

I suggest to re-evaluate this report, and possibly mark it as a wish.

EDIT: I just checked, Gwenview does not even allow SVG to be printed.
Comment 3 Christoph Feck 2013-10-01 21:19:50 UTC
After checking on IRC with okular developers, if SVG support is needed in Okular in the future, please report it separately as a wish for "okular/New backend wishes", stating use case.