dumpfont - dump table structures from Font::TTF::Font
dumpfont [-t taglist] [-a attach.xml] font.ttf
Opens the fontfile with Font::TTF::Font->open or, if -a specified, Font::TTF::Scripts::AP->read_font, 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 -t not provided, dumps all tables.
taglist
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.
To install Font::Fret, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Font::Fret
CPAN shell
perl -MCPAN -e shell install Font::Fret
For more information on module installation, please visit the detailed CPAN module installation guide.