summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2023-02-26 08:07:08 -0500
committerAlexei Podtelezhnikov <apodtele@gmail.com>2023-03-06 16:23:14 -0500
commitde94e2cbfbbb65ad2242023b056a52a5427af9fc (patch)
tree9bce68d0cbbe4c1180553009dc1d6904fa2cf305 /docs
parentb2a949062367f0b3c5eff2e71144547b09386298 (diff)
downloadfreetype2-de94e2cbfbbb65ad2242023b056a52a5427af9fc.tar.gz
[truetype] Simplify memory management.
Instead of using `Update_Max`, switch to regular FreeType memory allocation macros, stop pre-allocating the glyph instruction arrays. * src/truetype/ttgload.c (TT_Load_Simple_Glyph, TT_Process_Composite_Glyph): Switch to regular memory allocation. * src/truetype/ttinterp.c (Update_Max): Removed. (TT_Load_Context): Reallocate stack and free old instructions. (Modify_CVT_Check, Ins_WS): Switch to regular memory allocation. * src/truetype/ttinterp.h (Update_Max): Removed.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions