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

source§

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

Formats the value using the given formatter. Read more
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<'a> SomeTable<'a> for Eblc<'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.
source§

impl TopLevelTable for Eblc<'_>

source§

const TAG: Tag = _

EBLC