~ubuntu-branches/ubuntu/oneiric/pango1.0/oneiric

« back to all changes in this revision

Viewing changes to docs/html/pango-X-Fonts-and-Rendering.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-07-06 16:24:08 UTC
  • mfrom: (1.5.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20110706162408-6yu6v886fd6x0yiv
Tags: 1.29.3-0ubuntu1
* New upstream version
* 01_no_gconst_return.patch: dropped, the issue is fixed in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>Deprecated X font backend</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
7
<link rel="home" href="index.html" title="Pango Reference Manual">
8
8
<link rel="up" href="rendering.html" title="Rendering with Pango">
9
9
<link rel="prev" href="pango-ATSUI-Fonts.html" title="ATSUI Fonts">
10
10
<link rel="next" href="lowlevel.html" title="Low Level Functionality">
11
 
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
43
43
                                                         <em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoGetGCFunc" title="PangoGetGCFunc ()"><span class="type">PangoGetGCFunc</span></a> get_gc_func</code></em>,
44
44
                                                         <em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoFreeGCFunc" title="PangoFreeGCFunc ()"><span class="type">PangoFreeGCFunc</span></a> free_gc_func</code></em>);
45
45
<span class="returnvalue">GC</span>                  (<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoGetGCFunc" title="PangoGetGCFunc ()">*PangoGetGCFunc</a>)                   (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
46
 
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
 
46
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
47
47
                                                         <em class="parameter"><code><span class="type">GC</span> base_gc</code></em>);
48
48
<span class="returnvalue">void</span>                (<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoFreeGCFunc" title="PangoFreeGCFunc ()">*PangoFreeGCFunc</a>)                  (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
49
49
                                                         <em class="parameter"><code><span class="type">GC</span> gc</code></em>);
51
51
                                                         <em class="parameter"><code><span class="type">Drawable</span> d</code></em>,
52
52
                                                         <em class="parameter"><code><span class="type">GC</span> gc</code></em>,
53
53
                                                         <em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
54
 
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
55
 
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
56
 
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
 
54
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
 
55
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
56
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
57
57
<span class="returnvalue">void</span>                <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-render-layout-line" title="pango_x_render_layout_line ()">pango_x_render_layout_line</a>          (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
58
58
                                                         <em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
59
59
                                                         <em class="parameter"><code><span class="type">GC</span> gc</code></em>,
60
 
                                                         <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
 
60
                                                         <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
61
61
                                                         <em class="parameter"><code><span class="type">int</span> x</code></em>,
62
62
                                                         <em class="parameter"><code><span class="type">int</span> y</code></em>);
63
63
<span class="returnvalue">void</span>                <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-render-layout" title="pango_x_render_layout ()">pango_x_render_layout</a>               (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
72
72
#define             <a class="link" href="pango-X-Fonts-and-Rendering.html#PANGO-X-GLYPH-SUBFONT:CAPS" title="PANGO_X_GLYPH_SUBFONT()">PANGO_X_GLYPH_SUBFONT</a>               (glyph)
73
73
#define             <a class="link" href="pango-X-Fonts-and-Rendering.html#PANGO-X-GLYPH-INDEX:CAPS" title="PANGO_X_GLYPH_INDEX()">PANGO_X_GLYPH_INDEX</a>                 (glyph)
74
74
<a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> *         <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-load-font" title="pango_x_load_font ()">pango_x_load_font</a>                   (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
75
 
                                                         <em class="parameter"><code>const <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *spec</code></em>);
 
75
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *spec</code></em>);
76
76
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a>          <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-get-unknown-glyph" title="pango_x_get_unknown_glyph ()">pango_x_get_unknown_glyph</a>           (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
77
 
<a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-has-glyph" title="pango_x_has_glyph ()">pango_x_has_glyph</a>                   (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
 
77
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-has-glyph" title="pango_x_has_glyph ()">pango_x_has_glyph</a>                   (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
78
78
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> glyph</code></em>);
79
79
<span class="returnvalue">int</span>                 <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-list-subfonts" title="pango_x_list_subfonts ()">pango_x_list_subfonts</a>               (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
80
80
                                                         <em class="parameter"><code><span class="type">char</span> **charsets</code></em>,
