2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-01-31 02:48:31 +00:00

Fix spelling errors

This commit is contained in:
Jay Berkenbilt 2012-07-29 14:32:54 -04:00
parent bde98044f4
commit 32051283b9
14 changed files with 1234 additions and 27 deletions

4
README
View File

@ -16,7 +16,7 @@ Prerequisites
QPDF depends on external libraries "zlib" and "pcre". These are part
of virtually all Linux distributions and are readily available;
download information appears in the documentation. For Windows, you
can download pre-built binary verisons of those libraries for some
can download pre-built binary versions of those libraries for some
compilers; see README-windows.txt for additional details.
QPDF requires a C++ compiler that works with STL. Your compiler must
@ -72,7 +72,7 @@ Building on Windows
QPDF is known to build and pass its test suite with mingw (latest
version tested: gcc 4.6.2), mingw64 (latest version tested: 4.7.0) and
Microsoft Visual C++ 2010, both 32-bit and 64-bit versions. MSYS plus
ActivateState Perl is required to build as well in order to get make
ActiveState Perl is required to build as well in order to get make
and other related tools. See README-windows.txt for details on how to
build under Windows, see README-windows.txt.

View File

@ -7,7 +7,7 @@ download.
* qpdf-<version>-bin-mingw32.zip
If you just want to use the qpdf commandline program or use the
If you just want to use the qpdf command line program or use the
qpdf DLL's C-language interface, you can download this file. You
can also download this version if you are using MINGW's gcc 4.4 and
want to program using the C++ interface.

View File

@ -25,7 +25,7 @@ Make sure perl --version shows ActiveState perl.
To install MinGW-w64, first install msys and mingw32 as above.
From MinGW-w64 download page, go to "Toolchains targetting
From MinGW-w64 download page, go to "Toolchains targeting
Win64/Automated Builds" and find the latest mingw-w64 that runs under
i686-mingw. It will be called something like
mingw-w64-bin_i686-mingw_yyyymmdd.zip. The compiler binaries are
@ -55,8 +55,8 @@ There are packages called external-libs-bin.zip and
external-libs-src.zip. If you are building with MSVC 2010 or MINGW,
you can just extract the qpdf-external-libs-bin.zip zip file into the
top-level qpdf source tree. Note that you need the 2012-06-20 version
(at least) to build qpdf 3.0 or greater since this incldues 64-bit
libaries. It will create a directory called external-libs which
(at least) to build qpdf 3.0 or greater since this includes 64-bit
libraries. It will create a directory called external-libs which
contains header files and precompiled libraries. Passing
--enable-external-libs to ./configure (which is done automatically if
you follow the instructions below) is sufficient to find them.
@ -83,7 +83,7 @@ Building with MinGW
QPDF is known to build and pass its test suite with mingw (latest
version tested: gcc 4.6.2), mingw64 (latest version tested: 4.7.0) and
Microsoft Visual C++ 2010, both 32-bit and 64-bit versions. MSYS plus
ActivateState Perl is required to build as well in order to get make
ActiveState Perl is required to build as well in order to get make
and other related tools. While it is possible that Cygwin could be
used to build native Windows versions of qpdf, this configuration has
not been tested recently.

View File

@ -5,7 +5,7 @@ Release Reminders
image comparison tests (--enable-test-compare-images
--with-large-file-test-path=/path). For a major release, consider
running a spelling checker over the source code to catch errors in
variable names, strings, and comments.
variable names, strings, and comments. Use ispell -p ispell-words.
* Consider running tests with latest gcc and/or valgrind. To do
this, replace, build with debugging and without shared libraries.
@ -101,7 +101,7 @@ Release Reminders
git tag -s release-qpdf-$version HEAD -m'qpdf $version'
* When releasing on source forge, external-libs distributions go in
* When releasing on sourceforge, external-libs distributions go in
external-libs/yyyymmdd, and qpdf distributions go in qpdf/vvv

6
TODO
View File

@ -96,8 +96,8 @@ Index: QPDFWriter.cc
------------------------------
* Handle embedded files. PDF Reference 1.7 section 3.10, "File
Specifications", discusses this. Once we can definitely recongize
all embedded files in a docucment, we can update the encryption
Specifications", discusses this. Once we can definitely recognize
all embedded files in a document, we can update the encryption
code to handle it properly. In QPDF_encryption.cc, search for
cf_file. Remove exception thrown if cf_file is different from
cf_stream, and write code in the stream decryption section to use
@ -171,5 +171,5 @@ Index: QPDFWriter.cc
providing some mechanism to recover earlier versions of a file
embedded prior to appended sections.
* From a suggestion in bug 3152169, consisder having an option to
* From a suggestion in bug 3152169, consider having an option to
re-encode inline images with an ASCII encoding.

