SECTION 10.7
927
Tagged PDF
KEY
TYPE
VALUE
LineHeight
number
(Optional; inheritable)
The element’s preferred height, measured in default
or name user space units in the block-progression direction. The height of a line is
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 indicates that no
specific height constraint is to be imposed. The element’s height is set to a
reasonable value based on the content’s font size:
Normal
Auto
Adjust the line height to include any nonzero value
specified for
BaselineShift
(see below).
Do not adjust for the value of
BaselineShift
.
Default value:
Normal
.
This attribute applies to all ILSEs (including implicit ones) that are chil-
dren of this element or of its nested ILSEs, if any. It does not apply to nest-
ed BLSEs.
Note:
When translating to a specific export format, the values
Normal
and
Auto
, if specified, are used directly if they are available in the target format.
The meaning of the term “reasonable value,” used above, is left to the con-
sumer application to determine. It can be assumed to be approximately 1.2
times the font size, but this value may vary depending on the export format.
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 infor-
mation in a Tagged PDF file is to find the difference between the associated
font’s
Ascent
and
Descent
values (see Section 5.7, “Font Descriptors”), map it
from glyph space to default user space (see Section 5.3.3, “Text Space De-
TextDecorationColor
array
(Optional; inheritable; PDF 1.5)
The color to be used for drawing text dec-
orations. The value is an array of three numbers in the range 0.0 to 1.0,
representing the red, green, and blue values, respectively, of an RGB color
space. If this attribute is not specified, the border color for this element is
the current fill color in effect at the start of its associated content.
TextDecorationThickness
number
(Optional; inheritable; PDF 1.5)
The thickness of each line drawn as part of
the text decoration. The value is a non-negative number in default user
space units representing the thickness (0 is interpreted as the thinnest pos-
sible line). If this attribute is not specified, it is derived from the current
stroke thickness in effect at the start of the element’s associated content,
transformed into default user space units.