86
86
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="returnvalue">PangoXFontCache</span></a> *   <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-map-get-font-cache" title="pango_x_font_map_get_font_cache ()">pango_x_font_map_get_font_cache</a>     (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *font_map</code></em>);
87
87
<span class="returnvalue">char</span> *              <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-subfont-xlfd" title="pango_x_font_subfont_xlfd ()">pango_x_font_subfont_xlfd</a>           (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
88
88
                                                         <em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a> subfont_id</code></em>);
89
 
<a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-find-first-subfont" title="pango_x_find_first_subfont ()">pango_x_find_first_subfont</a>          (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
 
89
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-find-first-subfont" title="pango_x_find_first_subfont ()">pango_x_find_first_subfont</a>          (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
90
90
                                                         <em class="parameter"><code><span class="type">char</span> **charsets</code></em>,
91
91
                                                         <em class="parameter"><code><span class="type">int</span> n_charsets</code></em>,
92
92
                                                         <em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a> *rfont</code></em>);
93
93
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a>          <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-get-unknown-glyph" title="pango_x_font_get_unknown_glyph ()">pango_x_font_get_unknown_glyph</a>      (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
94
 
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> wc</code></em>);
95
 
<a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-apply-ligatures" title="pango_x_apply_ligatures ()">pango_x_apply_ligatures</a>             (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
 
94
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> wc</code></em>);
 
95
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-apply-ligatures" title="pango_x_apply_ligatures ()">pango_x_apply_ligatures</a>             (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
96
96
                                                         <em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a> subfont</code></em>,
97
 
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> **glyphs</code></em>,
 
97
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> **glyphs</code></em>,
98
98
                                                         <em class="parameter"><code><span class="type">int</span> *n_glyphs</code></em>,
99
99
                                                         <em class="parameter"><code><span class="type">int</span> **clusters</code></em>);
100
100
<span class="returnvalue">void</span>                <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-fallback-shape" title="pango_x_fallback_shape ()">pango_x_fallback_shape</a>              (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
101
 
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
 
101
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
102
102
                                                         <em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
103
103
                                                         <em class="parameter"><code><span class="type">int</span> n_chars</code></em>);
104
104
                    <a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache">PangoXFontCache</a>;
