freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][gsoc-anurag-2023] [wip] First prototype for ben


From: Anurag Thakur (@AdbhutDev)
Subject: [Git][freetype/freetype][gsoc-anurag-2023] [wip] First prototype for benchmarks
Date: Tue, 29 Aug 2023 19:20:56 +0000

Anurag Thakur pushed to branch gsoc-anurag-2023 at FreeType / FreeType

Commits:

  • c1be4f60
    by Anurag Thakur at 2023-08-30T00:50:21+05:30
    [wip] First prototype for benchmarks
    

1 changed file:

Changes:

  • src/base/ftobjs.c
    ... ... @@ -2805,7 +2805,14 @@
    2805 2805
     
    
    2806 2806
             FT_Load_Glyph(face, gindex, FT_LOAD_NO_HINTING);
    
    2807 2807
     
    
    2808
    -        *face->garray[gindex]->prelines = (FT_PreLineRec){1,2,3,4, NULL}; // need to revise structs and pointers.
    
    2808
    +        // *face->garray[gindex]->prelines = (FT_PreLineRec){1,2,3,4, NULL}; // need to revise structs and pointers.
    
    2809
    +        FT_PreLine pl = face->garray[gindex]->prelines = malloc(sizeof(FT_PreLineRec));
    
    2810
    +        pl->x1 = 0;
    
    2811
    +        pl->x2 = 1;
    
    2812
    +        pl->y1 = 2;
    
    2813
    +        pl->y2 = 3;
    
    2814
    +        pl->next = NULL;
    
    2815
    +
    
    2809 2816
     
    
    2810 2817
           }
    
    2811 2818
     
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]