1 /****************************************************************************
5 * PostScript CFF (Type 2) decoding routines (specification).
7 * Copyright (C) 2017-2023 by
8 * David Turner, Robert Wilhelm, and Werner Lemberg.
10 * This file is part of the FreeType project, and may only be used,
11 * modified, and distributed under the terms of the FreeType project
12 * license, LICENSE.TXT. By continuing to use, modify, or distribute
13 * this file you indicate that you have read the license and
14 * understand and accept it fully.
23 #include <freetype/internal/psaux.h>
29 cff_decoder_init( CFF_Decoder* decoder,
34 FT_Render_Mode hint_mode,
35 CFF_Decoder_Get_Glyph_Callback get_callback,
36 CFF_Decoder_Free_Glyph_Callback free_callback );
39 cff_decoder_prepare( CFF_Decoder* decoder,
41 FT_UInt glyph_index );
45 cff_lookup_glyph_by_stdcharcode( CFF_Font cff,
49 #ifdef CFF_CONFIG_OPTION_OLD_ENGINE
51 cff_decoder_parse_charstrings( CFF_Decoder* decoder,
52 FT_Byte* charstring_base,
53 FT_ULong charstring_len,