Type Alias read_fonts::tables::layout::Script
source · pub type Script<'a> = TableRef<'a, ScriptMarker>;
Expand description
Aliased Type§
struct Script<'a> { /* private fields */ }
Implementations§
source§impl<'a> Script<'a>
impl<'a> Script<'a>
sourcepub fn default_lang_sys_offset(&self) -> Nullable<Offset16>
pub fn default_lang_sys_offset(&self) -> Nullable<Offset16>
Offset to default LangSys table, from beginning of Script table — may be NULL
sourcepub fn default_lang_sys(&self) -> Option<Result<LangSys<'a>, ReadError>>
pub fn default_lang_sys(&self) -> Option<Result<LangSys<'a>, ReadError>>
Attempt to resolve default_lang_sys_offset
.
sourcepub fn lang_sys_count(&self) -> u16
pub fn lang_sys_count(&self) -> u16
Number of LangSysRecords for this script — excluding the default LangSys
sourcepub fn lang_sys_records(&self) -> &'a [LangSysRecord]
pub fn lang_sys_records(&self) -> &'a [LangSysRecord]
Array of LangSysRecords, listed alphabetically by LangSys tag