freetype/src/type1
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
..
Jamfile 2002-11-05 David Turner <david@freetype.org> 2002-11-06 22:32:54 +00:00
module.mk Renamed z1* files back to t1*; the same transition for Z1_* structures 2000-10-28 17:10:06 +00:00
rules.mk Completely revised FreeType's make management. 2003-06-09 04:46:30 +00:00
t1afm.c * include/freetype/internal/ftdriver.h, 2003-06-05 04:31:05 +00:00
t1afm.h * src/type1/t1driver.c, src/type1/t1parse.c: 16bit fixes. 2002-04-01 22:01:46 +00:00
t1driver.c Updated copyright years. 2003-09-30 07:00:42 +00:00
t1driver.h * src/type1/t1driver.c, src/type1/t1parse.c: 16bit fixes. 2002-04-01 22:01:46 +00:00
t1errors.h Formatting. 2001-06-19 23:03:41 +00:00
t1gload.c * src/type1/t1gload.c (T1_Load_Glyph), src/cff/cffgload.c 2003-08-06 17:27:14 +00:00
t1gload.h * include/freetype/internal/ftdriver.h, 2003-06-05 04:31:05 +00:00
t1load.c Completely revised Type 42 parser. It now handles both fonts 2003-10-16 15:48:39 +00:00
t1load.h * src/sfnt/ttload.c (TT_LookUp_Table): Protect against tables 2002-05-12 19:59:17 +00:00
t1objs.c * include/freetype/internal/services/svpsname.h (added), 2003-09-29 20:33:37 +00:00
t1objs.h * src/type1/t1driver.c, src/type1/t1parse.c: 16bit fixes. 2002-04-01 22:01:46 +00:00
t1parse.c Heavy modification of the PS parser to handle comments and strings 2003-10-07 05:49:41 +00:00
t1parse.h Heavy modification of the PS parser to handle comments and strings 2003-10-07 05:49:41 +00:00
t1tokens.h * Jamfile: adding the "refdoc" target to the Jamfile in order to 2003-08-17 22:31:23 +00:00
type1.c finishing function header formatting 2001-06-28 17:49:10 +00:00