class final readonly Optional · pdftoolkit/pdf-fonts 0.1.7

PDF\Fonts\TrueType\TextEncoder
Encodes declared Unicode characters to two-byte Identity-H character codes.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Document\Fonts\CharacterMap $map)

Declared by PDF\Fonts\TrueType\TextEncoder · View the code ↗

Declared methods

encode()

Declared by PDF\Fonts\TrueType\TextEncoder · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly PDF\Document\Fonts\CharacterMap $mapPDF\Fonts\TrueType\TextEncoder