Al-Qurtas-Islamic-bank-The-.../src/sfnt
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
..
Jamfile Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
module.mk FT_USE_MODULE declares things as: 2008-12-21 10:29:30 +00:00
rules.mk * src/sfnt/rules.mk (SFNT_DRV_H): Add ttsbit0.c. 2009-03-09 13:18:47 +00:00
sfdriver.c */*: Use module specific error names where appropriate. 2010-06-24 10:34:29 +02:00
sfdriver.h Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
sferrors.h * include/freetype/internal/ftobjs.h: Don't include 2004-09-06 07:06:56 +00:00
sfnt.c Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
sfntpic.c */*: Use module specific error names where appropriate. 2010-06-24 10:34:29 +02:00
sfntpic.h Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
sfobjs.c [sfnt] Fix memory leaks in previous patch. 2010-01-30 02:24:25 +09:00
sfobjs.h * massive re-formatting changes to many, many source files. I don't 2002-08-27 20:20:29 +00:00
ttbdf.c */*: Use module specific error names where appropriate. 2010-06-24 10:34:29 +02:00
ttbdf.h Convert to Unix line endings. 2006-03-01 11:31:08 +00:00
ttcmap.c Restrict the number of the charmaps in a rogue-compatible mode. 2010-07-05 09:59:03 +09:00
ttcmap.h Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
ttcmapc.h Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
ttkern.c Minor optimizations by avoiding divisions. 2010-06-30 10:26:48 +02:00
ttkern.h formatting, minor doc fixes, copyright years 2007-01-05 09:03:31 +00:00
ttload.c Fix Savannah bug #30262. 2010-06-26 09:29:51 +02:00
ttload.h * include/freetype/ftoutln.h (FT_Outline_Embolden): Mention in 2006-02-15 06:05:52 +00:00
ttmtx.c For warning messages, replace FT_ERROR with FT_TRACE0. 2009-06-26 06:15:41 +02:00
ttmtx.h Clean up the SFNT_Interface. In this final pass, `load_hmtx' is 2006-02-14 07:25:57 +00:00
ttpost.c Remove redundant header inclusions. 2009-03-21 08:51:44 +01:00
ttpost.h * massive re-formatting changes to many, many source files. I don't 2002-08-27 20:20:29 +00:00
ttsbit.c */*: Use module specific error names where appropriate. 2010-06-24 10:34:29 +02:00
ttsbit.h Formatting. 2008-11-29 09:31:44 +00:00
ttsbit0.c For warning messages, replace FT_ERROR with FT_TRACE0. 2009-06-26 06:15:41 +02:00