Struct truetype::compound::FontHeader [] [src]

pub struct FontHeader {
    pub version: Fixed,
    pub fontRevision: Fixed,
    pub checkSumAdjustment: u32,
    pub magicNumber: u32,
    pub flags: u16,
    pub unitsPerEm: u16,
    pub created: i64,
    pub modified: i64,
    pub xMin: i16,
    pub yMin: i16,
    pub xMax: i16,
    pub yMax: i16,
    pub macStyle: u16,
    pub lowestRecPPEM: u16,
    pub fontDirectionHint: i16,
    pub indexToLocFormat: i16,
    pub glyphDataFormat: i16,
}

A font header.

Fields

version: Fixed fontRevision: Fixed checkSumAdjustment: u32 magicNumber: u32 flags: u16 unitsPerEm: u16 created: i64 modified: i64 xMin: i16 yMin: i16 xMax: i16 yMax: i16 macStyle: u16 lowestRecPPEM: u16 fontDirectionHint: i16 indexToLocFormat: i16 glyphDataFormat: i16

Trait Implementations

impl Copy for FontHeader
[src]

impl PartialEq for FontHeader
[src]

fn eq(&self, __arg_0: &FontHeader) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &FontHeader) -> bool

This method tests for !=.

impl Eq for FontHeader
[src]

impl Default for FontHeader
[src]

fn default() -> FontHeader

Returns the "default value" for a type. Read more

impl Debug for FontHeader
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for FontHeader
[src]

fn clone(&self) -> FontHeader

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Value for FontHeader
[src]

fn read<T: Tape>(tape: &mut T) -> Result<Self>

Read a value.