Summary: | postscript is shown as text | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | kadlecf |
Component: | PS backend | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | normal | CC: | luigi.toscano |
Priority: | NOR | ||
Version: | 1.8.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
See Also: | https://bugzilla.opensuse.org/show_bug.cgi?id=1122797 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
kadlecf
2019-08-29 07:45:17 UTC
Are libspectre and the okular/spectre backend available in the okular package? I remember openSUSE maintainers talking about removing part of ghostscript for security concerns, please also try to ask on opensuse channels. (In reply to Luigi Toscano from comment #1) > Are libspectre and the okular/spectre backend available in the okular > package? I remember openSUSE maintainers talking about removing part of > ghostscript for security concerns, please also try to ask on opensuse > channels. I think they are. In the package manager (yast), I can see the following: libspectre1 - Library for Rendering PostScript Documents Version: 0.2.8-2.15 Installed: 0.2.8-2.15 Size: 84.4 KiB Media No.: 0 License: GPL-2.0+ Package Group: Development/Libraries/C and C++ Source Package: libspectre-0.2.8-2.15 That's just libspectre, but was Okular compiled with libspectre support? You should see a generator (a library) inside the okular package (okularGenerator_ghostview.so) . For example, for an x86_64/amd64 system the files should be available under: - Debian/Ubuntu: /usr/lib/x86_64-linux-gnu/qt5/plugins/okular/generators - Fedora: /usr/lib64/qt5/plugins/okular/generators (In reply to Luigi Toscano from comment #3) > That's just libspectre, but was Okular compiled with libspectre support? > > You should see a generator (a library) inside the okular package > (okularGenerator_ghostview.so) > . > For example, for an x86_64/amd64 system the files should be available under: > > - Debian/Ubuntu: /usr/lib/x86_64-linux-gnu/qt5/plugins/okular/generators > - Fedora: /usr/lib64/qt5/plugins/okular/generators Not quite sure. Maybe this output helps: localhost:/usr/lib64 # ls -1 qt5/plugins/okular/generators/ okularGenerator_chmlib.so okularGenerator_comicbook.so okularGenerator_djvu.so okularGenerator_doc_calligra.so okularGenerator_docx_calligra.so okularGenerator_dvi.so okularGenerator_epub.so okularGenerator_fax.so okularGenerator_fb.so okularGenerator_kimgio.so okularGenerator_md.so okularGenerator_mobi.so okularGenerator_odp_calligra.so okularGenerator_odt_calligra.so okularGenerator_ooo.so okularGenerator_plucker.so okularGenerator_poppler.so okularGenerator_powerpoint_calligra.so okularGenerator_pptx_calligra.so okularGenerator_rtf_calligra.so okularGenerator_tiff.so okularGenerator_txt.so okularGenerator_wpd_calligra.so okularGenerator_xps.so It seems that Ghostscript support has been split out from Okular in openSUSE and it may removed any time soon: https://bugzilla.opensuse.org/show_bug.cgi?id=1122797 It's available as a separate package (okular-spectre, https://software.opensuse.org/package/okular-spectre) right now, but it may disappear. You may want to discuss with the openSUSE maintainers. |