pub struct TrueTypeFont {
pub kern_table: BTreeMap<(u32, u32), i16>,
pub cache: Cache,
pub dpi: f32,
/* private fields */
}Fields§
§kern_table: BTreeMap<(u32, u32), i16>§cache: Cache§dpi: f32Implementations§
Source§impl TrueTypeFont
impl TrueTypeFont
Source§impl TrueTypeFont
impl TrueTypeFont
Source§impl TrueTypeFont
impl TrueTypeFont
pub fn load_cmap(&mut self, font_bytes: &[u8]) -> Result<(), FontError>
pub fn load_cmap_encodings(&mut self, font_bytes: &[u8])
pub fn load_cmap_subtable_formats(&mut self, font_bytes: &[u8])
pub fn load_cmap_subtables(&mut self, font_bytes: &[u8])
Source§impl TrueTypeFont
impl TrueTypeFont
Auto Trait Implementations§
impl Freeze for TrueTypeFont
impl RefUnwindSafe for TrueTypeFont
impl Send for TrueTypeFont
impl Sync for TrueTypeFont
impl Unpin for TrueTypeFont
impl UnwindSafe for TrueTypeFont
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