forked from minhngoc25a/freetype2
5339c75ee6
While the current code in `FT_Get_Next_Char' correctly rejects out-of-bounds glyph indices, it can be extremely slow for malformed cmaps that use 32bit values. This commit tries to improve that. * src/sfnt/ttcmap.c (tt_cmap8_char_next, tt_cmap12_next, tt_cmap12_char_map_binary, tt_cmap13_next, tt_cmap13_char_map_binary): Reject glyph indices larger than or equal to the number of glyphs. |
||
---|---|---|
.. | ||
svbdf.h | ||
svcid.h | ||
svfntfmt.h | ||
svgldict.h | ||
svgxval.h | ||
svkern.h | ||
svmm.h | ||
svotval.h | ||
svpfr.h | ||
svpostnm.h | ||
svprop.h | ||
svpscmap.h | ||
svpsinfo.h | ||
svsfnt.h | ||
svttcmap.h | ||
svtteng.h | ||
svttglyf.h | ||
svwinfnt.h |