Query: font::ttf::dumper
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Font::TTF::Dumper(3pm) User Contributed Perl Documentation Font::TTF::Dumper(3pm)NAMEFont::TTF::Dumper - Debug dump of a font datastructure, avoiding recursion on ' PARENT'SYNOPSISFont::TTF::Dumper; # Print a table from the font structure: print ttfdump($font->{$tag}); # Print font table with name print ttfdump($font->{'head'}, 'head'); # Print one glyph's data: print ttfdump($font->{'loca'}->read->{'glyphs'}[$gid], "glyph_$gid");DESCRIPTIONFont::TTF data structures are trees created from hashes and arrays. When trying to figure out how the structures work, sometimes it is helpful to use Data::Dumper on them. However, many of the object structures have ' PARENT' links that refer back to the object's parent, which means that Data::Dumper ends up dumping the whole font no matter what. The purpose of this module is to do just one thing: invoke Data::Dumper with a filter that skips over the ' PARENT' element of any hash. To reduce output further, this module also skips over ' CACHE' elements and any hash element whose value is a Font::TTF::Glyph or Font::TTF::Font object. (Really should make this configurable.) See also Font::TTF::Font perl v5.10.1 2009-01-21 Font::TTF::Dumper(3pm)
Related Man Pages |
---|
font::ttf::head(3) - centos |
font::ttf::features::cvar(3) - centos |
font::ttf::post(3) - centos |
font::ttf::glyf(3pm) - debian |
font::ttf::xmlparse(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
How can I do this in VI editor? |
Is UNIX an open source OS ? |
Introduction |
One instance of comparing grep and awk |