Skip to content

Commit 642b8f9

Browse files
committed
Fix some typos
Most of them were found by codespell. Signed-off-by: Stefan Weil <[email protected]>
1 parent cad3e7d commit 642b8f9

32 files changed

+68
-68
lines changed

ChangeLog

+10-10
Original file line numberDiff line numberDiff line change
@@ -1849,7 +1849,7 @@
18491849

18501850
* libtiff/tif_jpeg.c: in JPEGFixupTags(), recognize SOF2, SOF9 and SOF10
18511851
markers to avoid emitting a warning (even if, according to the TechNote,
1852-
there are admitedly unusual/not recommended or even forbidden variants, but
1852+
there are admittedly unusual/not recommended or even forbidden variants, but
18531853
they do work well with libjpeg for SOF2, and with libjpeg-turbo for SOF2,
18541854
SOF9 and SOF10).
18551855
Define in_color_space and input_components to the right values in
@@ -2432,7 +2432,7 @@
24322432
2012-05-19 Bob Friesenhahn <[email protected]>
24332433

24342434
* man/TIFFGetField.3tiff: Correct the 'count' field type in the
2435-
example for how to retreive the value of unsupported tags.
2435+
example for how to retrieve the value of unsupported tags.
24362436

24372437
2012-03-30 Frank Warmerdam <[email protected]>
24382438

@@ -3039,7 +3039,7 @@
30393039

30403040
2010-04-21 Frank Warmerdam <[email protected]>
30413041

3042-
* libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime
3042+
* libtiff/tif_jpeg.c: avoid preparing jpeg tables every time
30433043
JPEGSetupEncode() is called if the tables already seem to be
30443044
established. This prevents spurious updates and rewriting of
30453045
directories with jpegtables when doing updates to existing images.
@@ -3371,7 +3371,7 @@
33713371

33723372
* test/common.sh - start verbose mode after common settings.
33733373

3374-
* libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to
3374+
* libtiff/tif_dirinfo.c: Replace lfind() with local equivalent to
33753375
avoid type mismatches on different platforms.
33763376
http://bugzilla.maptools.org/show_bug.cgi?id=1889
33773377

@@ -3518,7 +3518,7 @@
35183518

35193519
* tools/tiffdump.c: When compiling for Microsoft Windows, apply
35203520
consistent (__int64) casting when testing if _lseeki64 has
3521-
successfully seeked as requested. This is necessary for large
3521+
successfully sought as requested. This is necessary for large
35223522
file support to work since off_t is only 32-bit.
35233523

35243524
2008-07-29 Frank Warmerdam <[email protected]>
@@ -4316,7 +4316,7 @@ btiff/tif_win32.c: Replace custom Win32 memory api with generic
43164316
* libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in
43174317
gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour
43184318
on subsampled images - this ought to get sorted when we feel brave
4319-
enough to replace TIFFScanlineSize alltogether
4319+
enough to replace TIFFScanlineSize altogether
43204320

43214321
* libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip
43224322

@@ -4974,7 +4974,7 @@ btiff/tif_win32.c: Replace custom Win32 memory api with generic
49744974

49754975
2005-06-03 Andrey Kiselev <[email protected]>
49764976

4977-
* libtiff/tif_open.c: Replace runtime endianess check with the compile
4977+
* libtiff/tif_open.c: Replace runtime endianness check with the compile
49784978
time one.
49794979

49804980
* libtiff/tif_predict.c: Floating point predictor now works on
@@ -6316,7 +6316,7 @@ btiff/tif_win32.c: Replace custom Win32 memory api with generic
63166316
2003-11-16 Andrey Kiselev <[email protected]>
63176317

63186318
* libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13)
6319-
datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes".
6319+
datatype, introduced in "Adobe PageMaker TIFF Tech. Notes".
63206320

63216321
2003-11-15 Frank Warmerdam <[email protected]>
63226322

@@ -6627,7 +6627,7 @@ btiff/tif_win32.c: Replace custom Win32 memory api with generic
66276627

66286628
* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
66296629
configure, Makefile.in: Improved libtiff compilation with OJPEG
6630-
support. Now no need for patching IJG JPEG library, hack requred by
6630+
support. Now no need for patching IJG JPEG library, hack required by
66316631
libtiff will be compiled and used in-place. Implemented with
66326632
suggestion and help from Bill Allombert, Debian's libjpeg maintainer.
66336633

