Martin Hosken > Font-TTF > Font::TTF::GrFeat

Download:
Font-TTF-0.45.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  6
View Bugs
Report a bug
Source  

NAME ^

Font::TTF::GrFeat - Graphite Font Features

DESCRIPTION ^

INSTANCE VARIABLES ^

version
features

An array of hashes of the following form

feature

feature id number

name

name index in name table

exclusive

exclusive flag

default

the default setting number

settings

hash of setting number against name string index

METHODS ^

$t->read

Reads the features from the TTF file into memory

$t->out($fh)

Writes the features to a TTF file

$t->print($fh)

Prints a human-readable representation of the table

BUGS ^

The version 1 Feat table ends with a feature (id 1) named NoName with zero settings but with an offset to the last entry in the setting array. This last setting has id 0 and an invalid name id. This last feature is changed to have one setting.

AUTHOR ^

Alan Ward (derived from Jonathan Kew's Feat.pm). See Font::TTF::Font for copyright and licensing.