FreeType return error错误FT_Error表

版本2.10.4

Error Code Values - FreeType-2.13.1 API Reference 

/* generic errors */
Ok0x00"no error" 
Cannot_Open_Resource0x01"cannot open resource" 
Unknown_File_Format0x02"unknown file format"
Invalid_File_Format0x03"broken file"
Invalid_Version0x04"invalid FreeType version"
Lower_Module_Version0x05"module version is too low"
Invalid_Argument0x06"invalid argument"
Unimplemented_Feature0x07"unimplemented feature"
Invalid_Table0x08"broken table"
Invalid_Offset0x09"broken offset within table"

Array_Too_Large

0x0A

"array allocation size too large"

Missing_Module

0x0B

"missing module"

Missing_Property

0x0C

"missing property"

/* glyph/character errors */

Invalid_Glyph_Index,

0x10

"invalid glyph index"

Invalid_Character_Code

0x11

"invalid character code"

Invalid_Glyph_Format,

0x12

"unsupported glyph image format"

Cannot_Render_Glyph

0x13

"cannot render this glyph format"

Invalid_Outline

0x14

"invalid outline"

Invalid_Composite,

0x15

"invalid composite glyph"

Too_Many_Hints

0x16

"too many hints"

 Invalid_Pixel_Size

0x17

"invalid pixel size"

  /* handle errors */

Invalid_Handle

0x20

"invalid object handle"

 Invalid_Library_Handle

0x21

"invalid library handle"

Invalid_Driver_Handle

0x22

"invalid module handle"

Invalid_Face_Handle

0x23

"invalid face handle"

Invalid_Size_Handle

0x24

"invalid size handle"

Invalid_Slot_Handle,

0x25

"invalid glyph slot handle"

 Hnvalid_CharMap_Handle

0x26

"invalid charmap handle"

Invalid_Cache_Handle

0x27

"invalid cache manager handle"

Invalid_Stream_Handle

0x28

"invalid stream handle"

/* driver errors */

Too_Many_Drivers

0x30

"too many modules"

Too_Many_Extensions,

0x31

"too many extensions"

/* memory errors */

Out_Of_Memory

0x40

"out of memory"

Unlisted_Object 

0x41

"unlisted object"

 /* stream errors */

  Cannot_Open_Stream     

0x51 

"cannot open stream"

  Invalid_Stream_Seek    

0x52 

"invalid stream seek"

  Invalid_Stream_Skip    

0x53 

"invalid stream skip"

  Invalid_Stream_Read    

0x54 

"invalid stream read"

  Invalid_Stream_Operation

0x55 

"invalid stream operation"

  Invalid_Frame_Operation

0x56 

"invalid frame operation"

  Nested_Frame_Access    

0x57 

"nested frame access"

  Invalid_Frame_Read     

0x58 

"invalid frame read"

  /* raster errors */

  Raster_Uninitialized  

0x60

"raster uninitialized" 

  Raster_Corrupted      

0x61

"raster corrupted" 

  Raster_Overflow       

0x62

 "raster overflow" 

  Raster_Negative_Height

0x63

 "negative height while rastering"

/* cache errors */

Too_Many_Caches

0x70

"too many registered caches"

/* TrueType and SFNT errors */

  Invalid_Opcode          

0x80

"invalid opcode"

  Too_Few_Arguments       

0x81

 "too few arguments"

  Stack_Overflow          

0x82

 "stack overflow"

  Code_Overflow           

0x83

 "code overflow"

  Bad_Argument            

0x84

 "bad argument"

  Divide_By_Zero          

0x85

 "division by zero"

  Invalid_Reference       

0x86

 "invalid reference"

  Debug_OpCode            

0x87

 "found debug opcode"

  ENDF_In_Exec_Stream     

0x88

 "found ENDF opcode in execution stream"

  Nested_DEFS             

0x89

 "nested DEFS"

  Invalid_CodeRange       

0x8A

 "invalid code range"

  Execution_Too_Long      

0x8B

 "execution context too long"

  Too_Many_Function_Defs  

0x8C

 "too many function definitions"

  Too_Many_Instruction_Defs

0x8D

 "too many instruction definitions"

  Table_Missing           

0x8E

 "SFNT font table missing"

  Horiz_Header_Missing    

0x8F

 "horizontal header (hhea table missing"

  Locations_Missing       

0x90

 "locations (loca table missing"

  Name_Table_Missing      

0x91

 "name table missing"

  CMap_Table_Missing      

0x92

 "character map (cmap table missing"  

  Hmtx_Table_Missing      

0x93

 "horizontal metrics (hmtx table missing"

  Post_Table_Missing      

0x94

 "PostScript (post table missing"

  Invalid_Horiz_Metrics   

0x95

 "invalid horizontal metrics"

  Invalid_CharMap_Format  

0x96

 "invalid character map (cmap format"

  Invalid_PPem            

0x97

 "invalid ppem value"

  Invalid_Vert_Metrics    

0x98

 "invalid vertical metrics"

  Could_Not_Find_Context  

0x99

 "could not find context"

  Invalid_Post_Table_Format

0x9A

 "invalid PostScript (post table format"

  Invalid_Post_Table      

0x9B

 "invalid PostScript (post table"

  DEF_In_Glyf_Bytecode    

0x9C

 "found FDEF or IDEF opcode in glyf bytecode"

  Missing_Bitmap          

0x9D

 "missing bitmap in strike"

  /* CFF, CID, and Type 1 errors */

Syntax_Error                               

0xA0

"opcode syntax error"

Stack_Underflow                            

0xA1

"argument stack underflow"

Ignore                                     

0xA2

"ignore"

No_Unicode_Glyph_Name                      

0xA3

"no Unicode glyph name found"

Glyph_Too_Big                              

0xA4

"glyph too big for hinting"

  /* BDF errors */

Missing_Startfont_Field                    

0xB0

"`STARTFONT' field missing"

Missing_Font_Field                         

0xB1

"`FONT' field missing"

Missing_Size_Field                         

0xB2

"`SIZE' field missing"

Missing_Fontboundingbox_Field              

0xB3

"`FONTBOUNDINGBOX' field missing"

Missing_Chars_Field                        

0xB4

"`CHARS' field missing"

Missing_Startchar_Field                    

0xB5

"`STARTCHAR' field missing"

Missing_Encoding_Field                     

0xB6

"`ENCODING' field missing"

Missing_Bbx_Field                          

0xB7

"`BBX' field missing"

Bbx_Too_Big                                

0xB8

"`BBX' too big"

Corrupted_Font_Header                      

0xB9

"Font header corrupted or missing fields"

Corrupted_Font_Glyphs                      

0xBA

"Font glyphs corrupted or missing fields"

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值