@@ -7485,7 +7485,7 @@ btiff/tif_win32.c: Replace custom Win32 memory api with generic
74857485
sizes. It fixes two problems:
74867486

74877487
Without scaling (-S) the fax is now centered on the page size specified
7488-
with -H and/or -W. Before, fax2ps was using an obscure and practially
7488+
with -H and/or -W. Before, fax2ps was using an obscure and practically
74897489
useless algorithm to allocate the image relative to Letter sized paper
74907490
which sometime sled to useless whitespace on the paper, while at the
74917491
same time cutting of the faxes printable area at the opposite border.

contrib/iptcutil/iptcutil.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ int sindex(char ch,char *string)
782782
char *cp;
783783
for(cp=string;*cp;++cp)
784784
if(ch==*cp)
785-
return (int)(cp-string); /* return postion of character */
785+
return (int)(cp-string); /* return position of character */
786786
return -1; /* eol ... no match found */
787787
}
788788

contrib/pds/README

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Your ReadRGBA() routine works well for reading many different formats
3030
(TILED, STIP, compressed or not, etc.) of the most basic types of data
3131
(RGB, 8-bit greyscale, 8-bit colormapped) into an SGI-style data array,
3232
and serves as a good template for users with other needs. I used it as
33-
an exmaple of how to make an iterator which, rather than fill a data
33+
an example of how to make an iterator which, rather than fill a data
3434
array, calls an arbitrary user-supplied callback function for each
3535
"chunk" of data - that "chunk" might be a strip or a tile, and might
3636
have one sample-per-pixel or two, and might be 8-bit data or 16-bit or

contrib/pds/tif_imageiter.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ TIFFImageIterBegin(TIFFImageIter* img, TIFF* tif, int stop, char emsg[1024])
114114
TIFFErrorExt(tif->tif_clientdata, TIFFFileName(tif), "Missing required \"Colormap\" tag");
115115
return (0);
116116
}
117-
/* fall thru... */
117+
/* fall through... */
118118
case PHOTOMETRIC_MINISWHITE:
119119
case PHOTOMETRIC_MINISBLACK:
120120
/* This should work now so skip the check - BSR
@@ -181,7 +181,7 @@ TIFFImageIterBegin(TIFFImageIter* img, TIFF* tif, int stop, char emsg[1024])
181181
case ORIENTATION_LEFTBOT: /* XXX */
182182
TIFFWarning(TIFFFileName(tif), "using bottom-left orientation");
183183
img->orientation = ORIENTATION_BOTLEFT;
184-
/* fall thru... */
184+
/* fall through... */
185185
case ORIENTATION_BOTLEFT:
186186
break;
187187
case ORIENTATION_TOPRIGHT:
@@ -190,7 +190,7 @@ TIFFImageIterBegin(TIFFImageIter* img, TIFF* tif, int stop, char emsg[1024])
190190
default:
191191
TIFFWarning(TIFFFileName(tif), "using top-left orientation");
192192
img->orientation = ORIENTATION_TOPLEFT;
193-
/* fall thru... */
193+
/* fall through... */
194194
case ORIENTATION_TOPLEFT:
195195
break;
196196
}

