zenilib: zenilib/jni/external/freetype2/include/freetype/fterrdef.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
fterrdef.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* fterrdef.h */
4 /* */
5 /* FreeType error codes (specification). */
6 /* */
7 /* Copyright 2002, 2004, 2006, 2007, 2010-2011 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 /*******************************************************************/
20 /*******************************************************************/
21 /***** *****/
22 /***** LIST OF ERROR CODES/MESSAGES *****/
23 /***** *****/
24 /*******************************************************************/
25 /*******************************************************************/
26
27
28 /* You need to define both FT_ERRORDEF_ and FT_NOERRORDEF_ before */
29 /* including this file. */
30
31
32 /* generic errors */
33
34 FT_NOERRORDEF_( Ok, 0x00, \
35 "no error" )
36
37 FT_ERRORDEF_( Cannot_Open_Resource, 0x01, \
38 "cannot open resource" )
39 FT_ERRORDEF_( Unknown_File_Format, 0x02, \
40 "unknown file format" )
41 FT_ERRORDEF_( Invalid_File_Format, 0x03, \
42 "broken file" )
43 FT_ERRORDEF_( Invalid_Version, 0x04, \
44 "invalid FreeType version" )
45 FT_ERRORDEF_( Lower_Module_Version, 0x05, \
46 "module version is too low" )
47 FT_ERRORDEF_( Invalid_Argument, 0x06, \
48 "invalid argument" )
49 FT_ERRORDEF_( Unimplemented_Feature, 0x07, \
50 "unimplemented feature" )
51 FT_ERRORDEF_( Invalid_Table, 0x08, \
52 "broken table" )
53 FT_ERRORDEF_( Invalid_Offset, 0x09, \
54 "broken offset within table" )
55 FT_ERRORDEF_( Array_Too_Large, 0x0A, \
56 "array allocation size too large" )
57 FT_ERRORDEF_( Missing_Module, 0x0B, \
58 "missing module" )
59
60 /* glyph/character errors */
61
62 FT_ERRORDEF_( Invalid_Glyph_Index, 0x10, \
63 "invalid glyph index" )
64 FT_ERRORDEF_( Invalid_Character_Code, 0x11, \
65 "invalid character code" )
66 FT_ERRORDEF_( Invalid_Glyph_Format, 0x12, \
67 "unsupported glyph image format" )
68 FT_ERRORDEF_( Cannot_Render_Glyph, 0x13, \
69 "cannot render this glyph format" )
70 FT_ERRORDEF_( Invalid_Outline, 0x14, \
71 "invalid outline" )
72 FT_ERRORDEF_( Invalid_Composite, 0x15, \
73 "invalid composite glyph" )
74 FT_ERRORDEF_( Too_Many_Hints, 0x16, \
75 "too many hints" )
76 FT_ERRORDEF_( Invalid_Pixel_Size, 0x17, \
77 "invalid pixel size" )
78
79 /* handle errors */
80
81 FT_ERRORDEF_( Invalid_Handle, 0x20, \
82 "invalid object handle" )
83 FT_ERRORDEF_( Invalid_Library_Handle, 0x21, \
84 "invalid library handle" )
85 FT_ERRORDEF_( Invalid_Driver_Handle, 0x22, \
86 "invalid module handle" )
87 FT_ERRORDEF_( Invalid_Face_Handle, 0x23, \
88 "invalid face handle" )
89 FT_ERRORDEF_( Invalid_Size_Handle, 0x24, \
90 "invalid size handle" )
91 FT_ERRORDEF_( Invalid_Slot_Handle, 0x25, \
92 "invalid glyph slot handle" )
93 FT_ERRORDEF_( Invalid_CharMap_Handle, 0x26, \
94 "invalid charmap handle" )
95 FT_ERRORDEF_( Invalid_Cache_Handle, 0x27, \
96 "invalid cache manager handle" )
97 FT_ERRORDEF_( Invalid_Stream_Handle, 0x28, \
98 "invalid stream handle" )
99
100 /* driver errors */
101
102 FT_ERRORDEF_( Too_Many_Drivers, 0x30, \
103 "too many modules" )
104 FT_ERRORDEF_( Too_Many_Extensions, 0x31, \
105 "too many extensions" )
106
107 /* memory errors */
108
109 FT_ERRORDEF_( Out_Of_Memory, 0x40, \
110 "out of memory" )
111 FT_ERRORDEF_( Unlisted_Object, 0x41, \
112 "unlisted object" )
113
114 /* stream errors */
115
116 FT_ERRORDEF_( Cannot_Open_Stream, 0x51, \
117 "cannot open stream" )
118 FT_ERRORDEF_( Invalid_Stream_Seek, 0x52, \
119 "invalid stream seek" )
120 FT_ERRORDEF_( Invalid_Stream_Skip, 0x53, \
121 "invalid stream skip" )
122 FT_ERRORDEF_( Invalid_Stream_Read, 0x54, \
123 "invalid stream read" )
124 FT_ERRORDEF_( Invalid_Stream_Operation, 0x55, \
125 "invalid stream operation" )
126 FT_ERRORDEF_( Invalid_Frame_Operation, 0x56, \
127 "invalid frame operation" )
128 FT_ERRORDEF_( Nested_Frame_Access, 0x57, \
129 "nested frame access" )
130 FT_ERRORDEF_( Invalid_Frame_Read, 0x58, \
131 "invalid frame read" )
132
133 /* raster errors */
134
135 FT_ERRORDEF_( Raster_Uninitialized, 0x60, \
136 "raster uninitialized" )
137 FT_ERRORDEF_( Raster_Corrupted, 0x61, \
138 "raster corrupted" )
139 FT_ERRORDEF_( Raster_Overflow, 0x62, \
140 "raster overflow" )
141 FT_ERRORDEF_( Raster_Negative_Height, 0x63, \
142 "negative height while rastering" )
143
144 /* cache errors */
145
146 FT_ERRORDEF_( Too_Many_Caches, 0x70, \
147 "too many registered caches" )
148
149 /* TrueType and SFNT errors */
150
151 FT_ERRORDEF_( Invalid_Opcode, 0x80, \
152 "invalid opcode" )
153 FT_ERRORDEF_( Too_Few_Arguments, 0x81, \
154 "too few arguments" )
155 FT_ERRORDEF_( Stack_Overflow, 0x82, \
156 "stack overflow" )
157 FT_ERRORDEF_( Code_Overflow, 0x83, \
158 "code overflow" )
159 FT_ERRORDEF_( Bad_Argument, 0x84, \
160 "bad argument" )
161 FT_ERRORDEF_( Divide_By_Zero, 0x85, \
162 "division by zero" )
163 FT_ERRORDEF_( Invalid_Reference, 0x86, \
164 "invalid reference" )
165 FT_ERRORDEF_( Debug_OpCode, 0x87, \
166 "found debug opcode" )
167 FT_ERRORDEF_( ENDF_In_Exec_Stream, 0x88, \
168 "found ENDF opcode in execution stream" )
169 FT_ERRORDEF_( Nested_DEFS, 0x89, \
170 "nested DEFS" )
171 FT_ERRORDEF_( Invalid_CodeRange, 0x8A, \
172 "invalid code range" )
173 FT_ERRORDEF_( Execution_Too_Long, 0x8B, \
174 "execution context too long" )
175 FT_ERRORDEF_( Too_Many_Function_Defs, 0x8C, \
176 "too many function definitions" )
177 FT_ERRORDEF_( Too_Many_Instruction_Defs, 0x8D, \
178 "too many instruction definitions" )
179 FT_ERRORDEF_( Table_Missing, 0x8E, \
180 "SFNT font table missing" )
181 FT_ERRORDEF_( Horiz_Header_Missing, 0x8F, \
182 "horizontal header (hhea) table missing" )
183 FT_ERRORDEF_( Locations_Missing, 0x90, \
184 "locations (loca) table missing" )
185 FT_ERRORDEF_( Name_Table_Missing, 0x91, \
186 "name table missing" )
187 FT_ERRORDEF_( CMap_Table_Missing, 0x92, \
188 "character map (cmap) table missing" )
189 FT_ERRORDEF_( Hmtx_Table_Missing, 0x93, \
190 "horizontal metrics (hmtx) table missing" )
191 FT_ERRORDEF_( Post_Table_Missing, 0x94, \
192 "PostScript (post) table missing" )
193 FT_ERRORDEF_( Invalid_Horiz_Metrics, 0x95, \
194 "invalid horizontal metrics" )
195 FT_ERRORDEF_( Invalid_CharMap_Format, 0x96, \
196 "invalid character map (cmap) format" )
197 FT_ERRORDEF_( Invalid_PPem, 0x97, \
198 "invalid ppem value" )
199 FT_ERRORDEF_( Invalid_Vert_Metrics, 0x98, \
200 "invalid vertical metrics" )
201 FT_ERRORDEF_( Could_Not_Find_Context, 0x99, \
202 "could not find context" )
203 FT_ERRORDEF_( Invalid_Post_Table_Format, 0x9A, \
204 "invalid PostScript (post) table format" )
205 FT_ERRORDEF_( Invalid_Post_Table, 0x9B, \
206 "invalid PostScript (post) table" )
207
208 /* CFF, CID, and Type 1 errors */
209
210 FT_ERRORDEF_( Syntax_Error, 0xA0, \
211 "opcode syntax error" )
212 FT_ERRORDEF_( Stack_Underflow, 0xA1, \
213 "argument stack underflow" )
214 FT_ERRORDEF_( Ignore, 0xA2, \
215 "ignore" )
216 FT_ERRORDEF_( No_Unicode_Glyph_Name, 0xA3, \
217 "no Unicode glyph name found" )
218
219 /* BDF errors */
220
221 FT_ERRORDEF_( Missing_Startfont_Field, 0xB0, \
222 "`STARTFONT' field missing" )
223 FT_ERRORDEF_( Missing_Font_Field, 0xB1, \
224 "`FONT' field missing" )
225 FT_ERRORDEF_( Missing_Size_Field, 0xB2, \
226 "`SIZE' field missing" )
227 FT_ERRORDEF_( Missing_Fontboundingbox_Field, 0xB3, \
228 "`FONTBOUNDINGBOX' field missing" )
229 FT_ERRORDEF_( Missing_Chars_Field, 0xB4, \
230 "`CHARS' field missing" )
231 FT_ERRORDEF_( Missing_Startchar_Field, 0xB5, \
232 "`STARTCHAR' field missing" )
233 FT_ERRORDEF_( Missing_Encoding_Field, 0xB6, \
234 "`ENCODING' field missing" )
235 FT_ERRORDEF_( Missing_Bbx_Field, 0xB7, \
236 "`BBX' field missing" )
237 FT_ERRORDEF_( Bbx_Too_Big, 0xB8, \
238 "`BBX' too big" )
239 FT_ERRORDEF_( Corrupted_Font_Header, 0xB9, \
240 "Font header corrupted or missing fields" )
241 FT_ERRORDEF_( Corrupted_Font_Glyphs, 0xBA, \
242 "Font glyphs corrupted or missing fields" )
243
244
245 /* END */
table
GLenum GLsizei GLenum GLenum const GLvoid * table
Definition: glew.h:4422
header
cannot open resource broken file module version is too low unimplemented feature broken offset within table missing module invalid character code cannot render this glyph format invalid composite glyph invalid pixel size invalid library handle invalid face handle invalid glyph slot handle invalid cache manager handle too many modules out of memory cannot open stream invalid stream skip invalid stream operation nested frame access raster uninitialized raster overflow too many registered caches too few arguments code overflow division by zero found debug opcode nested DEFS execution context too long too many instruction definitions horizontal header(hhea) table missing" ) FT_ERRORDEF_( Locations_Missing
FT_NOERRORDEF_
FT_NOERRORDEF_(Ok, 0x00,"no error") FT_ERRORDEF_(Cannot_Open_Resource
stream
GLuint GLuint stream
Definition: glew.h:6573
PostScript
cannot open resource broken file module version is too low unimplemented feature broken offset within table missing module invalid character code cannot render this glyph format invalid composite glyph invalid pixel size invalid library handle invalid face handle invalid glyph slot handle invalid cache manager handle too many modules out of memory cannot open stream invalid stream skip invalid stream operation nested frame access raster uninitialized raster overflow too many registered caches too few arguments code overflow division by zero found debug opcode nested DEFS execution context too long too many instruction definitions horizontal name table missing horizontal PostScript(post) table missing" ) FT_ERRORDEF_( Invalid_Horiz_Metrics
metrics
GLuint GLsizei GLsizei GLfloat * metrics
Definition: glew.h:12394
in
GLuint in
Definition: glew.h:10672
Zeni::render
static void render(const Vertex_Buffer_Macrorenderer &macrorenderer, std::vector< Vertex_Buffer::Vertex_Buffer_Range * > &descriptors)
Definition: Vertex_Buffer.cpp:581
file
FILE * file
Definition: visualinfo.c:88
version
int const char * version
Definition: zlib.h:813
height
EGLSurface EGLint EGLint EGLint EGLint height
Definition: eglext.h:293
library
FT_Library library
Definition: cffdrivr.c:409
name
EGLImageKHR EGLint * name
Definition: eglext.h:284
locations
GLsizei const GLint * locations
Definition: glew.h:13065
image
EGLImageKHR image
Definition: eglext.h:88
array
GLenum array
Definition: glew.h:8327
range
GLenum GLint * range
Definition: glew.h:3391
zero
static const double zero
Definition: e_atan2.c:44
error
FT_Error error
Definition: cffdrivr.c:407
FT_ERRORDEF_
#define FT_ERRORDEF_(e, v, s)
Definition: fterrors.h:153
cmap
Colormap cmap
Definition: glewinfo_tail.c:225
face
GLenum face
Definition: gl2ext.h:1490
by
GLbyte by
Definition: SDL_opengl.h:8286
format
GLint GLenum GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl2ext.h:845
index
GLuint index
Definition: glew.h:1800
reference
GLenum const void GLuint GLint reference
Definition: glew.h:12426
code
Definition: inftrees.h:24
value
EGLSurface EGLint void ** value
Definition: eglext.h:301
offset
GLintptr offset
Definition: glew.h:1668
access
GLenum access
Definition: glew.h:3469
low
u_int32_t low
Definition: e_rem_pio2.c:101
skip
png_uint_32 skip
Definition: pngrutil.c:1241
handle
EGLImageKHR EGLint EGLint * handle
Definition: eglext.h:284
context
TParseContext * context
Definition: glslang_tab.cpp:1907
map
const GLubyte GLuint GLuint GLuint GLuint alpha GLboolean GLboolean GLboolean GLboolean alpha GLint GLint GLsizei GLsizei GLenum type GLenum GLint GLenum GLint GLint GLsizei GLsizei GLint border GLenum GLint GLint GLint GLint GLint GLsizei GLsizei height GLsizei GLsizei GLenum GLenum const GLvoid *pixels GLenum GLint GLint GLint GLint j2 GLdouble GLdouble GLdouble GLdouble GLdouble GLdouble zFar GLenum GLenum GLint *params GLenum GLenum GLint *params GLenum GLenum GLint *params GLenum GLenum GLfloat *params GLenum GLint GLenum GLenum GLvoid *pixels GLenum GLint GLenum GLint *params GLenum GLenum GLint *params GLenum GLsizei const GLvoid *pointer GLenum GLenum const GLint *params GLenum GLfloat GLfloat GLint GLint const GLfloat *points GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat *points GLint GLfloat GLfloat GLint GLfloat GLfloat v2 GLenum GLenum const GLint *params GLdouble GLdouble GLdouble GLdouble GLdouble GLdouble zFar GLenum map
Definition: SDL_glfuncs.h:268
while
while(1)
Definition: glslang_lex.cpp:1063
size
GLsizei size
Definition: gl2ext.h:1467