Fork of freetype for ReFuel, Only expect ABI changes.
Go to file
Werner Lemberg e3f41982a2 Completely revised Type 42 parser. It now handles both fonts
produced with ttftot42 (tested version 0.3.1) and
TrueTypeToType42.ps (tested version May 2001; it is necessary to
fix the broken header comment to be `%!PS-TrueTypeFont...').

* src/type42/t42objs.c (T42_GlyphSlot_Load): Change fourth
parameter to `FT_UInt'.
* src/type42/t42objs.h: Updated.

* src/type42/t42parse.h (T42_ParserRec): Change type of `in_memory'
to FT_Bool.
(T42_Loader): Change type of `num_chars' and `num_glyphs' to
FT_UInt.
Add `swap_table' element.
* src/type42/t42parse.c (T42_KEYWORD_COUNT, T1_ToFixed,
T1_ToCoordArray, T1_ToTokenArray): Removed.
(T1_ToBytes): New macro.
(t42_is_alpha, t42_hexval): Removed.
(t42_is_space): Handle `\0'.
(t42_parse_encoding): Updated to use new PostScript parser routines
from psaux.
Handle `/Encoding [ ... ]' also.
(T42_Load_Status): New enumeration.
(t42_parse_sfnts): Updated to use new PostScript parser routines
from psaux.
(t42_parse_charstrings): Updated to use new PostScript parser
routines from psaux.
Handle `/CharStrings << ... >>' also.
Don't expect that /.notdef is the first element in dictionary.  Copy
code from type1 module to handle this.
(t42_parse_dict): Updated to use new PostScript parser routines
from psaux.
Remove code for synthetic fonts (which can't occur in Type 42
fonts).
(t42_loader_done): Release `swap_table'.

* src/psaux/psobjs.c (skip_string): Increase `cur' properly.

* src/type1/t1load.c (parse_charstrings): Make test for `.notdef'
faster.
2003-10-16 15:48:39 +00:00
builds * include/freetype/internal/services/bdf.h: Renamed to... 2003-09-16 07:57:25 +00:00
devel * include/freetype/config/ftoption.h, devel/ftoption.h, 2003-08-17 22:09:14 +00:00
docs * docs/CHANGES: Updated. 2003-09-20 17:23:36 +00:00
include Heavy modification of the PS parser to handle comments and strings 2003-10-07 05:49:41 +00:00
objs updated 2003-06-18 07:06:54 +00:00
src Completely revised Type 42 parser. It now handles both fonts 2003-10-16 15:48:39 +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 Completely revised Type 42 parser. It now handles both fonts 2003-10-16 15:48:39 +00:00
configure * builds/freetype.mk (DOC_DIR): New variable. 2003-07-09 15:20:32 +00:00
install Formatting. 2002-01-09 21:01:18 +00:00
Jamfile * Jamfile: adding the "refdoc" target to the Jamfile in order to 2003-08-17 22:31:23 +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 * README, builds/unix/configure, builds/unix/configure.ac, 2003-09-11 19:58:19 +00:00
vms_make.com * vms_make.com: Reworked support for shareable images on VMS. The 2003-05-28 06:27:26 +00:00

  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.5
  ==============

  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.5.tar.bz2
    ftp://ftp.freetype.org/pub/freetype2/ftdocs-2.1.5.tar.gz
    ftp://ftp.freetype.org/pub/freetype2/ftdoc215.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