freetype/src
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
..
autohint * vms_make.com: Reworked support for shareable images on VMS. The 2003-05-28 06:27:26 +00:00
base Avoid overwriting of numeric font dictionary entries for synthetic 2003-05-30 09:12:50 +00:00
bdf * include/freetype/config/ftstdlib.h (ft_strcat): New wrapper macro 2003-05-21 07:39:42 +00:00
cache Fixing bugs reported by Nelson Beebe. 2003-04-23 19:48:24 +00:00
cff Avoid overwriting of numeric font dictionary entries for synthetic 2003-05-30 09:12:50 +00:00
cid Avoid overwriting of numeric font dictionary entries for synthetic 2003-05-30 09:12:50 +00:00
gzip * src/gzip/ftgzip.c (ft_gzip_fil_io): Revert change from yesterday; 2003-05-21 21:47:25 +00:00
otlayout update of the script codes, according to the TAGS.txt file as distributed on Microsoft site. 2002-12-03 00:37:10 +00:00
pcf * include/freetype/config/ftstdlib.h (ft_strcat): New wrapper macro 2003-05-21 07:39:42 +00:00
pfr Fixing bugs reported by Nelson Beebe. 2003-04-23 19:48:24 +00:00
psaux Avoid overwriting of numeric font dictionary entries for synthetic 2003-05-30 09:12:50 +00:00
pshinter Avoid overwriting of numeric font dictionary entries for synthetic 2003-05-30 09:12:50 +00:00
psnames 2002-11-05 David Turner <david@freetype.org> 2002-11-06 22:32:54 +00:00
raster * src/raster/ftraster.c (Insert_Y_Turn): Fix overflow test. 2003-05-18 22:40:11 +00:00
sfnt * src/sfnt/ttcmap0.c (tt_cmap4_char_next): Select proper start 2003-05-19 12:45:28 +00:00
smooth Cleanups. 2003-04-23 15:50:27 +00:00
tools * src/pfr/pfrsbit.h, src/pfr/pfrsbit.c, src/pfr/pfrload.c, 2002-10-05 14:57:03 +00:00
truetype * src/gzip/ftgzip.c (ft_gzip_fil_io): Revert change from yesterday; 2003-05-21 21:47:25 +00:00
type1 Avoid overwriting of numeric font dictionary entries for synthetic 2003-05-30 09:12:50 +00:00
type42 Avoid overwriting of numeric font dictionary entries for synthetic 2003-05-30 09:12:50 +00:00
winfonts Cleanups. 2003-04-23 15:50:27 +00:00
Jamfile 2002-11-05 David Turner <david@freetype.org> 2002-11-06 22:32:54 +00:00