Ahmet Göksu pushed to branch gsoc-2023-ahmet-final at FreeType / FreeType
Commits:
1 changed file:
Changes:
src/tools/ftbench/ftbench.c
... |
... |
@@ -383,7 +383,7 @@ |
383
|
383
|
continue;
|
384
|
384
|
|
385
|
385
|
if ( !FT_Render_Glyph( face->glyph, render_mode ) )
|
386
|
|
- done++;
|
|
386
|
+ done++;
|
387
|
387
|
}
|
388
|
388
|
|
389
|
389
|
return done;
|
... |
... |
@@ -404,9 +404,9 @@ |
404
|
404
|
if ( FT_Load_Glyph( face, (FT_UInt)i, load_flags ) )
|
405
|
405
|
continue;
|
406
|
406
|
|
407
|
|
- FT_GlyphSlot_Embolden( face->glyph );
|
|
407
|
+ FT_GlyphSlot_Embolden( face->glyph );
|
408
|
408
|
done++;
|
409
|
|
- }
|
|
409
|
+ }
|
410
|
410
|
|
411
|
411
|
return done;
|
412
|
412
|
}
|
... |
... |
@@ -437,7 +437,7 @@ |
437
|
437
|
FT_Get_Glyph( face->glyph, &glyph ) )
|
438
|
438
|
continue;
|
439
|
439
|
|
440
|
|
- FT_Glyph_Stroke( &glyph, stroker, 1 );
|
|
440
|
+ FT_Glyph_Stroke( &glyph, stroker, 1 );
|
441
|
441
|
|
442
|
442
|
FT_Done_Glyph( glyph );
|
443
|
443
|
done++;
|
... |
... |
@@ -465,12 +465,12 @@ |
465
|
465
|
if ( FT_Load_Glyph( face, (FT_UInt)i, load_flags ) )
|
466
|
466
|
continue;
|
467
|
467
|
|
468
|
|
- if ( !FT_Get_Glyph( face->glyph, &glyph ) )
|
|
468
|
+ if ( !FT_Get_Glyph( face->glyph, &glyph ) )
|
469
|
469
|
{
|
470
|
470
|
FT_Done_Glyph( glyph );
|
471
|
471
|
done++;
|
472
|
472
|
}
|
473
|
|
- }
|
|
473
|
+ }
|
474
|
474
|
|
475
|
475
|
return done;
|
476
|
476
|
}
|
... |
... |
@@ -496,7 +496,7 @@ |
496
|
496
|
if ( FT_Get_Glyph( face->glyph, &glyph ) )
|
497
|
497
|
continue;
|
498
|
498
|
|
499
|
|
- FT_Glyph_Get_CBox( glyph, FT_GLYPH_BBOX_PIXELS, &bbox );
|
|
499
|
+ FT_Glyph_Get_CBox( glyph, FT_GLYPH_BBOX_PIXELS, &bbox );
|
500
|
500
|
|
501
|
501
|
FT_Done_Glyph( glyph );
|
502
|
502
|
done++;
|
... |
... |
@@ -522,7 +522,7 @@ |
522
|
522
|
if ( FT_Load_Glyph( face, (FT_UInt)i, load_flags ) )
|
523
|
523
|
continue;
|
524
|
524
|
|
525
|
|
- FT_Outline_Get_BBox( &face->glyph->outline, &bbox );
|
|
525
|
+ FT_Outline_Get_BBox( &face->glyph->outline, &bbox );
|
526
|
526
|
|
527
|
527
|
done++;
|
528
|
528
|
}
|
... |
... |
@@ -639,7 +639,7 @@ |
639
|
639
|
while ( idx != 0 )
|
640
|
640
|
charcode = FT_Get_Next_Char( face, charcode, &idx );
|
641
|
641
|
|
642
|
|
- return done;
|
|
642
|
+ return done;
|
643
|
643
|
}
|
644
|
644
|
|
645
|
645
|
|
... |
... |
@@ -656,7 +656,7 @@ |
656
|
656
|
if ( !get_face( &bench_face ) )
|
657
|
657
|
FT_Done_Face( bench_face );
|
658
|
658
|
|
659
|
|
- return 1;
|
|
659
|
+ return 1;
|
660
|
660
|
}
|
661
|
661
|
|
662
|
662
|
|
|