Spelling fixes from Alexei.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410
diff --git a/src/autofit/afloader.c b/src/autofit/afloader.c
index 3265d79..382956f 100644
--- a/src/autofit/afloader.c
+++ b/src/autofit/afloader.c
@@ -170,7 +170,7 @@
metrics );
/* we now need to hint the metrics according to the change in */
- /* width/positioning that occured during the hinting process */
+ /* width/positioning that occurred during the hinting process */
if ( scaler->render_mode != FT_RENDER_MODE_LIGHT )
{
FT_Pos old_advance, old_rsb, old_lsb, new_lsb;
diff --git a/src/base/ftbbox.c b/src/base/ftbbox.c
index 8886995..532ab13 100644
--- a/src/base/ftbbox.c
+++ b/src/base/ftbbox.c
@@ -4,7 +4,7 @@
/* */
/* FreeType bbox computation (body). */
/* */
-/* Copyright 1996-2001, 2002, 2004 by */
+/* Copyright 1996-2001, 2002, 2004, 2006 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used */
@@ -303,7 +303,7 @@
FT_UNUSED ( y4 );
- /* The polynom is */
+ /* The polynomial is */
/* */
/* P(x) = a*x^3 + 3b*x^2 + 3c*x + d , */
/* */
diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c
index 7c9d312..b80708d 100644
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -2460,7 +2460,7 @@
if ( pixel_height < 1 )
pixel_height = 1;
- /* use `>=' to avoid potention compiler warning on 16bit platforms */
+ /* use `>=' to avoid potential compiler warning on 16bit platforms */
if ( pixel_width >= 0xFFFFU )
pixel_width = 0xFFFFU;
if ( pixel_height >= 0xFFFFU )
diff --git a/src/cff/cffparse.c b/src/cff/cffparse.c
index fdf7173..41af6a3 100644
--- a/src/cff/cffparse.c
+++ b/src/cff/cffparse.c
@@ -4,7 +4,7 @@
/* */
/* CFF token stream parser (body) */
/* */
-/* Copyright 1996-2001, 2002, 2003, 2004 by */
+/* Copyright 1996-2001, 2002, 2003, 2004, 2007 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -159,7 +159,7 @@
for (;;)
{
/* If we entered this iteration with phase == 4, we need to */
- /* read a new byte. This also skips past the intial 0x1E. */
+ /* read a new byte. This also skips past the initial 0x1E. */
if ( phase )
{
p++;
diff --git a/src/gzip/inftrees.c b/src/gzip/inftrees.c
index 7b74296..3c39aca 100644
--- a/src/gzip/inftrees.c
+++ b/src/gzip/inftrees.c
@@ -131,7 +131,7 @@ uIntf *v /* working area: values in order of bit length */
uInt z; /* number of entries in current table */
- /* Make comiler happy */
+ /* Make compiler happy */
r.base = 0;
/* Generate counts for each bit length */
diff --git a/src/pfr/pfrload.c b/src/pfr/pfrload.c
index 656444d..1ee2c1f 100644
--- a/src/pfr/pfrload.c
+++ b/src/pfr/pfrload.c
@@ -4,7 +4,7 @@
/* */
/* FreeType PFR loader (body). */
/* */
-/* Copyright 2002, 2003, 2004, 2005 by */
+/* Copyright 2002, 2003, 2004, 2005, 2007 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -743,7 +743,7 @@
phy_font->bbox.yMax = PFR_NEXT_SHORT( p );
phy_font->flags = flags = PFR_NEXT_BYTE( p );
- /* get the standard advance for non-proprotional fonts */
+ /* get the standard advance for non-proportional fonts */
if ( !(flags & PFR_PHY_PROPORTIONAL) )
{
PFR_CHECK( 2 );
diff --git a/src/psaux/psobjs.c b/src/psaux/psobjs.c
index 3fb46af..ee7d2cc 100644
--- a/src/psaux/psobjs.c
+++ b/src/psaux/psobjs.c
@@ -4,7 +4,7 @@
/* */
/* Auxiliary functions for PostScript fonts (body). */
/* */
-/* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006 by */
+/* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006, 2007 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -1173,7 +1173,7 @@
break;
default:
- /* an error occured */
+ /* an error occurred */
goto Fail;
}
}
diff --git a/src/pshinter/pshrec.c b/src/pshinter/pshrec.c
index 648de18..b6ada75 100644
--- a/src/pshinter/pshrec.c
+++ b/src/pshinter/pshrec.c
@@ -4,7 +4,7 @@
/* */
/* FreeType PostScript hints recorder (body). */
/* */
-/* Copyright 2001, 2002, 2003, 2004 by */
+/* Copyright 2001, 2002, 2003, 2004, 2007 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -730,7 +730,7 @@
break;
}
- /* creat a new counter when needed */
+ /* create a new counter when needed */
if ( count == 0 )
{
error = ps_mask_table_alloc( &dim->counters, memory, &counter );
diff --git a/src/psnames/psmodule.c b/src/psnames/psmodule.c
index 1a7a251..76fb174 100644
--- a/src/psnames/psmodule.c
+++ b/src/psnames/psmodule.c
@@ -4,7 +4,7 @@
/* */
/* PSNames module implementation (body). */
/* */
-/* Copyright 1996-2001, 2002, 2003, 2005, 2006 by */
+/* Copyright 1996-2001, 2002, 2003, 2005, 2006, 2007 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -97,7 +97,7 @@
}
/* If the name begins with `u', followed by four to six uppercase */
- /* hexadicimal digits, it is a hard-coded unicode character code. */
+ /* hexadecimal digits, it is a hard-coded unicode character code. */
if ( glyph_name[0] == 'u' )
{
FT_Int count;
diff --git a/src/raster/ftraster.c b/src/raster/ftraster.c
index 63d6bb7..4cfca4e 100644
--- a/src/raster/ftraster.c
+++ b/src/raster/ftraster.c
@@ -126,7 +126,7 @@
/* optimize performance (see technical note on the sweep below). */
/* */
/* Of course, the raster detects whether the two stacks collide and */
- /* handles the situation propertly. */
+ /* handles the situation properly. */
/* */
/*************************************************************************/
@@ -486,7 +486,7 @@
Byte dropOutControl; /* current drop_out control method */
- Bool second_pass; /* indicates wether a horizontal pass */
+ Bool second_pass; /* indicates whether a horizontal pass */
/* should be performed to control */
/* drop-out accurately when calling */
/* Render_Glyph. Note that there is */
@@ -1646,7 +1646,7 @@ static const char count_table[256] =
/* Decompose_Curve */
/* */
/* <Description> */
- /* Scans the outline arays in order to emit individual segments and */
+ /* Scans the outline arrays in order to emit individual segments and */
/* Beziers by calling Line_To() and Bezier_To(). It handles all */
/* weird cases, like when the first point is off the curve, or when */
/* there are simply no `on' points in the contour! */
diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c
index ce19f72..ffdc33b 100644
--- a/src/sfnt/sfobjs.c
+++ b/src/sfnt/sfobjs.c
@@ -828,7 +828,7 @@
/* - otherwise, the correct typographic values are in the */
/* sTypoAscender, sTypoDescender & sTypoLineGap fields. */
/* */
- /* However, certains fonts have these fields set to 0. */
+ /* However, certain fonts have these fields set to 0. */
/* Rather, they have usWinAscent & usWinDescent correctly */
/* set (but with different values). */
/* */
diff --git a/src/sfnt/ttcmap.c b/src/sfnt/ttcmap.c
index 475fcf6..8a35e14 100644
--- a/src/sfnt/ttcmap.c
+++ b/src/sfnt/ttcmap.c
@@ -1528,7 +1528,7 @@
/* NAME OFFSET TYPE DESCRIPTION */
/* */
/* format 0 USHORT must be 8 */
- /* reseved 2 USHORT reserved */
+ /* reserved 2 USHORT reserved */
/* length 4 ULONG length in bytes */
/* language 8 ULONG Mac language code */
/* is32 12 BYTE[8192] 32-bitness bitmap */
diff --git a/src/sfnt/ttkern.c b/src/sfnt/ttkern.c
index 8eb2ff4..08f9dba 100644
--- a/src/sfnt/ttkern.c
+++ b/src/sfnt/ttkern.c
@@ -275,7 +275,7 @@
goto NextTable;
Found:
- if ( coverage & 8 ) /* overide or add */
+ if ( coverage & 8 ) /* override or add */
result = value;
else
result += value;
diff --git a/src/sfnt/ttload.c b/src/sfnt/ttload.c
index 4d2604a..abe0278 100644
--- a/src/sfnt/ttload.c
+++ b/src/sfnt/ttload.c
@@ -806,8 +806,8 @@
/* tt_face_load_cmap */
/* */
/* <Description> */
- /* Loads the cmap directory in a face object. The cmaps itselves are */
- /* loaded on demand in the `ttcmap.c' module. */
+ /* Loads the cmap directory in a face object. The cmaps themselves */
+ /* are loaded on demand in the `ttcmap.c' module. */
/* */
/* <Input> */
/* face :: A handle to the target face object. */
diff --git a/src/sfnt/ttpost.c b/src/sfnt/ttpost.c
index 511288e..1e61636 100644
--- a/src/sfnt/ttpost.c
+++ b/src/sfnt/ttpost.c
@@ -5,7 +5,7 @@
/* Postcript name table processing for TrueType and OpenType fonts */
/* (body). */
/* */
-/* Copyright 1996-2001, 2002, 2003, 2006 by */
+/* Copyright 1996-2001, 2002, 2003, 2006, 2007 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -240,7 +240,7 @@
}
}
- /* all right, set table fields and exit successfuly */
+ /* all right, set table fields and exit successfully */
{
TT_Post_20 table = &face->postscript_names.names.format_20;
@@ -314,7 +314,7 @@
}
}
- /* OK, set table fields and exit successfuly */
+ /* OK, set table fields and exit successfully */
{
TT_Post_25 table = &face->postscript_names.names.format_25;
diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c
index da722cc..15e7ab8 100644
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -1359,7 +1359,7 @@
/* decomposition. */
/* */
/* <Return> */
- /* Error code. 0 means sucess. */
+ /* Error code. 0 means success. */
/* */
static
int FT_Outline_Decompose( const FT_Outline* outline,
diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c
index c595487..7a8611d 100644
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -616,7 +616,7 @@
translate_array( zone->n_points, zone->cur, origin, 0 );
#ifdef TT_USE_BYTECODE_INTERPRETER
- /* save original point positioin in org */
+ /* save original point position in org */
if ( n_ins > 0 )
FT_ARRAY_COPY( zone->org, zone->cur, zone->n_points );
#endif
diff --git a/src/truetype/ttgxvar.c b/src/truetype/ttgxvar.c
index c3ae970..0dc2c4f 100644
--- a/src/truetype/ttgxvar.c
+++ b/src/truetype/ttgxvar.c
@@ -4,7 +4,7 @@
/* */
/* TrueType GX Font Variation loader */
/* */
-/* Copyright 2004, 2005, 2006 by */
+/* Copyright 2004, 2005, 2006, 2007 by */
/* David Turner, Robert Wilhelm, Werner Lemberg, and George Williams. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -22,7 +22,7 @@
/* */
/* http://developer.apple.com/fonts/TTRefMan/RM06/Chap6[fgca]var.html */
/* */
-/* The documentation for `fvar' is inconsistant. At one point it says */
+/* The documentation for `fvar' is inconsistent. At one point it says */
/* that `countSizePairs' should be 3, at another point 2. It should be 2. */
/* */
/* The documentation for `gvar' is not intelligible; `cvar' refers you to */
diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c
index f6bcec1..bde16d2 100644
--- a/src/truetype/ttinterp.c
+++ b/src/truetype/ttinterp.c
@@ -53,7 +53,7 @@
/* */
/* In order to detect infinite loops in the code, we set up a counter */
/* within the run loop. A single stroke of interpretation is now */
- /* limitet to a maximal number of opcodes defined below. */
+ /* limited to a maximal number of opcodes defined below. */
/* */
#define MAX_RUNNABLE_OPCODES 1000000L
@@ -140,7 +140,7 @@
/*************************************************************************/
/* */
/* The following macros hide the use of EXEC_ARG and EXEC_ARG_ to */
- /* increase readabilty of the code. */
+ /* increase readability of the code. */
/* */
/*************************************************************************/
@@ -4319,7 +4319,7 @@
/* Exit the current call frame. */
- /* NOTE: If the last intruction of a program is a */
+ /* NOTE: If the last instruction of a program is a */
/* CALL or LOOPCALL, the return address is */
/* always out of the code range. This is a */
/* valid address, and it is why we do not test */
@@ -7078,7 +7078,7 @@
/* - After executing one single opcode, if the flag `Instruction_Trap' */
/* is set to TRUE (returns TRUE). */
/* */
- /* On exit whith TRUE, test IP < CodeSize to know wether it comes from */
+ /* On exit with TRUE, test IP < CodeSize to know whether it comes from */
/* an instruction trap or a normal termination. */
/* */
/* */
diff --git a/src/type1/t1load.c b/src/type1/t1load.c
index 93c9e01..ed56bb4 100644
--- a/src/type1/t1load.c
+++ b/src/type1/t1load.c
@@ -1885,7 +1885,7 @@
/* Font Installation for ATM Software) a `begin' */
/* must be followed by exactly one `end', and */
/* `begin' -- `end' pairs must be accurately */
- /* paired. We could use this to dinstinguish */
+ /* paired. We could use this to distinguish */
/* between the global Private and the Private */
/* dict that is a member of the Blend dict. */
diff --git a/src/type1/t1load.h b/src/type1/t1load.h
index 717ae61..546fc33 100644
--- a/src/type1/t1load.h
+++ b/src/type1/t1load.h
@@ -4,7 +4,7 @@
/* */
/* Type 1 font loader (specification). */
/* */
-/* Copyright 1996-2001, 2002, 2004, 2006 by */
+/* Copyright 1996-2001, 2002, 2004, 2006, 2007 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -54,7 +54,7 @@ FT_BEGIN_HEADER
/* treatment of some keywords differs depending on whether */
- /* they preceed or follow certain other keywords */
+ /* they precede or follow certain other keywords */
#define T1_PRIVATE ( 1 << 0 )
#define T1_FONTDIR_AFTER_PRIVATE ( 1 << 1 )