contrib/pds/tif_imageiter.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ struct _TIFFImageIter {
4444
uint16 samplesperpixel; /* image samples/pixel */
4545
uint16 orientation; /* image orientation */
4646
uint16 photometric; /* image photometric interp */
47-
uint16* redcmap; /* colormap pallete */
47+
uint16* redcmap; /* colormap palette */
4848
uint16* greencmap;
4949
uint16* bluecmap;
5050
/* get image data routine */

contrib/pds/tif_pdsdirread.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ TIFFReadPrivateDataSubDirectory(TIFF* tif, toff_t pdir_offset,
192192
* the fields to check type and tag information,
193193
* and to extract info required to size data
194194
* structures. A second pass is made afterwards
195-
* to read in everthing not taken in the first pass.
195+
* to read in everything not taken in the first pass.
196196
*/
197197
td = &tif->tif_dir;
198198

@@ -825,7 +825,7 @@ TIFFFetchNormalSubTag(TIFF* tif, TIFFDirEntry* dp, const TIFFFieldInfo* fip,
825825
break;
826826
}
827827
}
828-
/* fall thru... */
828+
/* fall through... */
829829
case TIFF_LONG:
830830
case TIFF_SLONG:
831831
{ uint32 v32 =

contrib/tags/README

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
NOTE: Sept/2004
33

44
The following described approach to managing tag extensions has been
5-
mostly superceeded since libtiff 3.6.0. The described approach requires
5+
mostly superseded since libtiff 3.6.0. The described approach requires
66
internal knowledge of the libtiff API and tends to be very fragile
77
in the face of libtiff upgrades.
88

contrib/tags/xtif_dir.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ _XTIFFDefaultDirectory(TIFF *tif)
269269
* Install into TIFF structure.
270270
*/
271271
TIFFMEMBER(tif,clientdir) = (tidata_t)xt;
272-
tif->tif_flags |= XTIFF_INITIALIZED; /* dont do this again! */
272+
tif->tif_flags |= XTIFF_INITIALIZED; /* don't do this again! */
273273
}
274274

275275
/* set up our own defaults */

contrib/win_dib/README.tiff2dib

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ it contain the function LoadTIFFinDIB that load
4040
a TIFF file and build a memory DIB with it and return the
4141
HANDLE (HDIB) of the memory bloc containing this DIB.
4242
Since DIB is the "natural" bitmap format for Windows 3.1, 95 and NT,
43-
this function sould be usefull for some Windows 95 (or NT) developer.
43+
this function should be useful for some Windows 95 (or NT) developer.
4444

4545

4646
Sorry for my approximate english ...

contrib/win_dib/Tiffile.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ setorientation(TIFFRGBAImage* img, uint32 h)
360360
case ORIENTATION_LEFTBOT: /* XXX */
361361
TIFFWarning(TIFFFileName(tif), "using bottom-left orientation");
362362
img->orientation = ORIENTATION_BOTLEFT;
363-
/* fall thru... */
363+
/* fall through... */
364364
case ORIENTATION_BOTLEFT:
365365
y = 0;
366366
break;
@@ -370,7 +370,7 @@ setorientation(TIFFRGBAImage* img, uint32 h)
370370
default:
371371
TIFFWarning(TIFFFileName(tif), "using top-left orientation");
372372
img->orientation = ORIENTATION_TOPLEFT;
373-
/* fall thru... */
373+
/* fall through... */
374374
case ORIENTATION_TOPLEFT:
375375
y = h-1;
376376
break;

html/addingtags.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <H1>
1212
</H1>
1313

1414
Libtiff has built-in knowledge of all the standard TIFF tags, as
15-
well as extentions. The following describes how to add knowledge of
15+
well as extensions. The following describes how to add knowledge of
1616
new tags as builtins to libtiff, or how to application specific tags can
1717
be used by applications without modifying libtiff.
1818
<p>
@@ -113,7 +113,7 @@ <h2>Defining Application Tags</h2>
113113
This is done by calling TIFFMergeFieldInfo() with one or more TIFFFieldInfos.
114114
<p>
115115

116-
The libgeotiff library provides geospatial information extentions within
116+
The libgeotiff library provides geospatial information extensions within
117117
a TIFF file. First, a set of TIFFFieldInfo's is prepared with information
118118
on the new tags:<p>
119119

html/bugs.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <H1>
2222
already known by looking at the list of already reported bugs. You can do so
2323
by visiting the buglist at
2424
<A HREF=http://bugzilla.maptools.org/buglist.cgi?product=libtiff>http://bugzilla.maptools.org/buglist.cgi?product=libtiff</A>. Also verify that
25-
the problem is still reproducable with the current development software
25+
the problem is still reproducible with the current development software
2626
from CVS.
2727
<P>
2828
If you'd like to enter a new bug, you can do so at

html/build.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ <h2>Table of Contents</h2>
689689
libtiff/version.h version string (generated by Makefile)
690690
libtiff/tif_apple.c Apple-related OS support
691691
libtiff/tif_atari.c Atari-related OS support
692-
libtiff/tif_aux.c auxilary directory-related functions
692+
libtiff/tif_aux.c auxiliary directory-related functions
693693
libtiff/tif_close.c close an open TIFF file
694694
libtiff/tif_codec.c configuration table of builtin codecs
695695
libtiff/tif_compress.c compression scheme support

html/libtiff.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h2 id="version">How to tell which version you have</h2>
9797
information.
9898
The library include file <tt>&lt;tiffio.h&gt;</tt> contains a C pre-processor
9999
define <tt>TIFFLIB_VERSION</tt> that can be used to check library
100-
version compatiblity at compile time.
100+
version compatibility at compile time.
101101
</p>
102102
<hr>
103103
<h2 id="typedefs">Library Datatypes</h2>

html/man/TIFFReadDirectory.3tiff.html

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

html/man/TIFFWriteDirectory.3tiff.html

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

html/man/TIFFmemory.3tiff.html

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

html/v3.5.3.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
Unisys license to use LZW in free software that complies with the Open
5050
Source Definition</em>
5151
<P>
52-
Unfortunatly, the removal of LZW compression means that saved image size has
52+
Unfortunately, the removal of LZW compression means that saved image size has
5353
grown dramatically. Without a change in the TIFF spec to support
5454
another lossless compression format, this is unavoidable.
5555
<P>

html/v3.5.7.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
sizes. (Bug 35) It fixes two problems:
201201
<br>
202202
Without scaling (-S) the fax is now centered on the page size specified
203-
with -H and/or -W. Before, fax2ps was using an obscure and practially
203+
with -H and/or -W. Before, fax2ps was using an obscure and practically
204204
useless algorithm to allocate the image relative to Letter sized paper
205205
which sometime sled to useless whitespace on the paper, while at the
206206
same time cutting of the faxes printable area at the opposite border.

html/v3.6.0.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ <h3>Custom Tag Support</h3>
6464
software that used the private data structures.<p>
6565

6666
Also, any tag not recognised
67-
by libtiff would not be read and accessable to applications without some
67+
by libtiff would not be read and accessible to applications without some
6868
fairly complicated work on the applications part to pre-register the tags
6969
as exemplified by the support for "Geo"TIFF tags by libgeotiff layered on
7070
libtiff. <p>
7171

72-
Amoung other things this approach required the extension code
72+
Among other things this approach required the extension code
7373
to access the private libtiff structures ... which made the higher level
7474
non-libtiff code be locked into a specific version of libtiff at compile time.
7575
This caused no end of bug reports!<p>

html/v3.6.1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
it was done in 3.6.0).
117117

