pub enum Error {
Ok,
CannotOpenResource,
UnknownFileFormat,
InvalidFileFormat,
InvalidVersion,
LowerModuleVersion,
InvalidArgument,
UnimplementedFeature,
InvalidTable,
InvalidOffset,
ArrayTooLarge,
MissingModule,
MissingProperty,
InvalidGlyphIndex,
InvalidCharacterCode,
InvalidGlyphFormat,
CannotRenderGlyph,
InvalidOutline,
InvalidComposite,
TooManyHints,
InvalidPixelSize,
InvalidHandle,
InvalidLibraryHandle,
InvalidDriverHandle,
InvalidFaceHandle,
InvalidSizeHandle,
InvalidSlotHandle,
InvalidCharMapHandle,
InvalidCacheHandle,
InvalidStreamHandle,
TooManyDrivers,
TooManyExtensions,
OutOfMemory,
UnlistedObject,
CannotOpenStream,
InvalidStreamSeek,
InvalidStreamSkip,
InvalidStreamRead,
InvalidStreamOperation,
InvalidFrameOperation,
NestedFrameAccess,
InvalidFrameRead,
RasterUninitialized,
RasterCorrupted,
RasterOverflow,
RasterNegativeHeight,
TooManyCaches,
InvalidOpcode,
TooFewArguments,
StackOverflow,
CodeOverflow,
BadArgument,
DivideByZero,
InvalidReference,
DebugOpCode,
ENDFInExecStream,
NestedDEFS,
InvalidCodeRange,
ExecutionTooLong,
TooManyFunctionDefs,
TooManyInstructionDefs,
TableMissing,
HorizHeaderMissing,
LocationsMissing,
NameTableMissing,
CMapTableMissing,
HmtxTableMissing,
PostTableMissing,
InvalidHorizMetrics,
InvalidCharMapFormat,
InvalidPPem,
InvalidVertMetrics,
CouldNotFindContext,
InvalidPostTableFormat,
InvalidPostTable,
Syntax,
StackUnderflow,
Ignore,
NoUnicodeGlyphName,
MissingStartfontField,
MissingFontField,
MissingSizeField,
MissingFontboundingboxField,
MissingCharsField,
MissingStartcharField,
MissingEncodingField,
MissingBbxField,
BbxTooBig,
CorruptedFontHeader,
CorruptedFontGlyphs,
Max,
UnexpectedPixelMode,
InvalidPath,
Unknown,
}
Variants
Ok | |
CannotOpenResource | |
UnknownFileFormat | |
InvalidFileFormat | |
InvalidVersion | |
LowerModuleVersion | |
InvalidArgument | |
UnimplementedFeature | |
InvalidTable | |
InvalidOffset | |
ArrayTooLarge | |
MissingModule | |
MissingProperty | |
InvalidGlyphIndex | |
InvalidCharacterCode | |
InvalidGlyphFormat | |
CannotRenderGlyph | |
InvalidOutline | |
InvalidComposite | |
TooManyHints | |
InvalidPixelSize | |
InvalidHandle | |
InvalidLibraryHandle | |
InvalidDriverHandle | |
InvalidFaceHandle | |
InvalidSizeHandle | |
InvalidSlotHandle | |
InvalidCharMapHandle | |
InvalidCacheHandle | |
InvalidStreamHandle | |
TooManyDrivers | |
TooManyExtensions | |
OutOfMemory | |
UnlistedObject | |
CannotOpenStream | |
InvalidStreamSeek | |
InvalidStreamSkip | |
InvalidStreamRead | |
InvalidStreamOperation | |
InvalidFrameOperation | |
NestedFrameAccess | |
InvalidFrameRead | |
RasterUninitialized | |
RasterCorrupted | |
RasterOverflow | |
RasterNegativeHeight | |
TooManyCaches | |
InvalidOpcode | |
TooFewArguments | |
StackOverflow | |
CodeOverflow | |
BadArgument | |
DivideByZero | |
InvalidReference | |
DebugOpCode | |
ENDFInExecStream | |
NestedDEFS | |
InvalidCodeRange | |
ExecutionTooLong | |
TooManyFunctionDefs | |
TooManyInstructionDefs | |
TableMissing | |
|
LocationsMissing | |
NameTableMissing | |
CMapTableMissing | |
HmtxTableMissing | |
PostTableMissing | |
InvalidHorizMetrics | |
InvalidCharMapFormat | |
InvalidPPem | |
InvalidVertMetrics | |
CouldNotFindContext | |
InvalidPostTableFormat | |
InvalidPostTable | |
Syntax | |
StackUnderflow | |
Ignore | |
NoUnicodeGlyphName | |
MissingStartfontField | |
MissingFontField | |
MissingSizeField | |
MissingFontboundingboxField | |
MissingCharsField | |
MissingStartcharField | |
MissingEncodingField | |
MissingBbxField | |
BbxTooBig | |
|
CorruptedFontGlyphs | |
Max | |
UnexpectedPixelMode | |
InvalidPath | |
Unknown | |
Trait Implementations
Derived Implementations