132
132
</div>
133
133
<p>
134
134
A string constant identifying the X renderer. The associated quark (see
135
 
<a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Quarks.html#g-quark-from-string"><code class="function">g_quark_from_string()</code></a>) is used to identify the renderer in <a class="link" href="pango-Modules.html#pango-find-map" title="pango_find_map ()"><code class="function">pango_find_map()</code></a>.
 
135
<a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#g-quark-from-string"><code class="function">g_quark_from_string()</code></a>) is used to identify the renderer in <a class="link" href="pango-Modules.html#pango-find-map" title="pango_find_map ()"><code class="function">pango_find_map()</code></a>.
136
136
</p>
137
137
</div>
138
138
<hr>
153
153
<tbody>
154
154
<tr>
155
155
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
156
 
<td>an X display (As returned by <code class="function">XOpenDisplay()</code>.)
157
 
</td>
 
156
<td>an X display (As returned by <code class="function">XOpenDisplay()</code>.)</td>
158
157
</tr>
159
158
<tr>
160
159
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
161
 
<td> the new <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
162
 
 
163
 
</td>
 
160
<td>the new <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</td>
164
161
</tr>
165
162
</tbody>
166
163
</table></div>
184
181
<tbody>
185
182
<tr>
186
183
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
187
 
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
188
 
</td>
 
184
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</td>
189
185
</tr>
190
186
<tr>
191
187
<td><p><span class="term"><em class="parameter"><code>get_gc_func</code></em> :</span></p></td>
192
 
<td>function called to create a new GC for a given color.
193
 
</td>
 
188
<td>function called to create a new GC for a given color.</td>
194
189
</tr>
195
190
<tr>
196
191
<td><p><span class="term"><em class="parameter"><code>free_gc_func</code></em> :</span></p></td>
197
 
<td>function called to free a GC created with <em class="parameter"><code>get_gc_func</code></em>.
198
 
</td>
 
192
<td>function called to free a GC created with <em class="parameter"><code>get_gc_func</code></em>.</td>
199
193
</tr>
200
194
</tbody>
201
195
</table></div>
204
198
<div class="refsect2">
205
199
<a name="PangoGetGCFunc"></a><h3>PangoGetGCFunc ()</h3>
206
200
<pre class="programlisting"><span class="returnvalue">GC</span>                  (*PangoGetGCFunc)                   (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
207
 
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
 
201
                                                         <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
208
202
                                                         <em class="parameter"><code><span class="type">GC</span> base_gc</code></em>);</pre>
209
203
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
210
204
<h3 class="title">Warning</h3>
219
213
<tbody>
220
214
<tr>
221
215
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
222
 
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
223
 
</td>
 
216
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</td>
224
217
</tr>
225
218
<tr>
226
219
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
227
 
<td>the color to create a new GC for.
228
 
</td>
 
220
<td>the color to create a new GC for.</td>
229
221
</tr>
230
222
<tr>
231
223
<td><p><span class="term"><em class="parameter"><code>base_gc</code></em> :</span></p></td>
232
 
<td>the GC to base the new GC on.
233
 
</td>
 
224
<td>the GC to base the new GC on.</td>
234
225
</tr>
235
226
<tr>
236
227
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
237
 
<td>the new GC.
238
 
</td>
 
228
<td>the new GC.</td>
239
229
</tr>
240
230
</tbody>
241
231
</table></div>
258
248
<tbody>
259
249
<tr>
260
250
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
261
 
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
262
 
</td>
 
251
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</td>
263
252
</tr>
264
253
<tr>
265
254
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
266
 
<td>the GC to free.
267
 
</td>
 
255
<td>the GC to free.</td>
268
256
</tr>
269
257
</tbody>
270
258
</table></div>
276
264
                                                         <em class="parameter"><code><span class="type">Drawable</span> d</code></em>,
277
265
                                                         <em class="parameter"><code><span class="type">GC</span> gc</code></em>,
278
266
                                                         <em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
279
 
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
280
 
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
281
 
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
 
267
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
 
268
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
269
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
282
270
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
283
271
<h3 class="title">Warning</h3>
284
272
<p><code class="literal">pango_x_render</code> is deprecated and should not be used in newly-written code.</p>
285
273
</div>
286
274
<p>
287
 
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto an X drawable.
 
275
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto an X drawable.
288
276
</p>
289
277
<div class="variablelist"><table border="0">
290
278
<col align="left" valign="top">
291
279
<tbody>
292
280
<tr>
293
281
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
294
 
<td>the X display.
295
 
</td>
 
282
<td>the X display.</td>
296
283
</tr>
297
284
<tr>
298
285
<td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
299
 
<td>the drawable on which to draw string.
300
 
</td>
 
286
<td>the drawable on which to draw string.</td>
301
287
</tr>
302
288
<tr>
303
289
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
304
 
<td>the graphics context.
305
 
</td>
 
290
<td>the graphics context.</td>
306
291
</tr>
307
292
<tr>
308
293
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
309
 
<td>the font in which to draw the string.
310
 
</td>
 
294
<td>the font in which to draw the string.</td>
311
295
</tr>
312
296
<tr>
313
297
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
314
 
<td>the glyph string to draw.
315
 
</td>
 
298
<td>the glyph string to draw.</td>
316
299
</tr>
317
300
<tr>
318
301
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
319
 
<td>the x position of start of string (in pixels).
320
 
</td>
 
302
<td>the x position of start of string (in pixels).</td>
321
303
</tr>
322
304
<tr>
323
305
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
324
 
<td>the y position of baseline (in pixels).
325
 
</td>
 
306
<td>the y position of baseline (in pixels).</td>
326
307
</tr>
327
308
</tbody>
328
309
</table></div>
333
314
<pre class="programlisting"><span class="returnvalue">void</span>                pango_x_render_layout_line          (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
334
315
                                                         <em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
335
316
                                                         <em class="parameter"><code><span class="type">GC</span> gc</code></em>,
336
 
                                                         <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
 
317
                                                         <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
337
318
                                                         <em class="parameter"><code><span class="type">int</span> x</code></em>,
338
319
                                                         <em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
339
320
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
341
322
<p><code class="literal">pango_x_render_layout_line</code> is deprecated and should not be used in newly-written code.</p>
342
323
</div>
343
324
<p>
344
 
Renders a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto an X drawable.
 
325
Renders a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto an X drawable.
345
326
</p>
346
327
<div class="variablelist"><table border="0">
347
328
<col align="left" valign="top">
348
329
<tbody>
349
330
<tr>
350
331
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
351
 
<td>the X display.
352
 
</td>
 
332
<td>the X display.</td>
353
333
</tr>
354
334
<tr>
355
335
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
356
 
<td>the drawable on which to draw.
357
 
</td>
 
336
<td>the drawable on which to draw.</td>
358
337
</tr>
359
338
<tr>
360
339
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
361
 
<td>GC to use for uncolored drawing.
362
 
</td>
 
340
<td>GC to use for uncolored drawing.</td>
363
341
</tr>
364
342
<tr>
365
343
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
366
 
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>.
367
 
</td>
 
344
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>.</td>
368
345
</tr>
369
346
<tr>
370
347
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
371
 
<td>the x position of start of string (in pixels).
372
 
</td>
 
348
<td>the x position of start of string (in pixels).</td>
373
349
</tr>
374
350
<tr>
375
351
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
376
 
<td>the y position of baseline (in pixels).
377
 
</td>
 
352
<td>the y position of baseline (in pixels).</td>
378
353
</tr>
379
354
</tbody>
380
355
</table></div>
400
375
<tbody>
401
376
<tr>
402
377
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
403
 
<td>the X display.
404
 
</td>
 
378
<td>the X display.</td>
405
379
</tr>
406
380
<tr>
407
381
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
408
 
<td>the drawable on which to draw.
409
 
</td>
 
382
<td>the drawable on which to draw.</td>
410
383
</tr>
411
384
<tr>
412
385
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
413
 
<td>GC to use for uncolored drawing.
414
 
</td>
 
386
<td>GC to use for uncolored drawing.</td>
415
387
</tr>
416
388
<tr>
417
389
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
418
 
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.
419
 
</td>
 
390
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</td>
420
391
</tr>
421
392
<tr>
422
393
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
423
 
<td>the x position of the left of the layout (in pixels).
424
 
</td>
 
394
<td>the x position of the left of the layout (in pixels).</td>
425
395
</tr>
426
396
<tr>
427
397
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
428
 
<td>the y position of the top of the layout (in pixels).
429
 
</td>
 
398
<td>the y position of the top of the layout (in pixels).</td>
430
399
</tr>
431
400
</tbody>
432
401
</table></div>
463
432
<tbody>
464
433
<tr>
465
434
<td><p><span class="term"><em class="parameter"><code>subfont</code></em> :</span></p></td>
466
 
<td>a <a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a> index
467
 
</td>
 
435
<td>a <a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a> index</td>
468
436
</tr>
469
437
<tr>
470
438
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
471
 
<td>the index of a character within an X font.
472
 
</td>
 
439
<td>the index of a character within an X font.</td>
473
440
</tr>
474
441
</tbody>
475
442
</table></div>
521
488
<div class="refsect2">
522
489
<a name="pango-x-load-font"></a><h3>pango_x_load_font ()</h3>
523
490
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> *         pango_x_load_font                   (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
524
 
                                                         <em class="parameter"><code>const <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *spec</code></em>);</pre>
 
491
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *spec</code></em>);</pre>
525
492
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
526
493
<h3 class="title">Warning</h3>
527
494
<p><code class="literal">pango_x_load_font</code> is deprecated and should not be used in newly-written code.</p>
529
496
<p>
530
497
Loads up a logical font based on a "fontset" style text
531
498
specification. This is not remotely useful (Pango API's generally
532
 
work in terms of <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>) and the result may not
 
499
work in terms of <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>) and the result may not
533
500
work correctly in all circumstances. Use of this function should
534
501
be avoided.
535
502
</p>
538
505
<tbody>
539
506
<tr>
540
507
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
541
 
