man Font::TTF::PSNames () - Utilities for Postscript glyph name processing
NAME
Font::TTF::PSNames - Utilities for Postscript glyph name processing
SYNOPSIS
use Font::TTF::PSNames qw(parse lookup); $name = lookup($uni); $uni = parse($name);
METHODS
return the Adobe-recommended glyph name for a specific Unicode codepoint (integer). By default returns CWuniXXXX names rather than CWafiiNNNNN or CWSFnnnnnn names
If CW$noAlt is true, CWafii and CWSF names are returned rather than CWuniXXXX.
if CW$noUni is true, returns undef if it would have to resort to CWuniXXXX or CWuXXXXXX style names. Essentially this represents a straight lookup in the Adobe-recommended list. Parse an Adobe-conformant glyph name, generating a Unicode codepoint sequence equivalent to the glyph (or glyph components, should the name represent a ligature). In scalar context, returns a reference to an array of Unicodes (decimal). Array is empty if the glyph name is non-conformant. In list context, the first item returned is the same array reference as above. The second item is a reference to an array containing the extensions (if any) present on the glyph name. The '.' that precedes each extension is not included.
AUTHOR
Martin Hosken Martin_Hosken@sil.org. See Font::TTF::Font for copyright and licensing.