* src/truetype/ttgload.c (TT_Process_Composite_Glyph): Fix allocation.

Fixes #1403, proposed by Chris Anderson.
This commit is contained in:
Alexei Podtelezhnikov 2026-03-19 08:18:59 -04:00
parent bda1d87f69
commit 5846b6eda6

View file

@ -1185,9 +1185,7 @@
/* make room for phantom points */
error = FT_GLYPHLOADER_CHECK_POINTS( loader->gloader,
outline->n_points + 4,
0 );
error = FT_GLYPHLOADER_CHECK_POINTS( loader->gloader, 4, 0 );
if ( error )
return error;