File: textdetails

package info (click to toggle)
ploticus-doc 2.33-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 9,392 kB
  • ctags: 169
  • sloc: pascal: 469; makefile: 63; sh: 11
file content (174 lines) | stat: -rw-r--r-- 3,863 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
.ig >>
<STYLE TYPE="text/css">
<!--
        A:link{text-decoration:none}
        A:visited{text-decoration:none}
        A:active{text-decoration:none}
        OL,UL,P,BODY,TD,TR,TH,FORM { font-family: arial,helvetica,sans-serif;; font-size:small; color: #333333; }

        H1 { font-size: x-large; font-family: arial,helvetica,sans-serif; }
        H2 { font-size: large; font-family: arial,helvetica,sans-serif; }
        H3 { font-size: medium; font-family: arial,helvetica,sans-serif; }
        H4 { font-size: small; font-family: arial,helvetica,sans-serif; }
-->
</STYLE>
<title>ploticus: textdetails</title>
<body bgcolor=D0D0EE vlink=0000FF>
<br>
<br>
<center>
<table cellpadding=2 bgcolor=FFFFFF width=550><tr>
<td>
  <table cellpadding=2 width=550><tr>
  <td><br><h2>textdetails</h2></td>
  <td align=right>
  <small>
  <a href="../doc/welcome.html"><img src="../doc/ploticus.gif" border=0></a><br>
  Version 2.33 Jun'06
  <td></tr></table>
</td></tr>
<td>
<br>
<br>
.>>

.TH textdetails PL "02-JUN-2006   PL ploticus.sourceforge.net"


.LP
Virtually every ploticus attribute that produces text has an accompanying textdetails
specification for controlling appearance details such as point size, color, etc.
Text capabilities vary depending on what output format you're producing.  See
.ig >>
<a href="fonts.html">
.>>
\0fonts
.ig >>
</a>
.>>
for more information.

.ig >>
<br><br><br>
.>>
.SH Examples
Prefab example: \fCtitledet="size=12  adjust=0,0.2"\fR
.br
Script example: \fCtitledetails: size=12  adjust=0,0.2\fR
.LP
Note that settings are separated from each other by space, but settings
themselves contain no embedded whitespace.  Also, the entire specification
must be on one line.


.ig >>
<br><br><br>
.>>

.SH Settings
.LP
\fBsize\fR=\fIp\fR  
.IP \0
Point size of the text.  10 point is standard.  A point is 1/72th of an inch.


.LP
\fBstyle\fR=\fIs\fR 
.IP \0
Style font variant.  \fIs\fR may be either
\fCB\fR for bold, \fCI\fR for italic, \fCBI\fR for bold-italic, 
or \fCR\fR for regular.  
Has an effect only in certain graphics environments and cannot be combined with
the \fBfont=\fR setting.

.LP
\fBfont\fR=\fIfontname\fR
.IP \0
Use the font \fIfontname\fR.
Has an effect only in certain graphics environments and cannot be combined with
the \fBstyle=\fR subattribute.  See
.ig >>
<a href="fonts.html">
.>>
\0fonts
.ig >>
</a>
.>>
for more info.
If the font name you are specifying contains embedded whitespace, each whitespace character
must be encoded here using an exclamation point (!).

.LP
\fBalign\fR=\fIa\fR  
.IP \0
Alignment or justification.  \fIa\fR may be either
\fCleft\fR, \fCcenter\fR, and \fCright\fR (use the whole word or just
the first letter, upper or lower case).

.LP
\fBlinesep\fR=\fIf\fR
.IP \0
Allows control over line spacing when multi-line text is rendered.  
Default is 1.0.  An \fIf\fR > 1.0 makes lines further apart; \fIf\fR < 1.0 makes lines closer together.
New in version 2.32.

.LP
\fBadjust\fR=\fIx,y\fR  
.IP \0
Vector adjustment in 
.ig >>
<a href="attributetypes.html#positionunits">
.>>
\0absolute units
.ig >>
</a>
.>>
to default position.

.LP
\fBcolor\fR=
.ig >>
<a href="color.html">
.>>
\0color
.ig >>
</a>
.>>

.ig >>
<br><br><br>
.>>
.SH Illustration

.ig >>
<center>
<a href="../gallery/text.htm">
.>>
text 
.ig >>
<br><img src="../gallery/text.gif">
</a>
</center>
.>>

.ig >>
<br>
<br>
</td></tr>
<td align=right>
<a href="../doc/welcome.html">
<img src="../doc/ploticus.gif" border=0></a><br><small>data display engine &nbsp; <br>
<a href="../doc/Copyright.html">Copyright Steve Grubb</a>
<br>
<br>
<center>
<img src="../gallery/all.gif"> 
</center>
</td></tr>
</table>
<br>
<center>
Ploticus is hosted at http://ploticus.sourceforge.net <br>
<img src="http://sourceforge.net/sflogo.php?group_id=38453" width="88" height="31" border="0" alt="SourceForge Logo">
</center>
.>>