class final readonly Optional · pdftoolkit/pdf-fonts 0.1.7
PDF\Fonts\TrueType\TextEncoderEncodes declared Unicode characters to two-byte Identity-H character codes.Inheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(PDF\Document\Fonts\CharacterMap $map)Declared methods
encode()
public function encode(PDF\Fonts\TrueType\UnicodeText $text): PDF\Syntax\Object\StringObject\HexadecimalStringProperties
| Declaration | Origin and documentation |
|---|---|
public readonly PDF\Document\Fonts\CharacterMap $map | PDF\Fonts\TrueType\TextEncoder |