freetype2/include/freetype/config
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
..
ftconfig.h * Version 2.1.7 released. 2003-11-09 08:37:14 +00:00
ftheader.h * src/base/fttrigon.c, src/base/ftgloadr.c: Inlude 2003-12-26 07:26:08 +00:00
ftmodule.h * include/freetype/internal/internal.h, include/freetype/ftpfr.h, 2002-10-31 08:30:19 +00:00
ftoption.h * devel/ftoption.h: Define FT_DEBUG_MEMORY. 2003-12-20 07:43:45 +00:00
ftstdlib.h Add support for the hexadicimal representation of binary data 2004-01-23 19:52:40 +00:00