diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index effb565eb..931fee9a9 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -2634,10 +2634,10 @@ FT_PreLine pl = malloc(sizeof(FT_PreLineRec)); - pl->x1 = v_start.x/64; - pl->y1 = v_start.y/64; - pl->x2 = v_start.x/64; - pl->y2 = v_start.y/64; + pl->x1 = v_start.x; + pl->y1 = v_start.y; + pl->x2 = v_start.x; + pl->y2 = v_start.y; pl->next = NULL; pl->ismove = 1; @@ -2674,8 +2674,8 @@ 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->x2 = vec.x; + pl->y2 = vec.y; pl->next = NULL; pl->ismove = 0; ptr->next = pl; @@ -2696,8 +2696,8 @@ 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->x2 = v_start.x; + pl2->y2 = v_start.y; pl2->next = NULL; pl->ismove = 0; ptr->next = pl2; diff --git a/src/dense/ftdense.c b/src/dense/ftdense.c index 4d3bc386a..66763004d 100644 --- a/src/dense/ftdense.c +++ b/src/dense/ftdense.c @@ -439,10 +439,10 @@ dense_render_glyph( dense_worker* worker, const FT_Bitmap* target, FT_PreLine pl FT_Error error = dense_move_to(&point1, worker); while (pl!=NULL) { - point1.x = pl->x1/4; - point1.y = pl->y1/4; - point2.x = pl->x2/4; - point2.y = pl->y2/4; + point1.x = pl->x1; + point1.y = pl->y1; + point2.x = pl->x2; + point2.y = pl->y2; if(pl->ismove){ dense_move_to(&point2, worker);