forked from minhngoc25a/freetype2
56ddafa01c
Avoids multiple mallocs per typical glyphs. With this and recent changes to avoid mallocs, the thread-safe stack-based loader is now as fast as the previous model that had one cached singleton. * src/autofit/afhints.h (AF_SEGMENTS_EMBEDDED, AF_EDGES_EMBEDDED): New macros. (AF_AxisHintsRec): Add two arrays for segments and edges. * src/autofit/afhints.c (af_axis_hints_new_segment): Only allocate data if number of segments exceeds given threshold value. (af_axis_hints_new_edge): Only allocate data if number of edges exceeds given threshold value. (af_glyph_hints_done): Updated. |
||
---|---|---|
.. | ||
autofit | ||
base | ||
bdf | ||
bzip2 | ||
cache | ||
cff | ||
cid | ||
gxvalid | ||
gzip | ||
lzw | ||
otvalid | ||
pcf | ||
pfr | ||
psaux | ||
pshinter | ||
psnames | ||
raster | ||
sfnt | ||
smooth | ||
tools | ||
truetype | ||
type1 | ||
type42 | ||
winfonts | ||
Jamfile |