5 |
/* Routines used to load and analyze a given glyph before hinting */ |
/* Routines used to load and analyze a given glyph before hinting */ |
6 |
/* (body). */ |
/* (body). */ |
7 |
/* */ |
/* */ |
8 |
/* Copyright 2000-2001, 2002, 2003, 2004 Catharon Productions Inc. */ |
/* Copyright 2000-2001, 2002, 2003, 2004, 2005 Catharon Productions Inc. */ |
9 |
/* Author: David Turner */ |
/* Author: David Turner */ |
10 |
/* */ |
/* */ |
11 |
/* This file is part of the Catharon Typography Project and shall only */ |
/* This file is part of the Catharon Typography Project and shall only */ |
303 |
FT_Int max = outline->max_points; |
FT_Int max = outline->max_points; |
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 ) ) |
308 |
goto Exit; |
goto Exit; |
309 |
|
|
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 ) ) |
if ( FT_RENEW_ARRAY( outline->horz_segments, max * 2, news * 2 ) ) |
313 |
goto Exit; |
goto Exit; |