XFA Specification
Chapter 25, Rich Text Reference
Supported Character Formatting
943
The value is an RGB value specified in the sRGB color space
[SRGB].
Example:
<p style="color:#0000ff">All of this text is blue except for
this <span style="color:rgb(0,255,0)"> green </span>
word.</p>
Produces:
All of this text is blue except for this
green
word.
Font
A region of text may be in a specific font via the use of one or more of the
[CSS2]
font
style attributes; the
deprecated
font
HTML element is not supported.
The
[CSS2]
specification provides several style attributes that affect the current font.
Font style attribute
line-height:lineHeight
font-family:fontFamilyName
Description
lineHeight
is a measurement giving the distance between
baselines of adjacent lines
fontFamilyName
is a list of one or more typeface names. The
list constitutes a search path such that the glyph for any
particular character is taken from the first font on the list which
contains a glyph for that character. If a typeface name contains
white space, it must be enclosed either within single quote (')
characters or within double quote (") characters. Such
punctuation allows the font name to be parsed as a single
parameter.
Note:
Acrobat 7 does not support multiple typeface names.
font-size:characterHeight
font-stretch:stretchName
characterHeight
is a measurement giving the height of a
full-height capital letter
stretchName
is one of the following, in order from narrowest to
widest:
ultra-condensed
extra-condensed
condensed
semi-condensed
normal, the default
semi-expanded
expanded
extra-expanded
ultra-expanded
Note:
Acrobat 7 does not support this attribute.
Home Index Bookmark Pages
Pages: Home Index All Pages