<td>the X display.
542
 
</td>
 
508
<td>the X display.</td>
543
509
</tr>
544
510
<tr>
545
511
<td><p><span class="term"><em class="parameter"><code>spec</code></em> :</span></p></td>
546
 
<td>a comma-separated list of XLFD's.
547
 
</td>
 
512
<td>a comma-separated list of XLFD's.</td>
548
513
</tr>
549
514
<tr>
550
515
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
551
 
<td> a new <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
552
 
</td>
 
516
<td>a new <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</td>
553
517
</tr>
554
518
</tbody>
555
519
</table></div>
574
538
<tbody>
575
539
<tr>
576
540
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
577
 
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
578
 
</td>
 
541
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</td>
579
542
</tr>
580
543
<tr>
581
544
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
582
 
<td> a glyph index into <em class="parameter"><code>font</code></em>.
583
 
</td>
 
545
<td>a glyph index into <em class="parameter"><code>font</code></em>.</td>
584
546
</tr>
585
547
</tbody>
586
548
</table></div>
588
550
<hr>
589
551
<div class="refsect2">
590
552
<a name="pango-x-has-glyph"></a><h3>pango_x_has_glyph ()</h3>
591
 
<pre class="programlisting"><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            pango_x_has_glyph                   (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
 
553
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            pango_x_has_glyph                   (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
592
554
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> glyph</code></em>);</pre>
593
555
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
594
556
<h3 class="title">Warning</h3>
602
564
<tbody>
603
565
<tr>
604
566
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
605
 
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> which must be from the X backend.
606
 
</td>
 
567
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> which must be from the X backend.</td>
607
568
</tr>
608
569
<tr>
609
570
<td><p><span class="term"><em class="parameter"><code>glyph</code></em> :</span></p></td>
610
571
<td>the index of a glyph in the font. (Formed
611
 
        using the <a class="link" href="pango-X-Fonts-and-Rendering.html#PANGO-X-MAKE-GLYPH:CAPS" title="PANGO_X_MAKE_GLYPH()"><span class="type">PANGO_X_MAKE_GLYPH</span></a> macro)
612
 
</td>
 
572
using the <a class="link" href="pango-X-Fonts-and-Rendering.html#PANGO-X-MAKE-GLYPH:CAPS" title="PANGO_X_MAKE_GLYPH()"><span class="type">PANGO_X_MAKE_GLYPH</span></a> macro)</td>
613
573
</tr>
614
574
<tr>
615
575
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
616
 
