aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/dmx/doc/html/dmxfont_8h.html
blob: 72b0b35b296dcb0f1d68583b125736f019e9f109 (plain)
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
    <title>File Index</title>
    <link href="doxygen.css" rel="stylesheet" type="text/css">
  </head>
  <body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>dmxfont.h File Reference</h1><code>#include &lt;X11/fonts/fontstruct.h&gt;</code><br/>

<p><a href="dmxfont_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct__dmxFontPriv.html">_dmxFontPriv</a></td></tr>
<tr><td colspan="2"><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct__dmxFontPriv.html">_dmxFontPriv</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8h.html#a06305f429e61106b149a71e28db42541">dmxFontPrivRec</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct__dmxFontPriv.html">_dmxFontPriv</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8h.html#a79b4c89f92d4b1c88343b39bc681ef2a">dmxFontPrivPtr</a></td></tr>
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8h.html#a2d9cf629a70ed7c46a38dac9611b6527">dmxInitFonts</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8h.html#ab6bdac52e012fec9bd43eaa9667f9785">dmxResetFonts</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8h.html#a0119b47dedc04962e24f5b7d86f5cd92">dmxRealizeFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8h.html#a9d0df8388cd6cd1a5d7b77dcf9aaa69f">dmxUnrealizeFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8h.html#ad24fe115ec27d050da7a4cb47d7ce52f">dmxBELoadFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8h.html#afadf46b46a1f3da085c96849c885a41e">dmxBEFreeFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
<tr><td colspan="2"><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8h.html#a4e2a5b2ae34073156aef6b406552657f">dmxFontPrivateIndex</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Interface for font-related functions. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="dmxfont_8c.html">dmxfont.c</a> </dd></dl>
<hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="a79b4c89f92d4b1c88343b39bc681ef2a"></a><!-- doxytag: member="dmxfont.h::dmxFontPrivPtr" ref="a79b4c89f92d4b1c88343b39bc681ef2a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="struct__dmxFontPriv.html">_dmxFontPriv</a> * <a class="el" href="struct__dmxFontPriv.html">dmxFontPrivPtr</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a06305f429e61106b149a71e28db42541"></a><!-- doxytag: member="dmxfont.h::dmxFontPrivRec" ref="a06305f429e61106b149a71e28db42541" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="struct__dmxFontPriv.html">_dmxFontPriv</a>  <a class="el" href="struct__dmxFontPriv.html">dmxFontPrivRec</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Font private area. </p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="afadf46b46a1f3da085c96849c885a41e"></a><!-- doxytag: member="dmxfont.h::dmxBEFreeFont" ref="afadf46b46a1f3da085c96849c885a41e" args="(ScreenPtr pScreen, FontPtr pFont)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Bool dmxBEFreeFont </td>
          <td>(</td>
          <td class="paramtype">ScreenPtr&nbsp;</td>
          <td class="paramname"> <em>pScreen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FontPtr&nbsp;</td>
          <td class="paramname"> <em>pFont</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Free <em>pFont</em> on the back-end associated with <em>pScreen</em>. </p>

<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxscrinit_8c_source.html#l00076">dmxFontPrivateIndex</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, and <a class="el" href="dmxfont_8h_source.html#l00045">_dmxFontPriv::font</a>.</p>

<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01459">dmxBEDestroyResources()</a>, and <a class="el" href="dmxfont_8c_source.html#l00485">dmxUnrealizeFont()</a>.</p>

</div>
</div>
<a class="anchor" id="ad24fe115ec27d050da7a4cb47d7ce52f"></a><!-- doxytag: member="dmxfont.h::dmxBELoadFont" ref="ad24fe115ec27d050da7a4cb47d7ce52f" args="(ScreenPtr pScreen, FontPtr pFont)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Bool dmxBELoadFont </td>
          <td>(</td>
          <td class="paramtype">ScreenPtr&nbsp;</td>
          <td class="paramname"> <em>pScreen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FontPtr&nbsp;</td>
          <td class="paramname"> <em>pFont</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Load the font, <em>pFont</em>, on the back-end server associated with <em>pScreen</em>. When a font is loaded, the font path on back-end server is first initialized to that specified on the command line with the -fontpath options, and then the font is loaded. </p>

<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxfont_8c_source.html#l00098">dmxCheckFontPathElement()</a>, <a class="el" href="dmxlog_8h_source.html#l00048">dmxError</a>, <a class="el" href="dmxinit_8c_source.html#l00094">dmxFontPath</a>, <a class="el" href="dmxscrinit_8c_source.html#l00076">dmxFontPrivateIndex</a>, <a class="el" href="dmxfont_8c_source.html#l00092">dmxFreeFontPath()</a>, <a class="el" href="dmxfont_8c_source.html#l00062">dmxGetFontPath()</a>, <a class="el" href="dmxinit_8c_source.html#l00118">dmxIgnoreBadFontPaths</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, <a class="el" href="dmxfont_8c_source.html#l00114">dmxSetFontPath()</a>, <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>, <a class="el" href="dmxlog_8h_source.html#l00045">dmxWarning</a>, and <a class="el" href="dmxfont_8h_source.html#l00045">_dmxFontPriv::font</a>.</p>

<p>Referenced by <a class="el" href="dmxextension_8c_source.html#l01170">dmxAttachScreen()</a>, <a class="el" href="dmxextension_8c_source.html#l00856">dmxBECreateResources()</a>, and <a class="el" href="dmxfont_8c_source.html#l00436">dmxRealizeFont()</a>.</p>

</div>
</div>
<a class="anchor" id="a2d9cf629a70ed7c46a38dac9611b6527"></a><!-- doxytag: member="dmxfont.h::dmxInitFonts" ref="a2d9cf629a70ed7c46a38dac9611b6527" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxInitFonts </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Initialize font support. In addition to the screen function call pointers, DMX also hooks in at the ProcVector[] level. Here the old ProcVector function pointers are saved and the new ProcVector function pointers are initialized. </p>

<p>References <a class="el" href="dmxfont_8c_source.html#l00169">dmxProcSetFontPath()</a>, and <a class="el" href="dmxfont_8c.html#a306f6e316020fcda44fb35e1c96f2bd3">dmxSaveProcVector</a>.</p>

<p>Referenced by <a class="el" href="dmxinit_8c_source.html#l00561">InitOutput()</a>.</p>

</div>
</div>
<a class="anchor" id="a0119b47dedc04962e24f5b7d86f5cd92"></a><!-- doxytag: member="dmxfont.h::dmxRealizeFont" ref="a0119b47dedc04962e24f5b7d86f5cd92" args="(ScreenPtr pScreen, FontPtr pFont)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Bool dmxRealizeFont </td>
          <td>(</td>
          <td class="paramtype">ScreenPtr&nbsp;</td>
          <td class="paramname"> <em>pScreen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FontPtr&nbsp;</td>
          <td class="paramname"> <em>pFont</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Realize the font, <em>pFont</em>, on the back-end server associated with <em>pScreen</em>. </p>

<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxfont_8c_source.html#l00252">dmxBELoadFont()</a>, <a class="el" href="dmxscrinit_8c_source.html#l00076">dmxFontPrivateIndex</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, <a class="el" href="dmxfont_8h_source.html#l00045">_dmxFontPriv::font</a>, and <a class="el" href="dmxfont_8h_source.html#l00044">_dmxFontPriv::refcnt</a>.</p>

<p>Referenced by <a class="el" href="dmxscrinit_8c_source.html#l00212">dmxScreenInit()</a>.</p>

</div>
</div>
<a class="anchor" id="ab6bdac52e012fec9bd43eaa9667f9785"></a><!-- doxytag: member="dmxfont.h::dmxResetFonts" ref="ab6bdac52e012fec9bd43eaa9667f9785" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmxResetFonts </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Reset font support by restoring the original ProcVector function pointers. </p>

<p>References <a class="el" href="dmxfont_8c.html#a306f6e316020fcda44fb35e1c96f2bd3">dmxSaveProcVector</a>.</p>

<p>Referenced by <a class="el" href="dmxscrinit_8c_source.html#l00432">dmxCloseScreen()</a>.</p>

</div>
</div>
<a class="anchor" id="a9d0df8388cd6cd1a5d7b77dcf9aaa69f"></a><!-- doxytag: member="dmxfont.h::dmxUnrealizeFont" ref="a9d0df8388cd6cd1a5d7b77dcf9aaa69f" args="(ScreenPtr pScreen, FontPtr pFont)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Bool dmxUnrealizeFont </td>
          <td>(</td>
          <td class="paramtype">ScreenPtr&nbsp;</td>
          <td class="paramname"> <em>pScreen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FontPtr&nbsp;</td>
          <td class="paramname"> <em>pFont</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Unrealize the font, <em>pFont</em>, on the back-end server associated with <em>pScreen</em>. </p>

<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxfont_8c_source.html#l00469">dmxBEFreeFont()</a>, <a class="el" href="dmxscrinit_8c_source.html#l00076">dmxFontPrivateIndex</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, <a class="el" href="dmxfont_8h_source.html#l00045">_dmxFontPriv::font</a>, and <a class="el" href="dmxfont_8h_source.html#l00044">_dmxFontPriv::refcnt</a>.</p>

<p>Referenced by <a class="el" href="dmxscrinit_8c_source.html#l00212">dmxScreenInit()</a>.</p>

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="a4e2a5b2ae34073156aef6b406552657f"></a><!-- doxytag: member="dmxfont.h::dmxFontPrivateIndex" ref="a4e2a5b2ae34073156aef6b406552657f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="dmxscrinit_8c.html#a4e2a5b2ae34073156aef6b406552657f">dmxFontPrivateIndex</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Private index for Fonts </p>

<p>Referenced by <a class="el" href="dmxfont_8c_source.html#l00469">dmxBEFreeFont()</a>, <a class="el" href="dmxfont_8c_source.html#l00252">dmxBELoadFont()</a>, <a class="el" href="dmxgc_8c_source.html#l00190">dmxChangeGC()</a>, <a class="el" href="dmxfont_8c_source.html#l00436">dmxRealizeFont()</a>, <a class="el" href="dmxscrinit_8c_source.html#l00212">dmxScreenInit()</a>, and <a class="el" href="dmxfont_8c_source.html#l00485">dmxUnrealizeFont()</a>.</p>

</div>
</div>
</div>
    <hr>
    <address>
      <small>
        Generated June 29, 2004 for <a
        href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
        <a href="http://www.doxygen.org/index.html">doxygen</a>
        1.3.4.
      </small>
    </addres>
    </hr>
  </body>
</html>