|
text
DESCRIPTION
-
-
A textdetails attribute
controls details
regarding the presentation of some text, including the size, style, alignment,
and color.
These details have defaults that will often be satisfactory; text details
specifications may be used when it is desired to override the defaults.
Virtually every text attribute in the ploticus system
has an accompanying textdetails attribute.
-
-
Text capabilities vary depending on the output format. See
fonts
for more information.
-
-
A textdetails specification occupies one line in a script file
and contains one or more sub-attribute settings.
A sub-attribute setting has the form subattribute=value
with no embedded spaces.
Multiple sub-attribute settings on the line are separated by white-space.
SUB-ATTRIBUTES
size=p
integer point size of the text. 10 point is standard.
A point is 1/72th of an inch.
style=s
-
-
style font variant. s may be either
B for bold, I for italic, BI for bold-italic,
or R for regular.
This has an effect only when rendering in PostScript and SVG, and cannot be combined with
the font= subattribute.
font=fontname
-
-
use the font fontname.
This has an effect only with PostScript, SVG, or
PNG/JPEG/WBMP with FreeType2 enabled. It cannot
be combined with the style= subattribute. See
fonts
for more info.
Spaces within fontname must be represented using a exlamation point symbol (!).
align=a
-
-
alignment or justification. a may be either
L for left, C for centered, R for right justified.
adjust=x,y
-
-
vector adjustment in
absolute units
to default position.
color=
color
EXAMPLE
Here's an example of a textdetails attribute:
Titledetails: size=12 color=blue style=BI adjust=0,0.2
|
data display engine
Copyright Steve Grubb
|