Type Alias read_fonts::tables::postscript::FdSelectFormat4

source ·
pub type FdSelectFormat4<'a> = TableRef<'a, FdSelectFormat4Marker>;
Expand description

FdSelect format 4.

Aliased Type§

struct FdSelectFormat4<'a> { /* private fields */ }

Implementations§

source§

impl<'a> FdSelectFormat4<'a>

source

pub fn format(&self) -> u8

Format = 4.

source

pub fn n_ranges(&self) -> u32

Number of ranges.

source

pub fn ranges(&self) -> &'a [FdSelectRange4]

Range4 array.

source

pub fn sentinel(&self) -> u32

Sentinel GID. Set equal to the number of glyphs in the font.

Trait Implementations§

source§

impl<'a> Debug for FdSelectFormat4<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> FontRead<'a> for FdSelectFormat4<'a>

source§

fn read(data: FontData<'a>) -> Result<Self, ReadError>

Read an instance of Self from the provided data, performing validation. Read more
source§

impl<'a> SomeTable<'a> for FdSelectFormat4<'a>

source§

fn type_name(&self) -> &str

The name of this table
source§

fn get_field(&self, idx: usize) -> Option<Field<'a>>

Access this table’s fields, in declaration order.