read_fonts::tables::postscript

Type Alias 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> 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