< prev index next >
src/java.desktop/share/native/libfreetype/src/cff/cffload.c
Print this page
*** 2,12 ****
*
* cffload.c
*
* OpenType and CFF data/program tables loader (body).
*
! * Copyright (C) 1996-2019 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
--- 2,12 ----
*
* cffload.c
*
* OpenType and CFF data/program tables loader (body).
*
! * Copyright (C) 1996-2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
*** 2055,2065 ****
}
if ( !error )
{
FT_TRACE4(( " top dictionary:\n" ));
! error = cff_parser_run( &parser, dict, dict + dict_len );
}
/* clean up regardless of error */
if ( idx->count )
cff_index_forget_element( idx, &dict );
--- 2055,2065 ----
}
if ( !error )
{
FT_TRACE4(( " top dictionary:\n" ));
! error = cff_parser_run( &parser, dict, FT_OFFSET( dict, dict_len ) );
}
/* clean up regardless of error */
if ( idx->count )
cff_index_forget_element( idx, &dict );
< prev index next >