{
    "mode": "perldoc",
    "parameter": "Font::TTF::GrFeat",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Font%3A%3ATTF%3A%3AGrFeat/json",
    "generated": "2026-06-16T09:58:20Z",
    "sections": {
        "NAME": {
            "content": "Font::TTF::GrFeat - Graphite Font Features\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "",
            "subsections": []
        },
        "INSTANCE VARIABLES": {
            "content": "version\nfeatures\nAn array of hashes of the following form\n\nfeature feature id number\n\nname    name index in name table\n\nexclusive\nexclusive flag\n\ndefault the default setting number\n\nsettings\nhash of setting number against name string index\n",
            "subsections": []
        },
        "METHODS": {
            "content": "$t->read\nReads the features from the TTF file into memory\n\n$t->out($fh)\nWrites the features to a TTF file\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->print($fh)\nPrints a human-readable representation of the table\n\n$t->tagtonum ($featstr)\nConvert an alphanumeric feature id tag (string) to a number (32-bit). Tags are normally 4 chars.\nGraphite ignores space padding if it is present, so we do the same here.\n\n$t->numtotag ($featnum)\nConvert a feature id number (32-bit) back to a tag (string). Trailing space or null padding is\nremoved. Feature id numbers that do not represent alphanumeric tags are returned unchanged.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "The version 1 Feat table ends with a feature (id 1) named NoName with zero settings but with an\noffset to the last entry in the setting array. This last setting has id 0 and an invalid name\nid. This last feature is changed to have one setting.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Alan Ward (derived from Jonathan Kew's Feat.pm).\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::GrFeat - Graphite Font Features",
    "flags": [],
    "examples": [],
    "see_also": []
}