ReactOS 0.4.16-dev-2384-gff6bd79
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-2020 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
19#ifndef T1LOAD_H_
20#define T1LOAD_H_
21
22
25#include <freetype/ftmm.h>
26
27#include "t1parse.h"
28
29
31
32
33 typedef struct T1_Loader_
34 {
35 T1_ParserRec parser; /* parser used to read the stream */
36
37 FT_Int num_chars; /* number of characters in encoding */
38 PS_TableRec encoding_table; /* PS_Table used to store the */
39 /* encoding character names */
40
44 PS_TableRec swap_table; /* For moving .notdef glyph to index 0. */
45
50
51 FT_UInt keywords_encountered; /* T1_LOADER_ENCOUNTERED_XXX */
52
54
55
56 /* treatment of some keywords differs depending on whether */
57 /* they precede or follow certain other keywords */
58
59#define T1_PRIVATE ( 1 << 0 )
60#define T1_FONTDIR_AFTER_PRIVATE ( 1 << 1 )
61
62
65
66#ifndef T1_CONFIG_OPTION_NO_MM_SUPPORT
67
70 FT_Multi_Master* master );
71
74 FT_MM_Var* *master );
75
78 FT_UInt num_coords,
80
83 FT_UInt num_coords,
85
88 FT_UInt num_coords,
89 FT_Long* coords );
90
93 FT_UInt instance_index );
94
97 FT_UInt num_coords,
99
102 FT_UInt num_coords,
103 FT_Fixed* coords );
104
105 FT_LOCAL( void )
107
110 FT_UInt len,
111 FT_Fixed* weightvector );
112
115 FT_UInt* len,
116 FT_Fixed* weightvector );
117
118#endif /* !T1_CONFIG_OPTION_NO_MM_SUPPORT */
119
120
122
123#endif /* T1LOAD_H_ */
124
125
126/* END */
#define FT_LOCAL(x)
#define FT_END_HEADER
Definition: ftheader.h:57
#define FT_BEGIN_HEADER
Definition: ftheader.h:37
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:108
signed long FT_Fixed
Definition: fttypes.h:287
int FT_Error
Definition: fttypes.h:299
signed long FT_Long
Definition: fttypes.h:242
unsigned int FT_UInt
Definition: fttypes.h:231
signed int FT_Int
Definition: fttypes.h:220
GLuint coords
Definition: glext.h:7368
GLenum GLuint GLint GLenum face
Definition: glext.h:7025
GLenum GLsizei len
Definition: glext.h:6722
PS_TableRec encoding_table
Definition: t1load.h:38
FT_Int num_subrs
Definition: t1load.h:46
FT_Bool fontdata
Definition: t1load.h:49
PS_TableRec swap_table
Definition: t1load.h:44
FT_Int num_glyphs
Definition: t1load.h:41
PS_TableRec glyph_names
Definition: t1load.h:42
FT_Hash subrs_hash
Definition: t1load.h:48
PS_TableRec subrs
Definition: t1load.h:47
FT_Int num_chars
Definition: t1load.h:37
T1_ParserRec parser
Definition: t1load.h:35
FT_UInt keywords_encountered
Definition: t1load.h:51
PS_TableRec charstrings
Definition: t1load.h:43
T1_Get_MM_WeightVector(T1_Face face, FT_UInt *len, FT_Fixed *weightvector)
Definition: t1load.c:548
FT_BEGIN_HEADER struct T1_Loader_ * T1_Loader
T1_Reset_MM_Blend(T1_Face face, FT_UInt instance_index)
Definition: t1load.c:664
T1_Get_Var_Design(T1_Face face, FT_UInt num_coords, FT_Fixed *coords)
Definition: t1load.c:698
T1_Get_MM_Blend(T1_Face face, FT_UInt num_coords, FT_Fixed *coords)
Definition: t1load.c:473
FT_BEGIN_HEADER struct T1_Loader_ T1_LoaderRec
T1_Set_Var_Design(T1_Face face, FT_UInt num_coords, FT_Fixed *coords)
Definition: t1load.c:679
T1_Set_MM_Blend(T1_Face face, FT_UInt num_coords, FT_Fixed *coords)
Definition: t1load.c:452
T1_Done_Blend(T1_Face face)
Definition: t1load.c:734
T1_Open_Face(T1_Face face)
Definition: t1load.c:2499
T1_Set_MM_Design(T1_Face face, FT_UInt num_coords, FT_Long *coords)
Definition: t1load.c:577
T1_Get_MM_Var(T1_Face face, FT_MM_Var **master)
Definition: t1load.c:302
T1_Get_Multi_Master(T1_Face face, FT_Multi_Master *master)
Definition: t1load.c:192
T1_Set_MM_WeightVector(T1_Face face, FT_UInt len, FT_Fixed *weightvector)
Definition: t1load.c:508
FT_BEGIN_HEADER struct T1_ParserRec_ T1_ParserRec