Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs
Commits:
-
7eb15781
by Alexei Podtelezhnikov at 2023-05-12T16:43:37+00:00
1 changed file:
Changes:
... | ... | @@ -443,10 +443,9 @@ |
443 | 443 | |
444 | 444 | FOREACH( i )
|
445 | 445 | {
|
446 | - if ( FT_Load_Glyph( face, (FT_UInt)i, load_flags ) )
|
|
447 | - continue;
|
|
448 | - |
|
449 | - if ( FT_Get_Glyph( face->glyph, &glyph ) )
|
|
446 | + if ( FT_Load_Glyph( face, (FT_UInt)i, load_flags ) ||
|
|
447 | + face->glyph->format != FT_GLYPH_FORMAT_OUTLINE ||
|
|
448 | + FT_Get_Glyph( face->glyph, &glyph ) )
|
|
450 | 449 | continue;
|
451 | 450 | |
452 | 451 | TIMER_START( timer );
|