zenilib: zenilib/jni/external/freetype2/src/cid/cidobjs.h Source File

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
cidobjs.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* cidobjs.h */
4 /* */
5 /* CID objects manager (specification). */
6 /* */
7 /* Copyright 1996-2001, 2002, 2004, 2006 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 __CIDOBJS_H__
20 #define __CIDOBJS_H__
21
22
23 #include <ft2build.h>
24 #include FT_INTERNAL_OBJECTS_H
25 #include FT_CONFIG_CONFIG_H
26 #include FT_INTERNAL_TYPE1_TYPES_H
27
28
29 FT_BEGIN_HEADER
30
31
32 /* The following structures must be defined by the hinter */
33 typedef struct CID_Size_Hints_ CID_Size_Hints;
34 typedef struct CID_Glyph_Hints_ CID_Glyph_Hints;
35
36
37 /*************************************************************************/
38 /* */
39 /* <Type> */
40 /* CID_Driver */
41 /* */
42 /* <Description> */
43 /* A handle to a Type 1 driver object. */
44 /* */
45 typedef struct CID_DriverRec_* CID_Driver;
46
47
48 /*************************************************************************/
49 /* */
50 /* <Type> */
51 /* CID_Size */
52 /* */
53 /* <Description> */
54 /* A handle to a Type 1 size object. */
55 /* */
56 typedef struct CID_SizeRec_* CID_Size;
57
58
59 /*************************************************************************/
60 /* */
61 /* <Type> */
62 /* CID_GlyphSlot */
63 /* */
64 /* <Description> */
65 /* A handle to a Type 1 glyph slot object. */
66 /* */
67 typedef struct CID_GlyphSlotRec_* CID_GlyphSlot;
68
69
70 /*************************************************************************/
71 /* */
72 /* <Type> */
73 /* CID_CharMap */
74 /* */
75 /* <Description> */
76 /* A handle to a Type 1 character mapping object. */
77 /* */
78 /* <Note> */
79 /* The Type 1 format doesn't use a charmap but an encoding table. */
80 /* The driver is responsible for making up charmap objects */
81 /* corresponding to these tables. */
82 /* */
83 typedef struct CID_CharMapRec_* CID_CharMap;
84
85
86 /*************************************************************************/
87 /* */
88 /* HERE BEGINS THE TYPE 1 SPECIFIC STUFF */
89 /* */
90 /*************************************************************************/
91
92
93 typedef struct CID_SizeRec_
94 {
95 FT_SizeRec root;
96 FT_Bool valid;
97
98 } CID_SizeRec;
99
100
101 typedef struct CID_GlyphSlotRec_
102 {
103 FT_GlyphSlotRec root;
104
105 FT_Bool hint;
106 FT_Bool scaled;
107
108 FT_Fixed x_scale;
109 FT_Fixed y_scale;
110
111 } CID_GlyphSlotRec;
112
113
114 FT_LOCAL( void )
115 cid_slot_done( FT_GlyphSlot slot );
116
117 FT_LOCAL( FT_Error )
118 cid_slot_init( FT_GlyphSlot slot );
119
120
121 FT_LOCAL( void )
122 cid_size_done( FT_Size size ); /* CID_Size */
123
124 FT_LOCAL( FT_Error )
125 cid_size_init( FT_Size size ); /* CID_Size */
126
127 FT_LOCAL( FT_Error )
128 cid_size_request( FT_Size size, /* CID_Size */
129 FT_Size_Request req );
130
131 FT_LOCAL( FT_Error )
132 cid_face_init( FT_Stream stream,
133 FT_Face face, /* CID_Face */
134 FT_Int face_index,
135 FT_Int num_params,
136 FT_Parameter* params );
137
138 FT_LOCAL( void )
139 cid_face_done( FT_Face face ); /* CID_Face */
140
141
142 FT_LOCAL( FT_Error )
143 cid_driver_init( FT_Module driver );
144
145 FT_LOCAL( void )
146 cid_driver_done( FT_Module driver );
147
148
149 FT_END_HEADER
150
151 #endif /* __CIDOBJS_H__ */
152
153
154 /* END */
FT_SizeRec_
Definition: freetype.h:1395
FT_Error
int FT_Error
Definition: fttypes.h:296
FT_GlyphSlotRec_
Definition: freetype.h:1605
FT_END_HEADER
#define FT_END_HEADER
Definition: ftheader.h:54
FT_ModuleRec_
Definition: ftobjs.h:439
FT_Int
signed int FT_Int
Definition: fttypes.h:216
CID_SizeRec_::root
FT_SizeRec root
Definition: cidobjs.h:95
CID_GlyphSlotRec_::y_scale
FT_Fixed y_scale
Definition: cidobjs.h:109
CID_GlyphSlotRec_::x_scale
FT_Fixed x_scale
Definition: cidobjs.h:108
stream
GLuint GLuint stream
Definition: glew.h:6573
CID_GlyphSlotRec_::hint
FT_Bool hint
Definition: cidobjs.h:105
cid_driver_init
cid_driver_init(FT_Module driver)
Definition: cidobjs.c:465
CID_GlyphSlotRec_
Definition: cidobjs.h:101
cid_size_done
cid_size_done(FT_Size cidsize)
Definition: cidobjs.c:111
FT_Bool
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:104
cid_driver_done
cid_driver_done(FT_Module driver)
Definition: cidobjs.c:485
FT_BEGIN_HEADER
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
params
GLenum GLvoid ** params
Definition: gl2ext.h:806
CID_SizeRec_
Definition: cidobjs.h:93
FT_LOCAL
#define FT_LOCAL(x)
Definition: ftconfig.h:466
CID_GlyphSlotRec_::root
FT_GlyphSlotRec root
Definition: cidobjs.h:103
cid_face_done
cid_face_done(FT_Face cidface)
Definition: cidobjs.c:194
FT_FaceRec_
Definition: freetype.h:912
CID_Glyph_Hints
struct CID_Glyph_Hints_ CID_Glyph_Hints
Definition: cidobjs.h:34
face
GLenum face
Definition: gl2ext.h:1490
FT_Size_RequestRec_
Definition: freetype.h:2185
cid_face_init
cid_face_init(FT_Stream stream, FT_Face cidface, FT_Int face_index, FT_Int num_params, FT_Parameter *params)
Definition: cidobjs.c:278
CID_Size_Hints
typedefFT_BEGIN_HEADER struct CID_Size_Hints_ CID_Size_Hints
Definition: cidobjs.h:33
CID_SizeRec_::valid
FT_Bool valid
Definition: cidobjs.h:96
CID_GlyphSlot
struct CID_GlyphSlotRec_ * CID_GlyphSlot
Definition: cidobjs.h:67
CID_CharMap
struct CID_CharMapRec_ * CID_CharMap
Definition: cidobjs.h:83
CID_Driver
struct CID_DriverRec_ * CID_Driver
Definition: cidobjs.h:45
CID_GlyphSlotRec
struct CID_GlyphSlotRec_ CID_GlyphSlotRec
ft2build.h
FT_Fixed
signed long FT_Fixed
Definition: fttypes.h:284
cid_slot_done
cid_slot_done(FT_GlyphSlot slot)
Definition: cidobjs.c:50
cid_size_request
cid_size_request(FT_Size size, FT_Size_Request req)
Definition: cidobjs.c:156
CID_Size
struct CID_SizeRec_ * CID_Size
Definition: cidobjs.h:56
CID_SizeRec
struct CID_SizeRec_ CID_SizeRec
cid_size_init
cid_size_init(FT_Size cidsize)
Definition: cidobjs.c:131
cid_slot_init
cid_slot_init(FT_GlyphSlot slot)
Definition: cidobjs.c:57
FT_StreamRec_
Definition: ftsystem.h:321
CID_GlyphSlotRec_::scaled
FT_Bool scaled
Definition: cidobjs.h:106
FT_Parameter_
Definition: freetype.h:1763
size
GLsizei size
Definition: gl2ext.h:1467