freetype2/include/freetype
Werner Lemberg 65ba724b66 Avoid overwriting of numeric font dictionary entries for synthetic
fonts. Additionally, some entries were handled as `integer' instead
of `number'.

* include/freetype/internal/psaux.h (T1_FieldType): Add
T1_FIELD_TYPE_BOOL_P, T1_FIELD_TYPE_INTEGER_P, and
T1_FIELD_TYPE_FIXED_P.
(T1_FIELD_BOOL_P, T1_FIELD_NUM_P, T1_FIELD_FIXED_P): New macros.
* src/psaux/psobjs.c (ps_parser_load_field): Handle new field types.

* include/freetype/internal/cfftypes.h (CFF_FontRecDict),
src/cff/cfftoken.h: Change type of underline_position and
underline_thickness to FT_Fixed.
* src/cff/cffload.c (cff_subfont_load): Fix default values of
underline_position and underline_thickness.
* src/cff/cffobjs.c (cff_face_init): Set underline_position
and underline_thickness in `root'.

* include/freetype/internal/t1types.h (T1_Font): Change point_type
and stroke_width to pointers.
* include/freetype/t1tables.h (PS_FontInfo): Change italic_angle,
is_fixed_pitch, underline_position, and underline_thickness to
pointers.
* src/type1/t1tokens.h: Change italic_angle, is_fixed_pitch,
underline_position, and underline_thickness to pointers.  Change
the type of the latter two to `fixed'.
Change type of stroke_width to `fixed' and make it a pointer.
Change paint_type to pointer.
* src/type1/t1objs.c (T1_Face_Done): Updated.
(T1_Face_Init): Updated.
Fix assignment of underline_position and underline_thickness.

* src/cid/cidtoken.h: Change italic_angle, is_fixed_pitch,
underline_position, and underline_thickness to pointers.  Change
the type of the latter two to `fixed'.
Change type of stroke_width to `fixed'.
* src/cid/cidobjs.c (cid_face_done): Updated.
(cid_face_init): Updated.
Fix assignment of underline_position and underline_thickness.

* src/type42/t42parse.c: Change italic_angle, is_fixed_pitch,
underline_position, and underline_thickness to pointers.  Change the
type of the latter two to `fixed'.
Change type of stroke_width to `fixed' and make it a pointer.
Change paint_type to pointer.
* src/type42/t42objs.c (T42_Face_Init): Updated.
Fix assignment of underline_position and underline_thickness.
(T42_Face_Done): Updated.

* src/base/ftobjs.c (open_face_from_buffer): Fix compiler warning.
* src/pshinter/pshglob.c, src/pshinter/pshglob.h
(psh_globals_set_scale): Make it a local function.

* test/gview.c: Fix remaming ps3->ps typo.
Formatting.
2003-05-30 09:12:50 +00:00
..
cache Formatting, minor doc fixes. 2002-09-18 11:32:12 +00:00
config * include/freetype/config/ftstdlib.h (ft_strcat): New wrapper macro 2003-05-21 07:39:42 +00:00
internal Avoid overwriting of numeric font dictionary entries for synthetic 2003-05-30 09:12:50 +00:00
freetype.h * src/base/ftmac.c (FT_New_Face_From_SFNT): Handle CFF files also. 2003-05-15 06:44:09 +00:00
ftbbox.h finishing function header formatting 2001-06-28 17:49:10 +00:00
ftbdf.h Cleanups. 2003-04-22 07:49:24 +00:00
ftcache.h * include/freetype/ftcache.h (FT_POINTER_TO_ULONG): New macro. 2002-10-25 12:22:31 +00:00
ftchapters.h updating documentation & changes 2002-11-13 23:28:08 +00:00
fterrdef.h * src/type42/t42drivr.c: s/T42_ENCODING_TYPE_/T1_ENCODING_TYPE_/. 2002-05-21 14:13:01 +00:00
fterrors.h * builds/vms/ftconfig.h: Rename LOCAL_DEF and LOCAL_FUNC to 2002-03-29 07:43:04 +00:00
ftglyph.h * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Activate code for 2003-05-28 06:10:57 +00:00
ftgzip.h Cleanups. 2003-04-22 07:49:24 +00:00
ftimage.h Formatting, minor doc fixes. 2002-09-18 11:32:12 +00:00
ftincrem.h Cleanups. 2003-04-22 07:49:24 +00:00
ftlist.h finishing function header formatting 2001-06-28 17:49:10 +00:00
ftmac.h Formatting. 2001-12-07 21:56:32 +00:00
ftmm.h finishing function header formatting 2001-06-28 17:49:10 +00:00
ftmoderr.h * src/pfr/pfrerror.h: New file. 2002-04-28 10:25:55 +00:00
ftmodule.h * src/sfnt/ttpost.c (load_post_names, tt_face_free_ps_names, 2002-09-27 11:09:23 +00:00
ftoutln.h * massive re-formatting changes to many, many source files. I don't 2002-08-27 20:20:29 +00:00
ftpfr.h Cleanups. 2003-04-22 07:49:24 +00:00
ftrender.h * src/sfnt/ttpost.c (load_post_names, tt_face_free_ps_names, 2002-09-27 11:09:23 +00:00
ftsizes.h documentation updates for 2.1.2 2002-06-23 10:57:31 +00:00
ftsnames.h * src/truetype/ttgload.c: 16bit fixes. 2002-04-01 14:25:28 +00:00
ftstroker.h * include/freetype/freetype.h, include/freetype/ftimage.h, 2002-09-17 22:57:29 +00:00
ftsynth.h * include/freetype/ftsynth.h, src/base/ftsynth.c: rewriting the automatic 2002-07-01 21:33:48 +00:00
ftsysio.h Formatting, minor doc fixes. 2002-09-18 11:32:12 +00:00
ftsysmem.h Formatting, minor doc fixes. 2002-09-18 11:32:12 +00:00
ftsystem.h * include/freetype/ftgzip.h, src/gzip/ftgzip.c: 2002-10-31 22:19:27 +00:00
fttrigon.h Fixing ChangeLog entries. 2002-07-26 09:09:10 +00:00
fttypes.h Adding some comments. 2002-08-18 07:15:52 +00:00
ftwinfnt.h Cleanups. 2003-04-22 07:49:24 +00:00
ftxf86.h * src/bdf/descrip.mms, src/type42/descrip.mms: New files. 2002-05-30 19:22:14 +00:00
t1tables.h Avoid overwriting of numeric font dictionary entries for synthetic 2003-05-30 09:12:50 +00:00
ttnameid.h Cleanups. 2003-04-22 07:49:24 +00:00
tttables.h Cleanups. 2003-04-22 07:49:24 +00:00
tttags.h finishing function header formatting 2001-06-28 17:49:10 +00:00
ttunpat.h Minor cleanups. 2003-04-29 13:23:47 +00:00