Font::TTF::Dumper man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Font::TTF::Dumper(3)  User Contributed Perl Documentation Font::TTF::Dumper(3)

NAME
       Font::TTF::Dumper - Debug dump of a font datastructure, avoiding
       recursion on ' PARENT'

SYNOPSIS
	   Font::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");

DESCRIPTION
       Font::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.14.0			  2009-01-21		  Font::TTF::Dumper(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net