Type Alias read_fonts::tables::postscript::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> Debug for FdSelectFormat3<'a>

source§

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

Formats the value using the given formatter. Read more
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
source§

impl<'a> SomeTable<'a> for FdSelectFormat3<'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.