document-viewer icon indicating copy to clipboard operation
document-viewer copied to clipboard

Support for compressed pdfs

Open censlin opened this issue 9 years ago • 1 comments

Wikipedia lists internet media types application/x-gzpdf and application/x-bzpdf for pdfs that have been compressed with gzip and bzip2. Some document viewers (like evince) also have support for xz, which make sense since it is the superior algorithm. Would it be possible to add support for this? The underlaying pdf-library might already have support for compression. If that is the case, it should bebe a matter of just accepting different file extensions.

censlin avatar Feb 13 '17 11:02 censlin

mupdf (our pdf library) doesn't seem to support any compression methods wrapping the pdf, so unfortunately it won't be a one-line change.

ericwa avatar Feb 13 '17 21:02 ericwa