read_fonts::tables::cbdt

Type Alias Cbdt

Source
pub type Cbdt<'a> = TableRef<'a, CbdtMarker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> Cbdt<'a>

Source

pub fn major_version(&self) -> u16

Major version of the CBDT table, = 3.

Source

pub fn minor_version(&self) -> u16

Minor version of CBDT table, = 0.

Source§

impl<'a> Cbdt<'a>

Source

pub fn data( &self, location: &BitmapLocation, ) -> Result<BitmapData<'a>, ReadError>

Trait Implementations§

Source§

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

Source§

const TAG: Tag = _

CBDT