Type Alias read_fonts::tables::cblc::Cblc

source ·
pub type Cblc<'a> = TableRef<'a, CblcMarker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> Cblc<'a>

source

pub fn major_version(&self) -> u16

Major version of the CBLC table, = 3.

source

pub fn minor_version(&self) -> u16

Minor version of CBLC 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 Cblc<'a>

source§

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

Formats the value using the given formatter. Read more
source§

impl<'a> FontRead<'a> for Cblc<'a>

source§

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

Read an instace of Self from the provided data, performing validation. Read more
source§

impl<'a> SomeTable<'a> for Cblc<'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 Cblc<'_>

source§

const TAG: Tag = _

CBLC