ReactOS 0.4.15-dev-8241-g63935f8
t1load.h
Go to the documentation of this file.
1/***************************************************************************/
2/* */
3/* t1load.h */
4/* */
5/* Type 1 font loader (specification). */
6/* */
7/* Copyright 1996-2018 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
23#include <ft2build.h>
24#include FT_INTERNAL_STREAM_H
25#include FT_INTERNAL_POSTSCRIPT_AUX_H
26#include FT_MULTIPLE_MASTERS_H
27
28#include "t1parse.h"
29
30
32
33
34 typedef struct T1_Loader_
35 {
36 T1_ParserRec parser; /* parser used to read the stream */
37
38 FT_Int num_chars; /* number of characters in encoding */
39 PS_TableRec encoding_table; /* PS_Table used to store the */
40 /* encoding character names */
41
45 PS_TableRec swap_table; /* For moving .notdef glyph to index 0. */
46
51
52 FT_UInt keywords_encountered; /* T1_LOADER_ENCOUNTERED_XXX */
53
55
56
57 /* treatment of some keywords differs depending on whether */
58 /* they precede or follow certain other keywords */
59
60#define T1_PRIVATE ( 1 << 0 )
61#define T1_FONTDIR_AFTER_PRIVATE ( 1 << 1 )
62
63
66
67#ifndef T1_CONFIG_OPTION_NO_MM_SUPPORT
68
71 FT_Multi_Master* master );
72
75 FT_MM_Var* *master );
76
79 FT_UInt num_coords,
81
84 FT_UInt num_coords,
86
89 FT_UInt num_coords,
90 FT_Long* coords );
91
94 FT_UInt instance_index );
95
98 FT_UInt num_coords,
100
103 FT_UInt num_coords,
104 FT_Fixed* coords );
105
106 FT_LOCAL( void )
108
109#endif /* !T1_CONFIG_OPTION_NO_MM_SUPPORT */
110
111
113
114#endif /* T1LOAD_H_ */
115
116
117/* END */
#define FT_LOCAL(x)
Definition: ftconfig.h:387
#define FT_END_HEADER
Definition: ftheader.h:54
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:108
signed long FT_Fixed
Definition: fttypes.h:288
int FT_Error
Definition: fttypes.h:300
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
PS_TableRec encoding_table
Definition: t1load.h:39
FT_Int num_subrs
Definition: t1load.h:47
FT_Bool fontdata
Definition: t1load.h:50
PS_TableRec swap_table
Definition: t1load.h:45
FT_Int num_glyphs
Definition: t1load.h:42
PS_TableRec glyph_names
Definition: t1load.h:43
FT_Hash subrs_hash
Definition: t1load.h:49
PS_TableRec subrs
Definition: t1load.h:48
FT_Int num_chars
Definition: t1load.h:38
T1_ParserRec parser
Definition: t1load.h:36
FT_UInt keywords_encountered
Definition: t1load.h:52
PS_TableRec charstrings
Definition: t1load.h:44
FT_BEGIN_HEADER struct T1_Loader_ * T1_Loader
T1_Reset_MM_Blend(T1_Face face, FT_UInt instance_index)
Definition: t1load.c:567
T1_Get_Var_Design(T1_Face face, FT_UInt num_coords, FT_Fixed *coords)
Definition: t1load.c:601
T1_Get_MM_Blend(T1_Face face, FT_UInt num_coords, FT_Fixed *coords)
Definition: t1load.c:445
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:582
T1_Set_MM_Blend(T1_Face face, FT_UInt num_coords, FT_Fixed *coords)
Definition: t1load.c:424
T1_Done_Blend(T1_Face face)
Definition: t1load.c:637
T1_Open_Face(T1_Face face)
Definition: t1load.c:2301
T1_Set_MM_Design(T1_Face face, FT_UInt num_coords, FT_Long *coords)
Definition: t1load.c:480
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
FT_BEGIN_HEADER struct T1_ParserRec_ T1_ParserRec