Fix Savannah bug #41320.

* src/autofit/aflatin.c (af_latin_metrics_init_blues)
<AF_LATIN_IS_LONG_BLUE>: Avoid negative index of `last'.
This commit is contained in:
Werner Lemberg 2014-01-24 19:04:22 +01:00
parent 752f39127b
commit eb7691cc3d
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2014-01-24 Werner Lemberg <wl@gnu.org>
Fix Savannah bug #41320.
* src/autofit/aflatin.c (af_latin_metrics_init_blues)
<AF_LATIN_IS_LONG_BLUE>: Avoid negative index of `last'.
2014-01-23 Werner Lemberg <wl@gnu.org>
Fix Savannah bug #41310.

View File

@ -592,7 +592,10 @@
if ( FT_ABS( points[next].x - points[first].x ) <=
20 * dist )
{
last--;
if ( last > best_contour_first )
last--;
else
last = best_contour_last;
break;
}