GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  FONT::TTF::DUMPER (3)

.ds Aq ’

NAME

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

CONTENTS

SYNOPSIS



    use 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 glyphs 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.)

AUTHOR

Bob Hallissy <http://scripts.sil.org/FontUtils>.

LICENSING

Copyright (c) 1998-2014, 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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 FONT::TTF::DUMPER (3) 2014-12-10

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.