diff --git a/README-maintainer.md b/README-maintainer.md index 86043e5..48af25f 100644 --- a/README-maintainer.md +++ b/README-maintainer.md @@ -977,4 +977,4 @@ that clang-format produces several results. (In git this is commit The commits that have the bulk of automatic or mechanical reformatting are listed in .git-blame-ignore-revs. Any new bulk updates should be added there. -[//]: # (cSpell:ignore pikepdfs readthedocsorg .) +[//]: # (cSpell:ignore pikepdfs readthedocsorg dgenerate .) diff --git a/cSpell.json b/cSpell.json index 96877d5..a43908f 100644 --- a/cSpell.json +++ b/cSpell.json @@ -174,6 +174,7 @@ "filenow", "filep", "filetrailer", + "fips", "firstname", "firstterm", "flarp", @@ -568,6 +569,7 @@ "refpage", "refpos", "reimplement", + "remappings", "resampler", "resave", "resourcefinder", @@ -597,6 +599,7 @@ "setargv", "setjmp", "sharedresources", + "sigstore", "singlehtml", "smatch", "softlink", diff --git a/libqpdf/QPDF_encryption.cc b/libqpdf/QPDF_encryption.cc index 7e1e95c..58fd1a1 100644 --- a/libqpdf/QPDF_encryption.cc +++ b/libqpdf/QPDF_encryption.cc @@ -658,6 +658,7 @@ std::string Encryption::compute_Perms_value_V5_clear() const { // From algorithm 3.10 from the PDF 1.7 extension level 3 + // cSpell:ignore Tadb std::string k = " \xff\xff\xff\xffTadb "; int perms = getP(); for (size_t i = 0; i < 4; ++i) { diff --git a/libqpdf/qpdf/QPDF_private.hh b/libqpdf/qpdf/QPDF_private.hh index 58ac61e..b902a4b 100644 --- a/libqpdf/qpdf/QPDF_private.hh +++ b/libqpdf/qpdf/QPDF_private.hh @@ -566,7 +566,7 @@ class QPDF::Doc::Encryption std::string recover_encryption_key_with_password(std::string const& password) const; bool check_owner_password_V4(std::string& user_password, std::string const& owner_password) const; - bool check_owner_password_V5(std::string const& owner_passworda) const; + bool check_owner_password_V5(std::string const& owner_password) const; std::string compute_Perms_value_V5_clear() const; std::string compute_O_rc4_key(std::string const& user_password, std::string const& owner_password) const; diff --git a/libtests/qutil.cc b/libtests/qutil.cc index bb3eac2..e0b5957 100644 --- a/libtests/qutil.cc +++ b/libtests/qutil.cc @@ -371,6 +371,7 @@ check_analyze(std::string const& str, bool has8bit, bool utf8, bool utf16) void explicit_utf8_test() { + // cSpell:ignore xbfnot xbenot assert(QUtil::is_explicit_utf8("\xef\xbb\xbfnot empty")); assert(QUtil::is_explicit_utf8("\xef\xbb\xbf")); assert(!QUtil::is_explicit_utf8("\xef\xbb\xbenot explicit")); diff --git a/manual/design.rst b/manual/design.rst index 4a447a3..0b4684f 100644 --- a/manual/design.rst +++ b/manual/design.rst @@ -56,7 +56,7 @@ unacceptable resource usage, is counter-productive rather than useful. To accommodate the needs of those who use qpdf as a tool for inspecting and investigating PDF files, qpdf version 12.3 introduced a special -``ìnspection mode`` which is enabled using the +``inspection mode`` which is enabled using the ``qpdf::global::options::inspection_mode`` function. In inspection mode, only a very limited set of basic operations is supported and a number of automatic repairs are disabled. Transformations of the input files such as linearizing files, diff --git a/manual/release-notes.rst b/manual/release-notes.rst index 6d043c9..060c161 100644 --- a/manual/release-notes.rst +++ b/manual/release-notes.rst @@ -143,7 +143,7 @@ more detail. - Setting :qpdf:ref:`--compress-streams` to ``n`` or ``QPDFWriter::setCompressStreams(false)`` no longer automatically - causes the outputfile to be decrypted. Set :qpdf:ref:`--decrypt` if this + causes the output file to be decrypted. Set :qpdf:ref:`--decrypt` if this is the intended behaviour. - There has been some refactoring of stream filtering. These are optimized