-
...when flattening annotations. This includes /Link, /Popup, and /Projection.
-
Rather than adding yet another flag that is almost never useful on its own, just have --remove-restrictions disable digital signatures. The operations are still separate in the API.
-
Positional arguments are supported in a backward-compatible way, but completion no longer guides users to it.
-
JSON accepts scientific notation, but PDF doesn't.
-
If /AP is a dictionary of streams rather than a dictionary of dictionaries, disregard /AS, which is supposed to point to a subkey of one of the dictionaries. This fix prevents qpdf's annotation flattening from discarding some annotations when /AS is erroneously set.
-
Lazily load MD5 and RC4 once in the life of the program. Only load the legacy provider if RC4 is actually being used.