<td> <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the glyph is present.
617
 
</td>
 
576
<td>
 
577
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the glyph is present.</td>
618
578
</tr>
619
579
</tbody>
620
580
</table></div>
640
600
<tbody>
641
601
<tr>
642
602
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
643
 
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
644
 
</td>
 
603
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</td>
645
604
</tr>
646
605
<tr>
647
606
<td><p><span class="term"><em class="parameter"><code>charsets</code></em> :</span></p></td>
648
 
<td>the charsets to list subfonts for.
649
 
</td>
 
607
<td>the charsets to list subfonts for.</td>
650
608
</tr>
651
609
<tr>
652
610
<td><p><span class="term"><em class="parameter"><code>n_charsets</code></em> :</span></p></td>
653
 
<td>the number of charsets in <em class="parameter"><code>charsets</code></em>.
654
 
</td>
 
611
<td>the number of charsets in <em class="parameter"><code>charsets</code></em>.</td>
655
612
</tr>
656
613
<tr>
657
614
<td><p><span class="term"><em class="parameter"><code>subfont_ids</code></em> :</span></p></td>
658
615
<td>location to store a pointer to an array of subfont IDs for each found subfont;
659
 
              the result must be freed using <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
660
 
</td>
 
616
the result must be freed using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
661
617
</tr>
662
618
<tr>
663
619
<td><p><span class="term"><em class="parameter"><code>subfont_charsets</code></em> :</span></p></td>
664
620
<td>location to store a pointer to an array of subfont IDs for each found subfont;
665
 
              the result must be freed using <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
