/[freetype]/freetype2/src/autofit/afloader.c
ViewVC logotype

Diff of /freetype2/src/autofit/afloader.c

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

revision 1.15 by wl, Thu Mar 3 17:09:07 2005 UTC revision 1.16 by wl, Wed Mar 23 16:45:24 2005 UTC
# Line 20  Line 20 
20  #include "afhints.h"  #include "afhints.h"
21  #include "afglobal.h"  #include "afglobal.h"
22  #include "aflatin.h"  #include "aflatin.h"
23    #include "aferrors.h"
24    
25    
26    FT_LOCAL_DEF( FT_Error )    FT_LOCAL_DEF( FT_Error )
# Line 51  Line 52 
52    af_loader_reset( AF_Loader  loader,    af_loader_reset( AF_Loader  loader,
53                     FT_Face    face )                     FT_Face    face )
54    {    {
55      FT_Error  error = FT_Err_Ok;      FT_Error  error = AF_Err_Ok;
56    
57    
58      loader->face    = face;      loader->face    = face;
# Line 331  Line 332 
332              if ( start_point + k >= num_base_points         ||              if ( start_point + k >= num_base_points         ||
333                                 l >= (FT_UInt)num_new_points )                                 l >= (FT_UInt)num_new_points )
334              {              {
335                error = FT_Err_Invalid_Composite;                error = AF_Err_Invalid_Composite;
336                goto Exit;                goto Exit;
337              }              }
338    
# Line 369  Line 370 
370    
371      default:      default:
372        /* we don't support other formats (yet?) */        /* we don't support other formats (yet?) */
373        error = FT_Err_Unimplemented_Feature;        error = AF_Err_Unimplemented_Feature;
374      }      }
375    
376    Hint_Metrics:    Hint_Metrics:
# Line 448  Line 449 
449    
450    
451      if ( !size )      if ( !size )
452        return FT_Err_Invalid_Argument;        return AF_Err_Invalid_Argument;
453    
454      FT_ZERO( &scaler );      FT_ZERO( &scaler );
455    

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

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