Martin Hosken > Font-TTF-1.03 > Font::TTF::Hhea

Download:
Font-TTF-1.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  2
View/Report Bugs
Source   Latest Release: Font-TTF-1.04

NAME ^

Font::TTF::Hhea - Horizontal Header table

DESCRIPTION ^

This is a simplte table with just standards specified instance variables

INSTANCE VARIABLES ^

    version
    Ascender
    Descender
    LineGap
    advanceWidthMax
    minLeftSideBearing
    minRightSideBearing
    xMaxExtent
    caretSlopeRise
    caretSlopeRun
    metricDataFormat
    numberOfHMetrics

METHODS ^

$t->read

Reads the table into memory as instance variables

$t->out($fh)

Writes the table to a file either from memory or by copying.

$t->minsize()

Returns the minimum size this table can be. If it is smaller than this, then the table must be bad and should be deleted or whatever.

$t->update

Updates various parameters in the hhea table from the hmtx table.

BUGS ^

None known

AUTHOR ^

Martin Hosken Martin_Hosken@sil.org.

LICENSING ^

Copyright (c) 1998-2013, SIL International (http://www.sil.org)

This module is released under the terms of the Artistic License 2.0. For details, see the full text of the license in the file LICENSE.

The test suite contains test fonts released under the SIL Open Font License 1.1, see OFL.txt.

syntax highlighting: