class final Core · roukmoute/pdf 0.6.2
PDF\Specification\Dictionary\StandardLayoutAttributesSpecificToInlineLevelStructureElementsTable345\LineHeightEntryTable 345, /LineHeight; PDF type: number or name; Optional; inheritable.Héritage et contrats
Parent : PDF\Specification\SchemaEntry
Définition dans la norme
Tableau 345 · Standard layout attributes specific to inline-level structure elements
ISO 32000-1:2008, §14.8.5.4.4 · page PDF 612 ↗
/LineHeight number or name
(Optional; inheritable) The element’s preferred height, measured in default user space units in the block-progression direction. The height of a line shall be determined by the largest LineHeight value for any complete or partial ILSE that it contains. The name Normal or Auto in place of a numeric value shall indicate that no specific height constraint is to be imposed. The element’s height shall be set to a reasonable value based on the content’s font size: Normal Adjust the line height to include any nonzero value specified for BaselineShift. Auto Adjustment for the value of BaselineShift shall not be made. Default value: Normal. This attribute applies to all ILSEs (including implicit ones) that are children of this element or of its nested ILSEs, if any. It shall not apply to nested BLSEs. When translating to a specific export format, the values Normal and Auto, if specified, shall be used directly if they are available in the target format. The meaning of the term “reasonable value” is left to the conforming reader to determine. It should be approximately 1.2 times the font size, but this value can vary depending on the export format. NOTE 1 In the absence of a numeric value for LineHeight or an explicit value for the font size, a reasonable method of calculating the line height from the information in a Tagged PDF file is to find the difference between the associated font’s Ascent and Descent values (see 9.8, “Font Descriptors”), map it from glyph space to default user space (see 9.4.4, “Text Space Details”), and use the maximum resulting value for any character in the line.
Qualificateur : Optional; inheritable
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\NumericType|PDF\Syntax\Object\NameType|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 |