s/this is,/that is,/
This commit is contained in:
parent
7ab541a28b
commit
cfe54d6ac3
|
@ -2424,7 +2424,7 @@ CHANGES BETWEEN 2.3.8 and 2.3.7
|
||||||
is provided for x86 and ARM. See FT_CONFIG_OPTION_INLINE_MULFIX
|
is provided for x86 and ARM. See FT_CONFIG_OPTION_INLINE_MULFIX
|
||||||
and FT_CONFIG_OPTION_NO_ASSEMBLER (in ftoption.h) for more.
|
and FT_CONFIG_OPTION_NO_ASSEMBLER (in ftoption.h) for more.
|
||||||
|
|
||||||
- The handling of `tricky' fonts (this is, fonts which don't work
|
- The handling of `tricky' fonts (that is, fonts which don't work
|
||||||
with the autohinter, needing the font format's hinting engine)
|
with the autohinter, needing the font format's hinting engine)
|
||||||
has been generalized and changed slightly:
|
has been generalized and changed slightly:
|
||||||
|
|
||||||
|
@ -2881,7 +2881,7 @@ CHANGES BETWEEN 2.2 and 2.1.10
|
||||||
|
|
||||||
II. IMPORTANT CHANGES
|
II. IMPORTANT CHANGES
|
||||||
|
|
||||||
- Version 2.2 no longer exposes its internals, this is, the header
|
- Version 2.2 no longer exposes its internals, that is, the header
|
||||||
files located in the `include/freetype/internal' directory of
|
files located in the `include/freetype/internal' directory of
|
||||||
the source package are not copied anymore by the `make install'
|
the source package are not copied anymore by the `make install'
|
||||||
command. Consequently, a number of rogue clients which directly
|
command. Consequently, a number of rogue clients which directly
|
||||||
|
|
|
@ -57,7 +57,7 @@ Notes
|
||||||
(`*') in the table below.
|
(`*') in the table below.
|
||||||
|
|
||||||
FreeType can be configured to support Mac files (on older Mac OS
|
FreeType can be configured to support Mac files (on older Mac OS
|
||||||
versions, a `file' is stored as a data and a resource fork, this is,
|
versions, a `file' is stored as a data and a resource fork, that is,
|
||||||
within two separate data chunks). If a file can't be opened as a
|
within two separate data chunks). If a file can't be opened as a
|
||||||
font, FreeType then checks whether it is a resource fork, trying to
|
font, FreeType then checks whether it is a resource fork, trying to
|
||||||
extract the contained font data from either a `POST' or `sfnt'
|
extract the contained font data from either a `POST' or `sfnt'
|
||||||
|
|
|
@ -918,7 +918,7 @@ FT_BEGIN_HEADER
|
||||||
* If we have the third named instance of face~4, say, `face_index` is
|
* If we have the third named instance of face~4, say, `face_index` is
|
||||||
* set to 0x00030004.
|
* set to 0x00030004.
|
||||||
*
|
*
|
||||||
* Bit 31 is always zero (this is, `face_index` is always a positive
|
* Bit 31 is always zero (that is, `face_index` is always a positive
|
||||||
* value).
|
* value).
|
||||||
*
|
*
|
||||||
* [Since 2.9] Changing the design coordinates with
|
* [Since 2.9] Changing the design coordinates with
|
||||||
|
@ -936,7 +936,7 @@ FT_BEGIN_HEADER
|
||||||
*
|
*
|
||||||
* [Since 2.6.1] Bits 16-30 hold the number of named instances
|
* [Since 2.6.1] Bits 16-30 hold the number of named instances
|
||||||
* available for the current face if we have a GX or OpenType variation
|
* available for the current face if we have a GX or OpenType variation
|
||||||
* (sub)font. Bit 31 is always zero (this is, `style_flags` is always
|
* (sub)font. Bit 31 is always zero (that is, `style_flags` is always
|
||||||
* a positive value). Note that a variation font has always at least
|
* a positive value). Note that a variation font has always at least
|
||||||
* one named instance, namely the default instance.
|
* one named instance, namely the default instance.
|
||||||
*
|
*
|
||||||
|
@ -1205,13 +1205,13 @@ FT_BEGIN_HEADER
|
||||||
* successfully; in all other cases you get an
|
* successfully; in all other cases you get an
|
||||||
* `FT_Err_Invalid_Argument` error.
|
* `FT_Err_Invalid_Argument` error.
|
||||||
*
|
*
|
||||||
* Note that CID-keyed fonts that are in an SFNT wrapper (this is, all
|
* Note that CID-keyed fonts that are in an SFNT wrapper (that is, all
|
||||||
* OpenType/CFF fonts) don't have this flag set since the glyphs are
|
* OpenType/CFF fonts) don't have this flag set since the glyphs are
|
||||||
* accessed in the normal way (using contiguous indices); the
|
* accessed in the normal way (using contiguous indices); the
|
||||||
* 'CID-ness' isn't visible to the application.
|
* 'CID-ness' isn't visible to the application.
|
||||||
*
|
*
|
||||||
* FT_FACE_FLAG_TRICKY ::
|
* FT_FACE_FLAG_TRICKY ::
|
||||||
* The face is 'tricky', this is, it always needs the font format's
|
* The face is 'tricky', that is, it always needs the font format's
|
||||||
* native hinting engine to get a reasonable result. A typical example
|
* native hinting engine to get a reasonable result. A typical example
|
||||||
* is the old Chinese font `mingli.ttf` (but not `mingliu.ttc`) that
|
* is the old Chinese font `mingli.ttf` (but not `mingliu.ttc`) that
|
||||||
* uses TrueType bytecode instructions to move and scale all of its
|
* uses TrueType bytecode instructions to move and scale all of its
|
||||||
|
@ -2449,7 +2449,7 @@ FT_BEGIN_HEADER
|
||||||
* Each new face object created with this function also owns a default
|
* Each new face object created with this function also owns a default
|
||||||
* @FT_Size object, accessible as `face->size`.
|
* @FT_Size object, accessible as `face->size`.
|
||||||
*
|
*
|
||||||
* One @FT_Library instance can have multiple face objects, this is,
|
* One @FT_Library instance can have multiple face objects, that is,
|
||||||
* @FT_Open_Face and its siblings can be called multiple times using the
|
* @FT_Open_Face and its siblings can be called multiple times using the
|
||||||
* same `library` argument.
|
* same `library` argument.
|
||||||
*
|
*
|
||||||
|
@ -2677,7 +2677,7 @@ FT_BEGIN_HEADER
|
||||||
* silently uses outlines if there is no bitmap for a given glyph index.
|
* silently uses outlines if there is no bitmap for a given glyph index.
|
||||||
*
|
*
|
||||||
* For GX and OpenType variation fonts, a bitmap strike makes sense only
|
* For GX and OpenType variation fonts, a bitmap strike makes sense only
|
||||||
* if the default instance is active (this is, no glyph variation takes
|
* if the default instance is active (that is, no glyph variation takes
|
||||||
* place); otherwise, FreeType simply ignores bitmap strikes. The same
|
* place); otherwise, FreeType simply ignores bitmap strikes. The same
|
||||||
* is true for all named instances that are different from the default
|
* is true for all named instances that are different from the default
|
||||||
* instance.
|
* instance.
|
||||||
|
@ -2974,7 +2974,7 @@ FT_BEGIN_HEADER
|
||||||
* glyph may be transformed. See @FT_Set_Transform for the details.
|
* glyph may be transformed. See @FT_Set_Transform for the details.
|
||||||
*
|
*
|
||||||
* For subsetted CID-keyed fonts, `FT_Err_Invalid_Argument` is returned
|
* For subsetted CID-keyed fonts, `FT_Err_Invalid_Argument` is returned
|
||||||
* for invalid CID values (this is, for CID values that don't have a
|
* for invalid CID values (that is, for CID values that don't have a
|
||||||
* corresponding glyph in the font). See the discussion of the
|
* corresponding glyph in the font). See the discussion of the
|
||||||
* @FT_FACE_FLAG_CID_KEYED flag for more details.
|
* @FT_FACE_FLAG_CID_KEYED flag for more details.
|
||||||
*
|
*
|
||||||
|
|
|
@ -134,7 +134,7 @@ FT_BEGIN_HEADER
|
||||||
* each being rounded to the nearest pixel edge, taking care of overshoot
|
* each being rounded to the nearest pixel edge, taking care of overshoot
|
||||||
* suppression at small sizes, stem darkening, and scaling.
|
* suppression at small sizes, stem darkening, and scaling.
|
||||||
*
|
*
|
||||||
* Hstems (this is, hint values defined in the font to help align
|
* Hstems (that is, hint values defined in the font to help align
|
||||||
* horizontal features) that fall within a blue zone are said to be
|
* horizontal features) that fall within a blue zone are said to be
|
||||||
* 'captured' and are aligned to that zone. Uncaptured stems are moved
|
* 'captured' and are aligned to that zone. Uncaptured stems are moved
|
||||||
* in one of four ways, top edge up or down, bottom edge up or down.
|
* in one of four ways, top edge up or down, bottom edge up or down.
|
||||||
|
@ -446,7 +446,7 @@ FT_BEGIN_HEADER
|
||||||
* at smaller sizes.
|
* at smaller sizes.
|
||||||
*
|
*
|
||||||
* For the auto-hinter, stem-darkening is experimental currently and thus
|
* For the auto-hinter, stem-darkening is experimental currently and thus
|
||||||
* switched off by default (this is, `no-stem-darkening` is set to TRUE
|
* switched off by default (that is, `no-stem-darkening` is set to TRUE
|
||||||
* by default). Total consistency with the CFF driver is not achieved
|
* by default). Total consistency with the CFF driver is not achieved
|
||||||
* right now because the emboldening method differs and glyphs must be
|
* right now because the emboldening method differs and glyphs must be
|
||||||
* scaled down on the Y-axis to keep outline points inside their
|
* scaled down on the Y-axis to keep outline points inside their
|
||||||
|
|
|
@ -862,7 +862,7 @@ FT_BEGIN_HEADER
|
||||||
* @FT_SpanFunc that takes the y~coordinate of the span as a parameter.
|
* @FT_SpanFunc that takes the y~coordinate of the span as a parameter.
|
||||||
*
|
*
|
||||||
* The anti-aliased rasterizer produces coverage values from 0 to 255,
|
* The anti-aliased rasterizer produces coverage values from 0 to 255,
|
||||||
* this is, from completely transparent to completely opaque.
|
* that is, from completely transparent to completely opaque.
|
||||||
*/
|
*/
|
||||||
typedef struct FT_Span_
|
typedef struct FT_Span_
|
||||||
{
|
{
|
||||||
|
|
|
@ -118,7 +118,7 @@ FT_BEGIN_HEADER
|
||||||
* attachement.
|
* attachement.
|
||||||
*
|
*
|
||||||
* Similarly, the function returns success for an empty outline also
|
* Similarly, the function returns success for an empty outline also
|
||||||
* (doing nothing, this is, not calling any emitter); if necessary, you
|
* (doing nothing, that is, not calling any emitter); if necessary, you
|
||||||
* should filter this out, too.
|
* should filter this out, too.
|
||||||
*/
|
*/
|
||||||
FT_EXPORT( FT_Error )
|
FT_EXPORT( FT_Error )
|
||||||
|
|
|
@ -89,7 +89,7 @@ AF_BLUE_STRING_ENUM AF_BLUE_STRINGS_ARRAY AF_BLUE_STRING_MAX_LEN:
|
||||||
"ت ث ط ظ ك"
|
"ت ث ط ظ ك"
|
||||||
// We don't necessarily have access to medial forms via Unicode in case
|
// We don't necessarily have access to medial forms via Unicode in case
|
||||||
// Arabic presentational forms are missing. The only character that is
|
// Arabic presentational forms are missing. The only character that is
|
||||||
// guaranteed to have the same vertical position with joining (this is,
|
// guaranteed to have the same vertical position with joining (that is,
|
||||||
// non-isolated) forms is U+0640, ARABIC TATWEEL, which must join both
|
// non-isolated) forms is U+0640, ARABIC TATWEEL, which must join both
|
||||||
// round and flat curves.
|
// round and flat curves.
|
||||||
AF_BLUE_STRING_ARABIC_JOIN
|
AF_BLUE_STRING_ARABIC_JOIN
|
||||||
|
|
|
@ -2038,7 +2038,7 @@
|
||||||
max = seg2->max_coord;
|
max = seg2->max_coord;
|
||||||
|
|
||||||
/* compute maximum coordinate difference of the two segments */
|
/* compute maximum coordinate difference of the two segments */
|
||||||
/* (this is, how much they overlap) */
|
/* (that is, how much they overlap) */
|
||||||
len = max - min;
|
len = max - min;
|
||||||
if ( len >= len_threshold )
|
if ( len >= len_threshold )
|
||||||
{
|
{
|
||||||
|
|
|
@ -258,7 +258,7 @@
|
||||||
/*
|
/*
|
||||||
* We now check whether we can construct blue zones, using glyphs
|
* We now check whether we can construct blue zones, using glyphs
|
||||||
* covered by the feature only. In case there is not a single zone
|
* covered by the feature only. In case there is not a single zone
|
||||||
* (this is, not a single character is covered), we skip this coverage.
|
* (that is, not a single character is covered), we skip this coverage.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
if ( style_class->coverage != AF_COVERAGE_DEFAULT )
|
if ( style_class->coverage != AF_COVERAGE_DEFAULT )
|
||||||
|
@ -313,9 +313,9 @@
|
||||||
* hinted and usually rendered glyph.
|
* hinted and usually rendered glyph.
|
||||||
*
|
*
|
||||||
* Consider the superscript feature of font `pala.ttf': Some of the
|
* Consider the superscript feature of font `pala.ttf': Some of the
|
||||||
* glyphs are `real', this is, they have a zero vertical offset, but
|
* glyphs are `real', that is, they have a zero vertical offset, but
|
||||||
* most of them are small caps glyphs shifted up to the superscript
|
* most of them are small caps glyphs shifted up to the superscript
|
||||||
* position (this is, the `sups' feature is present in both the GSUB and
|
* position (that is, the `sups' feature is present in both the GSUB and
|
||||||
* GPOS tables). The code for blue zones computation actually uses a
|
* GPOS tables). The code for blue zones computation actually uses a
|
||||||
* feature's y offset so that the `real' glyphs get correct hints. But
|
* feature's y offset so that the `real' glyphs get correct hints. But
|
||||||
* later on it is impossible to decide whether a glyph index belongs to,
|
* later on it is impossible to decide whether a glyph index belongs to,
|
||||||
|
|
|
@ -1061,7 +1061,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* This approach has the advantage that the angle between */
|
/* This approach has the advantage that the angle between */
|
||||||
/* `in' and `out' is not checked. In case one of the two */
|
/* `in' and `out' is not checked. In case one of the two */
|
||||||
/* vectors is `dominant', this is, much larger than the */
|
/* vectors is `dominant', that is, much larger than the */
|
||||||
/* other vector, we thus always have a flat corner. */
|
/* other vector, we thus always have a flat corner. */
|
||||||
/* */
|
/* */
|
||||||
/* hypotenuse */
|
/* hypotenuse */
|
||||||
|
|
|
@ -206,7 +206,7 @@
|
||||||
* The number of bytes to read from the stream.
|
* The number of bytes to read from the stream.
|
||||||
*
|
*
|
||||||
* @Return:
|
* @Return:
|
||||||
* The number of bytes actually read. If `count' is zero (this is,
|
* The number of bytes actually read. If `count' is zero (that is,
|
||||||
* the function is used for seeking), a non-zero return value
|
* the function is used for seeking), a non-zero return value
|
||||||
* indicates an error.
|
* indicates an error.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -400,7 +400,7 @@
|
||||||
|
|
||||||
/* Allocate a table containing pointers to an index's elements. */
|
/* Allocate a table containing pointers to an index's elements. */
|
||||||
/* The `pool' argument makes this function convert the index */
|
/* The `pool' argument makes this function convert the index */
|
||||||
/* entries to C-style strings (this is, null-terminated). */
|
/* entries to C-style strings (that is, null-terminated). */
|
||||||
static FT_Error
|
static FT_Error
|
||||||
cff_index_get_pointers( CFF_Index idx,
|
cff_index_get_pointers( CFF_Index idx,
|
||||||
FT_Byte*** table,
|
FT_Byte*** table,
|
||||||
|
|
|
@ -622,7 +622,7 @@
|
||||||
|
|
||||||
dict->has_font_matrix = TRUE;
|
dict->has_font_matrix = TRUE;
|
||||||
|
|
||||||
/* We expect a well-formed font matrix, this is, the matrix elements */
|
/* We expect a well-formed font matrix, that is, the matrix elements */
|
||||||
/* `xx' and `yy' are of approximately the same magnitude. To avoid */
|
/* `xx' and `yy' are of approximately the same magnitude. To avoid */
|
||||||
/* loss of precision, we use the magnitude of the largest matrix */
|
/* loss of precision, we use the magnitude of the largest matrix */
|
||||||
/* element to scale all other elements. The scaling factor is then */
|
/* element to scale all other elements. The scaling factor is then */
|
||||||
|
|
|
@ -516,7 +516,7 @@
|
||||||
if ( !psh_hint_is_fitted( parent ) )
|
if ( !psh_hint_is_fitted( parent ) )
|
||||||
psh_hint_align( parent, globals, dimension, glyph );
|
psh_hint_align( parent, globals, dimension, glyph );
|
||||||
|
|
||||||
/* keep original relation between hints, this is, use the */
|
/* keep original relation between hints, that is, use the */
|
||||||
/* scaled distance between the centers of the hints to */
|
/* scaled distance between the centers of the hints to */
|
||||||
/* compute the new position */
|
/* compute the new position */
|
||||||
par_org_center = parent->org_pos + ( parent->org_len >> 1 );
|
par_org_center = parent->org_pos + ( parent->org_len >> 1 );
|
||||||
|
|
|
@ -2371,7 +2371,7 @@
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* (6) Our task is to find a value of `t` such that the above equation
|
* (6) Our task is to find a value of `t` such that the above equation
|
||||||
* `Q(t)` becomes zero, this is, the point-to-curve vector makes
|
* `Q(t)` becomes zero, that is, the point-to-curve vector makes
|
||||||
* 90~degrees with the curve. We solve this with the Newton-Raphson
|
* 90~degrees with the curve. We solve this with the Newton-Raphson
|
||||||
* method.
|
* method.
|
||||||
*
|
*
|
||||||
|
@ -2684,7 +2684,7 @@
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* (6) Our task is to find a value of `t` such that the above equation
|
* (6) Our task is to find a value of `t` such that the above equation
|
||||||
* `Q(t)` becomes zero, this is, the point-to-curve vector makes
|
* `Q(t)` becomes zero, that is, the point-to-curve vector makes
|
||||||
* 90~degree with curve. We solve this with the Newton-Raphson
|
* 90~degree with curve. We solve this with the Newton-Raphson
|
||||||
* method.
|
* method.
|
||||||
*
|
*
|
||||||
|
|
|
@ -7837,7 +7837,7 @@
|
||||||
/* a variable number of arguments */
|
/* a variable number of arguments */
|
||||||
|
|
||||||
/* it is the job of the application to `activate' GX handling, */
|
/* it is the job of the application to `activate' GX handling, */
|
||||||
/* this is, calling any of the GX API functions on the current */
|
/* that is, calling any of the GX API functions on the current */
|
||||||
/* font to select a variation instance */
|
/* font to select a variation instance */
|
||||||
if ( exc->face->blend )
|
if ( exc->face->blend )
|
||||||
exc->new_top = exc->args + exc->face->blend->num_axis;
|
exc->new_top = exc->args + exc->face->blend->num_axis;
|
||||||
|
@ -8397,7 +8397,7 @@
|
||||||
#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
|
#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
|
||||||
case 0x91:
|
case 0x91:
|
||||||
/* it is the job of the application to `activate' GX handling, */
|
/* it is the job of the application to `activate' GX handling, */
|
||||||
/* this is, calling any of the GX API functions on the current */
|
/* that is, calling any of the GX API functions on the current */
|
||||||
/* font to select a variation instance */
|
/* font to select a variation instance */
|
||||||
if ( exc->face->blend )
|
if ( exc->face->blend )
|
||||||
Ins_GETVARIATION( exc, args );
|
Ins_GETVARIATION( exc, args );
|
||||||
|
|
Loading…
Reference in New Issue