1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
/***************************************************************************/
/* */
/* fterrors.h */
/* */
/* FreeType error codes (specification). */
/* */
/* Copyright 1996-1999 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used */
/* modified and distributed under the terms of the FreeType project */
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
/* this file you indicate that you have read the license and */
/* understand and accept it fully. */
/* */
/***************************************************************************/
#define FT_Err_Ok 0x000
#define FT_Err_Cannot_Open_Resource 0x001
#define FT_Err_Unknown_File_Format 0x002
#define FT_Err_Invalid_File_Format 0x002
#define FT_Err_Invalid_Argument 0x003
#define FT_Err_Invalid_Handle 0x004
#define FT_Err_Invalid_Glyph_Index 0x00A
#define FT_Err_Invalid_Character_Code 0x00B
#define FT_Err_Unimplemented_Feature 0x010
#define FT_Err_Invalid_Glyph_Format 0x00D
#define FT_Err_Invalid_Library_Handle 0x004
#define FT_Err_Invalid_Driver_Handle 0x005
#define FT_Err_Invalid_Face_Handle 0x006
#define FT_Err_Invalid_Size_Handle 0x007
#define FT_Err_Invalid_Slot_Handle 0x008
#define FT_Err_Invalid_CharMap_Handle 0x009
#define FT_Err_Invalid_Outline 0x00B
#define FT_Err_Invalid_Dimensions 0x00C
#define FT_Err_Unavailable_Outline 0x011
#define FT_Err_Unavailable_Bitmap 0x012
#define FT_Err_Unavailable_Pixmap 0x013
#define FT_Err_File_Is_Not_Collection 0x014
#define FT_Err_Too_Many_Drivers 0x015
#define FT_Err_Too_Many_Glyph_Formats 0x016
#define FT_Err_Too_Many_Extensions 0x017
#define FT_Err_Out_Of_Memory 0x100
#define FT_Err_Unlisted_Object 0x101
#define FT_Err_Invalid_Resource_Handle 0x200
#define FT_Err_Invalid_Stream_Handle 0x201
#define FT_Err_Cannot_Open_Stream 0x202
#define FT_Err_Invalid_Stream_Seek 0x203
#define FT_Err_Invalid_Stream_Skip 0x204
#define FT_Err_Invalid_Stream_Read 0x205
#define FT_Err_Invalid_Stream_Operation 0x206
#define FT_Err_Invalid_Frame_Operation 0x207
#define FT_Err_Nested_Frame_Access 0x208
#define FT_Err_Invalid_Frame_Read 0x209
#define FT_Err_Too_Many_Points 0x300
#define FT_Err_Too_Many_Contours 0x301
#define FT_Err_Invalid_Composite 0x302
#define FT_Err_Too_Many_Hints 0x303
#define FT_Err_Too_Many_Edges 0x304
#define FT_Err_Too_Many_Strokes 0x305
/* range 0x400 - 0x4FF is reserved for TrueType specific stuff */
/* range 0x500 - 0x5FF is reserved for TrueDoc specific stuff */
/* range 0x600 - 0x6FF is reserved for Type1 specific stuff */
#define FT_Err_Raster_Uninitialized 0xF00
#define FT_Err_Raster_Corrupted 0xF01
#define FT_Err_Raster_Overflow 0xF02
/* END */