struct FontHinter<'a> {
instance: &'a HintInstance,
tables: &'a HintTables<'a>,
scratch: HintScratch<'a>,
pedantic: bool,
dropout_control: DropoutControl,
error: Option<HintError>,
}Expand description
The interpreter attached to the loader’s hook for one draw.
Owns the per glyph working memory that the zone does not hold.
Fields§
§instance: &'a HintInstance§tables: &'a HintTables<'a>§scratch: HintScratch<'a>§pedantic: bool§dropout_control: DropoutControl§error: Option<HintError>The failure of a glyph program, kept because the load reports only its kind.
Trait Implementations§
Source§impl Hinter<F26Dot6> for FontHinter<'_>
impl Hinter<F26Dot6> for FontHinter<'_>
Source§fn backward_compatibility(&self) -> bool
fn backward_compatibility(&self) -> bool
Whether backward compatibility mode is active, which affects phantom
point rounding even for a glyph with no instructions.
Source§fn round_composite_x_offset(&self) -> bool
fn round_composite_x_offset(&self) -> bool
Returns whether to round the horizontal offset of a component to the
pixel grid. Read more
Auto Trait Implementations§
impl<'a> !UnwindSafe for FontHinter<'a>
impl<'a> Freeze for FontHinter<'a>
impl<'a> RefUnwindSafe for FontHinter<'a>
impl<'a> Send for FontHinter<'a>
impl<'a> Sync for FontHinter<'a>
impl<'a> Unpin for FontHinter<'a>
impl<'a> UnsafeUnpin for FontHinter<'a>
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