class final readonly Optional · pdftoolkit/opentype 0.4.1

PDFToolkit\OpenType\Cff\CffEncoding
Legacy one-byte CFF encoding; Unicode selection remains cmap's responsibility.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(array $codes)
@param array<int, GlyphId> $codes

Declared by PDFToolkit\OpenType\Cff\CffEncoding · View the code ↗

Declared methods

glyph()

public function glyph(int $code): ?PDFToolkit\OpenType\Value\GlyphId

Declared by PDFToolkit\OpenType\Cff\CffEncoding · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly array $codesPDFToolkit\OpenType\Cff\CffEncoding