commit | 6da023d1ff9b70f78c900774cc5d362af53ad92c | [log] [tgz] |
---|---|---|
author | Werner Lemberg <wl@gnu.org> | Thu May 20 15:38:00 2010 +0200 |
committer | Werner Lemberg <wl@gnu.org> | Thu May 20 15:38:00 2010 +0200 |
tree | 04f409f02b3be55249eb2fd14c5425dc7e9582b0 | |
parent | 236fc8e15a9459d05656013727a1717dbfa425c2 [diff] |
TrueType: Make FreeType ignore maxSizeOfInstructions in `maxp'. Acroread does the same. * src/truetype/ttgload.c (TT_Process_Composite_Glyph): Call `Update_Max' to adjust size of instructions array if necessary and add a rough safety check. (load_truetype_glyph): Save `loader->byte_len' before recursive call. * src/truetype/ttinterp.h, src/truetype/ttinterp.c (Update_Max): Declare it as FT_LOCAL.