freetype2/include/freetype/internal
Werner Lemberg f4c46c688e 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
..
services Add new function FT_Get_CMap_Language_ID to extract the language ID 2003-12-17 14:28:22 +00:00
autohint.h updating sources to support the new FT_LOAD_TARGET_ constants 2002-08-27 22:34:20 +00:00
ftcalc.h * src/base/ftcalc.c, include/freetype/internal/ftcalc.h 2003-11-26 08:24:08 +00:00
ftdebug.h Fixing ChangeLog entries. 2002-07-26 09:09:10 +00:00
ftdriver.h Improve documentation. 2003-12-25 00:20:17 +00:00
ftgloadr.h * src/cff/cffdrivr.c (cff_get_glyph_name): Improve error message. 2003-12-12 15:38:39 +00:00
ftmemory.h * include/freetype/ftcache.h: Delete duplicated definition of 2004-01-22 09:07:12 +00:00
ftobjs.h * src/cff/cffgload.c (cff_lookup_glyph_by_stdcharcode): Handle 2003-12-24 13:37:58 +00:00
ftserv.h Add new function FT_Get_CMap_Language_ID to extract the language ID 2003-12-17 14:28:22 +00:00
ftstream.h * include/freetype/ftgzip.h, src/gzip/ftgzip.c: 2002-10-31 22:19:27 +00:00
fttrace.h * src/type42/t42drivr.c: s/T42_ENCODING_TYPE_/T1_ENCODING_TYPE_/. 2002-05-21 14:13:01 +00:00
internal.h * include/freetype/internal/bdftypes.h: removed obsolete header 2003-10-29 21:43:52 +00:00
pcftypes.h Cleanups. 2003-04-22 07:49:24 +00:00
psaux.h * include/freetype/internal/psaux.h (PS_TableRec): Change type 2003-12-09 02:12:14 +00:00
pshints.h * src/autohint/ahhint.c (ah_hinter_hint_edges): Removed. Just a 2003-06-03 11:51:43 +00:00
sfnt.h * include/freetype/internal/sfnt.h (TT_Set_SBit_Strike_Func): 2003-12-27 21:44:18 +00:00
t1types.h Add support for the hexadicimal representation of binary data 2004-01-23 19:52:40 +00:00
tttypes.h * include/freetype/internal/tttypes.h (TT_TableDirRec, 2003-12-16 07:12:40 +00:00