Formatting, copyright years.

This commit is contained in:
Werner Lemberg 2006-02-12 21:49:21 +00:00
parent 4c507ffa80
commit d39fda2b55
4 changed files with 12 additions and 10 deletions

View File

@ -3,19 +3,19 @@
* src/autofit/afcjk.c (af_cjk_metrics_init): Fix a stupid bug...
* src/autofit/aflatin.c (af_latin_metrics_init_widths): Use
AF_LatinMetricsRec as the dummy metrics because we cast the metrics to
it later in `af_latin_hints_link_segments'.
AF_LatinMetricsRec as the dummy metrics because we cast the metrics
to it later in `af_latin_hints_link_segments'.
2006-02-11 Chia-I Wu <b90201047@ntu.edu.tw>
* include/freetype/config/ftoption.h (AF_CONFIG_OPTION_CJK): #define
to enable autofit CJK script support. (#define'd by default)
to enable autofit CJK script support. (#define'd by default.)
* src/autofit/aflatin.h (AF_LATIN_CONSTANT): New macro.
* src/autofit/aflatin.c (af_latin_metrics_init_widths): Make sure that
`edge_distance_threshold' is always set.
(af_latin_hints_link_segments): Potential divide by 0 bug.
* src/autofit/aflatin.c (af_latin_metrics_init_widths): Make sure
that `edge_distance_threshold' is always set.
(af_latin_hints_link_segments): Potential divide-by-zero bug.
Use latin constant in the scoring formula.
* src/autofit/afcjk.c: Minor updates due to the above three changes.

View File

@ -132,8 +132,9 @@ LATEST CHANGES BETWEEN 2.2.0 and 2.1.10
- Better AFM support. This includes track kerning support.
- The auto hinter now employs a new algorithm, based on akito's
patch, for the CJK script.
- The auto hinter now employs a new algorithm, based on Akito
Hirai's patch, for the CJK script.
======================================================================

View File

@ -33,7 +33,7 @@ Other bugs have been registered at the savannah bugzilla of FreeType.
------------------------------------------------------------------------
Copyright 2001, 2002, 2003, 2004, 2005 by
Copyright 2001, 2002, 2003, 2004, 2005, 2006 by
David Turner, Robert Wilhelm, and Werner Lemberg.
This file is part of the FreeType project, and may only be used,

View File

@ -33,7 +33,8 @@ FT_BEGIN_HEADER
/* constants are given with units_per_em == 2048 in mind */
#define AF_LATIN_CONSTANT( metrics, c ) \
( ( ( c ) * (FT_Long)( (AF_LatinMetrics)metrics )->units_per_em ) / 2048 )
( ( (c) * (FT_Long)( (AF_LatinMetrics)(metrics) )->units_per_em ) / 2048 )
/*************************************************************************/
/*************************************************************************/