Werner Lemberg pushed to branch master at FreeType / FreeType
Commits:
-
639a0215
by Werner Lemberg at 2022-01-11T09:14:48+01:00
1 changed file:
Changes:
... | ... | @@ -44,7 +44,8 @@ |
44 | 44 |
|
45 | 45 |
parser = &loader.parser;
|
46 | 46 |
|
47 |
- if ( FT_QALLOC( face->ttf_data, 12 ) )
|
|
47 |
+ /* To handle buggy fonts we don't use `FT_QALLOC` here. */
|
|
48 |
+ if ( FT_ALLOC( face->ttf_data, 12 ) )
|
|
48 | 49 |
goto Exit;
|
49 | 50 |
|
50 | 51 |
/* while parsing the font we always update `face->ttf_size' so that */
|