{
    "content": [
        {
            "type": "text",
            "text": "# Font::TTF::Head (perldoc)\n\n## NAME\n\nFont::TTF::Head - The head table for a TTF Font\n\n## DESCRIPTION\n\nThis is a very basic table with just instance variables as described in the TTF documentation,\nusing the same names. One of the most commonly used is \"unitsPerEm\".\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::Head",
        "section": "",
        "mode": "perldoc",
        "summary": "Font::TTF::Head - The head table for a TTF Font",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "INSTANCE VARIABLES",
                "lines": 23,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 27,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "LICENSING",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Font::TTF::Head - The head table for a TTF Font\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This is a very basic table with just instance variables as described in the TTF documentation,\nusing the same names. One of the most commonly used is \"unitsPerEm\".\n",
                "subsections": []
            },
            "INSTANCE VARIABLES": {
                "content": "The \"head\" table has no internal instance variables beyond those common to all tables and those\nspecified in the standard:\n\nversion\nfontRevision\ncheckSumAdjustment\nmagicNumber\nflags\nunitsPerEm\ncreated\nmodified\nxMin\nyMin\nxMax\nyMax\nmacStyle\nlowestRecPPEM\nfontDirectionHint\nindexToLocFormat\nglyphDataFormat\n\nThe two dates are held as an array of two unsigned longs (32-bits)\n",
                "subsections": []
            },
            "METHODS": {
                "content": "$t->read\nReads the table into memory thanks to some utility functions\n\n$t->out($fh)\nWrites the table to a file either from memory or by copying. If in memory (which is usually) the\ncheckSumAdjustment field is set to 0 as per the default if the file checksum is not to be\nconsidered.\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\n$t->XMLelement($context, $depth, $key, $value)\nHandles date process for the XML exporter\n\n$t->update\nUpdates the head table based on the glyph data and the hmtx table\n\n$t->getdate($iscreate)\nConverts font modification time (or creation time if $iscreate is set) to a 32-bit integer as\nreturned from time(). Returns undef if the value is out of range, either before the epoch or\nafter the maximum storable time.\n\n$t->setdate($time, $iscreate)\nSets the time information for modification (or creation time if $iscreate is set) according to\nthe 32-bit time information.\n",
                "subsections": []
            },
            "BUGS": {
                "content": "None known\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": []
            }
        }
    }
}