sdk-world
v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Toggle main menu visibility
Loading...
Searching...
No Matches
t1load.h
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
* t1load.h
4
*
5
* Type 1 font 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 T1LOAD_H_
24
#define T1LOAD_H_
25
26
27
#include <
freetype/internal/ftstream.h
>
28
#include <
freetype/internal/psaux.h
>
29
#include <
freetype/ftmm.h
>
30
31
#include "
t1parse.h
"
32
33
34
FT_BEGIN_HEADER
35
36
37
typedef
struct
T1_Loader_
38
{
39
T1_ParserRec parser;
/* parser used to read the stream */
40
41
FT_Int num_chars;
/* number of characters in encoding */
42
PS_TableRec encoding_table;
/* PS_Table used to store the */
43
/* encoding character names */
44
45
FT_Int num_glyphs;
46
PS_TableRec glyph_names;
47
PS_TableRec charstrings;
48
PS_TableRec swap_table;
/* For moving .notdef glyph to index 0. */
49
50
FT_Int num_subrs;
51
PS_TableRec subrs;
52
FT_Hash subrs_hash;
53
FT_Bool fontdata;
54
55
FT_UInt keywords_encountered;
/* T1_LOADER_ENCOUNTERED_XXX */
56
57
} T1_LoaderRec, *T1_Loader;
58
59
60
/* treatment of some keywords differs depending on whether */
61
/* they precede or follow certain other keywords */
62
63
#define T1_PRIVATE ( 1 << 0 )
64
#define T1_FONTDIR_AFTER_PRIVATE ( 1 << 1 )
65
66
67
FT_LOCAL( FT_Error )
68
T1_Open_Face( T1_Face face );
69
70
#ifndef T1_CONFIG_OPTION_NO_MM_SUPPORT
71
72
FT_LOCAL( FT_Error )
73
T1_Get_Multi_Master( FT_Face face,
74
FT_Multi_Master* master );
75
76
FT_LOCAL( FT_Error )
77
T1_Get_MM_Var( FT_Face face,
78
FT_MM_Var* *master );
79
80
FT_LOCAL( FT_Error )
81
T1_Set_MM_Blend( FT_Face face,
82
FT_UInt num_coords,
83
FT_Fixed* coords );
84
85
FT_LOCAL( FT_Error )
86
T1_Get_MM_Blend( FT_Face face,
87
FT_UInt num_coords,
88
FT_Fixed* coords );
89
90
FT_LOCAL( FT_Error )
91
T1_Set_MM_Design( FT_Face face,
92
FT_UInt num_coords,
93
FT_Long* coords );
94
95
FT_LOCAL( FT_Error )
96
T1_Reset_MM_Blend( FT_Face face,
97
FT_UInt instance_index );
98
99
FT_LOCAL( FT_Error )
100
T1_Get_Var_Design( FT_Face face,
101
FT_UInt num_coords,
102
FT_Fixed* coords );
103
104
FT_LOCAL( FT_Error )
105
T1_Set_Var_Design( FT_Face face,
106
FT_UInt num_coords,
107
FT_Fixed* coords );
108
109
FT_LOCAL(
void
)
110
T1_Done_Blend( FT_Face face );
111
112
FT_LOCAL( FT_Error )
113
T1_Set_MM_WeightVector( FT_Face face,
114
FT_UInt len,
115
FT_Fixed* weightvector );
116
117
FT_LOCAL( FT_Error )
118
T1_Get_MM_WeightVector( FT_Face face,
119
FT_UInt* len,
120
FT_Fixed* weightvector );
121
122
#endif
/* !T1_CONFIG_OPTION_NO_MM_SUPPORT */
123
124
125
FT_END_HEADER
126
127
#endif
/* T1LOAD_H_ */
128
129
130
/* END */
ftmm.h
ftstream.h
psaux.h
T1_Loader_
Definition
t1load.h:38
t1parse.h
freetype
src
type1
t1load.h
Generated by
1.18.0