Struct opentype::spec::FontHeader [] [src]

pub struct FontHeader {
    pub version: Fixed,
    pub fontRevision: Fixed,
    pub checkSumAdjustment: ULONG,
    pub magicNumber: ULONG,
    pub flags: USHORT,
    pub unitsPerEm: USHORT,
    pub created: LONGDATETIME,
    pub modified: LONGDATETIME,
    pub xMin: SHORT,
    pub yMin: SHORT,
    pub xMax: SHORT,
    pub yMax: SHORT,
    pub macStyle: USHORT,
    pub lowestRecPPEM: USHORT,
    pub fontDirectionHint: SHORT,
    pub indexToLocFormat: SHORT,
    pub glyphDataFormat: SHORT,
}

Fields

version: Fixed fontRevision: Fixed checkSumAdjustment: ULONG magicNumber: ULONG flags: USHORT unitsPerEm: USHORT created: LONGDATETIME modified: LONGDATETIME xMin: SHORT yMin: SHORT xMax: SHORT yMax: SHORT macStyle: USHORT lowestRecPPEM: USHORT fontDirectionHint: SHORT indexToLocFormat: SHORT glyphDataFormat: SHORT

Trait Implementations

impl Default for FontHeader
[src]

fn default() -> FontHeader

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

impl Table for FontHeader
[src]

fn read<R: Read>(&mut self, reader: &mut R) -> Result<()>