FTError

Values

ValueMeaning
NONE0x00

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_LARGE0x0A

array allocation size too large

INVALID_GLYPH_INDEX0x10

invalid glyph index

INVALID_CHARACTER_CODE0x11

invalid character code

INVALID_GLYPH_FORMAT0x12

unsupported glyph image format

CANNOT_RENDER_GLYPH0x13

cannot render this glyph format

INVALID_OUTLINE0x14

invalid outline

INVALID_COMPOSITE0x15

invalid composite glyph

TOO_MANY_HINTS0x16

too many hints

INVALID_PIXEL_SIZE0x17

invalid pixel size

INVALID_HANDLE0x20

invalid object handle

INVALID_LIBRARY_HANDLE0x21

invalid library handle

INVALID_DRIVER_HANDLE0x22

invalid module handle

INVALID_FACE_HANDLE0x23

invalid face handle

INVALID_SIZE_HANDLE0x24

invalid size handle

INVALID_SLOT_HANDLE0x25

invalid glyph slot handle

INVALID_CHARMAP_HANDLE0x26

invalid charmap handle

INVALID_CACHE_HANDLE0x27

invalid cache manager handle

INVALID_STREAM_HANDLE0x28

invalid stream handle

TOO_MANY_DRIVERS0x30

too many modules

TOO_MANY_EXTENSIONS0x31

too many extensions

OUT_OF_MEMORY0x40

out of memory

UNLISTED_OBJECT0x41

unlisted object

CANNOT_OPEN_STREAM0x51

cannot open stream

INVALID_STREAM_SEEK0x52

invalid stream seek

INVALID_STREAM_SKIP0x53

invalid stream skip

INVALID_STREAM_READ0x54

invalid stream read

INVALID_STREAM_OPERATION0x55

invalid stream operation

INVALID_FRAME_OPERATION0x56

invalid frame operation

NESTED_FRAME_ACCESS0x57

nested frame access

INVALID_FRAME_READ0x58

invalid frame read

RASTER_UNINITIALIZED0x60

raster uninitialized

RASTER_CORRUPTED0x61

raster corrupted

RASTER_OVERFLOW0x62

raster overflow

RASTER_NEGATIVE_HEIGHT0x63

negative height while rastering

TOO_MANY_CACHES0x70

too many registered caches

INVALID_OPCODE0x80

invalid opcode

TOO_FEW_ARGUMENTS0x81

too few arguments

STACK_OVERFLOW0x82

stack overflow

CODE_OVERFLOW0x83

code overflow

BAD_ARGUMENT0x84

bad argument

DIVIDE_BY_ZERO0x85

division by zero

INVALID_REFERENCE0x86

invalid reference

DEBUG_OPCODE0x87

found debug opcode

ENDF_IN_EXEC_STREAM0x88

found ENDF opcode in execution stream

NESTED_DEFS0x89

nested DEFS

INVALID_CODERANGE0x8A

invalid code range

EXECUTION_TOO_LONG0x8B

execution context too long

TOO_MANY_FUNCTION_DEFS0x8C

too many function definitions

TOO_MANY_INSTRUCTION_DEFS0x8D

too many instruction definitions

TABLE_MISSING0x8E

SFNT font table missing

HORIZ_HEADER_MISSING0x8F

horizontal header (hhea) table missing

LOCATIONS_MISSING0x90

locations (loca) table missing

NAME_TABLE_MISSING0x91

name table missing

CMAP_TABLE_MISSING0x92

character map (cmap) table missing

HMTX_TABLE_MISSING0x93

horizontal metrics (hmtx) table missing

POST_TABLE_MISSING0x94

PostScript (post) table missing

INVALID_HORIZ_METRICS0x95

invalid horizontal metrics

INVALID_CHARMAP_FORMAT0x96

invalid character map (cmap) format

INVALID_PPEM0x97

invalid ppem value

INVALID_VERT_METRICS0x98

invalid vertical metrics

COULD_NOT_FIND_CONTEXT0x99

could not find context

INVALID_POST_TABLE_FORMAT0x9A

invalid PostScript (post) table format

INVALID_POST_TABLE0x9B

invalid PostScript (post) table

SYNTAX_ERROR0xA0

opcode syntax error

STACK_UNDERFLOW0xA1

argument stack underflow

IGNORE0xA2

ignore

NO_UNICODE_GLYPH_NAME0xA3

no Unicode glyph name found

MISSING_STARTFONT_FIELD0xB0

`STARTFONT' field missing

MISSING_FONT_FIELD0xB1

`FONT' field missing

MISSING_SIZE_FIELD0xB2

`SIZE' field missing

MISSING_FONTBOUNDINGBOX_FIELD0xB3

`FONTBOUNDINGBOX' field missing

MISSING_CHARS_FIELD0xB4

`CHARS' field missing

MISSING_STARTCHAR_FIELD0xB5

`STARTCHAR' field missing

MISSING_ENCODING_FIELD0xB6

`ENCODING' field missing

MISSING_BBX_FIELD0xB7

`BBX' field missing

BBX_TOO_BIG0xB8

`BBX' too big

CORRUPTED_FONT_HEADER0xB9

Font header corrupted or missing fields

CORRUPTED_FONT_GLYPHS0xBA

Font glyphs corrupted or missing fields

Meta