diff --git a/src/autofit/afloader.c b/src/autofit/afloader.c index 3265d79b9..382956f99 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 888699573..532ab1357 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 7c9d312b4..b80708d4d 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 fdf717334..41af6a317 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 7b74296ee..3c39aca6e 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 656444da6..1ee2c1f8c 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 3fb46afdb..ee7d2cc3b 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 648de18bc..b6ada7581 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 1a7a251db..76fb17414 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 63d6bb77d..4cfca4ed0 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 */ /* */ /* */ - /* 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 ce19f7294..ffdc33bd1 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 475fcf68e..8a35e14c4 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 8eb2ff487..08f9dba3d 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 4d2604a10..abe0278a2 100644 --- a/src/sfnt/ttload.c +++ b/src/sfnt/ttload.c @@ -806,8 +806,8 @@ /* tt_face_load_cmap */ /* */ /* */ - /* 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. */ /* */ /* */ /* face :: A handle to the target face object. */ diff --git a/src/sfnt/ttpost.c b/src/sfnt/ttpost.c index 511288e34..1e6163646 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 da722cc41..15e7ab8cd 100644 --- a/src/smooth/ftgrays.c +++ b/src/smooth/ftgrays.c @@ -1359,7 +1359,7 @@ /* decomposition. */ /* */ /* */ - /* 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 c595487f0..7a8611dc3 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 c3ae970d7..0dc2c4f3e 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 f6bcec1ee..bde16d246 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 93c9e01c7..ed56bb46d 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 717ae6138..546fc3353 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 )