Struct write_fonts::tables::cmap::Cmap6
source · pub struct Cmap6 {
pub length: u16,
pub language: u16,
pub first_code: u16,
pub entry_count: u16,
pub glyph_id_array: Vec<u16>,
}Expand description
cmap Format 6: Trimmed table mapping
Fields§
§length: u16This is the length in bytes of the subtable.
language: u16For requirements on use of the language field, see “Use of the language field in ‘cmap’ subtables” in this document.
first_code: u16First character code of subrange.
entry_count: u16Number of character codes in subrange.
glyph_id_array: Vec<u16>Array of glyph index values for character codes in the range.
Implementations§
Trait Implementations§
source§impl FontWrite for Cmap6
impl FontWrite for Cmap6
source§fn write_into(&self, writer: &mut TableWriter)
fn write_into(&self, writer: &mut TableWriter)
Write our data and information about offsets into this TableWriter.
Auto Trait Implementations§
impl RefUnwindSafe for Cmap6
impl Send for Cmap6
impl Sync for Cmap6
impl Unpin for Cmap6
impl UnwindSafe for Cmap6
Blanket Implementations§
source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere U: FromObjRef<T>,
source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.