Behdad Esfahbod c27336567b [autofit] Allocate hints object on the stack.
This avoids one malloc per load.

* src/autofit/afloader.h (AF_LoaderRec): Change type of `hints' to
`AF_GlyphHints'.
Update prototype.

* src/autofit/afloader.c (af_loader_init): Use `AF_GlyphHints'
parameter instead of `FT_Memory'.
(af_loader_done): Directly reset `load_hints'.
(af_loader_load_g): Updated.

* src/autofit/afmodule.c (af_autofitter_load_glyph): Use local
`hints' object.
2015-01-14 19:16:12 +01:00
..
2015-01-12 11:26:30 +01:00
2015-01-12 11:26:30 +01:00
2015-01-12 11:26:30 +01:00
2015-01-12 11:26:30 +01:00
2015-01-12 11:26:30 +01:00
2015-01-12 11:26:30 +01:00
2015-01-12 11:26:30 +01:00
2015-01-12 11:26:30 +01:00
2015-01-12 11:26:30 +01:00
2015-01-12 11:26:30 +01:00
2015-01-12 11:26:30 +01:00
2015-01-12 11:26:30 +01:00
2015-01-12 11:26:30 +01:00
2015-01-12 11:26:30 +01:00
2015-01-12 11:26:30 +01:00
2014-12-22 03:31:32 +01:00
2015-01-12 11:26:30 +01:00
2015-01-12 11:26:30 +01:00
2013-11-13 08:55:46 +01:00