2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-03 19:00:51 +00:00

Spell check

This commit is contained in:
Jay Berkenbilt 2020-04-06 11:22:57 -04:00
parent c996f4ac33
commit ce6cee3570
4 changed files with 50 additions and 4 deletions

View File

@ -108,7 +108,7 @@
* If QPDF_EXECUTABLE is set, use it as the path to qpdf for * If QPDF_EXECUTABLE is set, use it as the path to qpdf for
purposes of completion. This variable is only read during the purposes of completion. This variable is only read during the
executation of `qpdf --completion-zsh` and `qpdf execution of `qpdf --completion-zsh` and `qpdf
--completion-bash`. It is not used during the actual evaluation of --completion-bash`. It is not used during the actual evaluation of
completions. completions.

View File

@ -78,7 +78,7 @@ Packagers may set DESTDIR, in which case make install will install inside of DES
Executive summary: manually define -DQPDF_NO_WCHAR_T in your build if you are building on a system without wchar_t. For details, read the rest of this section. Executive summary: manually define -DQPDF_NO_WCHAR_T in your build if you are building on a system without wchar_t. For details, read the rest of this section.
While wchar_t is part of the C++ standard library and should be present on virtually every system, there are some stripped down systems, such as those targetting certain embedded environments, that lack wchar_t. Internally, qpdf uses UTF-8 encoding for everything, so there is nothing important in qpdf's API that uses wchar_t. However, there is a helper method for converting between wchar_t* and char* that uses wchar_t. While wchar_t is part of the C++ standard library and should be present on virtually every system, there are some stripped down systems, such as those targeting certain embedded environments, that lack wchar_t. Internally, qpdf uses UTF-8 encoding for everything, so there is nothing important in qpdf's API that uses wchar_t. However, there is a helper method for converting between wchar_t* and char* that uses wchar_t.
If you are building in an environment that does not support wchar_t, you can define the preprocessor symbol QPDF_NO_WCHAR_T in your build. This will work whether you are building qpdf and need to avoid compiling the code that uses wchar_t or whether you are building client code that uses qpdf. If you are building in an environment that does not support wchar_t, you can define the preprocessor symbol QPDF_NO_WCHAR_T in your build. This will work whether you are building qpdf and need to avoid compiling the code that uses wchar_t or whether you are building client code that uses qpdf.

View File