View File

@ -173,7 +173,7 @@ class QPDFObjectHandle
// of the data buffer. If additional keys are required, the
// stream's dictionary may be retrieved by calling getDict(), and
// the resulting dictionary may be modified. This method is just
// a convient wrapper around the newStream() and
// a convenient wrapper around the newStream() and
// replaceStreamData(). It is a convenience methods for streams
// that require no parameters beyond the stream length. Note that
// you don't have to deal with compression yourself if you use

1207
ispell-words Normal file

File diff suppressed because it is too large Load Diff

View File

@ -151,7 +151,7 @@ QPDF::insertPageobjToPage(QPDFObjectHandle const& obj, int pos,
void
QPDF::insertPage(QPDFObjectHandle newpage, int pos)
{
// pos is numbered from 0, so pos = 0 inserts at the begining and
// pos is numbered from 0, so pos = 0 inserts at the beginning and
// pos = npages adds to the end.
flattenPagesTree();

View File

@ -1,4 +1,4 @@
// Include qpdf-config.h first so off_t is gauaranteed to have the right size.
// Include qpdf-config.h first so off_t is guaranteed to have the right size.
#include <qpdf/qpdf-config.h>
#include <qpdf/QUtil.hh>

View File

@ -1083,7 +1083,7 @@ outfile.pdf</option>
<option>--normalize-content=y</option> is also given, qpdf will
attempt to normalize the stream data as if it is a page content
stream. This attempt will be made even if it is not a page
content stream, in which case it will produce unusuable results.
content stream, in which case it will produce unusable results.
</para>
</sect1>
</chapter>
@ -2861,7 +2861,7 @@ print "\n";
On Windows, it is possible to build a DLL. Additionally, a
partial C-language API has been introduced, which makes it
possible to call qpdf functions from non-C++ environments. I
am very grateful to Zarko Gagic (<ulink
am very grateful to <!-- Žarko Gajić --> Zarko Gagic (<ulink
url="http://delphi.about.com/">http://delphi.about.com/</ulink>)
for tirelessly testing numerous pre-release versions of this
DLL and providing many excellent suggestions on improving the

View File

@ -350,7 +350,7 @@ static void test16(char const* infile,
print_info("/Producer");
print_info("/Creator");
qpdf_set_info_key(qpdf, "/Author", "Mr. Potato Head");
qpdf_set_info_key(qpdf, "/Producer", "QPDF libary");
qpdf_set_info_key(qpdf, "/Producer", "QPDF library");
qpdf_set_info_key(qpdf, "/Creator", 0);
print_info("/Author");
print_info("/Producer");

View File

@ -4,7 +4,7 @@
<< /Pages 3 0 R /Type /Catalog >>
endobj
2 0 obj
<< /Author (Mr. Potato Head) /Producer (QPDF libary) >>
<< /Author (Mr. Potato Head) /Producer (QPDF library) >>
endobj
3 0 obj
<< /Count 1 /Kids [ 4 0 R ] /Type /Pages >>
@ -33,12 +33,12 @@ xref
0000000000 65535 f
0000000015 00000 n
0000000064 00000 n
0000000135 00000 n
0000000194 00000 n
0000000337 00000 n
0000000430 00000 n
0000000537 00000 n
0000000136 00000 n
0000000195 00000 n
0000000338 00000 n
0000000431 00000 n
0000000538 00000 n
trailer << /Info 2 0 R /Root 1 0 R /Size 8 /ID [<31415926535897932384626433832795><31415926535897932384626433832795>] >>
startxref
567
568
%%EOF

View File

@ -2,5 +2,5 @@ Info key /Author: (null)
Info key /Producer: (null)
Info key /Creator: (null)
Info key /Author: Mr. Potato Head
Info key /Producer: QPDF libary
Info key /Producer: QPDF library
Info key /Creator: (null)

View File

@ -2,5 +2,5 @@ Info key /Author: Someone Else
Info key /Producer: Something Else
Info key /Creator: A. Nony Mous
Info key /Author: Mr. Potato Head
Info key /Producer: QPDF libary
Info key /Producer: QPDF library
Info key /Creator: (null)