118118
<li> libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13) datatype,
119-
intruduced in "Adobe PageMaker TIFF Technical Notes".
119+
introduced in "Adobe PageMaker TIFF Technical Notes".
120120

121121
<li> libtiff/{tif_color.c, tif_getimage.c, tiffio.h}: New color space
122122
conversion code: CIE L*a*b* 1976 images now supported by the TIFFRGBAImage

html/v3.7.2.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
<UL>
4848

49-
<li> Maintainance release. Many bugfixes in the build environment
49+
<li> Maintenance release. Many bugfixes in the build environment
5050
and compatibility improvements.
5151

5252
</UL>

html/v3.7.3.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<A NAME="highlights"><B><FONT SIZE=+3>M</FONT>AJOR CHANGES:</B></A>
4646

4747
<UL>
48-
<li> Replace runtime endianess check with the compile time one.
48+
<li> Replace runtime endianness check with the compile time one.
4949

5050
<li> Added support for the new predictor type (floating point
5151
predictor), defined at the TIFF Technical Note 3.

html/v3.9.0.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154

155155
<li> libtiff/tif_getimage.c,tiffio.h: removed all use of
156156
UaToAa and Bitmap16to8 arrays in TIFFRGBAImage structure to
157-
restore ABI compatability. These were just an attempt to
157+
restore ABI compatibility. These were just an attempt to
158158
speed up processing with precalculated tables. <a
159159
href="http://bugzilla.maptools.org/show_bug.cgi?id=1979">http://bugzilla.maptools.org/show_bug.cgi?id=1979</a>
160160

man/TIFFmemory.3tiff

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ C routines:
7777
.IR memcpy ,
7878
and
7979
.IR memcmp ,
80-
repsectively.
80+
respectively.
8181
.SH DIAGNOSTICS
8282
None.
8383
.SH "SEE ALSO"

tiff.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ product tiff
4343
exp "tiff.sw.tools"
4444
endsubsys
4545
subsys dev
46-
id "${TIFF_NAME} Developement Software"
46+
id "${TIFF_NAME} Development Software"
4747
exp "tiff.sw.dev"
4848
endsubsys
4949
endimage

0 commit comments

Comments
 (0)