freetype/src/base
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
..
descrip.mms * include/freetype/ftstroker.h: Renamed to... 2003-06-07 04:02:21 +00:00
ftapi.c * include/freetype/t1tables.h (t1_blend_max): Fix typo. 2002-03-30 13:16:35 +00:00
ftbase.c * builds/unix/aclocal.m4: Comment out definition of 2003-05-11 07:12:26 +00:00
ftbbox.c * src/base/ftmac.c (FT_New_Face_From_SFNT): Handle CFF files also. 2003-05-15 06:44:09 +00:00
ftbdf.c * include/freetype/internal/bdftypes.h: removed obsolete header 2003-10-29 21:43:52 +00:00
ftcalc.c * include/freetype/fttypes.h 2003-12-24 01:10:46 +00:00
ftdbgmem.c Add support for the hexadicimal representation of binary data 2004-01-23 19:52:40 +00:00
ftdebug.c * src/sfnt/ttpost.c (load_post_names, tt_face_free_ps_names, 2002-09-27 11:09:23 +00:00
ftexcept.c * include/freetype/internal/fthash.h, src/base/fthash.c: 2002-05-01 08:46:56 +00:00
ftgloadr.c * include/freetype/ftcache.h: Delete duplicated definition of 2004-01-22 09:07:12 +00:00
ftglyph.c * include/freetype/ftcache.h: Delete duplicated definition of 2004-01-22 09:07:12 +00:00
fthash.c * src/sfnt/ttload.c, src/sfnt/ttload.h, src/sfnt/ttdriver.c: changing 2002-07-11 23:41:14 +00:00
ftinit.c Making ftgrays.c compile stand-alone again. 2002-09-16 06:15:31 +00:00
ftlist.c * include/freetype/t1tables.h (t1_blend_max): Fix typo. 2002-03-30 13:16:35 +00:00
ftmac.c * src/base/ftmac.c (FT_New_Face_From_SFNT): s/rlen/sfnt_size/ to 2003-06-07 05:13:22 +00:00
ftmm.c Heavy modification of the PS parser to handle comments and strings 2003-10-07 05:49:41 +00:00
ftnames.c * src/cache/ftccache.c (ftc_node_hash_unlink, ftc_node_hash_link) 2002-06-08 06:47:18 +00:00
ftobject.c * src/base/ftobject.c, src/base/ftsynth.c, src/base/ftstroker.c, 2002-08-22 20:35:36 +00:00
ftobjs.c * src/base/ftobjs.c (destroy_charmaps): New function. 2004-01-05 14:41:59 +00:00
ftoutln.c * include/freetype/ftcache.h: Delete duplicated definition of 2004-01-22 09:07:12 +00:00
ftpfr.c * src/autohint/ahhint.c (ah_hinter_load_glyph): Patch from 2003-10-20 08:29:46 +00:00
ftstream.c * include/freetype/t1tables.h (t1_blend_max): Fix typo. 2002-03-30 13:16:35 +00:00
ftstroke.c * include/freetype/ftcache.h: Delete duplicated definition of 2004-01-22 09:07:12 +00:00
ftsynth.c * src/cff/cffgload.c (cff_lookup_glyph_by_stdcharcode): Handle 2003-12-24 13:37:58 +00:00
ftsysio.c adding experimental (alpha) exception support code + system code 2002-04-25 21:42:59 +00:00
ftsysmem.c adding experimental (alpha) exception support code + system code 2002-04-25 21:42:59 +00:00
ftsystem.c * README.UNX: updated the Unix-specific quick-compilation guide to 2002-04-12 09:31:48 +00:00
fttrigon.c * src/base/fttrigon.c, src/base/ftgloadr.c: Inlude 2003-12-26 07:26:08 +00:00
fttype1.c * src/base/fttype1.c (FT_Get_PS_Font_Info): Fix incorrectly applied 2003-11-02 09:07:21 +00:00
ftutil.c s/ft_memset/FT_MEM_SET/. 2002-07-28 05:05:24 +00:00
ftwinfnt.c * include/freetype/internal/ftserv.h (FT_FACE_FIND_SERVICE): 2003-09-22 09:53:56 +00:00
ftxf86.c Updated copyright years. 2003-09-30 07:00:42 +00:00
Jamfile * include/freetype/ftstroker.h: Renamed to... 2003-06-07 04:02:21 +00:00
rules.mk Completely revised FreeType's make management. 2003-06-09 04:46:30 +00:00