{
    "mode": "perldoc",
    "parameter": "Font::TTF::Ttc",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Font%3A%3ATTF%3A%3ATtc/json",
    "generated": "2026-06-13T18:56:26Z",
    "sections": {
        "NAME": {
            "content": "Font::TTF::Ttc - Truetype Collection class\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "A TrueType collection is a collection of TrueType fonts in one file in which tables may be\nshared between different directories. In order to support this, the TTC introduces the concept\nof a table being shared by different TrueType fonts. This begs the question of what should\nhappen to the ' PARENT' property of a particular table. It is made to point to the first\ndirectory object which refers to it. It is therefore up to the application to sort out any\nconfusion. Confusion only occurs if shared tables require access to non-shared tables. This\nshould not happen since the shared tables are dealing with glyph information only and the\nprivate tables are dealing with encoding and glyph identification. Thus the general direction is\nfrom identification to glyph and not the other way around (at least not without knowledge of the\nparticular context).\n",
            "subsections": []
        },
        "INSTANCE VARIABLES": {
            "content": "The following instance variables are preceded by a space\n\nfname (P)\nFilename for this TrueType Collection\n\nINFILE (P)\nThe filehandle of this collection\n\nThe following instance variable does not start with a space\n\ndirects\nAn array of directories (Font::TTF::Font objects) for each sub-font in the directory\n",
            "subsections": []
        },
        "METHODS": {
            "content": "Font::TTF::Ttc->open($fname)\nOpens and reads the given filename as a TrueType Collection. Reading a collection involves\nreading each of the directories which go to make up the collection.\n\n$c->read\nReads a Collection by reading all the directories in the collection\n\n$c->find($direct, $name, $check, $off, $len)\nHunts around to see if a table with the given characteristics of name, checksum, offset and\nlength has been associated with a directory earlier in the list. Actually on checks the offset\nsince no two tables can share the same offset in a TrueType font, collection or otherwise.\n\n$c->DESTROY\nClosees any opened files by us\n",
            "subsections": []
        },
        "BUGS": {
            "content": "No known bugs, but then not ever executed!\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::Ttc - Truetype Collection class",
    "flags": [],
    "examples": [],
    "see_also": []
}