{
    "content": [
        {
            "type": "text",
            "text": "# Font::TTF::Post (perldoc)\n\n## NAME\n\nFont::TTF::Post - Holds the Postscript names for each glyph\n\n## DESCRIPTION\n\nHolds the postscript names for glyphs. Note that they are not held as an array, but as indexes\ninto two lists. The first list is the standard Postscript name list defined by the TrueType\nstandard. The second comes from the font directly.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **INSTANCE VARIABLES**\n- **METHODS**\n- **BUGS**\n- **AUTHOR**\n- **LICENSING**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Font::TTF::Post",
        "section": "",
        "mode": "perldoc",
        "summary": "Font::TTF::Post - Holds the Postscript names for each glyph",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "INSTANCE VARIABLES",
                "lines": 26,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "LICENSING",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Font::TTF::Post - Holds the Postscript names for each glyph\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Holds the postscript names for glyphs. Note that they are not held as an array, but as indexes\ninto two lists. The first list is the standard Postscript name list defined by the TrueType\nstandard. The second comes from the font directly.\n\nLooking up a glyph from a Postscript name or a name from a glyph number is achieved through\nmethods rather than variable lookup.\n\nThis class handles PostScript table types of 1, 2, 2.5 & 3, but not version 4. Support for\nversion 2.5 is as per Apple spec rather than MS.\n\nThe way to look up Postscript names or glyphs is:\n\n$pname = $f->{'post'}{'VAL'}[$gnum];\n$gnum = $f->{'post'}{'STRINGS'}{$pname};\n",
                "subsections": []
            },
            "INSTANCE VARIABLES": {
                "content": "Due to different systems having different limitations, there are various class variables\navailable to control what post table types can be written.\n\n$Font::TTF::Post::no25\nIf set tells Font::TTF::Post::out to use table type 2 instead of 2.5 in case apps cannot\nhandle version 2.5.\n\nVAL Contains an array indexed by glyph number of Postscript names. This is used when writing out\na font.\n\nSTRINGS\nAn associative array of Postscript names mapping to the highest glyph with that name. These\nmay not be in sync with VAL.\n\nIn addition there are the standard introductory variables defined in the standard:\n\nFormatType\nitalicAngle\nunderlinePosition\nunderlineThickness\nisFixedPitch\nminMemType42\nmaxMemType42\nminMemType1\nmaxMemType1\n",
                "subsections": []
            },
            "METHODS": {
                "content": "$t->read\nReads the Postscript table into memory from disk\n\n$t->out($fh)\nWrites out a new Postscript name table from memory or copies from disk\n\n$t->XMLelement($context, $depth, $key, $val)\nOutputs the names as one block of XML\n\n$t->minsize()\nReturns the minimum size this table can be. If it is smaller than this, then the table must be\nbad and should be deleted or whatever.\n",
                "subsections": []
            },
            "BUGS": {
                "content": "*   No support for type 4 tables\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Martin Hosken <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": []
            }
        }
    }
}