class final readonly Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Definition\FontDescriptorsTable120DefinitionISO 32000-2:2020 source table 120; explicitly reviewed EC3 constraints remain separate.Inheritance and contracts
Parent : PDF\Specification\TableDefinition
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.
| Entry | PDF type | Physical PDF page | Requirement |
|---|---|---|---|
/Type | name | 358 | Required |
/FontName | name | 358 | Required; conditional |
/FontFamily | byte string | 358 | Optional |
/FontStretch | name | 358 | Optional |
/FontWeight | integer | 359 | Optional |
/Flags | integer | 359 | Required |
/FontBBox | rectangle | 359 | Required; conditional |
/ItalicAngle | number | 359 | Required |
/Ascent | number | 359 | Required; conditional |
/Descent | number | 359 | Required; conditional |
/Leading | number | 359 | Optional |
/CapHeight | number | 359 | Required; conditional |
/XHeight | number | 359 | Optional |
/StemV | number | 359 | Required; conditional |
/StemH | number | 359 | Optional |
/AvgWidth | number | 359 | Optional |
/MaxWidth | number | 360 | Optional |
/MissingWidth | number | 360 | Optional |
/FontFile | stream | 360 | Optional |
/FontFile2 | stream | 360 | Optional |
/FontFile3 | stream | 360 | Optional |
/CharSet | ascii string or byte string | 360 | Optional; 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
Construction
__construct()
public function __construct()Inherited methods
6 methods from parents and contracts
entries()
public function entries(): iterable@return iterable<EntryDefinition>entry()
public function entry(PDF\Syntax\Object\NameType|string $name): PDF\Specification\EntryDefinitionhas()
public function has(PDF\Syntax\Object\NameType|string $name): boolsemanticRules()
public function semanticRules(): iterable@return iterable<SemanticRule>variableEntries()
public function variableEntries(): iterable@return iterable<EntryDefinition>variableEntry()
public function variableEntry(string $description): PDF\Specification\EntryDefinitionProperties
| Declaration | Origin and documentation |
|---|---|
public readonly PDF\Specification\SourceReference $source | PDF\Specification\TableDefinition |
public readonly string $title | PDF\Specification\TableDefinition |