| 271 |
|
|
| 272 |
n_points = 0; |
n_points = 0; |
| 273 |
if ( n_contours > 0 ) |
if ( n_contours > 0 ) |
| 274 |
|
{ |
| 275 |
n_points = cont[-1] + 1; |
n_points = cont[-1] + 1; |
| 276 |
|
if ( n_points < 0 ) |
| 277 |
|
goto Invalid_Outline; |
| 278 |
|
} |
| 279 |
|
|
| 280 |
/* note that we will add four phantom points later */ |
/* note that we will add four phantom points later */ |
| 281 |
error = FT_GLYPHLOADER_CHECK_POINTS( gloader, n_points + 4, 0 ); |
error = FT_GLYPHLOADER_CHECK_POINTS( gloader, n_points + 4, 0 ); |
| 686 |
FT_GlyphLoader gloader = loader->gloader; |
FT_GlyphLoader gloader = loader->gloader; |
| 687 |
FT_Error error = TT_Err_Ok; |
FT_Error error = TT_Err_Ok; |
| 688 |
FT_Outline* outline; |
FT_Outline* outline; |
| 689 |
FT_UInt n_points; |
FT_Int n_points; |
| 690 |
|
|
| 691 |
|
|
| 692 |
outline = &gloader->current.outline; |
outline = &gloader->current.outline; |
| 713 |
/* Deltas apply to the unscaled data. */ |
/* Deltas apply to the unscaled data. */ |
| 714 |
FT_Vector* deltas; |
FT_Vector* deltas; |
| 715 |
FT_Memory memory = loader->face->memory; |
FT_Memory memory = loader->face->memory; |
| 716 |
FT_UInt i; |
FT_Int i; |
| 717 |
|
|
| 718 |
|
|
| 719 |
error = TT_Vary_Get_Glyph_Deltas( (TT_Face)(loader->face), |
error = TT_Vary_Get_Glyph_Deltas( (TT_Face)(loader->face), |