666
 
</td>
 
621
the result must be freed using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
667
622
</tr>
668
623
<tr>
669
624
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
670
 
<td> length of the arrays stored in <em class="parameter"><code>subfont_ids</code></em> and
671
 
<em class="parameter"><code>subfont_charsets</code></em>.
672
 
</td>
 
625
<td>length of the arrays stored in <em class="parameter"><code>subfont_ids</code></em> and
 
626
<em class="parameter"><code>subfont_charsets</code></em>.</td>
673
627
</tr>
674
628
</tbody>
675
629
</table></div>
692
646
<tbody>
693
647
<tr>
694
648
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
695
 
<td>an X <span class="type">Display</span>.
696
 
</td>
 
649
<td>an X <span class="type">Display</span>.</td>
697
650
</tr>
698
651
<tr>
699
652
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
700
 
<td> a <span class="type">PangoXFontMap</span> for <em class="parameter"><code>display</code></em>.
701
 
</td>
 
653
<td>a <span class="type">PangoXFontMap</span> for <em class="parameter"><code>display</code></em>.</td>
702
654
</tr>
703
655
</tbody>
704
656
</table></div>
739
691
<tbody>
740
692
<tr>
741
693
<td><p><span class="term"><em class="parameter"><code>font_map</code></em> :</span></p></td>
742
 
<td>a <span class="type">PangoXFontMap</span>.
743
 
</td>
 
694
<td>a <span class="type">PangoXFontMap</span>.</td>
744
695
</tr>
745
696
<tr>
746
697
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
747
 
<td> the <a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="type">PangoXFontCache</span></a> of <em class="parameter"><code>font_map</code></em>.
748
 
</td>
 
698
<td>the <a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="type">PangoXFontCache</span></a> of <em class="parameter"><code>font_map</code></em>.</td>
749
699
</tr>
750
700
</tbody>
751
701
</table></div>
768
718
<tbody>
769
719
<tr>
770
720
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
771
 
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> which must be from the X backend.
772
 
</td>
 
721
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> which must be from the X backend.</td>
773
722
</tr>
774
723
<tr>
775
724
<td><p><span class="term"><em class="parameter"><code>subfont_id</code></em> :</span></p></td>
776
 
<td>the id of a subfont within the font.
777
 
</td>
 
725
<td>the id of a subfont within the font.</td>
778
726
</tr>
779
727
<tr>
780
728
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
781
 
<td> A newly-allocated string containing the XLFD for the
782
 
subfont. This string must be freed with <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
783
 
</td>
 
729
<td>A newly-allocated string containing the XLFD for the
 
730
subfont. This string must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
784
731
</tr>
785
732
</tbody>
786
733
</table></div>
788
735
<hr>
789
736
<div class="refsect2">
790
737
<a name="pango-x-find-first-subfont"></a><h3>pango_x_find_first_subfont ()</h3>
791
 
