read_fonts::tables::cblc

Type Alias 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> FontRead<'a> for Cblc<'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 Cblc<'_>

Source§

const TAG: Tag = _

CBLC