Düzenle

Aracılığıyla paylaş


Font Package Function Error Messages

The following LONG values are returned by the font package functions ( CreateFontPackage and MergeFontPackage ) when errors are encountered. When functions are successful, the value NO_ERROR is returned.

Return value Value Description
NO_ERROR 0 No error occurred.
ERR_FORMAT 1006 An input data format error occurred.
ERR_GENERIC 1000 An error occurred in generic code.
ERR_MEM 1005 An error occurred during memory allocation.
ERR_NO_GLYPHS 1009 No glyphs were found.
ERR_INVALID_BASE 1085 The font contained an invalid baseline data (BASE) table. Currently this value is not used.
ERR_INVALID_CMAP 1030 The font contained an invalid character-to-glyph mapping (cmap) table.
ERR_INVALID_DELTA_FORMAT 1013 An invalid delta format was detected while trying to subset a format 1 or 2 font.
ERR_INVALID_EBLC 1086 The font contained an invalid embedded bitmap location data (EBLC) table.
ERR_INVALID_GLYF 1061 The font contained an invalid glyph data (glyf) table.
ERR_INVALID_GDEF 1083 The font contained an invalid glyph definition data (GDEF) table. Currently this value is not used.
ERR_INVALID_GPOS 1082 The font contained an invalid glyph positioning data (GPOS) table. Currently this value is not used.
ERR_INVALID_GSUB 1081 The font contained an invalid glyph substitution data (GSUB) table.
ERR_INVALID_HDMX 1089 The font contained an invalid horizontal device metrics (hdmx) table.
ERR_INVALID_HEAD 1062 The font contained an invalid font header (head) table.
ERR_INVALID_HHEA 1063 The font contained an invalid horizontal header (hhea) table.
ERR_INVALID_HHEA_OR_VHEA 1072 The font contained an invalid horizontal header (hhea) table or an invalid vertical metrics header (vhea) table.
ERR_INVALID_HMTX 1064 The font contained an invalid horizontal metrics (hmtx) table.
ERR_INVALID_HMTX_OR_VMTX 1073 The font contained an invalid horizontal metrics (hmtx) table or an invalid vertical metrics (vmtx) table.
ERR_INVALID_JSTF 1084 The font contained an invalid justification data (JSTF) table.
ERR_INVALID_LTSH 1087 The font contained an invalid linear threshold data (LTSH) table.
ERR_INVALID_TTO 1080 The font was an invalid TrueType Open font.
ERR_INVALID_VDMX 1088 The font contained an invalid vertical device metrics (VDMX) table.
ERR_INVALID_LOCA 1065 The font contained an invalid index to location (loca) table.
ERR_INVALID_MAXP 1066 The font contained an invalid maximum profile (maxp) table.
ERR_INVALID_MERGE_CHECKSUMS 1011 An attempt to merge checksums for two fonts from a different mother font was unsuccessful.
ERR_INVALID_MERGE_FORMATS 1010 An attempt to merge fonts with the wrong dttf formats was unsuccessful.
ERR_INVALID_MERGE_NUMGLYPHS 1012 An attempt to merge the number of glyphs for two fonts from a different mother font was unsuccessful.
ERR_INVALID_NAME 1067 The font package name or a font name was invalid.
ERR_INVALID_POST 1068 The font contained an invalid PostScript information (post) table.
ERR_INVALID_OS2 1069 The font contained an invalid OS/2 and Windows-specific metrics (OS/2) table.
ERR_INVALID_VHEA 1070 The font contained an invalid vertical metrics header (vhea) table.
ERR_INVALID_VMTX 1071 The font contained an invalid vertical metrics (vmtx) table.
ERR_INVALID_TTC_INDEX 1015 An invalid zero-based (TTC) index into the font file was passed.
ERR_MISSING_CMAP 1030 The font did not contain a cmap table.
ERR_MISSING_EBDT 1044 The font did not contain an EBDT table.
ERR_MISSING_GLYF 1031 The font did not contain a glyf table.
ERR_MISSING_HEAD 1032 The font did not contain a head table.
ERR_MISSING_HHEA 1033 The font did not contain an hhea table.
ERR_MISSING_HMTX 1034 The font did not contain an hmtx table.
ERR_MISSING_LOCA 1035 The font did not contain a loca table.
ERR_MISSING_MAXP 1036 The font did not contain a maxp table.
ERR_MISSING_NAME 1037 The font did not contain a naming (name) table.
ERR_MISSING_POST 1038 The font did not contain a post table.
ERR_MISSING_OS2 1039 The font did not contain an OS/2 table.
ERR_MISSING_VHEA 1040 The font did not contain a vhea table.
ERR_MISSING_VMTX 1041 The font did not contain a vmtx table.
ERR_MISSING_HHEA_OR_VHEA 1042 The font did not contain an hhea table or a vhea table.
ERR_MISSING_HMTX_OR_VMTX 1043 The font did not contain an hmtx table or a vmtx table.
ERR_NOT_TTC 1014 The provided value was not an index for a TTC file.
ERR_PARAMETER0 1100 Calling function parameter 0 was invalid.
ERR_PARAMETER1 1101 Calling function parameter 1 was invalid.
ERR_PARAMETER2 1102 Calling function parameter 2 was invalid.
ERR_PARAMETER3 1103 Calling function parameter 3 was invalid.
ERR_PARAMETER4 1104 Calling function parameter 4 was invalid.
ERR_PARAMETER5 1105 Calling function parameter 5 was invalid.
ERR_PARAMETER6 1106 Calling function parameter 6 was invalid.
ERR_PARAMETER7 1107 Calling function parameter 7 was invalid.
ERR_PARAMETER8 1108 Calling function parameter 8 was invalid.
ERR_PARAMETER9 1109 Calling function parameter 9 was invalid.
ERR_PARAMETER10 1110 Calling function parameter 10 was invalid.
ERR_PARAMETER11 1111 Calling function parameter 11 was invalid.
ERR_PARAMETER12 1112 Calling function parameter 12 was invalid.
ERR_PARAMETER13 1113 Calling function parameter 13 was invalid.
ERR_PARAMETER14 1114 Calling function parameter 14 was invalid.
ERR_PARAMETER15 1115 Calling function parameter 15 was invalid.
ERR_PARAMETER16 1116 Calling function parameter 16 was invalid.
ERR_READCONTROL 1003 The read control structure did not match data.
ERR_READOUTOFBOUNDS 1001 A read from memory was not allowed, possibly because data was out of bounds or corrupt.
ERR_VERSION 1008 Major dttf.version value of the input data was greater than the version the function can read.
ERR_WOULD_GROW 1007 The requested action caused data to grow and the application must use original data.
ERR_WRITECONTROL 1004 The write control structure did not match data.
ERR_WRITEOUTOFBOUNDS 1002 A write to memory was not allowed, possibly because data was out of bounds.