|
Manual page for textdetails_attribute_type(PL)
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.
It should be noted that text capabilities vary depending on the
result format. PostScript is much better in this regard than PNG, GIF
or X11. Currently the PNG/GIF interface has one font style, in five
sizes.
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 cannot be combined with
the font= subattribute.
font=postscriptfontname
use the font postscriptfontname.
This has an effect only when rendering in PostScript, and cannot be combined with
the style= subattribute. New in version 1.40.
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
|