class final readonly Optional · pdftoolkit/opentype 0.1.0
PDFToolkit\OpenType\Substitution\SingleSubstFormat2Inheritance and contracts
Interfaces : PDFToolkit\OpenType\Substitution\SubstitutionSubtable
Construction
__construct()
public function __construct(PDFToolkit\OpenType\Layout\Coverage $coverage, array $substituteGlyphIds)@param list<GlyphId> $substituteGlyphIdsDeclared methods
isSupported()
public function isSupported(): boollookupType()
public function lookupType(): intsubstitute()
public function substitute(PDFToolkit\OpenType\Value\GlyphId $glyph): ?PDFToolkit\OpenType\Value\GlyphIdProperties
| Declaration | Origin and documentation |
|---|---|
public readonly PDFToolkit\OpenType\Layout\Coverage $coverage | PDFToolkit\OpenType\Substitution\SingleSubstFormat2 |
public readonly array $substituteGlyphIds | PDFToolkit\OpenType\Substitution\SingleSubstFormat2@var list<GlyphId> |