class final readonly Core · roukmoute/pdf 0.6.2
PDF\Specification\Definition\FontDescriptorsTable122DefinitionTable 122: Entries common to all font descriptors.Inheritance and contracts
Parent : PDF\Specification\TableDefinition
Definition in the specification
Table 122 · Entries common to all font descriptors
ISO 32000-1:2008, §9.8.1 · PDF page 289 ↗
| Entry | PDF type | Source requirement | Table |
|---|---|---|---|
/Type | name | Required | 122 |
/FontName | name | Required | 122 |
/FontFamily | byte string | Optional; PDF 1.5; should be used for Type 3 fonts in Tagged PDF documents | 122 |
/FontStretch | name | Optional; PDF 1.5; should be used for Type 3 fonts in Tagged PDF documents | 122 |
/FontWeight | number | Optional; PDF 1.5; should be used for Type 3 fonts in Tagged PDF documents | 122 |
/Flags | integer | Required | 122 |
/FontBBox | rectangle | Required, except for Type 3 fonts | 122 |
/ItalicAngle | number | Required | 122 |
/Ascent | number | Required, except for Type 3 fonts | 122 |
/Descent | number | Required, except for Type 3 fonts | 122 |
/Leading | number | Optional | 122 |
/CapHeight | number | Required for fonts that have Latin characters, except for Type 3 fonts | 122 |
/XHeight | number | Optional | 122 |
/StemV | number | Required, except for Type 3 fonts | 122 |
/StemH | number | Optional | 122 |
/AvgWidth | number | Optional | 122 |
/MaxWidth | number | Optional | 122 |
/MissingWidth | number | Optional | 122 |
/FontFile | stream | Optional | 122 |
/FontFile2 | stream | Optional; PDF 1.1 | 122 |
/FontFile3 | stream | Optional; PDF 1.2 | 122 |
/CharSet | ASCII string or byte string | Optional; meaningful only in Type 1 fonts; PDF 1.1 | 122 |
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()Inherited methods
5 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): boolvariableEntries()
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 |