pub type Device<'a> = TableRef<'a, DeviceMarker>;
Expand description
Aliased Type§
struct Device<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Device<'a>
impl<'a> Device<'a>
Sourcepub fn start_size(&self) -> u16
pub fn start_size(&self) -> u16
Smallest size to correct, in ppem
Sourcepub fn delta_format(&self) -> DeltaFormat
pub fn delta_format(&self) -> DeltaFormat
Format of deltaValue array data: 0x0001, 0x0002, or 0x0003
Sourcepub fn delta_value(&self) -> &'a [BigEndian<u16>]
pub fn delta_value(&self) -> &'a [BigEndian<u16>]
Array of compressed data
Source§impl<'a, T> TableRef<'a, T>
impl<'a, T> TableRef<'a, T>
Sourcepub fn resolve_offset<O: Offset, R: FontRead<'a>>(
&self,
offset: O,
) -> Result<R, ReadError>
pub fn resolve_offset<O: Offset, R: FontRead<'a>>( &self, offset: O, ) -> Result<R, ReadError>
Resolve the provided offset from the start of this table.
Sourcepub fn offset_data(&self) -> FontData<'a>
pub fn offset_data(&self) -> FontData<'a>
Return a reference to this table’s raw data.
We use this in the compile crate to resolve offsets.