sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
cffdecode.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * cffdecode.h
4 *
5 * PostScript CFF (Type 2) decoding routines (specification).
6 *
7 * Copyright (C) 2017-2025 by
8 * David Turner, Robert Wilhelm, and Werner Lemberg.
9 *
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.
15 *
16 */
17
18
23#ifndef CFFDECODE_H_
24#define CFFDECODE_H_
25
26
28
29
30FT_BEGIN_HEADER
31
32 FT_LOCAL( void )
33 cff_decoder_init( CFF_Decoder* decoder,
34 TT_Face face,
35 CFF_Size size,
36 CFF_GlyphSlot slot,
37 FT_Bool hinting,
38 FT_Render_Mode hint_mode,
39 CFF_Decoder_Get_Glyph_Callback get_callback,
40 CFF_Decoder_Free_Glyph_Callback free_callback );
41
42 FT_LOCAL( FT_Error )
43 cff_decoder_prepare( CFF_Decoder* decoder,
44 CFF_Size size,
45 FT_UInt glyph_index );
46
47
48 FT_LOCAL( FT_Int )
49 cff_lookup_glyph_by_stdcharcode( CFF_Font cff,
50 FT_Int charcode );
51
52
53#ifdef CFF_CONFIG_OPTION_OLD_ENGINE
54 FT_LOCAL( FT_Error )
55 cff_decoder_parse_charstrings( CFF_Decoder* decoder,
56 FT_Byte* charstring_base,
57 FT_ULong charstring_len,
58 FT_Bool in_dict );
59#endif
60
61
62FT_END_HEADER
63
64#endif
65
66
67/* END */