class final Core · pdftoolkit/pdf 0.12.4

PDF\Specification\Iso32000_2\Dictionary\FontDescriptorsTable120
ISO 32000-2:2020 EC3, table 120.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Specification\SchemaDictionary

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

ISO 32000-2:2020 EC3 definition

Table 120 · Entries common to all font descriptors
§9.8.1 · PDF page 358

Original PDF at the documented commit ↗ · Source metadata at the documented commit ↗ · Public errata ↗

Original retained in the core repository. Table inventory and semantic validation remain distinct.

EntryPDF typePhysical PDF pageRequirement
/Typename358Required
/FontNamename358Required; conditional
/FontFamilybyte string358Optional
/FontStretchname358Optional
/FontWeightinteger359Optional
/Flagsinteger359Required
/FontBBoxrectangle359Required; conditional
/ItalicAnglenumber359Required
/Ascentnumber359Required; conditional
/Descentnumber359Required; conditional
/Leadingnumber359Optional
/CapHeightnumber359Required; conditional
/XHeightnumber359Optional
/StemVnumber359Required; conditional
/StemHnumber359Optional
/AvgWidthnumber359Optional
/MaxWidthnumber360Optional
/MissingWidthnumber360Optional
/FontFilestream360Optional
/FontFile2stream360Optional
/FontFile3stream360Optional
/CharSetascii string or byte string360Optional; conditional

EC3 correction /FontName · Completed · ISO TC 171 SC 2 WG 8 · page PDF 358 · Issue #11

EC3 correction /FontWeight · Completed · ISO TC 171 SC 2 WG 8 · page PDF 359 · Issue #152

PDF 2.0 scope and limits.

Construction

__construct()

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

Declared by PDF\Specification\Iso32000_2\Dictionary\FontDescriptorsTable120 · 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 declared domains, unconditional requirements and explicit reviewed relations.

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