document-viewer
document-viewer copied to clipboard
Support for compressed pdfs
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.
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.