class final Core · roukmoute/pdf 0.6.1

PDF\Specification\Dictionary\FontDescriptorsTable122
ISO 32000-1:2008, table 122: Entries common to all font descriptors.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Specification\SchemaDictionary

Interfaces : Countable, IteratorAggregate, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable

Definition in the specification

Table 122 · Entries common to all font descriptors
ISO 32000-1:2008, §9.8.1 · PDF page 289 ↗

EntryPDF typeSource requirementTable
/TypenameRequired122
/FontNamenameRequired122
/FontFamilybyte stringOptional; PDF 1.5; should be used for Type 3 fonts in Tagged PDF documents122
/FontStretchnameOptional; PDF 1.5; should be used for Type 3 fonts in Tagged PDF documents122
/FontWeightnumberOptional; PDF 1.5; should be used for Type 3 fonts in Tagged PDF documents122
/FlagsintegerRequired122
/FontBBoxrectangleRequired, except for Type 3 fonts122
/ItalicAnglenumberRequired122
/AscentnumberRequired, except for Type 3 fonts122
/DescentnumberRequired, except for Type 3 fonts122
/LeadingnumberOptional122
/CapHeightnumberRequired for fonts that have Latin characters, except for Type 3 fonts122
/XHeightnumberOptional122
/StemVnumberRequired, except for Type 3 fonts122
/StemHnumberOptional122
/AvgWidthnumberOptional122
/MaxWidthnumberOptional122
/MissingWidthnumberOptional122
/FontFilestreamOptional122
/FontFile2streamOptional; PDF 1.1122
/FontFile3streamOptional; PDF 1.2122
/CharSetASCII string or byte stringOptional; meaningful only in Type 1 fonts; PDF 1.1122

Conditional descriptions remain traceable. A definition alone does not implement a codec, a signature or every format mechanism. Read the coverage.

Construction

__construct()

public function __construct(PDF\Syntax\Object\DictionaryObject\Entry ...$entries)

Declared by PDF\Specification\Dictionary\FontDescriptorsTable122 · View the code ↗

Inherited methods

11 methods from parents and contracts

__toString()

public function __toString(): string

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

count()

public function count(): int

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

definition()

public function definition(): PDF\Specification\TableDefinition

Declared by PDF\Specification\SchemaDictionary · View the code ↗

entries()

public function entries(): iterable
@return iterable<Entry>

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

get()

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

getIterator()

public function getIterator(): Traversable

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

has()

public function has(PDF\Syntax\Object\NameType|string $key): bool

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

toPdf()

public function toPdf(PDF\Serialization\SerializationContext $context): string

Declared by PDF\Specification\SchemaDictionary · View the code ↗

validate()

public function validate(): void
Checks unconditional requirements; conditional and inherited rules remain explicit.

Declared by PDF\Specification\SchemaDictionary · View the code ↗

with()

public function with(PDF\Syntax\Object\DictionaryObject\Entry $entry): static

Declared by PDF\Specification\SchemaDictionary · View the code ↗

without()

public function without(PDF\Syntax\Object\NameType|string $key): static

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

Constants