read_fonts::tables::eblc

Type Alias Eblc

Source
pub type Eblc<'a> = TableRef<'a, EblcMarker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> Eblc<'a>

Source

pub fn major_version(&self) -> u16

Major version of the EBLC table, = 2.

Source

pub fn minor_version(&self) -> u16

Minor version of EBLC table, = 0.

Source

pub fn num_sizes(&self) -> u32

Number of BitmapSize records.

Source

pub fn bitmap_sizes(&self) -> &'a [BitmapSize]

BitmapSize records array.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for Eblc<'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 TopLevelTable for Eblc<'_>

Source§

const TAG: Tag = _

EBLC