Commit 3ab25d595b0dcfbcf2974faf526683d795cba1a9

Authored by Jay Berkenbilt
1 parent 4577df4b

Fix doc typos caught by m-holger -- thanks

include/qpdf/QPDFArgParser.hh
... ... @@ -35,7 +35,7 @@
35 35 // crafted to work with qpdf. qpdf's command-line syntax is very
36 36 // complex because of its long history, and it doesn't really follow
37 37 // any kind of normal standard for arguments, but it's important for
38   -// backward compatibility not ensure we don't break what constitutes a
  38 +// backward compatibility to ensure we don't break what constitutes a
39 39 // valid command. This class handles the quirks of qpdf's argument
40 40 // parsing, bash/zsh completion, and support for @argfile to read
41 41 // arguments from a file.
... ...
libqpdf/QPDFJob.cc
... ... @@ -710,7 +710,7 @@ QPDFJob::doCheck(QPDF& pdf)
710 710 cout << "File is not linearized\n";
711 711 }
712 712  
713   - // Write the file no nowhere, uncompressing
  713 + // Write the file to nowhere, uncompressing
714 714 // streams. This causes full file traversal and
715 715 // decoding of all streams we can decode.
716 716 QPDFWriter w(pdf);
... ... @@ -1970,7 +1970,7 @@ QPDFJob::doProcess(
1970 1970 // a password encoded in PDF Doc encoding or Windows code page
1971 1971 // 1252 for an AES-encrypted file or a UTF-8-encoded password on
1972 1972 // an RC4-encrypted file, or if the password was properly encoded
1973   - // by the password given here was incorrectly encoded, there's a
  1973 + // but the password given here was incorrectly encoded, there's a
1974 1974 // good chance we'd succeed here.
1975 1975  
1976 1976 std::string ptemp;
... ... @@ -2754,7 +2754,7 @@ QPDFJob::handlePageSpecs(
2754 2754 // survives through copying to the output but gets cleaned up
2755 2755 // automatically at the end. Do not canonicalize the file
2756 2756 // name. Using two different paths to refer to the same
2757   - // file is a document workaround for duplicating a page.
  2757 + // file is a documented workaround for duplicating a page.
2758 2758 // If you are using this an example of how to do this with
2759 2759 // the API, you can just create two different QPDF objects
2760 2760 // to the same underlying file with the same path to
... ...