/[freetype]/freetype2/src/type1/t1parse.c
ViewVC logotype

Diff of /freetype2/src/type1/t1parse.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.43 by freetype, Tue Mar 15 23:31:48 2005 UTC revision 1.44 by wl, Wed Mar 16 01:49:54 2005 UTC
# Line 102  Line 102 
102      FT_UShort  tag;      FT_UShort  tag;
103      FT_Long    size;      FT_Long    size;
104    
105    
106      if ( FT_STREAM_SEEK( 0 ) )      if ( FT_STREAM_SEEK( 0 ) )
107        goto Exit;        goto Exit;
108                
# Line 149  Line 150 
150      parser->in_memory    = 0;      parser->in_memory    = 0;
151      parser->single_block = 0;      parser->single_block = 0;
152    
153     /* check the header format */      /* check the header format */
154      error = check_type1_format( stream, "%!PS-AdobeFont-1", 16 );      error = check_type1_format( stream, "%!PS-AdobeFont-1", 16 );
155      if ( error )      if ( error )
156      {      {
# Line 216  Line 217 
217      }      }
218      else      else
219      {      {
220        /* read segment in memory - yeah that sucks, but so does the format */        /* read segment in memory - this is clumsy, but so does the format */
221        if ( FT_ALLOC( parser->base_dict, size )     ||        if ( FT_ALLOC( parser->base_dict, size )       ||
222             FT_STREAM_READ( parser->base_dict, size ) )             FT_STREAM_READ( parser->base_dict, size ) )
223          goto Exit;          goto Exit;
224        parser->base_len = size;        parser->base_len = size;

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26