* src/truetype/ttinterp.c: add missing variable initialization,
gets rid of Valgrind fixes. * src/autofit/aflatin.c: get rid of an infinite loop in the case of degenerate fonts.
This commit is contained in:
parent
7723dc34d3
commit
74cc0e9ee4
|
@ -1,3 +1,11 @@
|
||||||
|
2007-06-30 David Turner <david@freetype.org>
|
||||||
|
|
||||||
|
* src/truetype/ttinterp.c: add missing variable initialization,
|
||||||
|
gets rid of Valgrind fixes.
|
||||||
|
|
||||||
|
* src/autofit/aflatin.c: get rid of an infinite loop in the case
|
||||||
|
of degenerate fonts.
|
||||||
|
|
||||||
2007-06-26 Rahul Bhalerao <b.rahul.pm@gmail.com>
|
2007-06-26 Rahul Bhalerao <b.rahul.pm@gmail.com>
|
||||||
|
|
||||||
Add autofit module for Indic scripts. This currently just reuses
|
Add autofit module for Indic scripts. This currently just reuses
|
||||||
|
|
|
@ -269,6 +269,7 @@
|
||||||
/* now check whether the point belongs to a straight or round */
|
/* now check whether the point belongs to a straight or round */
|
||||||
/* segment; we first need to find in which contour the extremum */
|
/* segment; we first need to find in which contour the extremum */
|
||||||
/* lies, then inspect its previous and next points */
|
/* lies, then inspect its previous and next points */
|
||||||
|
if ( best_point >= 0 )
|
||||||
{
|
{
|
||||||
FT_Int prev, next;
|
FT_Int prev, next;
|
||||||
FT_Pos dist;
|
FT_Pos dist;
|
||||||
|
|
|
@ -6424,6 +6424,7 @@
|
||||||
V.curs = (FT_Vector*)( (FT_Pos*)CUR.pts.cur + 1 );
|
V.curs = (FT_Vector*)( (FT_Pos*)CUR.pts.cur + 1 );
|
||||||
V.orus = (FT_Vector*)( (FT_Pos*)CUR.pts.orus + 1 );
|
V.orus = (FT_Vector*)( (FT_Pos*)CUR.pts.orus + 1 );
|
||||||
}
|
}
|
||||||
|
V.max_points = CUR.pts.n_points;
|
||||||
|
|
||||||
contour = 0;
|
contour = 0;
|
||||||
point = 0;
|
point = 0;
|
||||||
|
|
Loading…
Reference in New Issue