class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\FontDescriptorsTable120ISO 32000-2:2020 EC3, table 120.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.
| 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(PDF\Syntax\Object\DictionaryObject\Entry ...$entries)Inherited methods
11 methods from parents and contracts
__toString()
public function __toString(): stringcount()
public function count(): intdefinition()
public function definition(): PDF\Specification\TableDefinitionentries()
public function entries(): iterable@return iterable<Entry>get()
public function get(PDF\Syntax\Object\NameType|string $key): ?PDF\Syntax\FileStructure\BasicTypegetIterator()
public function getIterator(): Traversablehas()
public function has(PDF\Syntax\Object\NameType|string $key): booltoPdf()
public function toPdf(PDF\Serialization\SerializationContext $context): stringvalidate()
public function validate(): voidChecks declared domains, unconditional requirements and explicit reviewed relations.with()
public function with(PDF\Syntax\Object\DictionaryObject\Entry $entry): staticwithout()
public function without(PDF\Syntax\Object\NameType|string $key): staticConstants
| Name | PHP value | Origin |
|---|---|---|
COMMON_TABLES | | PDF\Specification\Iso32000_2\Dictionary\FontDescriptorsTable120 |
TABLE | | PDF\Specification\Iso32000_2\Dictionary\FontDescriptorsTable120 |