0

I have a pdf file which can only be opened with mupdf (both desktop and mobile) I've tried opening the same file with evince, okular, foxit reader and with my kindle paperwhite 2018. I ultimately tried the methods described here (ghostscript, pdftocairo, mutool clean) still no results.

RMPR
  • 141

1 Answers1

2

I've finally found a way to manage this.

  • You'll need mutool (project page)
  • On fedora it's available in the package mupdfyou can install it with the command: sudo dnf install -y mupdf

If you read the manpage, you may think that you need mupdf clean. However, if it doesn't work, what you'll need is mutool convert (documentation)

mutool convert [options] -o output input [pages]

 The 'mutool convert' command converts an input file into another format.

In this specific case:

mutool convert -o output.pdf input.pdf

RMPR
  • 141