|
|
|
@ -2639,6 +2639,7 @@ |
|
|
|
|
pl->x2 = v_start.x/64; |
|
|
|
|
pl->y2 = v_start.y/64; |
|
|
|
|
pl->next = NULL; |
|
|
|
|
pl->ismove = 1; |
|
|
|
|
|
|
|
|
|
if((*slot)->prelines == NULL){ |
|
|
|
|
ptr = (*slot)->prelines = pl; |
|
|
|
@ -2667,12 +2668,16 @@ |
|
|
|
|
FT_TRACE5(( " line to (%.2f, %.2f)\n", |
|
|
|
|
(double)vec.x / 64, (double)vec.y / 64 )); |
|
|
|
|
//error = func_interface->line_to( &vec, user );
|
|
|
|
|
if((*slot)->glyph_index == 37) |
|
|
|
|
printf( " line to (%.2f, %.2f)\n", |
|
|
|
|
(double)vec.x / 64, (double)vec.y / 64 ); |
|
|
|
|
FT_PreLine pl = malloc(sizeof(FT_PreLineRec)); |
|
|
|
|
pl->x1 = ptr->x2; |
|
|
|
|
pl->y1 = ptr->y2; |
|
|
|
|
pl->x2 = vec.x/64; |
|
|
|
|
pl->y2 = vec.y/64; |
|
|
|
|
pl->next = NULL; |
|
|
|
|
pl->ismove = 0; |
|
|
|
|
ptr->next = pl; |
|
|
|
|
ptr = ptr->next; |
|
|
|
|
continue; |
|
|
|
@ -2685,6 +2690,18 @@ |
|
|
|
|
// FT_TRACE5(( " line to (%.2f, %.2f)\n",
|
|
|
|
|
// (double)v_start.x / 64, (double)v_start.y / 64 ));
|
|
|
|
|
// error = func_interface->line_to( &v_start, user );
|
|
|
|
|
if((*slot)->glyph_index == 37) |
|
|
|
|
printf( " line to (%.2f, %.2f)\n", |
|
|
|
|
(double)v_start.x / 64, (double)v_start.y / 64 ); |
|
|
|
|
FT_PreLine pl2 = malloc(sizeof(FT_PreLineRec)); |
|
|
|
|
pl2->x1 = ptr->x2; |
|
|
|
|
pl2->y1 = ptr->y2; |
|
|
|
|
pl2->x2 = v_start.x/64; |
|
|
|
|
pl2->y2 = v_start.y/64; |
|
|
|
|
pl2->next = NULL; |
|
|
|
|
pl->ismove = 0; |
|
|
|
|
ptr->next = pl2; |
|
|
|
|
ptr = ptr->next; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|