forked from minhngoc25a/freetype2
0ae3271814
Fix for Savannah bug #30059. * src/cache/ftccmap.c (FTC_CMapCache_Lookup): Replace `16' the minimum character code passed by a legacy rogue client by... * include/freetype/config/ftoption.h (FT_MAX_CHARMAP_CACHEABLE): This. It is undefined when FT_CONFIG_OPTION_OLD_INTERNALS is undefined (thus the rogue client compatibility is not required). * src/cff/cffobjs.c (cff_face_init): Abort the automatic selection or synthesis of Unicode cmap subtable when the charmap index exceeds FT_MAX_CHARMAP_CACHEABLE. * src/sfnt/ttcmap.c (tt_face_build_cmaps): Issue error message when the charmap index exceeds FT_MAX_CHARMAP_CACHEABLE. * src/base/ftobjs.c (find_unicode_charmap): When Unicode charmap is found after FT_MAX_CHARMAP_CACHEABLE, ignore it and search earlier one. (find_variant_selector_charmap): When UVS charmap is found after FT_MAX_CHARMAP_CACHEABLE, ignore it and search earlier one. (FT_Select_Charmap): When a charmap matching with requested encoding but after FT_MAX_CHARMAP_CACHEABLE, ignore and search earlier one. (FT_Set_Charmap): When a charmap matching with requested charmap but after FT_MAX_CHARMAP_CACHEABLE, ignore and search earlier one. (FT_Get_Charmap_Index): When a requested charmap is found after FT_MAX_CHARMAP_CACHEABLE, return the inverted charmap index. |
||
---|---|---|
.. | ||
config | ||
internal | ||
freetype.h | ||
ftadvanc.h | ||
ftbbox.h | ||
ftbdf.h | ||
ftbitmap.h | ||
ftcache.h | ||
ftchapters.h | ||
ftcid.h | ||
fterrdef.h | ||
fterrors.h | ||
ftgasp.h | ||
ftglyph.h | ||
ftgxval.h | ||
ftgzip.h | ||
ftimage.h | ||
ftincrem.h | ||
ftlcdfil.h | ||
ftlist.h | ||
ftlzw.h | ||
ftmac.h | ||
ftmm.h | ||
ftmodapi.h | ||
ftmoderr.h | ||
ftotval.h | ||
ftoutln.h | ||
ftpfr.h | ||
ftrender.h | ||
ftsizes.h | ||
ftsnames.h | ||
ftstroke.h | ||
ftsynth.h | ||
ftsystem.h | ||
fttrigon.h | ||
fttypes.h | ||
ftwinfnt.h | ||
ftxf86.h | ||
t1tables.h | ||
ttnameid.h | ||
tttables.h | ||
tttags.h | ||
ttunpat.h |