pub type Name<'a> = TableRef<'a, NameMarker>;
Expand description
Aliased Type§
pub struct Name<'a> {
pub(crate) shape: NameMarker,
pub(crate) data: FontData<'a>,
}
Fields§
§shape: NameMarker
§data: FontData<'a>
Implementations§
Source§impl<'a> Name<'a>
impl<'a> Name<'a>
Sourcepub fn storage_offset(&self) -> u16
pub fn storage_offset(&self) -> u16
Offset to start of string storage (from start of table).
Sourcepub fn name_record(&self) -> &'a [NameRecord]
pub fn name_record(&self) -> &'a [NameRecord]
The name records where count is the number of records.
Sourcepub fn lang_tag_count(&self) -> Option<u16>
pub fn lang_tag_count(&self) -> Option<u16>
Number of language-tag records.
Sourcepub fn lang_tag_record(&self) -> Option<&'a [LangTagRecord]>
pub fn lang_tag_record(&self) -> Option<&'a [LangTagRecord]>
The language-tag records where langTagCount is the number of records.