|
|
|
@ -347,7 +347,7 @@ |
|
|
|
|
ft_stroke_border_close( FT_StrokeBorder border, |
|
|
|
|
FT_Bool reverse ) |
|
|
|
|
{ |
|
|
|
|
FT_UInt start = border->start; |
|
|
|
|
FT_UInt start = (FT_UInt)border->start; |
|
|
|
|
FT_UInt count = border->num_points; |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -599,7 +599,7 @@ |
|
|
|
|
if ( border->start >= 0 ) |
|
|
|
|
ft_stroke_border_close( border, FALSE ); |
|
|
|
|
|
|
|
|
|
border->start = border->num_points; |
|
|
|
|
border->start = (FT_Int)border->num_points; |
|
|
|
|
border->movable = FALSE; |
|
|
|
|
|
|
|
|
|
return ft_stroke_border_lineto( border, to, FALSE ); |
|
|
|
@ -742,7 +742,7 @@ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
outline->n_points = (short)( outline->n_points + border->num_points ); |
|
|
|
|
outline->n_points += (short)border->num_points; |
|
|
|
|
|
|
|
|
|
FT_ASSERT( FT_Outline_Check( outline ) == 0 ); |
|
|
|
|
} |
|
|
|
@ -1822,7 +1822,7 @@ |
|
|
|
|
|
|
|
|
|
FT_ASSERT( left->start >= 0 ); |
|
|
|
|
|
|
|
|
|
new_points = left->num_points - left->start; |
|
|
|
|
new_points = (FT_Int)left->num_points - left->start; |
|
|
|
|
if ( new_points > 0 ) |
|
|
|
|
{ |
|
|
|
|
error = ft_stroke_border_grow( right, (FT_UInt)new_points ); |
|
|
|
@ -1862,8 +1862,8 @@ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
left->num_points = left->start; |
|
|
|
|
right->num_points += new_points; |
|
|
|
|
left->num_points = (FT_UInt)left->start; |
|
|
|
|
right->num_points += (FT_UInt)new_points; |
|
|
|
|
|
|
|
|
|
right->movable = FALSE; |
|
|
|
|
left->movable = FALSE; |
|
|
|
@ -2118,7 +2118,7 @@ |
|
|
|
|
FT_UInt last; /* index of last point in contour */ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
last = outline->contours[n]; |
|
|
|
|
last = (FT_UInt)outline->contours[n]; |
|
|
|
|
limit = outline->points + last; |
|
|
|
|
|
|
|
|
|
/* skip empty points; we don't stroke these */ |
|
|
|
@ -2347,7 +2347,9 @@ |
|
|
|
|
FT_Outline_Done( glyph->library, outline ); |
|
|
|
|
|
|
|
|
|
error = FT_Outline_New( glyph->library, |
|
|
|
|
num_points, num_contours, outline ); |
|
|
|
|
num_points, |
|
|
|
|
(FT_Int)num_contours, |
|
|
|
|
outline ); |
|
|
|
|
if ( error ) |
|
|
|
|
goto Fail; |
|
|
|
|
|
|
|
|
@ -2437,7 +2439,7 @@ |
|
|
|
|
|
|
|
|
|
error = FT_Outline_New( glyph->library, |
|
|
|
|
num_points, |
|
|
|
|
num_contours, |
|
|
|
|
(FT_Int)num_contours, |
|
|
|
|
outline ); |
|
|
|
|
if ( error ) |
|
|
|
|
goto Fail; |
|
|
|
|