{
    "mode": "perldoc",
    "parameter": "Font::TTF::GDEF",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Font%3A%3ATTF%3A%3AGDEF/json",
    "generated": "2026-06-13T22:53:27Z",
    "sections": {
        "NAME": {
            "content": "Font::TTF::GDEF - Opentype GDEF table support\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The GDEF table contains various global lists of information which are apparantly used in other\nplaces in an OpenType renderer. But precisely where is open to speculation...\n",
            "subsections": []
        },
        "INSTANCE VARIABLES": {
            "content": "There are up to 5 tables in the GDEF table, each with their own structure:\n\nGLYPH\nThis is an Font::TTF::Coverage Class Definition table containing information as to what type\neach glyph is.\n\nATTACH\nThe attach table consists of a coverage table and then attachment points for each glyph in\nthe coverage table:\n\nCOVERAGE\nThis is a coverage table\n\nPOINTS  This is an array of point elements. Each element is an array of curve points\ncorresponding to the attachment points on that glyph. The order of the curve points\nin the array corresponds to the attachment point number specified in the MARKS\ncoverage table (see below).\n\nLIG This contains the ligature caret positioning information for ligature glyphs\n\nCOVERAGE\nA coverage table to say which glyphs are ligatures\n\nLIGS    An array of elements for each ligature. Each element is an array of information for\neach caret position in the ligature (there being number of components - 1 of these,\ngenerally)\n\nFMT         This is the format of the information and is important to provide the\nsemantics for the value. This value must be set correctly before output\n\nVAL         The value which has meaning according to FMT\n\nDEVICE      For FMT = 3, a device table is also referenced which is stored here\n\nMARKS\nThis class definition table defines the classes of mark glyphs that can be selected for\nprocessing using the MarkAttachmentType field of lookup FLAG words.\n\nMARKSETS\nContains an array of coverage tables indexed by the FILTER value of a lookup.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "$t->read\nReads the table into the data structure\n\n$t->out($fh)\nWrites out this table.\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->update\nSort COVERAGE 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": []
        }
    },
    "summary": "Font::TTF::GDEF - Opentype GDEF table support",
    "flags": [],
    "examples": [],
    "see_also": []
}