class final readonly Optional · pdftoolkit/opentype 0.4.1

PDFToolkit\OpenType\Cff\CffCharacterSet

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(bool $cidKeyed, array $identifiers, PDFToolkit\OpenType\Cff\CffIndex $strings)
@param list<int> $identifiers SID for name-keyed fonts, CID otherwise.

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

Declared methods

glyph()

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

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

name()

public function name(PDFToolkit\OpenType\Value\GlyphId $glyph): ?string

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

string()

public function string(int $identifier): string
Resolve a SID in the standard/custom string space, including CID ROS metadata.

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

Properties

DeclarationOrigin and documentation
public readonly bool $cidKeyedPDFToolkit\OpenType\Cff\CffCharacterSet
public readonly array $identifiersPDFToolkit\OpenType\Cff\CffCharacterSet
public readonly PDFToolkit\OpenType\Cff\CffIndex $stringsPDFToolkit\OpenType\Cff\CffCharacterSet