6
6
<link href="doxygen.css" rel="stylesheet" type="text/css">
9
<!-- Generated by Doxygen 1.3.4 -->
10
<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
11
<h1>dmxfont.c File Reference</h1><code>#include "<a class="el" href="dmx_8h-source.html">dmx.h</a>"</code><br>
12
<code>#include "<a class="el" href="dmxsync_8h-source.html">dmxsync.h</a>"</code><br>
13
<code>#include "<a class="el" href="dmxfont_8h-source.html">dmxfont.h</a>"</code><br>
14
<code>#include "<a class="el" href="dmxlog_8h-source.html">dmxlog.h</a>"</code><br>
15
<code>#include "fontstruct.h"</code><br>
16
<code>#include "dixfont.h"</code><br>
17
<code>#include "dixstruct.h"</code><br>
18
<table border=0 cellpadding=0 cellspacing=0>
20
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
21
<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8c.html#a10">dmxInitFonts</a> (void)</td></tr>
23
<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8c.html#a11">dmxResetFonts</a> (void)</td></tr>
25
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool </td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8c.html#a12">dmxBELoadFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
27
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool </td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8c.html#a13">dmxRealizeFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
29
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool </td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8c.html#a14">dmxBEFreeFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
31
<tr><td class="memItemLeft" nowrap align=right valign=top>Bool </td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8c.html#a15">dmxUnrealizeFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
34
<hr><a name="_details"></a><h2>Detailed Description</h2>
35
This file provides support for fonts.<hr><h2>Function Documentation</h2>
36
<a class="anchor" name="a14" doxytag="dmxfont.c::dmxBEFreeFont" ></a><p>
37
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
40
<table cellpadding="0" cellspacing="0" border="0">
42
<td class="md" nowrap valign="top"> Bool dmxBEFreeFont </td>
43
<td class="md" valign="top">( </td>
44
<td class="md" nowrap valign="top">ScreenPtr </td>
45
<td class="mdname" nowrap> <em>pScreen</em>, </td>
50
<td class="md" nowrap>FontPtr </td>
51
<td class="mdname" nowrap> <em>pFont</em></td>
55
<td class="md">) </td>
56
<td class="md" colspan="2"></td>
63
<table cellspacing=5 cellpadding=0 border=0>
71
Free <em>pFont</em> on the back-end associated with <em>pScreen</em>. </td>
74
<a class="anchor" name="a12" doxytag="dmxfont.c::dmxBELoadFont" ></a><p>
75
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
78
<table cellpadding="0" cellspacing="0" border="0">
80
<td class="md" nowrap valign="top"> Bool dmxBELoadFont </td>
81
<td class="md" valign="top">( </td>
82
<td class="md" nowrap valign="top">ScreenPtr </td>
83
<td class="mdname" nowrap> <em>pScreen</em>, </td>
88
<td class="md" nowrap>FontPtr </td>
89
<td class="mdname" nowrap> <em>pFont</em></td>
93
<td class="md">) </td>
94
<td class="md" colspan="2"></td>
101
<table cellspacing=5 cellpadding=0 border=0>
109
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. </td>
112
<a class="anchor" name="a10" doxytag="dmxfont.c::dmxInitFonts" ></a><p>
113
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
116
<table cellpadding="0" cellspacing="0" border="0">
118
<td class="md" nowrap valign="top"> void dmxInitFonts </td>
119
<td class="md" valign="top">( </td>
120
<td class="md" nowrap valign="top">void </td>
121
<td class="mdname1" valign="top" nowrap> </td>
122
<td class="md" valign="top"> ) </td>
123
<td class="md" nowrap></td>
130
<table cellspacing=5 cellpadding=0 border=0>
138
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. </td>
141
<a class="anchor" name="a13" doxytag="dmxfont.c::dmxRealizeFont" ></a><p>
142
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
145
<table cellpadding="0" cellspacing="0" border="0">
147
<td class="md" nowrap valign="top"> Bool dmxRealizeFont </td>
148
<td class="md" valign="top">( </td>
149
<td class="md" nowrap valign="top">ScreenPtr </td>
150
<td class="mdname" nowrap> <em>pScreen</em>, </td>
155
<td class="md" nowrap>FontPtr </td>
156
<td class="mdname" nowrap> <em>pFont</em></td>
160
<td class="md">) </td>
161
<td class="md" colspan="2"></td>
168
<table cellspacing=5 cellpadding=0 border=0>
176
Realize the font, <em>pFont</em>, on the back-end server associated with <em>pScreen</em>. </td>
179
<a class="anchor" name="a11" doxytag="dmxfont.c::dmxResetFonts" ></a><p>
180
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
183
<table cellpadding="0" cellspacing="0" border="0">
185
<td class="md" nowrap valign="top"> void dmxResetFonts </td>
186
<td class="md" valign="top">( </td>
187
<td class="md" nowrap valign="top">void </td>
188
<td class="mdname1" valign="top" nowrap> </td>
189
<td class="md" valign="top"> ) </td>
190
<td class="md" nowrap></td>
197
<table cellspacing=5 cellpadding=0 border=0>
205
Reset font support by restoring the original ProcVector function pointers. </td>
208
<a class="anchor" name="a15" doxytag="dmxfont.c::dmxUnrealizeFont" ></a><p>
209
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
212
<table cellpadding="0" cellspacing="0" border="0">
214
<td class="md" nowrap valign="top"> Bool dmxUnrealizeFont </td>
215
<td class="md" valign="top">( </td>
216
<td class="md" nowrap valign="top">ScreenPtr </td>
217
<td class="mdname" nowrap> <em>pScreen</em>, </td>
222
<td class="md" nowrap>FontPtr </td>
223
<td class="mdname" nowrap> <em>pFont</em></td>
227
<td class="md">) </td>
228
<td class="md" colspan="2"></td>
235
<table cellspacing=5 cellpadding=0 border=0>
243
Unrealize the font, <em>pFont</em>, on the back-end server associated with <em>pScreen</em>. </td>
9
<!-- Generated by Doxygen 1.6.2-20100208 -->
10
<div class="navigation" id="top">
13
<li><a href="main.html"><span>Main Page</span></a></li>
14
<li><a href="annotated.html"><span>Data Structures</span></a></li>
15
<li class="current"><a href="files.html"><span>Files</span></a></li>
20
<li><a href="files.html"><span>File List</span></a></li>
21
<li><a href="globals.html"><span>Globals</span></a></li>
25
<div class="contents">
26
<h1>dmxfont.c File Reference</h1><code>#include "<a class="el" href="dmx_8h_source.html">dmx.h</a>"</code><br/>
27
<code>#include "<a class="el" href="dmxsync_8h_source.html">dmxsync.h</a>"</code><br/>
28
<code>#include "<a class="el" href="dmxfont_8h_source.html">dmxfont.h</a>"</code><br/>
29
<code>#include "<a class="el" href="dmxlog_8h_source.html">dmxlog.h</a>"</code><br/>
30
<code>#include <X11/fonts/fontstruct.h></code><br/>
31
<code>#include "dixfont.h"</code><br/>
32
<code>#include "dixstruct.h"</code><br/>
33
<table border="0" cellpadding="0" cellspacing="0">
34
<tr><td colspan="2"><h2>Defines</h2></td></tr>
35
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8c.html#af802427439f07d76ba970ca41f6dd7c1">DMX_FONTPATH_DEBUG</a> 0</td></tr>
36
<tr><td colspan="2"><h2>Functions</h2></td></tr>
37
<tr><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8c.html#aba35600742d4d57b9dd9fb9dde973707">dmxFontErrorHandler</a> (Display *dpy, XErrorEvent *ev)</td></tr>
38
<tr><td class="memItemLeft" align="right" valign="top">static char ** </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8c.html#ae81f188178a0d01ea67b6685cdbe493c">dmxGetFontPath</a> (int *npaths)</td></tr>
39
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8c.html#a287e0fab77b9351a96fbc08fb5ec7e25">dmxFreeFontPath</a> (char **fp)</td></tr>
40
<tr><td class="memItemLeft" align="right" valign="top">static Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8c.html#a177c3268bf91715dc536db6b6f8eed72">dmxCheckFontPathElement</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, char *fp)</td></tr>
41
<tr><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8c.html#ad20ddd111e4a45bf1bdfd45744946c72">dmxSetFontPath</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen)</td></tr>
42
<tr><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8c.html#a3d2eb9a1b065a02dbe58ee4e85ff6247">dmxCheckFontPath</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, int *error)</td></tr>
43
<tr><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8c.html#ac76f86a537e6d719d712d11f310b8989">dmxProcSetFontPath</a> (ClientPtr client)</td></tr>
44
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8c.html#a2d9cf629a70ed7c46a38dac9611b6527">dmxInitFonts</a> (void)</td></tr>
45
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8c.html#ab6bdac52e012fec9bd43eaa9667f9785">dmxResetFonts</a> (void)</td></tr>
46
<tr><td class="memItemLeft" align="right" valign="top">Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8c.html#ad24fe115ec27d050da7a4cb47d7ce52f">dmxBELoadFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
47
<tr><td class="memItemLeft" align="right" valign="top">Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8c.html#a0119b47dedc04962e24f5b7d86f5cd92">dmxRealizeFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
48
<tr><td class="memItemLeft" align="right" valign="top">Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8c.html#afadf46b46a1f3da085c96849c885a41e">dmxBEFreeFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
49
<tr><td class="memItemLeft" align="right" valign="top">Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8c.html#a9d0df8388cd6cd1a5d7b77dcf9aaa69f">dmxUnrealizeFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
50
<tr><td colspan="2"><h2>Variables</h2></td></tr>
51
<tr><td class="memItemLeft" align="right" valign="top">static int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8c.html#a306f6e316020fcda44fb35e1c96f2bd3">dmxSaveProcVector</a> [256])(ClientPtr)</td></tr>
52
<tr><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxfont_8c.html#a9c9ed2980702f901796479788b6b8f66">dmxFontLastError</a></td></tr>
54
<hr/><a name="_details"></a><h2>Detailed Description</h2>
55
<p>This file provides support for fonts. </p>
56
<hr/><h2>Define Documentation</h2>
57
<a class="anchor" id="af802427439f07d76ba970ca41f6dd7c1"></a><!-- doxytag: member="dmxfont.c::DMX_FONTPATH_DEBUG" ref="af802427439f07d76ba970ca41f6dd7c1" args="" -->
59
<div class="memproto">
60
<table class="memname">
62
<td class="memname">#define DMX_FONTPATH_DEBUG 0</td>
70
<hr/><h2>Function Documentation</h2>
71
<a class="anchor" id="afadf46b46a1f3da085c96849c885a41e"></a><!-- doxytag: member="dmxfont.c::dmxBEFreeFont" ref="afadf46b46a1f3da085c96849c885a41e" args="(ScreenPtr pScreen, FontPtr pFont)" -->
73
<div class="memproto">
74
<table class="memname">
76
<td class="memname">Bool dmxBEFreeFont </td>
78
<td class="paramtype">ScreenPtr </td>
79
<td class="paramname"> <em>pScreen</em>, </td>
82
<td class="paramkey"></td>
84
<td class="paramtype">FontPtr </td>
85
<td class="paramname"> <em>pFont</em></td><td> </td>
90
<td></td><td></td><td></td>
95
<p>Free <em>pFont</em> on the back-end associated with <em>pScreen</em>. </p>
97
<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>
99
<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>
103
<a class="anchor" id="ad24fe115ec27d050da7a4cb47d7ce52f"></a><!-- doxytag: member="dmxfont.c::dmxBELoadFont" ref="ad24fe115ec27d050da7a4cb47d7ce52f" args="(ScreenPtr pScreen, FontPtr pFont)" -->
104
<div class="memitem">
105
<div class="memproto">
106
<table class="memname">
108
<td class="memname">Bool dmxBELoadFont </td>
110
<td class="paramtype">ScreenPtr </td>
111
<td class="paramname"> <em>pScreen</em>, </td>
114
<td class="paramkey"></td>
116
<td class="paramtype">FontPtr </td>
117
<td class="paramname"> <em>pFont</em></td><td> </td>
122
<td></td><td></td><td></td>
127
<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>
129
<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>
131
<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>
135
<a class="anchor" id="a3d2eb9a1b065a02dbe58ee4e85ff6247"></a><!-- doxytag: member="dmxfont.c::dmxCheckFontPath" ref="a3d2eb9a1b065a02dbe58ee4e85ff6247" args="(DMXScreenInfo *dmxScreen, int *error)" -->
136
<div class="memitem">
137
<div class="memproto">
138
<table class="memname">
140
<td class="memname">static int dmxCheckFontPath </td>
142
<td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td>
143
<td class="paramname"> <em>dmxScreen</em>, </td>
146
<td class="paramkey"></td>
148
<td class="paramtype">int * </td>
149
<td class="paramname"> <em>error</em></td><td> </td>
154
<td></td><td></td><td><code> [static]</code></td>
160
<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxfont_8c_source.html#l00114">dmxSetFontPath()</a>, and <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>.</p>
162
<p>Referenced by <a class="el" href="dmxfont_8c_source.html#l00169">dmxProcSetFontPath()</a>.</p>
166
<a class="anchor" id="a177c3268bf91715dc536db6b6f8eed72"></a><!-- doxytag: member="dmxfont.c::dmxCheckFontPathElement" ref="a177c3268bf91715dc536db6b6f8eed72" args="(DMXScreenInfo *dmxScreen, char *fp)" -->
167
<div class="memitem">
168
<div class="memproto">
169
<table class="memname">
171
<td class="memname">static Bool dmxCheckFontPathElement </td>
173
<td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td>
174
<td class="paramname"> <em>dmxScreen</em>, </td>
177
<td class="paramkey"></td>
179
<td class="paramtype">char * </td>
180
<td class="paramname"> <em>fp</em></td><td> </td>
185
<td></td><td></td><td><code> [static]</code></td>
191
<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxfont_8c_source.html#l00055">dmxFontErrorHandler()</a>, <a class="el" href="dmxfont_8c_source.html#l00053">dmxFontLastError</a>, and <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>.</p>
193
<p>Referenced by <a class="el" href="dmxfont_8c_source.html#l00252">dmxBELoadFont()</a>.</p>
197
<a class="anchor" id="aba35600742d4d57b9dd9fb9dde973707"></a><!-- doxytag: member="dmxfont.c::dmxFontErrorHandler" ref="aba35600742d4d57b9dd9fb9dde973707" args="(Display *dpy, XErrorEvent *ev)" -->
198
<div class="memitem">
199
<div class="memproto">
200
<table class="memname">
202
<td class="memname">static int dmxFontErrorHandler </td>
204
<td class="paramtype">Display * </td>
205
<td class="paramname"> <em>dpy</em>, </td>
208
<td class="paramkey"></td>
210
<td class="paramtype">XErrorEvent * </td>
211
<td class="paramname"> <em>ev</em></td><td> </td>
216
<td></td><td></td><td><code> [static]</code></td>
222
<p>References <a class="el" href="dmxfont_8c_source.html#l00053">dmxFontLastError</a>.</p>
224
<p>Referenced by <a class="el" href="dmxfont_8c_source.html#l00098">dmxCheckFontPathElement()</a>, and <a class="el" href="dmxfont_8c_source.html#l00114">dmxSetFontPath()</a>.</p>
228
<a class="anchor" id="a287e0fab77b9351a96fbc08fb5ec7e25"></a><!-- doxytag: member="dmxfont.c::dmxFreeFontPath" ref="a287e0fab77b9351a96fbc08fb5ec7e25" args="(char **fp)" -->
229
<div class="memitem">
230
<div class="memproto">
231
<table class="memname">
233
<td class="memname">static void dmxFreeFontPath </td>
235
<td class="paramtype">char ** </td>
236
<td class="paramname"> <em>fp</em></td>
237
<td> ) </td>
238
<td><code> [static]</code></td>
244
<p>Referenced by <a class="el" href="dmxfont_8c_source.html#l00252">dmxBELoadFont()</a>, and <a class="el" href="dmxfont_8c_source.html#l00114">dmxSetFontPath()</a>.</p>
248
<a class="anchor" id="ae81f188178a0d01ea67b6685cdbe493c"></a><!-- doxytag: member="dmxfont.c::dmxGetFontPath" ref="ae81f188178a0d01ea67b6685cdbe493c" args="(int *npaths)" -->
249
<div class="memitem">
250
<div class="memproto">
251
<table class="memname">
253
<td class="memname">static char** dmxGetFontPath </td>
255
<td class="paramtype">int * </td>
256
<td class="paramname"> <em>npaths</em></td>
257
<td> ) </td>
258
<td><code> [static]</code></td>
264
<p>References <a class="el" href="dmxlog_8h_source.html#l00043">dmxDebug</a>, and <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>.</p>
266
<p>Referenced by <a class="el" href="dmxfont_8c_source.html#l00252">dmxBELoadFont()</a>, and <a class="el" href="dmxfont_8c_source.html#l00114">dmxSetFontPath()</a>.</p>
270
<a class="anchor" id="a2d9cf629a70ed7c46a38dac9611b6527"></a><!-- doxytag: member="dmxfont.c::dmxInitFonts" ref="a2d9cf629a70ed7c46a38dac9611b6527" args="(void)" -->
271
<div class="memitem">
272
<div class="memproto">
273
<table class="memname">
275
<td class="memname">void dmxInitFonts </td>
277
<td class="paramtype">void </td>
278
<td class="paramname"></td>
279
<td> ) </td>
285
<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>
287
<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>
289
<p>Referenced by <a class="el" href="dmxinit_8c_source.html#l00561">InitOutput()</a>.</p>
293
<a class="anchor" id="ac76f86a537e6d719d712d11f310b8989"></a><!-- doxytag: member="dmxfont.c::dmxProcSetFontPath" ref="ac76f86a537e6d719d712d11f310b8989" args="(ClientPtr client)" -->
294
<div class="memitem">
295
<div class="memproto">
296
<table class="memname">
298
<td class="memname">static int dmxProcSetFontPath </td>
300
<td class="paramtype">ClientPtr </td>
301
<td class="paramname"> <em>client</em></td>
302
<td> ) </td>
303
<td><code> [static]</code></td>
309
<p>References <a class="el" href="dmxfont_8c_source.html#l00147">dmxCheckFontPath()</a>, <a class="el" href="dmxinit_8c_source.html#l00083">dmxNumScreens</a>, and <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>.</p>
311
<p>Referenced by <a class="el" href="dmxfont_8c_source.html#l00228">dmxInitFonts()</a>.</p>
315
<a class="anchor" id="a0119b47dedc04962e24f5b7d86f5cd92"></a><!-- doxytag: member="dmxfont.c::dmxRealizeFont" ref="a0119b47dedc04962e24f5b7d86f5cd92" args="(ScreenPtr pScreen, FontPtr pFont)" -->
316
<div class="memitem">
317
<div class="memproto">
318
<table class="memname">
320
<td class="memname">Bool dmxRealizeFont </td>
322
<td class="paramtype">ScreenPtr </td>
323
<td class="paramname"> <em>pScreen</em>, </td>
326
<td class="paramkey"></td>
328
<td class="paramtype">FontPtr </td>
329
<td class="paramname"> <em>pFont</em></td><td> </td>
334
<td></td><td></td><td></td>
339
<p>Realize the font, <em>pFont</em>, on the back-end server associated with <em>pScreen</em>. </p>
341
<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>
343
<p>Referenced by <a class="el" href="dmxscrinit_8c_source.html#l00212">dmxScreenInit()</a>.</p>
347
<a class="anchor" id="ab6bdac52e012fec9bd43eaa9667f9785"></a><!-- doxytag: member="dmxfont.c::dmxResetFonts" ref="ab6bdac52e012fec9bd43eaa9667f9785" args="(void)" -->
348
<div class="memitem">
349
<div class="memproto">
350
<table class="memname">
352
<td class="memname">void dmxResetFonts </td>
354
<td class="paramtype">void </td>
355
<td class="paramname"></td>
356
<td> ) </td>
362
<p>Reset font support by restoring the original ProcVector function pointers. </p>
364
<p>References <a class="el" href="dmxfont_8c.html#a306f6e316020fcda44fb35e1c96f2bd3">dmxSaveProcVector</a>.</p>
366
<p>Referenced by <a class="el" href="dmxscrinit_8c_source.html#l00432">dmxCloseScreen()</a>.</p>
370
<a class="anchor" id="ad20ddd111e4a45bf1bdfd45744946c72"></a><!-- doxytag: member="dmxfont.c::dmxSetFontPath" ref="ad20ddd111e4a45bf1bdfd45744946c72" args="(DMXScreenInfo *dmxScreen)" -->
371
<div class="memitem">
372
<div class="memproto">
373
<table class="memname">
375
<td class="memname">static int dmxSetFontPath </td>
377
<td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td>
378
<td class="paramname"> <em>dmxScreen</em></td>
379
<td> ) </td>
380
<td><code> [static]</code></td>
386
<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxfont_8c_source.html#l00055">dmxFontErrorHandler()</a>, <a class="el" href="dmxfont_8c_source.html#l00053">dmxFontLastError</a>, <a class="el" href="dmxfont_8c_source.html#l00092">dmxFreeFontPath()</a>, <a class="el" href="dmxfont_8c_source.html#l00062">dmxGetFontPath()</a>, and <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>.</p>
388
<p>Referenced by <a class="el" href="dmxfont_8c_source.html#l00252">dmxBELoadFont()</a>, and <a class="el" href="dmxfont_8c_source.html#l00147">dmxCheckFontPath()</a>.</p>
392
<a class="anchor" id="a9d0df8388cd6cd1a5d7b77dcf9aaa69f"></a><!-- doxytag: member="dmxfont.c::dmxUnrealizeFont" ref="a9d0df8388cd6cd1a5d7b77dcf9aaa69f" args="(ScreenPtr pScreen, FontPtr pFont)" -->
393
<div class="memitem">
394
<div class="memproto">
395
<table class="memname">
397
<td class="memname">Bool dmxUnrealizeFont </td>
399
<td class="paramtype">ScreenPtr </td>
400
<td class="paramname"> <em>pScreen</em>, </td>
403
<td class="paramkey"></td>
405
<td class="paramtype">FontPtr </td>
406
<td class="paramname"> <em>pFont</em></td><td> </td>
411
<td></td><td></td><td></td>
416
<p>Unrealize the font, <em>pFont</em>, on the back-end server associated with <em>pScreen</em>. </p>
418
<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>
420
<p>Referenced by <a class="el" href="dmxscrinit_8c_source.html#l00212">dmxScreenInit()</a>.</p>
424
<hr/><h2>Variable Documentation</h2>
425
<a class="anchor" id="a9c9ed2980702f901796479788b6b8f66"></a><!-- doxytag: member="dmxfont.c::dmxFontLastError" ref="a9c9ed2980702f901796479788b6b8f66" args="" -->
426
<div class="memitem">
427
<div class="memproto">
428
<table class="memname">
430
<td class="memname">int <a class="el" href="dmxfont_8c.html#a9c9ed2980702f901796479788b6b8f66">dmxFontLastError</a><code> [static]</code></td>
436
<p>Referenced by <a class="el" href="dmxfont_8c_source.html#l00098">dmxCheckFontPathElement()</a>, <a class="el" href="dmxfont_8c_source.html#l00055">dmxFontErrorHandler()</a>, and <a class="el" href="dmxfont_8c_source.html#l00114">dmxSetFontPath()</a>.</p>
440
<a class="anchor" id="a306f6e316020fcda44fb35e1c96f2bd3"></a><!-- doxytag: member="dmxfont.c::dmxSaveProcVector" ref="a306f6e316020fcda44fb35e1c96f2bd3" args="[256])(ClientPtr)" -->
441
<div class="memitem">
442
<div class="memproto">
443
<table class="memname">
445
<td class="memname">int(* <a class="el" href="dmxfont_8c.html#a306f6e316020fcda44fb35e1c96f2bd3">dmxSaveProcVector</a>[256])(ClientPtr)<code> [static]</code></td>
451
<p>Referenced by <a class="el" href="dmxfont_8c_source.html#l00228">dmxInitFonts()</a>, and <a class="el" href="dmxfont_8c_source.html#l00240">dmxResetFonts()</a>.</p>