/[freetype]/freetype2/src/truetype/ttgload.c
ViewVC logotype

Diff of /freetype2/src/truetype/ttgload.c

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

revision 1.177 by wl, Mon Apr 9 08:40:11 2007 UTC revision 1.178 by wl, Fri Apr 27 17:16:50 2007 UTC
# Line 271  Line 271 
271    
272      n_points = 0;      n_points = 0;
273      if ( n_contours > 0 )      if ( n_contours > 0 )
274        {
275        n_points = cont[-1] + 1;        n_points = cont[-1] + 1;
276          if ( n_points < 0 )
277            goto Invalid_Outline;
278        }
279    
280      /* note that we will add four phantom points later */      /* note that we will add four phantom points later */
281      error = FT_GLYPHLOADER_CHECK_POINTS( gloader, n_points + 4, 0 );      error = FT_GLYPHLOADER_CHECK_POINTS( gloader, n_points + 4, 0 );
# Line 682  Line 686 
686      FT_GlyphLoader  gloader = loader->gloader;      FT_GlyphLoader  gloader = loader->gloader;
687      FT_Error        error   = TT_Err_Ok;      FT_Error        error   = TT_Err_Ok;
688      FT_Outline*     outline;      FT_Outline*     outline;
689      FT_UInt         n_points;      FT_Int          n_points;
690    
691    
692      outline  = &gloader->current.outline;      outline  = &gloader->current.outline;
# Line 709  Line 713 
713        /* Deltas apply to the unscaled data. */        /* Deltas apply to the unscaled data. */
714        FT_Vector*  deltas;        FT_Vector*  deltas;
715        FT_Memory   memory = loader->face->memory;        FT_Memory   memory = loader->face->memory;
716        FT_UInt     i;        FT_Int      i;
717    
718    
719        error = TT_Vary_Get_Glyph_Deltas( (TT_Face)(loader->face),        error = TT_Vary_Get_Glyph_Deltas( (TT_Face)(loader->face),

Legend:
Removed from v.1.177  
changed lines
  Added in v.1.178

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