]>
git.saurik.com Git - wxWidgets.git/blob - src/freetype/freetype/internal/t1errors.h
58566d8ee54a58bbd7fcdee1a40e22d86350f7e0
1 /***************************************************************************/
5 /* Type 1 error ID definitions (specification only). */
7 /* Copyright 1996-2000 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
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. */
16 /***************************************************************************/
23 /************************ error codes declaration **************/
25 /* The error codes are grouped into `classes' used to indicate the */
26 /* `level' at which the error happened. */
28 /* The class is given by an error code's high byte. */
31 /* ------------- Success is always 0 -------- */
33 #define T1_Err_Ok FT_Err_Ok
35 /* ----------- high level API errors -------- */
37 #define T1_Err_Invalid_File_Format FT_Err_Invalid_File_Format
38 #define T1_Err_Invalid_Argument FT_Err_Invalid_Argument
39 #define T1_Err_Invalid_Driver_Handle FT_Err_Invalid_Driver_Handle
40 #define T1_Err_Invalid_Face_Handle FT_Err_Invalid_Face_Handle
41 #define T1_Err_Invalid_Size_Handle FT_Err_Invalid_Size_Handle
42 #define T1_Err_Invalid_Glyph_Handle FT_Err_Invalid_Slot_Handle
43 #define T1_Err_Invalid_CharMap_Handle FT_Err_Invalid_CharMap_Handle
44 #define T1_Err_Invalid_Glyph_Index FT_Err_Invalid_Glyph_Index
46 #define T1_Err_Unimplemented_Feature FT_Err_Unimplemented_Feature
48 #define T1_Err_Invalid_Engine FT_Err_Invalid_Driver_Handle
50 /* ------------- internal errors ------------ */
52 #define T1_Err_Out_Of_Memory FT_Err_Out_Of_Memory
53 #define T1_Err_Unlisted_Object FT_Err_Unlisted_Object
55 /* ------------ general glyph outline errors ------ */
57 #define T1_Err_Invalid_Composite FT_Err_Invalid_Composite
59 #define T1_Err_Syntax_Error FT_Err_Invalid_File_Format
60 #define T1_Err_Stack_Underflow FT_Err_Invalid_File_Format
61 #define T1_Err_Stack_Overflow FT_Err_Invalid_File_Format
64 #endif /* T1ERRORS_H */