Bug 490153 - Display zstd compressed postscript files (*.ps.zst) similar to gzip compressed ones *.ps.gz)
Summary: Display zstd compressed postscript files (*.ps.zst) similar to gzip compresse...
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: PS backend (show other bugs)
Version: unspecified
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2024-07-12 07:00 UTC by G.Z.E
Modified: 2024-08-18 11:07 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 G.Z.E 2024-07-12 07:00:23 UTC
SUMMARY
Display zstd compressed postscript files (*.ps.zst) similar to gzip compressed ones *.ps.gz)

STEPS TO REPRODUCE
1. zstd compress and gzip compress a postscipt file
2. open the .ps.gz file
3. open the .ps.zst file

OBSERVED RESULT
Only the .ps.gz is displayed.
Zstd offers far better compression rates with a trained dictionary on relevant postscript samples

EXPECTED RESULT
.ps.zst

SOFTWARE/OS VERSIONS
pretty much independent.

ADDITIONAL INFORMATION
I hope the dependency to zstd library, available with BSD license is not triggering legal problems.
Comment 1 Bug Janitor Service 2024-08-17 19:02:09 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/1044
Comment 2 Albert Astals Cid 2024-08-18 11:07:29 UTC
Git commit 32511aef1b95339ae179f947c7050e8c2b956272 by Albert Astals Cid, on behalf of Antonio Gorga.
Committed on 18/08/2024 at 11:07.
Pushed by aacid into branch 'master'.

Add support for zstd-compressed files.

M  +10   -0    part/part.cpp

https://invent.kde.org/graphics/okular/-/commit/32511aef1b95339ae179f947c7050e8c2b956272