ref: 6e87ed9f04f7914e15f9284b0b762b730222c399
parent: bf24176be59d2e8d1e36e33527747e7eb0ce23d8
author: Werner Lemberg <[email protected]>
date: Fri Jan 26 17:18:56 EST 2007
Spelling fixes from Alexei.
--- 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;
--- 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 , */
/* */
--- 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 )
--- 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++;
--- a/src/gzip/inftrees.c
+++ b/src/gzip/inftrees.c
@@ -131,7 +131,7 @@
uInt z; /* number of entries in current table */
- /* Make comiler happy */
+ /* Make compiler happy */
r.base = 0;
/* Generate counts for each bit length */
--- 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 );
--- 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;
}
}
--- 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 );
--- 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;
--- 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 @@
/* 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! */
--- 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). */
/* */
--- 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 */
--- 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;
--- 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. */
--- 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;
--- 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,
--- 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
--- 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 */
--- 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. */
/* */
/* */
--- 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. */
--- 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 @@
/* 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 )