Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs
Commits:
-
3541af5e
by Alexei Podtelezhnikov at 2022-05-24T18:24:18+00:00
1 changed file:
Changes:
... | ... | @@ -1242,6 +1242,9 @@ |
1242 | 1242 | if ( get_face( &face ) )
|
1243 | 1243 | goto Exit;
|
1244 | 1244 | |
1245 | + if ( !face->num_glyphs )
|
|
1246 | + goto Exit;
|
|
1247 | + |
|
1245 | 1248 | if ( first_index >= face->num_glyphs )
|
1246 | 1249 | first_index = face->num_glyphs - 1;
|
1247 | 1250 | if ( last_index >= face->num_glyphs )
|