sdk-world
v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Toggle main menu visibility
Loading...
Searching...
No Matches
cffload.h
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
* cffload.h
4
*
5
* OpenType & CFF data/program tables loader (specification).
6
*
7
* Copyright (C) 1996-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 CFFLOAD_H_
24
#define CFFLOAD_H_
25
26
27
#include <
freetype/internal/cfftypes.h
>
28
#include "
cffparse.h
"
29
#include <
freetype/internal/cffotypes.h
>
/* for CFF_Face */
30
31
32
FT_BEGIN_HEADER
33
34
FT_LOCAL( FT_UShort )
35
cff_get_standard_encoding( FT_UInt charcode );
36
37
38
FT_LOCAL( FT_String* )
39
cff_index_get_string( CFF_Font font,
40
FT_UInt element );
41
42
FT_LOCAL( FT_String* )
43
cff_index_get_sid_string( CFF_Font font,
44
FT_UInt sid );
45
46
47
FT_LOCAL( FT_Error )
48
cff_index_access_element( CFF_Index idx,
49
FT_UInt element,
50
FT_Byte** pbytes,
51
FT_ULong* pbyte_len );
52
53
FT_LOCAL(
void
)
54
cff_index_forget_element( CFF_Index idx,
55
FT_Byte** pbytes );
56
57
FT_LOCAL( FT_String* )
58
cff_index_get_name( CFF_Font font,
59
FT_UInt element );
60
61
62
FT_LOCAL( FT_UInt )
63
cff_charset_cid_to_gindex( CFF_Charset charset,
64
FT_UInt cid );
65
66
67
FT_LOCAL( FT_Error )
68
cff_font_load( FT_Library library,
69
FT_Stream stream,
70
FT_Int face_index,
71
CFF_Font font,
72
CFF_Face face,
73
FT_Bool pure_cff,
74
FT_Bool cff2 );
75
76
FT_LOCAL(
void
)
77
cff_font_done( CFF_Font font );
78
79
80
FT_LOCAL( FT_Error )
81
cff_load_private_dict( CFF_Font font,
82
CFF_SubFont subfont,
83
FT_UInt lenNDV,
84
FT_Fixed* NDV );
85
86
FT_LOCAL( FT_Byte )
87
cff_fd_select_get( CFF_FDSelect fdselect,
88
FT_UInt glyph_index );
89
90
FT_LOCAL( FT_Bool )
91
cff_blend_check_vector( CFF_Blend blend,
92
FT_UInt vsindex,
93
FT_UInt lenNDV,
94
FT_Fixed* NDV );
95
96
FT_LOCAL( FT_Error )
97
cff_blend_build_vector( CFF_Blend blend,
98
FT_UInt vsindex,
99
FT_UInt lenNDV,
100
FT_Fixed* NDV );
101
102
FT_LOCAL(
void
)
103
cff_blend_clear( CFF_SubFont subFont );
104
105
FT_LOCAL( FT_Error )
106
cff_blend_doBlend( CFF_SubFont subfont,
107
CFF_Parser parser,
108
FT_UInt numBlends );
109
110
#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
111
FT_LOCAL( FT_Error )
112
cff_get_var_blend( FT_Face face,
113
FT_UInt *num_coords,
114
FT_Fixed* *coords,
115
FT_Fixed* *normalizedcoords,
116
FT_MM_Var* *mm_var );
117
118
FT_LOCAL(
void
)
119
cff_done_blend( FT_Face face );
120
#endif
121
122
123
FT_END_HEADER
124
125
#endif
/* CFFLOAD_H_ */
126
127
128
/* END */
cffotypes.h
cffparse.h
cfftypes.h
freetype
src
cff
cffload.h
Generated by
1.18.0