/[freetype]/freetype2/src/autohint/ahglyph.c
ViewVC logotype

Diff of /freetype2/src/autohint/ahglyph.c

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

revision 1.60 by werner, Wed Nov 24 07:08:20 2004 UTC revision 1.61 by freetype, Tue Feb 22 16:53:06 2005 UTC
# Line 304  Line 304 
304    
305    
306        if ( FT_RENEW_ARRAY( outline->points,        max,     news     ) ||        if ( FT_RENEW_ARRAY( outline->points,        max,     news     ) ||
307             FT_RENEW_ARRAY( outline->horz_edges,    max * 2, news * 2 ) ||             FT_RENEW_ARRAY( outline->horz_edges,    max * 2, news * 2 ) )
            FT_RENEW_ARRAY( outline->horz_segments, max * 2, news * 2 ) )  
308          goto Exit;          goto Exit;
309    
       /* readjust some pointers */  
310        outline->vert_edges    = outline->horz_edges    + news;        outline->vert_edges    = outline->horz_edges    + news;
311    
312          if ( FT_RENEW_ARRAY( outline->horz_segments, max * 2, news * 2 ) )
313            goto Exit;
314    
315          /* readjust some pointers */
316        outline->vert_segments = outline->horz_segments + news;        outline->vert_segments = outline->horz_segments + news;
317        outline->max_points    = news;        outline->max_points    = news;
318      }      }

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61

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