{
    "content": [
        {
            "type": "text",
            "text": "# Font::TTF::PSNames (perldoc)\n\n## NAME\n\nFont::TTF::PSNames - Utilities for Postscript glyph name processing\n\n## SYNOPSIS\n\nuse Font::TTF::PSNames qw(parse lookup);\n$name = lookup($uni);\n$uni = parse($name);\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **METHODS**\n- **AUTHOR**\n- **LICENSING**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Font::TTF::PSNames",
        "section": "",
        "mode": "perldoc",
        "summary": "Font::TTF::PSNames - Utilities for Postscript glyph name processing",
        "synopsis": "use Font::TTF::PSNames qw(parse lookup);\n$name = lookup($uni);\n$uni = parse($name);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 17,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "LICENSING",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Font::TTF::PSNames - Utilities for Postscript glyph name processing\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Font::TTF::PSNames qw(parse lookup);\n$name = lookup($uni);\n$uni = parse($name);\n",
                "subsections": []
            },
            "METHODS": {
                "content": "lookup ( $usv [, $noAlt [, $noUni] ])\nreturn the Adobe-recommended glyph name for a specific Unicode codepoint (integer). By default\nreturns \"uniXXXX\" names rather than \"afiiNNNNN\" or \"SFnnnnnn\" names\n\nIf $noAlt is true, \"afii\" and \"SF\" names are returned rather than \"uniXXXX\".\n\nif $noUni is true, returns undef if it would have to resort to \"uniXXXX\" or \"uXXXXXX\" style\nnames. Essentially this represents a straight lookup in the Adobe-recommended list.\n\nparse ( $glyphname )\nParse an Adobe-conformant glyph name, generating a Unicode codepoint sequence equivalent to the\nglyph (or glyph components, should the name represent a ligature). In scalar context, returns a\nreference to an array of Unicodes (decimal). Array is empty if the glyph name is non-conformant.\nIn list context, the first item returned is the same array reference as above. The second item\nis a reference to an array containing the extensions (if any) present on the glyph name. The '.'\nthat precedes each extension is not included.\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": []
            }
        }
    }
}