class final readonly Optional · pdftoolkit/pdf-fonts 0.2.1

PDF\Fonts\OpenType\CffFontProgram
A static OpenType CFF1 face for PDF 1.6+ FontFile3; no implicit variable instance.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(string $bytes, ?int $collectionIndex = null, PDFToolkit\OpenType\Sfnt\ReadLimits $limits = new ReadLimits(), PDFToolkit\OpenType\Outline\OutlineLimits $outlineLimits = new OutlineLimits())

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

Declared methods

cid()

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

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

pdfWidth()

public function pdfWidth(PDFToolkit\OpenType\Value\GlyphId $glyph): float

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

Properties