* src/cff/cffgload.c (cff_decoder_prepare): Fix change from


			
			
				david-pic-changes
			
			
		
Werner Lemberg 18 years ago
parent f48aec7b1e
commit 95104a4d57
  1. 3
      ChangeLog
  2. 2
      src/cff/cffgload.c

@ -7,6 +7,9 @@
(ps_parser_load_field_table): Use `fields->array_max' instead of
T1_MAX_TABLE_ELEMENTS to limit the number of arguments.
* src/cff/cffgload.c (cff_decoder_prepare): Fix change from
2007-06-06.
2006-06-17 Werner Lemberg <wl@gnu.org>
* src/tools/ftrandom.c (font_size): New global variable.

@ -387,7 +387,7 @@
FT_Byte fd_index = cff_fd_select_get( &cff->fd_select, glyph_index );
if ( fd_index > CFF_MAX_CID_FONTS )
if ( fd_index >= cff->num_subfonts )
{
FT_TRACE4(( "cff_decoder_prepare: invalid CID subfont index\n" ));
error = CFF_Err_Invalid_File_Format;

Loading…
Cancel
Save