class final readonly Optional · pdftoolkit/pdf-fonts 0.2.1

PDF\Fonts\OpenType\TrueTypeFontEmbedding
Explicit code-to-GID CMap preserves aliases with CIDToGIDMap /Identity.

Read the source declaration ↗

Inheritance and contracts

Interfaces : PDF\Fonts\OpenType\PositionedFont

Construction

__construct()

public function __construct(PDF\Fonts\OpenType\TrueTypeFontProgram $program, array $repertoire, PDF\Document\Fonts\FontDescriptorFlags $flags, PDF\Syntax\Object\NumericType $stemV, ?PDF\Syntax\Object\NumericType $capHeight = null)
@param list<GlyphText> $repertoire

Declared by PDF\Fonts\OpenType\TrueTypeFontEmbedding · View the code ↗

Declared methods

code()

Declared by PDF\Fonts\OpenType\TrueTypeFontEmbedding · View the code ↗

sourceFont()

public function sourceFont(): PDFToolkit\OpenType\Sfnt\SfntFont

Declared by PDF\Fonts\OpenType\TrueTypeFontEmbedding · View the code ↗

unitsPerEm()

public function unitsPerEm(): int

Declared by PDF\Fonts\OpenType\TrueTypeFontEmbedding · View the code ↗

Properties