class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\Type1FontDictionaryTable109\WidthsEntryISO 32000-2:2020 EC3, table 109, /Widths.Héritage et contrats
Parent : PDF\Specification\SchemaEntry
Définition ISO 32000-2:2020 EC3
Tableau 109 · Entries in a Type 1 font dictionary
§9.6.2.1 · page PDF 329
Original PDF au commit documenté ↗ · Métadonnées de la source au commit documenté ↗ · Errata publics ↗
Original conservé dans le dépôt du core. Inventaire des tableaux et contrôles sémantiques restent distincts.
Extrait normatif original en anglais.
/Widths array
(Required; optional in PDF 1.0-1.7 for the standard 14 fonts; indirect reference preferred) An array of (LastChar - FirstChar + 1) numbers, each element being the glyph width for the character code that equals FirstChar plus the array index. For character codes outside the range FirstChar to LastChar, the value of MissingWidth from the FontDescriptor entry for this font shall be used. The glyph widths shall be measured in units in which 1000 units correspond to 1 unit in text space. These widths shall be consistent with the actual widths given in the font program. For more information on glyph widths and other glyph metrics, see 9.2.4, "Glyph positioning and metrics".
Construction
__construct()
public function __construct(PDF\Syntax\Object\ArrayType|PDF\Syntax\Object\IndirectReference $value)Méthodes héritées
3 méthodes des parents et contrats
definition()
public function definition(): PDF\Specification\EntryDefinitionkey()
public function key(): PDF\Syntax\Object\NameTypevalue()
public function value(): PDF\Syntax\FileStructure\BasicTypePropriétés
| Déclaration | Provenance et documentation |
|---|---|
public readonly PDF\Syntax\Object\NameType $key | PDF\Syntax\Object\DictionaryObject\Entry |
public readonly PDF\Syntax\FileStructure\BasicType $value | PDF\Syntax\Object\DictionaryObject\Entry |
Constantes
| Nom | Valeur PHP | Provenance |
|---|---|---|
KEY | | PDF\Specification\Iso32000_2\Dictionary\Type1FontDictionaryTable109\WidthsEntry |
TABLE | | PDF\Specification\Iso32000_2\Dictionary\Type1FontDictionaryTable109\WidthsEntry |
VARIABLE | | PDF\Specification\SchemaEntry |