<pre class="programlisting"><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            pango_x_find_first_subfont          (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
 
738
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            pango_x_find_first_subfont          (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
792
739
                                                         <em class="parameter"><code><span class="type">char</span> **charsets</code></em>,
793
740
                                                         <em class="parameter"><code><span class="type">int</span> n_charsets</code></em>,
794
741
                                                         <em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a> *rfont</code></em>);</pre>
805
752
<tbody>
806
753
<tr>
807
754
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
808
 
<td>A <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
809
 
</td>
 
755
<td>A <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</td>
810
756
</tr>
811
757
<tr>
812
758
<td><p><span class="term"><em class="parameter"><code>charsets</code></em> :</span></p></td>
813
 
<td>An array of charsets.
814
 
</td>
 
759
<td>An array of charsets.</td>
815
760
</tr>
816
761
<tr>
817
762
<td><p><span class="term"><em class="parameter"><code>n_charsets</code></em> :</span></p></td>
818
 
<td>The number of charsets in <em class="parameter"><code>charsets</code></em>.
819
 
</td>
 
763
<td>The number of charsets in <em class="parameter"><code>charsets</code></em>.</td>
820
764
</tr>
821
765
<tr>
822
766
<td><p><span class="term"><em class="parameter"><code>rfont</code></em> :</span></p></td>
823
 
<td>A pointer to a <a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a>.
824
 
</td>
 
767
<td>A pointer to a <a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a>.</td>
825
768
</tr>
826
769
<tr>
827
770
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
828
 
<td> <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if *<em class="parameter"><code>rfont</code></em> now contains a font.
829
 
</td>
 
771
<td>
 
772
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if *<em class="parameter"><code>rfont</code></em> now contains a font.</td>
830
773
</tr>
831
774
</tbody>
832
775
</table></div>
835
778
<div class="refsect2">
836
779
<a name="pango-x-font-get-unknown-glyph"></a><h3>pango_x_font_get_unknown_glyph ()</h3>
837
780
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a>          pango_x_font_get_unknown_glyph      (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
838
 
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> wc</code></em>);</pre>
 
781
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> wc</code></em>);</pre>
839
782
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
840
783
<h3 class="title">Warning</h3>
841
784
<p><code class="literal">pango_x_font_get_unknown_glyph</code> is deprecated and should not be used in newly-written code.</p>
852
795
<tbody>
853
796
<tr>
854
797
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
855
 
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
856
 
</td>
 
798
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</td>
857
799
</tr>
858
800
<tr>
859
801
<td><p><span class="term"><em class="parameter"><code>wc</code></em> :</span></p></td>
860
 
<td>the Unicode character for which a glyph is needed.
861
 
</td>
 
802
<td>the Unicode character for which a glyph is needed.</td>
862
803
</tr>
863
804
<tr>
864
805
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
865
 
<td> a glyph index into <em class="parameter"><code>font</code></em>.
866
 
</td>
 
806
<td>a glyph index into <em class="parameter"><code>font</code></em>.</td>
867
807
</tr>
868
808
</tbody>
869
809
</table></div>
871
811
<hr>
872
812
<div class="refsect2">
873
813
<a name="pango-x-apply-ligatures"></a><h3>pango_x_apply_ligatures ()</h3>
874
 
