That said and celebrated ;), there are things that #Censor is not yet well redacting.
The upstream library #MuPDF (with its #Python bindings in #PyMuPDF) supports by default only redaction of text, vector graphics and images. Testing on a variety of PDF files (thanks to #pypdf, #qpdf, #ghostscript, and their issue reporters, as well as @pdfarranger for their hint) let me discover that some vector graphics are not properly redacted and an upstream issue has been reported for that.
Also, form fields (widgets), signatures and links may be incompletely redacted.
You can find an updated list of “What is redacted? What not?” here: https://codeberg.org/censor/Censor/issues/120

> **Warning** > The following description is **not** valid for Censor until version 0.4.0. I recommend to update to [version 0.5.0](https://codeberg.org/censor/Censor/releases/tag/v0.5.0) for secure redaction. ## Elements under redaction rectangles - [x] Text: - characters are removed when ...
I fixed my issue. This is incredibly dumb. Ubuntu's Apparmor restricted the file extensions ghostscript was able to read. And, lo and behold, both XML and ICC (Color profiles) were not in that list.
This MUST be a bug, now where to report it to?
I learned a thing or two about postscript and ghostscript on the way. Not sure I needed that but here we are.
I'll turn this into a quick blog post.
Learn how to convert man pages to PDF using man -t and ps2pdf. Complete guide with commands for Linux, BSD, and macOS.
Read the full guide here: https://ostechnix.com/print-export-man-pages-pdf-linux-unix/
#Manualpages #manpage #pdf #ps2pdf #Ghostscript #Postscript #mandoc #Linux #Unix #Bsd #Macos #Linuxcommands #Linuxbasics #Linuxhowto #Sysadmin #Linuxadmin