freetype2/include/freetype
Werner Lemberg ef512e3ec6 Add support for the hexadicimal representation of binary data
started with `StartData' in CID-keyed Type 1 fonts.

* include/freetype/internal/t1types.h (CID_FaceRec): Add new
members `binary_data' and `cid_stream'.

* src/cid/cidload.c (cid_read_subrs): Use `face->cid_stream'.
(cid_hex_to_binary): New auxiliary function.
(cid_face_open): Add new argument `face_index' to return quickly
if less than zero.  Updated all callers.
Call `cid_hex_to_binary', then open and assign memory stream to
`face->cid_stream' if `parser->binary_length' is non-zero.
* src/cid/cidload.h: Updated.

* src/cid/cidobjs.c (cid_face_done): Free `binary_data' and
`cid_stream'.

* src/cid/cidparse.c (cid_parser_new): Check arguments to
`StartData' and set parser->binary_length accordingly.
* src/cid/cidparse.h (CID_Parser): New member `binary_length'.

* src/cid/cidgload.c (cid_load_glyph): Use `face->cid_stream'.

* docs/CHANGES: Updated.


include/freetype/config/ftstdlib.h (ft_atoi): Replaced with...
(ft_atol): This.
* src/base/ftdbgmem.c: s/atol/ft_atol/.
* src/type42/t42drivr.c: s/ft_atoi/ft_atol/.
2004-01-23 19:52:40 +00:00
..
cache * include/freetype/ftcache.h: Delete duplicated definition of 2004-01-22 09:07:12 +00:00
config Add support for the hexadicimal representation of binary data 2004-01-23 19:52:40 +00:00
internal Add support for the hexadicimal representation of binary data 2004-01-23 19:52:40 +00:00
freetype.h * src/cff/cffgload.c (cff_lookup_glyph_by_stdcharcode): Handle 2003-12-24 13:37:58 +00:00
ftbbox.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftbdf.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftcache.h * include/freetype/ftcache.h: Delete duplicated definition of 2004-01-22 09:07:12 +00:00
ftchapters.h updating documentation & changes 2002-11-13 23:28:08 +00:00
fterrdef.h * src/type42/t42drivr.c: s/T42_ENCODING_TYPE_/T1_ENCODING_TYPE_/. 2002-05-21 14:13:01 +00:00
fterrors.h * builds/vms/ftconfig.h: Rename LOCAL_DEF and LOCAL_FUNC to 2002-03-29 07:43:04 +00:00
ftglyph.h Fix documentation error. 2003-11-12 15:15:49 +00:00
ftgzip.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftimage.h * Version 2.1.7 released. 2003-11-09 08:37:14 +00:00
ftincrem.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftlist.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftmac.h Formatting. 2001-12-07 21:56:32 +00:00
ftmm.h * include/freetype/ftmm.h, include/freetype/ftmodule.h, 2003-09-11 19:51:54 +00:00
ftmodapi.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftmoderr.h * src/tools/glnames.py: Updated to AGL 2.0. 2003-06-23 19:26:53 +00:00
ftoutln.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftpfr.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftrender.h * src/sfnt/ttpost.c (load_post_names, tt_face_free_ps_names, 2002-09-27 11:09:23 +00:00
ftsizes.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftsnames.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftstroke.h * include/freetype/ftcache.h: Delete duplicated definition of 2004-01-22 09:07:12 +00:00
ftsynth.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ftsysio.h Formatting, minor doc fixes. 2002-09-18 11:32:12 +00:00
ftsysmem.h Formatting, minor doc fixes. 2002-09-18 11:32:12 +00:00
ftsystem.h * include/freetype/ftgzip.h, src/gzip/ftgzip.c: 2002-10-31 22:19:27 +00:00
fttrigon.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
fttypes.h * src/cff/cffgload.c (cff_lookup_glyph_by_stdcharcode): Handle 2003-12-24 13:37:58 +00:00
ftwinfnt.h * src/cff/cffgload.c (cff_lookup_glyph_by_stdcharcode): Handle 2003-12-24 13:37:58 +00:00
ftxf86.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
t1tables.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ttnameid.h * include/freetype/ttnameid.h (TT_ADOBE_ID_LATIN_1): New macro. 2003-12-18 15:29:20 +00:00
tttables.h Add new function FT_Get_CMap_Language_ID to extract the language ID 2003-12-17 14:28:22 +00:00
tttags.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00
ttunpat.h * include/freetype/*: Add a guard to all public header files which 2003-11-04 07:44:19 +00:00