@ -30,6 +30,7 @@ addArrayElement
addChoicesToCompletions addChoicesToCompletions
addContentTokenFilter addContentTokenFilter
addDictionaryMember addDictionaryMember
adde
addExplicitElementsToList addExplicitElementsToList
addOptionsToCompletions addOptionsToCompletions
addPage addPage
@ -44,6 +45,7 @@ admon
Adobeâ Adobeâ
ae ae
aeadb aeadb
aefd
AEP AEP
aes aes
AESv AESv
@ -157,6 +159,7 @@ argQdf
argRawStreamData argRawStreamData
argRecompressFlate argRecompressFlate
argRemovePageLabels argRemovePageLabels
argRemoveUnreferencedResources
argReplaceInput argReplaceInput
argRequiresPassword argRequiresPassword
argRotate argRotate
@ -196,6 +199,7 @@ ascii
asciiHex asciiHex
ASCIIHexDecode ASCIIHexDecode
ASCIIHexDecoder ASCIIHexDecoder
asdf
asMap asMap
assertArray assertArray
assertBool assertBool
@ -245,6 +249,7 @@ BaseVersion
bashcompinit bashcompinit
bashdefault bashdefault
bb bb
bbb
BBox BBox
bbox bbox
bc bc
@ -269,6 +274,7 @@ BogusRandomDataProvider
boldseq boldseq
bookinfo bookinfo
bool bool
BoringSSL
BORLANDC BORLANDC
bp bp
BPC BPC
@ -355,7 +361,9 @@ CHSomething
ci ci
cin cin
cinfo cinfo
CipherInit
ciphertext ciphertext
CipherUpdate
cis cis
cl cl
classname classname
@ -426,6 +434,7 @@ CryptFilterDecodeParms
CryptGenRandom CryptGenRandom
crypto crypto
cryptolog cryptolog
CryptoRandomDataProvider
CryptReleaseContext CryptReleaseContext
cso cso
csoe csoe
@ -440,6 +449,7 @@ ctest
ctx ctx
ctype ctype
CVE CVE
cwchar
cx cx
cxx cxx
CXXFLAGS CXXFLAGS
@ -447,6 +457,7 @@ cy
cygwin cygwin
da da
daae daae
dac
dae dae
db db
dc dc
@ -510,7 +521,11 @@ didierstevens
diff diff
diffs diffs
diffutils diffutils
DigestFinal
DigestInit
DigestUpdate
DIR DIR
directpagerefcount
dirname dirname
disableCBC disableCBC
disableIncompatibleEncryption disableIncompatibleEncryption
@ -542,6 +557,7 @@ doWrite
doWriteSetup doWriteSetup
Doxygen Doxygen
dp dp
DQPDF
dquote dquote
dr dr
driverless driverless
@ -569,7 +585,9 @@ EarlyChange
eb eb
EBADF EBADF
ebae ebae
ECB ebde
ebra
ecb
ecc ecc
ecedd ecedd
ecks ecks
@ -595,9 +613,11 @@ encodeFile
encodeRow encodeRow
encodeString encodeString
encp encp
EncryptInit
EncryptionData EncryptionData
EncryptionParameters EncryptionParameters
EncryptMetadata EncryptMetadata
EncryptUpdate
endian endian
endianness endianness
endif endif
@ -624,6 +644,7 @@ ep
epub epub
eq eq
ERANGE ERANGE
erasdf
eraseItem eraseItem
Erdelsky's Erdelsky's
errno errno
@ -633,6 +654,7 @@ errptr
esize esize
esses esses
eval eval
evp
exc exc
exe exe
exp exp
@ -678,7 +700,9 @@ Filespec
FILETIME FILETIME
filetrailer filetrailer
filterability filterability
filterAsContents
filterCompressedObjects filterCompressedObjects
filterp
filterPageContents filterPageContents
findAndSkipNextEOL findAndSkipNextEOL
findAttachmentStreams findAttachmentStreams
@ -899,11 +923,14 @@ getPartialName
getPDFVersion getPDFVersion
getPerms getPerms
getPointer getPointer
getProvider
getQPDF getQPDF
getQpdf getQpdf
getQuadding getQuadding
getR getR
getRandomDataProvider getRandomDataProvider
getRandomDataProviderProvider
getRandomProvider
getRawDigest getRawDigest
getRawStreamData getRawStreamData
getRawValue getRawValue
@ -1058,6 +1085,7 @@ ImageInverter
ImageMask ImageMask
ImageOptimizer ImageOptimizer
ImageProvider ImageProvider
immediateCopyFrom
inbuf inbuf
includeIgnorable includeIgnorable
incr incr
@ -1072,6 +1100,7 @@ inflateInit
inflateReset inflateReset
infs infs
ing ing
inheritsresources
init init
initializeByPage initializeByPage
initializeEncryption initializeEncryption
@ -1194,6 +1223,7 @@ keybits
keylen keylen
KEYLENGTH KEYLENGTH
keyset keyset
kgdl
LARGEFILE LARGEFILE
lastnum lastnum
lastreleased lastreleased
@ -1445,6 +1475,7 @@ OBJDIR
objdump objdump
ObjectHelper ObjectHelper
ObjectHolder ObjectHolder
objectinfo
objectStreamsChoices objectStreamsChoices
objectWarning objectWarning
ObjGen ObjGen
@ -1483,6 +1514,7 @@ OpenAction
openObject openObject
opensource opensource
openssl openssl
OpenSSL
optionalParameter optionalParameter
OptionEntry OptionEntry
ord ord
@ -1571,6 +1603,7 @@ pdfs
pdh pdh
pdlin pdlin
pe pe
perf
performant performant
perl perl
persistAcrossFinish persistAcrossFinish
@ -1751,6 +1784,7 @@ qwert
qwww qwww
rand rand
RandomDataProvider RandomDataProvider
RandomDataProviderProvider
randoms randoms
rb rb
rbegin rbegin
@ -1758,6 +1792,7 @@ rc
rcon rcon
RDONLY RDONLY
rdp rdp
rdpp
rdquo rdquo
readArgsFromFile readArgsFromFile
readHGeneric readHGeneric
@ -1798,6 +1833,7 @@ removeKey
removePage removePage
removereplace removereplace
removeUnreferencedResources removeUnreferencedResources
removeUnreferencedResourcesHelper
ren ren
repl repl
replaceDict replaceDict
@ -1841,6 +1877,7 @@ Rkey
RKLENGTH RKLENGTH
rl rl
rm rm
rnd
RNRT RNRT
rollover rollover
rotatePage rotatePage
@ -1869,6 +1906,7 @@ SASLprep
savable savable
scanline scanline
scanlines scanlines
Scarff
sch sch
scp scp
sdk sdk
@ -1936,6 +1974,7 @@ setPipeline
setprecision setprecision
setPreserveEncryption setPreserveEncryption
setPreserveUnreferencedObjects setPreserveUnreferencedObjects
setProvider
setQDFMode setQDFMode
setR setR
setRadioButtonValue setRadioButtonValue
@ -1956,7 +1995,9 @@ sev
sf sf
sha sha
shallowCopy shallowCopy
shallowCopyInternal
shallowCopyPage shallowCopyPage
sharedresources
showLinearizationData showLinearizationData
showXRefTable showXRefTable
sig sig
@ -2044,6 +2085,7 @@ subdictionaries
subdictionary subdictionary
SubFilter SubFilter
SubFilters SubFilters
subkeys
SUBLANG SUBLANG
sublicense sublicense
Submatches Submatches
@ -2054,6 +2096,7 @@ substring
Subtype Subtype
sudo sudo
supp supp
supportsRetry
suppressions suppressions
svg svg
swapObjects swapObjects
@ -2180,9 +2223,11 @@ unparseObject
unparseResolved unparseResolved
unparsing unparsing
unreadCh unreadCh
unref
unreferenced unreferenced
unresolvable unresolvable
unretrieved unretrieved
unsafeShallowCopy
uo uo
upages upages
upass upass
@ -2358,6 +2403,7 @@ yn
yp yp
yscale yscale
yuiop yuiop
YYYY
yyyymmdd yyyymmdd
z's z's
zalloc zalloc

View File

@ -4827,7 +4827,7 @@ static bool should_remove_unreferenced_resources(QPDF& pdf, Options& o)
// in the file for shared resources dictionaries or shared XObject // in the file for shared resources dictionaries or shared XObject
// subkeys of resources dictionaries either on pages or on form // subkeys of resources dictionaries either on pages or on form
// XObjects in pages. If we find any, then there is a higher // XObjects in pages. If we find any, then there is a higher
// likeilihood that the expensive process of finding unreferenced // likelihood that the expensive process of finding unreferenced
// resources is worth it. // resources is worth it.
// Return true as soon as we find any shared resources. // Return true as soon as we find any shared resources.