mirror of https://github.com/freetype/freetype
Typos.
This commit is contained in:
parent
34207080c6
commit
e85422606d
|
@ -3754,7 +3754,7 @@ BETA-8 (RELEASE CANDIDATE) CHANGES
|
|||
automatically when needed.
|
||||
|
||||
- Reformatted all modules source code in order to get rid of the
|
||||
basic data types redifinitions (i.e. `TT_Int' instead of `FT_Int',
|
||||
basic data types redefinitions (i.e. `TT_Int' instead of `FT_Int',
|
||||
`T1_Fixed' instead of `FT_Fixed'). Hence the format-specific
|
||||
prefixes like `TT_', `T1_', `T2_' and `CID_' are only used for
|
||||
relevant structures.
|
||||
|
|
|
@ -2339,9 +2339,9 @@ FT_BEGIN_HEADER
|
|||
/* used to determine both scaling values. */
|
||||
/* */
|
||||
/* FT_SIZE_REQUEST_TYPE_REAL_DIM :: */
|
||||
/* The real dimension. The sum of the the `ascender' and (minus */
|
||||
/* of) the `descender' fields of @FT_FaceRec are used to determine */
|
||||
/* both scaling values. */
|
||||
/* The real dimension. The sum of the `ascender' and (minus of) */
|
||||
/* the `descender' fields of @FT_FaceRec are used to determine both */
|
||||
/* scaling values. */
|
||||
/* */
|
||||
/* FT_SIZE_REQUEST_TYPE_BBOX :: */
|
||||
/* The font bounding box. The width and height of the `bbox' field */
|
||||
|
|
|
@ -117,11 +117,11 @@ FT_BEGIN_HEADER
|
|||
*
|
||||
* @inout:
|
||||
* output_len ::
|
||||
* Before calling the function, this is the the total size of the
|
||||
* output buffer, which must be large enough to hold the entire
|
||||
* uncompressed data (so the size of the uncompressed data must be
|
||||
* known in advance). After calling the function, `output_len' is the
|
||||
* size of the used data in `output'.
|
||||
* Before calling the function, this is the total size of the output
|
||||
* buffer, which must be large enough to hold the entire uncompressed
|
||||
* data (so the size of the uncompressed data must be known in
|
||||
* advance). After calling the function, `output_len' is the size of
|
||||
* the used data in `output'.
|
||||
*
|
||||
* @return:
|
||||
* FreeType error code. 0~means success.
|
||||
|
|
|
@ -65,8 +65,8 @@
|
|||
// values; this essentially means that the maximum values can easily be too
|
||||
// large. Given that the purpose of those values is to create local
|
||||
// fixed-size arrays at compile time for further processing of the blue zone
|
||||
// data, this isn't a problem. Note the the final zero byte of a string is
|
||||
// not counted. Note also that the count holds the number of UTF-8 encoded
|
||||
// data, this isn't a problem. Note the final zero byte of a string is not
|
||||
// counted. Note also that the count holds the number of UTF-8 encoded
|
||||
// characters, not bytes.
|
||||
|
||||
|
||||
|
|
|
@ -52,10 +52,10 @@
|
|||
#undef META_STYLE_LATIN
|
||||
#define META_STYLE_LATIN( s, S, ds ) \
|
||||
STYLE_LATIN( s, S, c2cp, C2CP, ds, \
|
||||
"petite capticals from capitals", \
|
||||
"petite capitals from capitals", \
|
||||
PETITE_CAPITALS_FROM_CAPITALS ) \
|
||||
STYLE_LATIN( s, S, c2sc, C2SC, ds, \
|
||||
"small capticals from capitals", \
|
||||
"small capitals from capitals", \
|
||||
SMALL_CAPITALS_FROM_CAPITALS ) \
|
||||
STYLE_LATIN( s, S, ordn, ORDN, ds, \
|
||||
"ordinals", \
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
* Its main feature is the ability to differentiate between different
|
||||
* writing systems and scripts in order to apply specific rules.
|
||||
*
|
||||
* The code has also been compartmentized into several entities that
|
||||
* The code has also been compartmentalized into several entities that
|
||||
* should make algorithmic experimentation easier than with the old
|
||||
* code.
|
||||
*
|
||||
|
|
|
@ -1418,7 +1418,7 @@
|
|||
|
||||
/* Type 1 and CID-keyed font drivers should recognize sfnt-wrapped */
|
||||
/* format too. Here, since we can't expect that the TrueType font */
|
||||
/* driver is loaded unconditially, we must parse the font by */
|
||||
/* driver is loaded unconditionally, we must parse the font by */
|
||||
/* ourselves. We are only interested in the name of the table and */
|
||||
/* the offset. */
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@ FT_BEGIN_HEADER
|
|||
* Upon a function call if the error code is anything other than
|
||||
* `FT_Err_Ok', which is guaranteed to be zero, we
|
||||
* will return without altering that error. This will allow the
|
||||
* error to propogate and be handled at the appropriate location in
|
||||
* error to propagate and be handled at the appropriate location in
|
||||
* the code.
|
||||
*
|
||||
* This allows a style of code where the error code is initialized
|
||||
|
|
|
@ -220,7 +220,7 @@ FT_BEGIN_HEADER
|
|||
|
||||
/* character space miter limit threshold */
|
||||
CF2_Fixed miterLimit;
|
||||
/* vertical/horzizontal snap distance in character space */
|
||||
/* vertical/horizontal snap distance in character space */
|
||||
CF2_Fixed snapThreshold;
|
||||
|
||||
FT_Vector offsetStart0; /* first and second points of first */
|
||||
|
|
|
@ -876,8 +876,8 @@
|
|||
FT_UShort glyph_sid;
|
||||
|
||||
|
||||
/* If the the offset is greater than 2, we have to parse the */
|
||||
/* charset table. */
|
||||
/* If the offset is greater than 2, we have to parse the charset */
|
||||
/* table. */
|
||||
if ( offset > 2 )
|
||||
{
|
||||
FT_UInt j;
|
||||
|
|
|
@ -114,7 +114,7 @@
|
|||
+------ lcar --------------------+
|
||||
| |
|
||||
| +===============+ |
|
||||
| | looup header | |
|
||||
| | lookup header | |
|
||||
| +===============+ |
|
||||
| | BinSrchHeader | |
|
||||
| +===============+ |
|
||||
|
|
|
@ -779,7 +779,7 @@
|
|||
* It turns out though that minimizing the total number of lit
|
||||
* pixels is also important, so position C), with one edge
|
||||
* aligned with a pixel boundary is actually preferable
|
||||
* to A). There are also more possibile positions for C) than
|
||||
* to A). There are also more possible positions for C) than
|
||||
* for A) or B), so it involves less distortion of the overall
|
||||
* character shape.
|
||||
*/
|
||||
|
@ -802,7 +802,7 @@
|
|||
}
|
||||
|
||||
/* We choose between B) and C) above based on the amount
|
||||
* of fractinal stem width; for small amounts, choose
|
||||
* of fractional stem width; for small amounts, choose
|
||||
* C) always, for large amounts, B) always, and inbetween,
|
||||
* pick whichever one involves less stem movement.
|
||||
*/
|
||||
|
|
|
@ -1561,7 +1561,7 @@
|
|||
static FT_Short
|
||||
GetShortIns( TT_ExecContext exc )
|
||||
{
|
||||
/* Reading a byte stream so there is no endianess (DaveP) */
|
||||
/* Reading a byte stream so there is no endianness (DaveP) */
|
||||
exc->IP += 2;
|
||||
return (FT_Short)( ( exc->code[exc->IP - 2] << 8 ) +
|
||||
exc->code[exc->IP - 1] );
|
||||
|
|
|
@ -1096,7 +1096,7 @@ $ type/out=vmslib.dat sys$input
|
|||
!
|
||||
ZLIB # sys$library:libz.olb # sys$library: # zlib.h # FT_CONFIG_OPTION_SYSTEM_ZLIB
|
||||
$ write sys$output "New driver file vmslib.dat created."
|
||||
$ write sys$output "Please customize libary locations for your site"
|
||||
$ write sys$output "Please customize library locations for your site"
|
||||
$ write sys$output "and afterwards re-execute ''myproc'"
|
||||
$ goto err_exit
|
||||
$ endif
|
||||
|
|
Loading…
Reference in New Issue