Go to file
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
builds automatically-generated version updates 2003-12-19 04:03:50 +00:00
devel * devel/ftoption.h: Define FT_DEBUG_MEMORY. 2003-12-20 07:43:45 +00:00
docs Add support for the hexadicimal representation of binary data 2004-01-23 19:52:40 +00:00
include Add support for the hexadicimal representation of binary data 2004-01-23 19:52:40 +00:00
objs updated 2003-06-18 07:06:54 +00:00
src Add support for the hexadicimal representation of binary data 2004-01-23 19:52:40 +00:00
tests Avoid overwriting of numeric font dictionary entries for synthetic 2003-05-30 09:12:50 +00:00
.cvsignore Formatting. 2000-10-31 19:42:53 +00:00
ChangeLog Add support for the hexadicimal representation of binary data 2004-01-23 19:52:40 +00:00
Jamfile * fixed compilation problems in the cache sub-system 2003-12-24 18:42:04 +00:00
Jamfile.in * doc/INSTALL.UNX: Cleaned up. 2003-04-21 13:30:27 +00:00
Jamrules * doc/INSTALL.UNX: Cleaned up. 2003-04-21 13:30:27 +00:00
Makefile * Makefile, configure, */*.mk, builds/unix/unix-def.in, 2002-06-14 08:09:25 +00:00
README * src/autofit/*: more updates 2003-11-23 21:39:51 +00:00
configure * builds/freetype.mk (DOC_DIR): New variable. 2003-07-09 15:20:32 +00:00
vms_make.com * vms_make.com: Reworked support for shareable images on VMS. The 2003-05-28 06:27:26 +00:00

README

  Special notes to Unix users
  ===========================

  Please  read  the file  "docs/UPGRADE.UNX".   It contains  important
  information regarding the installation  of FreeType on Unix systems,
  especially GNU based operating systems like GNU/Linux.

  FreeType 2's  library is called `libfreetype',  FreeType 1's library
  is called `libttf'.  They are *not* compatible!


  FreeType 2.1.8
  ==============

  Please read the docs/CHANGES file, it contains IMPORTANT INFORMATION.

  Read the files "docs/INSTALL" for installation instructions.

  Note  that  the FreeType  2  documentation  is  now available  as  a
  separate package from our sites.  See:

    ftp://ftp.freetype.org/pub/freetype2/ftdocs-2.1.8.tar.bz2
    ftp://ftp.freetype.org/pub/freetype2/ftdocs-2.1.8.tar.gz
    ftp://ftp.freetype.org/pub/freetype2/ftdoc218.zip


  Bugs
  ====

  Please report bugs by  e-mail to `devel@freetype.org'.  Don't forget
  to send  a detailed explanation of  the problem --  there is nothing
  worse  than receiving  a terse  message that  only says  "it doesn't
  work".


  Enjoy!


    The FreeType Team