read_fonts::tables::postscript

Type Alias FdSelectFormat3

Source
pub type FdSelectFormat3<'a> = TableRef<'a, FdSelectFormat3Marker>;
Expand description

FdSelect format 3.

Aliased Type§

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

Implementations§

Source§

impl<'a> FdSelectFormat3<'a>

Source

pub fn format(&self) -> u8

Format = 3.

Source

pub fn n_ranges(&self) -> u16

Number of ranges.

Source

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

Range3 array.

Source

pub fn sentinel(&self) -> u16

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

Trait Implementations§

Source§

impl<'a> FontRead<'a> for FdSelectFormat3<'a>

Source§

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

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