mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-08 12:48:02 +02:00
[wip] First prototype for benchmarks
This commit is contained in:
parent
36f7c6bd34
commit
c1be4f6059
1 changed files with 8 additions and 1 deletions
|
|
@ -2805,7 +2805,14 @@
|
|||
|
||||
FT_Load_Glyph(face, gindex, FT_LOAD_NO_HINTING);
|
||||
|
||||
*face->garray[gindex]->prelines = (FT_PreLineRec){1,2,3,4, NULL}; // need to revise structs and pointers.
|
||||
// *face->garray[gindex]->prelines = (FT_PreLineRec){1,2,3,4, NULL}; // need to revise structs and pointers.
|
||||
FT_PreLine pl = face->garray[gindex]->prelines = malloc(sizeof(FT_PreLineRec));
|
||||
pl->x1 = 0;
|
||||
pl->x2 = 1;
|
||||
pl->y1 = 2;
|
||||
pl->y2 = 3;
|
||||
pl->next = NULL;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue