NAME

dumpfont - dump table structures from Font::TTF::Font

SYNOPSIS

dumpfont [-t taglist] [-a attach.xml] [-v voltsource.vtp] [-d] font.ttf

Opens the fontfile with Font::TTF::Font->open and then uses Data::Dumper to pretty-print the resultant data structures for one or more font tables to STDOUT.

taglist is a comma-or space-separated list of tags specifying which tables to dump. If -a is supplied then taglist may contain 'AP' to request dump of the attachment point structure. If -v is supplied or the tables to dump includes the 'TSIV' table, then the VOLT source will first be parsed then dumped. If -t not provided, dumps all tables. If taglist contain 'woff' then the metadata from WOFF-formatted fonts will be dumped.

Normally dumpfont minimizes output by crossreferencing previously dumped structures, but this can make it difficult to diff two fonts. -d suppresses this behavior except where needed to break reference cycles.

By design, dumpfont silently ignores any ' PARENT' or ' CACHE' elements, as well as any element whose value is a Font::TTF::Font object, in any of the data structures.

AUTHOR

Martin Hosken http://scripts.sil.org/FontUtils. (see CONTRIBUTORS for other authors).

LICENSING

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

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