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:
parent
752f39127b
commit
eb7691cc3d
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue