SetaPDF_Core_Font_Glyph_List Class for accessing adobes glyph lists
File: /SetaPDF v2/Core/Font/Glyph/List.php
Class hierarchy
Summary
Constants
LIST_AGL
Constant for the adobe glyph list
LIST_AGLFN
Constant for the adobe glyph list for new fonts
LIST_CUSTOM
Constant for custom glyph names
LIST_ZDGL
Constant for the zapfdingbats glyph list
Static Properties
Static Methods
_byName()
Get the UTF-16BE value from a glyph list.
Parameters
- $name : string
- $primaryList : string
byCode()
Get the glyph name by the value.
Parameters
- $code : string
The value
- $encoding : string
The encoding of the value
- $primaryList : string
Use LIST_XXX constant
Return Values
The name will be returned as string.
Exceptions
Throws InvalidArgumentException if the glyph list is unknown.
byName()
Get the UTF-16BE values by a glyph name.
Parameters
- $name : string
The glyph name
- $primaryList : string
Use LIST_XXX constant
Return Values
The UTF-16BE values will be returned as string.
Exceptions
Throws InvalidArgumentException if the glyph list is unknown.
byUtf16Be()
Get the glyph name by the UTF-16BE value.
Parameters
- $code : string
The UTF-16BE value
- $primaryList : string
Use LIST_XXX constant
Return Values
The glyph name will be returned as string.
Exceptions
Throws InvalidArgumentException if the glyph list is unknown.
byUtf16BeString()
Get a list of all glyphs used in the string.
Parameters
- $string : string
The UTF-16BE value
- $primaryList : string
Use LIST_XXX constant
Exceptions
Throws InvalidArgumentException if the glyph list is unknown.