Commit 37941a351c49ae9da43d3ba37cece73f0a2d770a

Authored by Jay Berkenbilt
1 parent 446e137e

Spell check

README-maintainer.md
@@ -977,4 +977,4 @@ that clang-format produces several results. (In git this is commit @@ -977,4 +977,4 @@ that clang-format produces several results. (In git this is commit
977 The commits that have the bulk of automatic or mechanical reformatting are 977 The commits that have the bulk of automatic or mechanical reformatting are
978 listed in .git-blame-ignore-revs. Any new bulk updates should be added there. 978 listed in .git-blame-ignore-revs. Any new bulk updates should be added there.
979 979
980 -[//]: # (cSpell:ignore pikepdfs readthedocsorg .) 980 +[//]: # (cSpell:ignore pikepdfs readthedocsorg dgenerate .)
cSpell.json
@@ -174,6 +174,7 @@ @@ -174,6 +174,7 @@
174 "filenow", 174 "filenow",
175 "filep", 175 "filep",
176 "filetrailer", 176 "filetrailer",
  177 + "fips",
177 "firstname", 178 "firstname",
178 "firstterm", 179 "firstterm",
179 "flarp", 180 "flarp",
@@ -568,6 +569,7 @@ @@ -568,6 +569,7 @@
568 "refpage", 569 "refpage",
569 "refpos", 570 "refpos",
570 "reimplement", 571 "reimplement",
  572 + "remappings",
571 "resampler", 573 "resampler",
572 "resave", 574 "resave",
573 "resourcefinder", 575 "resourcefinder",
@@ -597,6 +599,7 @@ @@ -597,6 +599,7 @@
597 "setargv", 599 "setargv",
598 "setjmp", 600 "setjmp",
599 "sharedresources", 601 "sharedresources",
  602 + "sigstore",
600 "singlehtml", 603 "singlehtml",
601 "smatch", 604 "smatch",
602 "softlink", 605 "softlink",
libqpdf/QPDF_encryption.cc
@@ -658,6 +658,7 @@ std::string @@ -658,6 +658,7 @@ std::string
658 Encryption::compute_Perms_value_V5_clear() const 658 Encryption::compute_Perms_value_V5_clear() const
659 { 659 {
660 // From algorithm 3.10 from the PDF 1.7 extension level 3 660 // From algorithm 3.10 from the PDF 1.7 extension level 3
  661 + // cSpell:ignore Tadb
661 std::string k = " \xff\xff\xff\xffTadb "; 662 std::string k = " \xff\xff\xff\xffTadb ";
662 int perms = getP(); 663 int perms = getP();
663 for (size_t i = 0; i < 4; ++i) { 664 for (size_t i = 0; i < 4; ++i) {
libqpdf/qpdf/QPDF_private.hh
@@ -566,7 +566,7 @@ class QPDF::Doc::Encryption @@ -566,7 +566,7 @@ class QPDF::Doc::Encryption
566 std::string recover_encryption_key_with_password(std::string const& password) const; 566 std::string recover_encryption_key_with_password(std::string const& password) const;
567 bool 567 bool
568 check_owner_password_V4(std::string& user_password, std::string const& owner_password) const; 568 check_owner_password_V4(std::string& user_password, std::string const& owner_password) const;
569 - bool check_owner_password_V5(std::string const& owner_passworda) const; 569 + bool check_owner_password_V5(std::string const& owner_password) const;
570 std::string compute_Perms_value_V5_clear() const; 570 std::string compute_Perms_value_V5_clear() const;
571 std::string 571 std::string
572 compute_O_rc4_key(std::string const& user_password, std::string const& owner_password) const; 572 compute_O_rc4_key(std::string const& user_password, std::string const& owner_password) const;
libtests/qutil.cc
@@ -371,6 +371,7 @@ check_analyze(std::string const&amp; str, bool has8bit, bool utf8, bool utf16) @@ -371,6 +371,7 @@ check_analyze(std::string const&amp; str, bool has8bit, bool utf8, bool utf16)
371 void 371 void
372 explicit_utf8_test() 372 explicit_utf8_test()
373 { 373 {
  374 + // cSpell:ignore xbfnot xbenot
374 assert(QUtil::is_explicit_utf8("\xef\xbb\xbfnot empty")); 375 assert(QUtil::is_explicit_utf8("\xef\xbb\xbfnot empty"));
375 assert(QUtil::is_explicit_utf8("\xef\xbb\xbf")); 376 assert(QUtil::is_explicit_utf8("\xef\xbb\xbf"));
376 assert(!QUtil::is_explicit_utf8("\xef\xbb\xbenot explicit")); 377 assert(!QUtil::is_explicit_utf8("\xef\xbb\xbenot explicit"));
manual/design.rst
@@ -56,7 +56,7 @@ unacceptable resource usage, is counter-productive rather than useful. @@ -56,7 +56,7 @@ unacceptable resource usage, is counter-productive rather than useful.
56 56
57 To accommodate the needs of those who use qpdf as a tool for inspecting and 57 To accommodate the needs of those who use qpdf as a tool for inspecting and
58 investigating PDF files, qpdf version 12.3 introduced a special 58 investigating PDF files, qpdf version 12.3 introduced a special
59 -``ìnspection mode`` which is enabled using the 59 +``inspection mode`` which is enabled using the
60 ``qpdf::global::options::inspection_mode`` function. In inspection mode, only a 60 ``qpdf::global::options::inspection_mode`` function. In inspection mode, only a
61 very limited set of basic operations is supported and a number of automatic 61 very limited set of basic operations is supported and a number of automatic
62 repairs are disabled. Transformations of the input files such as linearizing files, 62 repairs are disabled. Transformations of the input files such as linearizing files,
manual/release-notes.rst
@@ -143,7 +143,7 @@ more detail. @@ -143,7 +143,7 @@ more detail.
143 143
144 - Setting :qpdf:ref:`--compress-streams` to ``n`` or 144 - Setting :qpdf:ref:`--compress-streams` to ``n`` or
145 ``QPDFWriter::setCompressStreams(false)`` no longer automatically 145 ``QPDFWriter::setCompressStreams(false)`` no longer automatically
146 - causes the outputfile to be decrypted. Set :qpdf:ref:`--decrypt` if this 146 + causes the output file to be decrypted. Set :qpdf:ref:`--decrypt` if this
147 is the intended behaviour. 147 is the intended behaviour.
148 148
149 - There has been some refactoring of stream filtering. These are optimized 149 - There has been some refactoring of stream filtering. These are optimized