|
NAMEFont::TTF::Kern - Kerning tablesDESCRIPTIONKerning tables are held as an ordered collection of subtables each giving incremental information regarding the kerning of various pairs of glyphs.The basic structure of the kerning data structure is: $kern = $f->{'kern'}{'tables'}[$tnum]{'kerns'}{$leftnum}{$rightnum}; Due to the possible complexity of some kerning tables the above information is insufficient. Reference also needs to be made to the type of the table and the coverage field. INSTANCE VARIABLESThe instance variables for a kerning table are relatively straightforward.
METHODS$t->readReads the whole kerning table into structures$t->out($fh)Outputs the kerning tables to the given file$t->XML_element($context, $depth, $key, $value)Handles outputting the kern hash into XML a little more tidily$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.BUGS
AUTHORMartin Hosken <http://scripts.sil.org/FontUtils>.LICENSINGCopyright (c) 1998-2016, 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.
Visit the GSP FreeBSD Man Page Interface. |