<pre class="programlisting"><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            pango_x_apply_ligatures             (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
 
814
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            pango_x_apply_ligatures             (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
875
815
                                                         <em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a> subfont</code></em>,
876
 
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> **glyphs</code></em>,
 
816
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> **glyphs</code></em>,
877
817
                                                         <em class="parameter"><code><span class="type">int</span> *n_glyphs</code></em>,
878
818
                                                         <em class="parameter"><code><span class="type">int</span> **clusters</code></em>);</pre>
879
819
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
888
828
<tbody>
889
829
<tr>
890
830
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
891
 
<td>unused
892
 
</td>
 
831
<td>unused</td>
893
832
</tr>
894
833
<tr>
895
834
<td><p><span class="term"><em class="parameter"><code>subfont</code></em> :</span></p></td>
896
 
<td>unused
897
 
</td>
 
835
<td>unused</td>
898
836
</tr>
899
837
<tr>
900
838
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
901
 
<td>unused
902
 
</td>
 
839
<td>unused</td>
903
840
</tr>
904
841
<tr>
905
842
<td><p><span class="term"><em class="parameter"><code>n_glyphs</code></em> :</span></p></td>
906
 
<td>unused
907
 
</td>
 
843
<td>unused</td>
908
844
</tr>
909
845
<tr>
910
846
<td><p><span class="term"><em class="parameter"><code>clusters</code></em> :</span></p></td>
911
 
<td>unused
912
 
</td>
 
847
<td>unused</td>
913
848
</tr>
914
849
<tr>
915
850
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
916
 
<td> <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, always.
917
 
</td>
 
851
<td>
 
852
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, always.</td>
918
853
</tr>
919
854
</tbody>
920
855
</table></div>
923
858
<div class="refsect2">
924
859
<a name="pango-x-fallback-shape"></a><h3>pango_x_fallback_shape ()</h3>
925
860
<pre class="programlisting"><span class="returnvalue">void</span>                pango_x_fallback_shape              (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
926
 
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
 
861
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
927
862
                                                         <em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
928
863
                                                         <em class="parameter"><code><span class="type">int</span> n_chars</code></em>);</pre>
929
864
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
940
875
<tbody>
941
876
<tr>
942
877
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
943
 
<td>A <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
944
 
</td>
 
878
<td>A <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</td>
945
879
</tr>
946
880
<tr>
947
881
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
948
 
<td>A pointer to a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a>.
949
 
</td>
 
882
<td>A pointer to a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>.</td>
950
883
</tr>
951
884
<tr>
952
885
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
953
 
<td>UTF-8 string.
954
 
</td>
 
886
<td>UTF-8 string.</td>
955
887
</tr>
956
888
<tr>
957
889
<td><p><span class="term"><em class="parameter"><code>n_chars</code></em> :</span></p></td>
958
 
<td>Number of UTF-8 seqs in <em class="parameter"><code>text</code></em>.
959
 
</td>
 
890
<td>Number of UTF-8 seqs in <em class="parameter"><code>text</code></em>.</td>
960
891
</tr>
961
892
</tbody>
962
893
</table></div>
990
921
<tbody>
991
922
<tr>
992
923
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
993
 
<td>an X display.
994
 
</td>
 
924
<td>an X display.</td>
995
925
</tr>
996
926
<tr>
997
927
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
998
 
<td> The newly allocated <a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="type">PangoXFontCache</span></a>, which should be
999
 
              freed with <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-cache-free" title="pango_x_font_cache_free ()"><code class="function">pango_x_font_cache_free()</code></a>.
1000
 
</td>
 
928
<td>The newly allocated <a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="type">PangoXFontCache</span></a>, which should be
 
929
freed with <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-cache-free" title="pango_x_font_cache_free ()"><code class="function">pango_x_font_cache_free()</code></a>.</td>
1001
930
</tr>
1002
931
</tbody>
1003
932
</table></div>
1047
976
</tr>
1048
977
<tr>
1049
978
<td><p><span class="term"><em class="parameter"><code>xlfd</code></em> :</span></p></td>
1050
 
<td>the X Logical Font Description to load.
1051
 
</td>
 
979
<td>the X Logical Font Description to load.</td>
1052
980
</tr>
1053
981
<tr>
1054
982
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1055
 
<td> The font structure, or <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the font could
 
983
<td>The font structure, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the font could
1056
984
not be loaded. In order to free this structure, you must call
1057
 
<a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-cache-unload" title="pango_x_font_cache_unload ()"><code class="function">pango_x_font_cache_unload()</code></a>.
1058
 
</td>
 
985
<a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-cache-unload" title="pango_x_font_cache_unload ()"><code class="function">pango_x_font_cache_unload()</code></a>.</td>
1059
986
</tr>
1060
987
</tbody>
1061
988
</table></div>
1082
1009
</tr>
1083
1010
<tr>
1084
1011
<td><p><span class="term"><em class="parameter"><code>fs</code></em> :</span></p></td>
1085
 
<td>the font structure to unload
1086
 
</td>
 
1012
<td>the font structure to unload</td>
1087
1013
</tr>
1088
1014
</tbody>
1089
1015
</table></div>
1092
1018
</div>
1093
1019
<div class="footer">
1094
1020
<hr>
1095
 
          Generated by GTK-Doc V1.15.1</div>
 
1021
          Generated by GTK-Doc V1.17</div>
1096
1022
</body>
1097
1023
</html>
 
 
b'\\ No newline at end of file'