123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298 |
- #region MIT License
- #endregion
- using System;
- namespace SharpFont
- {
-
-
-
- public enum Error
- {
-
- Ok = 0x00,
-
- CannotOpenResource = 0x01,
-
- UnknownFileFormat = 0x02,
-
- InvalidFileFormat = 0x03,
-
- InvalidVersion = 0x04,
-
- LowerModuleVersion = 0x05,
-
- InvalidArgument = 0x06,
-
- UnimplementedFeature = 0x07,
-
- InvalidTable = 0x08,
-
- InvalidOffset = 0x09,
-
- ArrayTooLarge = 0x0A,
-
- InvalidGlyphIndex = 0x10,
-
- InvalidCharacterCode = 0x11,
-
- InvalidGlyphFormat = 0x12,
-
- CannotRenderGlyph = 0x13,
-
- InvalidOutline = 0x14,
-
- InvalidComposite = 0x15,
-
- TooManyHints = 0x16,
-
- InvalidPixelSize = 0x17,
-
- InvalidHandle = 0x20,
-
- InvalidLibraryHandle = 0x21,
-
- InvalidDriverHandle = 0x22,
-
- InvalidFaceHandle = 0x23,
-
- InvalidSizeHandle = 0x24,
-
- InvalidSlotHandle = 0x25,
-
- InvalidCharMapHandle = 0x26,
-
- InvalidCacheHandle = 0x27,
-
- InvalidStreamHandle = 0x28,
-
- TooManyDrivers = 0x30,
-
- TooManyExtensions = 0x31,
-
- OutOfMemory = 0x40,
-
- UnlistedObject = 0x41,
-
- CannotOpenStream = 0x51,
-
- InvalidStreamSeek = 0x52,
-
- InvalidStreamSkip = 0x53,
-
- InvalidStreamRead = 0x54,
-
- InvalidStreamOperation = 0x55,
-
- InvalidFrameOperation = 0x56,
-
- NestedFrameAccess = 0x57,
-
- InvalidFrameRead = 0x58,
-
- RasterUninitialized = 0x60,
-
- RasterCorrupted = 0x61,
-
- RasterOverflow = 0x62,
-
- RasterNegativeHeight = 0x63,
-
- TooManyCaches = 0x70,
-
- InvalidOpCode = 0x80,
-
- TooFewArguments = 0x81,
-
- StackOverflow = 0x82,
-
- CodeOverflow = 0x83,
-
- BadArgument = 0x84,
-
- DivideByZero = 0x85,
-
- InvalidReference = 0x86,
-
- DebugOpCode = 0x87,
-
- EndfInExecStream = 0x88,
-
- NestedDefs = 0x89,
-
- InvalidCodeRange = 0x8A,
-
- ExecutionTooLong = 0x8B,
-
- TooManyFunctionDefs = 0x8C,
-
- TooManyInstructionDefs = 0x8D,
-
- TableMissing = 0x8E,
-
- HorizHeaderMissing = 0x8F,
-
- LocationsMissing = 0x90,
-
- NameTableMissing = 0x91,
-
- CMapTableMissing = 0x92,
-
- HmtxTableMissing = 0x93,
-
- PostTableMissing = 0x94,
-
- InvalidHorizMetrics = 0x95,
-
- InvalidCharMapFormat = 0x96,
-
- InvalidPPem = 0x97,
-
- InvalidVertMetrics = 0x98,
-
- CouldNotFindContext = 0x99,
-
- InvalidPostTableFormat = 0x9A,
-
- InvalidPostTable = 0x9B,
-
- SyntaxError = 0xA0,
-
- StackUnderflow = 0xA1,
-
- Ignore = 0xA2,
-
- NoUnicodeGlyphName = 0xA3,
-
- MissingStartfontField = 0xB0,
-
- MissingFontField = 0xB1,
-
- MissingSizeField = 0xB2,
-
- MissingFontboudingboxField = 0xB3,
-
- MissingCharsField = 0xB4,
-
- MissingStartcharField = 0xB5,
-
- MissingEncodingField = 0xB6,
-
- MissingBbxField = 0xB7,
-
- BbxTooBig = 0xB8,
-
- CorruptedFontHeader = 0xB9,
-
- CorruptedFontGlyphs = 0xBA
- }
- }
|