4 |
/* */ |
/* */ |
5 |
/* Type 42 objects manager (body). */ |
/* Type 42 objects manager (body). */ |
6 |
/* */ |
/* */ |
7 |
/* Copyright 2002, 2003, 2004 by Roberto Alameda. */ |
/* Copyright 2002, 2003, 2004, 2005 by Roberto Alameda. */ |
8 |
/* */ |
/* */ |
9 |
/* This file is part of the FreeType project, and may only be used, */ |
/* This file is part of the FreeType project, and may only be used, */ |
10 |
/* modified, and distributed under the terms of the FreeType project */ |
/* modified, and distributed under the terms of the FreeType project */ |
515 |
FT_LOCAL_DEF( void ) |
FT_LOCAL_DEF( void ) |
516 |
T42_GlyphSlot_Done( T42_GlyphSlot slot ) |
T42_GlyphSlot_Done( T42_GlyphSlot slot ) |
517 |
{ |
{ |
518 |
FT_Face face = slot->root.face; |
FT_Done_GlyphSlot( slot->ttslot ); |
|
T42_Face t42face = (T42_Face)face; |
|
|
FT_GlyphSlot cur = t42face->ttf_face->glyph; |
|
|
|
|
|
|
|
|
while ( cur ) |
|
|
{ |
|
|
if ( cur == slot->ttslot ) |
|
|
{ |
|
|
FT_Done_GlyphSlot( slot->ttslot ); |
|
|
break; |
|
|
} |
|
|
|
|
|
cur = cur->next; |
|
|
} |
|
519 |
} |
} |
520 |
|
|
521 |
|
|