freetype2/include/freetype
suzuki toshiya 0ae3271814 Restrict the number of the charmaps in a rogue-compatible mode.
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.
2010-07-05 09:59:03 +09:00
..
config Restrict the number of the charmaps in a rogue-compatible mode. 2010-07-05 09:59:03 +09:00
internal Fix custom cmap for empty Type 1 font (Savannah bug #27294). 2009-09-01 08:10:24 +02:00
freetype.h TrueType hinting is no longer patented. 2010-07-04 07:37:56 +02:00
ftadvanc.h load_flags of FT_Get_Advance(), FT_Get_Advances() and backends are declared as FT_Int32 to match the flags of FT_Load_Glyph() 2009-01-09 11:11:53 +00:00
ftbbox.h
ftbdf.h * include/freetype/ftbdf.h (FT_Get_BDF_Property): Improve documentation. 2009-01-11 11:45:54 +00:00
ftbitmap.h
ftcache.h Typo. 2010-04-14 15:47:04 +02:00
ftchapters.h
ftcid.h Typo. 2009-03-11 21:39:10 +00:00
fterrdef.h Fix Savannah bug #30220. 2010-06-23 10:00:52 +02:00
fterrors.h
ftgasp.h
ftglyph.h Documentation typo. 2009-10-18 09:47:52 +02:00
ftgxval.h
ftgzip.h
ftimage.h Minor documentation improvement. 2010-02-09 07:40:56 +01:00
ftincrem.h Doc fix. 2010-02-13 07:53:37 +01:00
ftlcdfil.h Version number update. 2010-07-04 07:49:03 +02:00
ftlist.h Fix various memory problems found by linuxtesting.org. 2010-05-22 20:03:41 +02:00
ftlzw.h
ftmac.h
ftmm.h Documentation fixes. 2009-01-19 08:35:45 +00:00
ftmodapi.h TrueType hinting is no longer patented. 2010-07-04 07:37:56 +02:00
ftmoderr.h
ftotval.h
ftoutln.h Minor documentation fix. 2010-01-03 14:09:03 +01:00
ftpfr.h Documentation fixes. 2009-01-19 08:47:43 +00:00
ftrender.h
ftsizes.h Documentation fixes. 2009-01-19 08:35:45 +00:00
ftsnames.h Minor doc fixes. 2010-02-13 07:53:37 +01:00
ftstroke.h Typo. 2009-07-17 10:50:04 +02:00
ftsynth.h
ftsystem.h Add some memory checks (mainly for debugging). 2010-06-26 09:24:08 +02:00
fttrigon.h
fttypes.h fttypes.h: Cast FT_MAKE_TAG output to FT_Tag exlicitly. 2009-08-01 00:30:18 +09:00
ftwinfnt.h
ftxf86.h Document that FT_Get_X11_Font_Format() is a general call. 2009-08-28 09:08:00 +02:00
t1tables.h Remove ABI-breaking field in public PS_InfoFontRec definition. 2009-03-03 13:28:59 +00:00
ttnameid.h
tttables.h Improve documentation. 2010-02-14 10:04:11 +01:00
tttags.h
ttunpat.h