|
|
|
@ -4,7 +4,7 @@ |
|
|
|
|
/* */ |
|
|
|
|
/* FreeType convenience functions to handle glyphs (body). */ |
|
|
|
|
/* */ |
|
|
|
|
/* Copyright 1996-2001, 2002, 2003, 2004, 2005 by */ |
|
|
|
|
/* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2007 by */ |
|
|
|
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
|
|
|
|
/* */ |
|
|
|
|
/* This file is part of the FreeType project, and may only be used, */ |
|
|
|
@ -376,6 +376,8 @@ |
|
|
|
|
const FT_Glyph_Class* clazz; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*target = 0; |
|
|
|
|
|
|
|
|
|
/* check arguments */ |
|
|
|
|
if ( !target || !source || !source->clazz ) |
|
|
|
|
{ |
|
|
|
@ -383,8 +385,6 @@ |
|
|
|
|
goto Exit; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
*target = 0; |
|
|
|
|
|
|
|
|
|
clazz = source->clazz; |
|
|
|
|
error = ft_new_glyph( source->library, clazz, © ); |
|
|
|
|
if ( error ) |
|
|
|
|