Enum accessibility_tree::fonts::FontError
source · pub enum FontError {
UnsupportedFormat,
OffsetBeyondEof,
OffsetPlusLengthBeyondEof,
MissingTable,
NoSupportedPostscriptName,
NoSupportedCmap,
NoHorizontalGlyphMetrics,
}
Variants§
UnsupportedFormat
Victor only supports TrueType fonts at the moment.
OffsetBeyondEof
The font file contains an offset to beyond the end of the file.
OffsetPlusLengthBeyondEof
The font file contains an offset that puts the end of the pointed object beyond the end of the file.
MissingTable
One of the required TrueType tables is missing in this font.
NoSupportedPostscriptName
This font doesn’t have a “PostScript name” string in a supported encoding.
NoSupportedCmap
This font doesn’t have a character map in a supported format.
NoHorizontalGlyphMetrics
This font doesn’t have any horizontal metrics for glyphs.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FontError
impl RefUnwindSafe for FontError
impl Send for FontError
impl Sync for FontError
impl Unpin for FontError
impl UnwindSafe for FontError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more