Home | History | Annotate | Download | only in base

Lines Matching defs:new_max

210     FT_UInt      new_max, old_max;
214 new_max = base->n_points + current->n_points + n_points;
217 if ( new_max > old_max )
219 new_max = FT_PAD_CEIL( new_max, 8 );
221 if ( new_max > FT_OUTLINE_POINTS_MAX )
224 if ( FT_RENEW_ARRAY( base->points, old_max, new_max ) ||
225 FT_RENEW_ARRAY( base->tags, old_max, new_max ) )
231 old_max * 2, new_max * 2 ) )
234 FT_ARRAY_MOVE( loader->base.extra_points + new_max,
238 loader->base.extra_points2 = loader->base.extra_points + new_max;
242 loader->max_points = new_max;
247 new_max = base->n_contours + current->n_contours +
249 if ( new_max > old_max )
251 new_max = FT_PAD_CEIL( new_max, 4 );
253 if ( new_max > FT_OUTLINE_CONTOURS_MAX )
256 if ( FT_RENEW_ARRAY( base->contours, old_max, new_max ) )
260 loader->max_contours = new_max;
281 FT_UInt new_max, old_max;
287 new_max = base->num_subglyphs + current->num_subglyphs + n_subs;
289 if ( new_max > old_max )
291 new_max = FT_PAD_CEIL( new_max, 2 );
292 if ( FT_RENEW_ARRAY( base->subglyphs, old_max, new_max ) )
295 loader->max_subglyphs = new_max;