class final Core · roukmoute/pdf 0.5.5
PDF\Specification\Dictionary\FontDescriptorsTable122ISO 32000-1:2008, table 122: Entries common to all font descriptors.Héritage et contrats
Parent : PDF\Specification\SchemaDictionary
Interfaces : Countable, IteratorAggregate, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable
Définition dans la norme
Tableau 122 · Entries common to all font descriptors
ISO 32000-1:2008, §9.8.1 · page PDF 289 ↗
| Entrée | Type PDF | Exigence de la source | Tableau |
|---|---|---|---|
/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 |
Les descriptions conditionnelles restent traçables. La présence d’une définition ne réalise pas à elle seule un codec, une signature ou tous les traitements du format. Lire la couverture.
Construction
__construct()
public function __construct(PDF\Syntax\Object\DictionaryObject\Entry ...$entries)Méthodes héritées
11 méthodes des parents et contrats
__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 unconditional requirements; conditional and inherited rules remain explicit.with()
public function with(PDF\Syntax\Object\DictionaryObject\Entry $entry): staticwithout()
public function without(PDF\Syntax\Object\NameType|string $key): staticConstantes
| Nom | Valeur PHP | Provenance |
|---|---|---|
COMMON_TABLES | | PDF\Specification\Dictionary\FontDescriptorsTable122 |
TABLE | | PDF\Specification\Dictionary\FontDescriptorsTable122 |