class final readonly Optionnel · pdftoolkit/pdf-fonts 0.2.1
PDF\Fonts\OpenType\TrueTypeFontEmbeddingExplicit code-to-GID CMap preserves aliases with CIDToGIDMap /Identity.Héritage et contrats
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> $repertoireMéthodes déclarées
code()
public function code(PDF\Fonts\OpenType\GlyphText $glyph): PDF\Syntax\Object\StringObject\HexadecimalStringsourceFont()
public function sourceFont(): PDFToolkit\OpenType\Sfnt\SfntFontunitsPerEm()
public function unitsPerEm(): intPropriétés
| Déclaration | Provenance et documentation |
|---|---|
public readonly PDF\Document\Fonts\CIDFontType2 $descendant | PDF\Fonts\OpenType\TrueTypeFontEmbedding |
public readonly PDF\Document\Fonts\FontDescriptor $descriptor | PDF\Fonts\OpenType\TrueTypeFontEmbedding |
public readonly PDF\Document\Fonts\CMaps\EncodingCMap $encoding | PDF\Fonts\OpenType\TrueTypeFontEmbedding |
public readonly PDF\Document\Fonts\FontFile2 $file | PDF\Fonts\OpenType\TrueTypeFontEmbedding |
public readonly PDF\Document\Fonts\Type0Font $font | PDF\Fonts\OpenType\TrueTypeFontEmbedding |
public readonly PDF\Fonts\OpenType\TrueTypeFontProgram $program | PDF\Fonts\OpenType\TrueTypeFontEmbedding |
public readonly PDF\Document\Fonts\ToUnicodeCMap $toUnicode | PDF\Fonts\OpenType\TrueTypeFontEmbedding |