{
    "content": [
        {
            "type": "text",
            "text": "# Font::TTF::Dumper (perldoc)\n\n## NAME\n\nFont::TTF::Dumper - Debug dump of a font datastructure, avoiding recursion on ' PARENT'\n\n## SYNOPSIS\n\nuse Font::TTF::Dumper;\n# Print a table from the font structure:\nprint ttfdump($font->{$tag});\n# Print font table with name\nprint ttfdump($font->{'head'}, 'head');\n# Print font table with name and other options\nprint ttfdump($font->{'head'}, 'head', %opts);\n# Print one glyph's data:\nprint ttfdump($font->{'loca'}->read->{'glyphs'}[$gid], \"glyph$gid\");\n\n## DESCRIPTION\n\nFont::TTF data structures are trees created from hashes and arrays. When trying to figure out\nhow the structures work, sometimes it is helpful to use Data::Dumper on them. However, many of\nthe object structures have ' PARENT' links that refer back to the object's parent, which means\nthat Data::Dumper ends up dumping the whole font no matter what.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **AUTHOR**\n- **LICENSING**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Font::TTF::Dumper",
        "section": "",
        "mode": "perldoc",
        "summary": "Font::TTF::Dumper - Debug dump of a font datastructure, avoiding recursion on ' PARENT'",
        "synopsis": "use Font::TTF::Dumper;\n# Print a table from the font structure:\nprint ttfdump($font->{$tag});\n# Print font table with name\nprint ttfdump($font->{'head'}, 'head');\n# Print font table with name and other options\nprint ttfdump($font->{'head'}, 'head', %opts);\n# Print one glyph's data:\nprint ttfdump($font->{'loca'}->read->{'glyphs'}[$gid], \"glyph$gid\");",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "LICENSING",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Font::TTF::Dumper - Debug dump of a font datastructure, avoiding recursion on ' PARENT'\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Font::TTF::Dumper;\n\n# Print a table from the font structure:\nprint ttfdump($font->{$tag});\n\n# Print font table with name\nprint ttfdump($font->{'head'}, 'head');\n\n# Print font table with name and other options\nprint ttfdump($font->{'head'}, 'head', %opts);\n\n# Print one glyph's data:\nprint ttfdump($font->{'loca'}->read->{'glyphs'}[$gid], \"glyph$gid\");\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Font::TTF data structures are trees created from hashes and arrays. When trying to figure out\nhow the structures work, sometimes it is helpful to use Data::Dumper on them. However, many of\nthe object structures have ' PARENT' links that refer back to the object's parent, which means\nthat Data::Dumper ends up dumping the whole font no matter what.\n\nThe main purpose of this module is to invoke Data::Dumper with a filter that skips over the '\nPARENT' element of any hash.\n\nTo reduce output further, this module also skips over ' CACHE' elements and any hash element\nwhose value is a Font::TTF::Glyph or Font::TTF::Font object. (Really should make this\nconfigurable.)\n\nIf $opts{'d'}, then set Deepcopy mode to minimize use of crossreferencing.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Bob Hallissy <http://scripts.sil.org/FontUtils>.\n",
                "subsections": []
            },
            "LICENSING": {
                "content": "Copyright (c) 1998-2016, SIL International (http://www.sil.org)\n\nThis module is released under the terms of the Artistic License 2.0. For details, see the full\ntext of the license in the file LICENSE.\n",
                "subsections": []
            }
        }
    }
}