XFA Specification
Chapter 25, Rich Text Reference
Supported Character Formatting
945
Produces:
The base font for this text is Minion Pro italic bold 16pt with a
line-spacing of a half-inch.
The second sentence switches
to a Courier Std typeface.
to a 12-point font.
The last sentence switches
Italic
A region of text may be italicized via the use of the
[CSS2]
font-style
style attribute or the
i
[XHTML]
element.
Example:
<p>The<i> second </i>and
<span style="font-style:italic"> fourth </span>
words are italicized.
</p>
Produces:
The
second
and
fourth
words are italicized.
Span
The
span
element has no formatting effect of its own, but it accepts formatting attributes and applies
those attributes to whatever it encloses, as defined by the
[CSS2]
and
[XHTML]
specifications. However
XFA imposes an additional restriction, namely that
span
elements can not nest.
Subscript
A region of text may have its baseline position lowered within a line of text via the use of the
[XHTML]
sub
element. The effect is to lower the baseline by 15% of the current font height, and to set a new font height
which is 66% of the current font height.
Example:
<p>This sentence contains
<sub>lowered text</sub>
on a line.
</p>
Produces:
This sentence contains
lowered text
on a line.
Home Index Bookmark Pages
Pages: Home Index All Pages