~ubuntu-branches/ubuntu/maverick/pango1.0/maverick-proposed

« back to all changes in this revision

Viewing changes to docs/html/pango-Text-Processing.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-05-15 12:19:21 UTC
  • mfrom: (1.2.60 upstream)
  • Revision ID: james.westby@ubuntu.com-20090515121921-othd6a1uqwfcanbl
Tags: 1.24.2-1ubuntu1
* Sync on Debian
* debian/rules:
  - Enable VFP pass on armel

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
#define             <a class="link" href="pango-Text-Processing.html#PANGO-TYPE-DIRECTION--CAPS" title="PANGO_TYPE_DIRECTION">PANGO_TYPE_DIRECTION</a>
66
66
 
67
67
<a
68
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
 
68
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
69
69
>GList</a> *             <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()">pango_itemize</a>                       (<a class="link" href="pango-Text-Processing.html#PangoContext">PangoContext</a> *context,
70
70
                                                         const char *text,
71
71
                                                         int start_index,
73
73
                                                         <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList">PangoAttrList</a> *attrs,
74
74
                                                         <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator">PangoAttrIterator</a> *cached_iter);
75
75
<a
76
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
 
76
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
77
77
>GList</a> *             <a class="link" href="pango-Text-Processing.html#pango-itemize-with-base-dir" title="pango_itemize_with_base_dir ()">pango_itemize_with_base_dir</a>         (<a class="link" href="pango-Text-Processing.html#PangoContext">PangoContext</a> *context,
78
78
                                                         <a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection">PangoDirection</a> base_dir,
79
79
                                                         const char *text,
88
88
                                                         int split_index,
89
89
                                                         int split_offset);
90
90
<a
91
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
 
91
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
92
92
>GList</a> *             <a class="link" href="pango-Text-Processing.html#pango-reorder-items" title="pango_reorder_items ()">pango_reorder_items</a>                 (<a
93
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
 
93
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
94
94
>GList</a> *logical_items);
95
95
 
96
96
<a class="link" href="pango-Text-Processing.html#PangoContext">PangoContext</a> *      <a class="link" href="pango-Text-Processing.html#pango-context-new" title="pango_context_new ()">pango_context_new</a>                   (void);
131
131
 
132
132
 
133
133
void                <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()">pango_break</a>                         (const <a
134
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
134
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
135
135
>gchar</a> *text,
136
136
                                                         int length,
137
137
                                                         <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis">PangoAnalysis</a> *analysis,
144
144
                                                         <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr">PangoLogAttr</a> *log_attrs,
145
145
                                                         int attrs_len);
146
146
void                <a class="link" href="pango-Text-Processing.html#pango-find-paragraph-boundary" title="pango_find_paragraph_boundary ()">pango_find_paragraph_boundary</a>       (const <a
147
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
147
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
148
148
>gchar</a> *text,
149
149
                                                         <a
150
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
150
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
151
151
>gint</a> length,
152
152
                                                         <a
153
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
153
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
154
154
>gint</a> *paragraph_delimiter_index,
155
155
                                                         <a
156
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
156
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
157
157
>gint</a> *next_paragraph_start);
158
158
void                <a class="link" href="pango-Text-Processing.html#pango-default-break" title="pango_default_break ()">pango_default_break</a>                 (const <a
159
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
159
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
160
160
>gchar</a> *text,
161
161
                                                         int length,
162
162
                                                         <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis">PangoAnalysis</a> *analysis,
165
165
                    <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr">PangoLogAttr</a>;
166
166
 
167
167
void                <a class="link" href="pango-Text-Processing.html#pango-shape" title="pango_shape ()">pango_shape</a>                         (const <a
168
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
168
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
169
169
>gchar</a> *text,
170
170
                                                         <a
171
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
171
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
172
172
>gint</a> length,
173
173
                                                         const <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis">PangoAnalysis</a> *analysis,
174
174
                                                         <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString">PangoGlyphString</a> *glyphs);
178
178
<a name="pango-Text-Processing.object-hierarchy"></a><h2>Object Hierarchy</h2>
179
179
<pre class="synopsis">
180
180
  <a
181
 
href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
 
181
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
182
182
>GObject</a>
183
183
   +----PangoContext
184
184
</pre>
221
221
<tbody>
222
222
<tr>
223
223
<td><p><span class="term"><a
224
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
224
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
225
225
>gint</a> <em class="structfield"><code>offset</code></em>;</span></p></td>
226
226
<td>the offset of the segment from the beginning of the
227
227
         string in bytes.
229
229
</tr>
230
230
<tr>
231
231
<td><p><span class="term"><a
232
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
232
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
233
233
>gint</a> <em class="structfield"><code>length</code></em>;</span></p></td>
234
234
<td>the length of the segment in bytes.
235
235
</td>
236
236
</tr>
237
237
<tr>
238
238
<td><p><span class="term"><a
239
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
239
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
240
240
>gint</a> <em class="structfield"><code>num_chars</code></em>;</span></p></td>
241
241
<td>the length of the segment in characters.
242
242
</td>
292
292
</tr>
293
293
<tr>
294
294
<td><p><span class="term"><a
295
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
 
295
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
296
296
>guint8</a> <em class="structfield"><code>level</code></em>;</span></p></td>
297
297
<td>the bidirectional level for this segment.
298
298
</td>
299
299
</tr>
300
300
<tr>
301
301
<td><p><span class="term"><a
302
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
 
302
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
303
303
>guint8</a> <em class="structfield"><code>gravity</code></em>;</span></p></td>
304
304
<td>the glyph orientation for this segment (A <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a>).
305
305
</td>
306
306
</tr>
307
307
<tr>
308
308
<td><p><span class="term"><a
309
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
 
309
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
310
310
>guint8</a> <em class="structfield"><code>flags</code></em>;</span></p></td>
311
311
<td>boolean flags for this segment (currently only one) (Since: 1.16).
312
312
</td>
313
313
</tr>
314
314
<tr>
315
315
<td><p><span class="term"><a
316
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
 
316
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
317
317
>guint8</a> <em class="structfield"><code>script</code></em>;</span></p></td>
318
318
<td>the detected script for this segment (A <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a>) (Since: 1.18).
319
319
</td>
325
325
</tr>
326
326
<tr>
327
327
<td><p><span class="term"><a
328
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"
 
328
href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"
329
329
>GSList</a> *<em class="structfield"><code>extra_attrs</code></em>;</span></p></td>
330
330
<td>extra attributes for this segment.
331
331
</td>
351
351
</pre>
352
352
<p>
353
353
The <a
354
 
href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
 
354
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
355
355
><span class="type">GObject</span></a> type for <a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="type">PangoDirection</span></a>.
356
356
</p>
357
357
</div>
359
359
<div class="refsect2" lang="en">
360
360
<a name="pango-itemize"></a><h3>pango_itemize ()</h3>
361
361
<pre class="programlisting"><a
362
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
 
362
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
363
363
>GList</a> *             pango_itemize                       (<a class="link" href="pango-Text-Processing.html#PangoContext">PangoContext</a> *context,
364
364
                                                         const char *text,
365
365
                                                         int start_index,
414
414
<tr>
415
415
<td><p><span class="term"><em class="parameter"><code>cached_iter</code></em> :</span></p></td>
416
416
<td>      Cached attribute iterator, or <a
417
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
 
417
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
418
418
><code class="literal">NULL</code></a>
419
419
</td>
420
420
</tr>
421
421
<tr>
422
422
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
423
423
<td> a <a
424
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
 
424
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
425
425
><span class="type">GList</span></a> of <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a> structures.
426
426
</td>
427
427
</tr>
432
432
<div class="refsect2" lang="en">
433
433
<a name="pango-itemize-with-base-dir"></a><h3>pango_itemize_with_base_dir ()</h3>
434
434
<pre class="programlisting"><a
435
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
 
435
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
436
436
>GList</a> *             pango_itemize_with_base_dir         (<a class="link" href="pango-Text-Processing.html#PangoContext">PangoContext</a> *context,
437
437
                                                         <a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection">PangoDirection</a> base_dir,
438
438
                                                         const char *text,
485
485
<tr>
486
486
<td><p><span class="term"><em class="parameter"><code>cached_iter</code></em> :</span></p></td>
487
487
<td>      Cached attribute iterator, or <a
488
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
 
488
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
489
489
><code class="literal">NULL</code></a>
490
490
</td>
491
491
</tr>
492
492
<tr>
493
493
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
494
494
<td> a <a
495
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
 
495
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
496
496
><span class="type">GList</span></a> of <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a> structures.  The items should be
497
497
freed using <a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()"><code class="function">pango_item_free()</code></a> probably in combination with <a
498
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-foreach"
 
498
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-foreach"
499
499
><code class="function">g_list_foreach()</code></a>,
500
500
and the list itself using <a
501
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-free"
 
501
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"
502
502
><code class="function">g_list_free()</code></a>.
503
503
 
504
504
</td>
520
520
<tbody><tr>
521
521
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
522
522
<td> a <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a>, may be <a
523
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
 
523
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
524
524
><code class="literal">NULL</code></a>
525
525
</td>
526
526
</tr></tbody>
540
540
<tr>
541
541
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
542
542
<td> a <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a>, may be <a
543
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
 
543
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
544
544
><code class="literal">NULL</code></a>
545
545
</td>
546
546
</tr>
548
548
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
549
549
<td> the newly allocated <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a>, which should
550
550
              be freed with <a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()"><code class="function">pango_item_free()</code></a>, or <a
551
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
 
551
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
552
552
><code class="literal">NULL</code></a> if
553
553
              <em class="parameter"><code>item</code></em> was NULL.
554
554
</td>
624
624
<div class="refsect2" lang="en">
625
625
<a name="pango-reorder-items"></a><h3>pango_reorder_items ()</h3>
626
626
<pre class="programlisting"><a
627
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
 
627
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
628
628
>GList</a> *             pango_reorder_items                 (<a
629
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
 
629
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
630
630
>GList</a> *logical_items);</pre>
631
631
<p>
632
632
From a list of items in logical order and the associated
640
640
<tr>
641
641
<td><p><span class="term"><em class="parameter"><code>logical_items</code></em> :</span></p></td>
642
642
<td>  a <a
643
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
 
643
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
644
644
><span class="type">GList</span></a> of <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a> in logical order.
645
645
</td>
646
646
</tr>
647
647
<tr>
648
648
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
649
649
<td> a <a
650
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
 
650
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
651
651
><span class="type">GList</span></a> of <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a> structures in visual order.
652
652
 
653
653
(Please open a bug if you use this function.
689
689
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
690
690
<td> the newly allocated <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, which should
691
691
              be freed with <a
692
 
href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"
 
692
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"
693
693
><code class="function">g_object_unref()</code></a>.
694
694
</td>
695
695
</tr></tbody>
1072
1072
<tr>
1073
1073
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1074
1074
<td> the matrix, or <a
1075
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
 
1075
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1076
1076
><code class="literal">NULL</code></a> if no matrix has been set
1077
1077
 (which is the same as the identity matrix). The returned
1078
1078
 matrix is owned by Pango and must not be modified or
1109
1109
<tr>
1110
1110
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
1111
1111
<td> a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a
1112
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
 
1112
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1113
1113
><code class="literal">NULL</code></a> to unset any existing matrix.
1114
1114
 (No matrix set is the same as setting the identity matrix.)
1115
1115
</td>
1144
1144
<tr>
1145
1145
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1146
1146
<td> the font loaded, or <a
1147
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
 
1147
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1148
1148
><code class="literal">NULL</code></a> if no font matched.
1149
1149
</td>
1150
1150
</tr>
1183
1183
<tr>
1184
1184
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1185
1185
<td> the fontset, or <a
1186
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
 
1186
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1187
1187
><code class="literal">NULL</code></a> if no font matched.
1188
1188
</td>
1189
1189
</tr>
1223
1223
<tr>
1224
1224
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
1225
1225
<td> a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure.  <a
1226
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
 
1226
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1227
1227
><code class="literal">NULL</code></a> means that the font
1228
1228
              description from the context will be used.
1229
1229
</td>
1232
1232
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
1233
1233
<td> language tag used to determine which script to get the metrics
1234
1234
           for. <a
1235
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
 
1235
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1236
1236
><code class="literal">NULL</code></a> means that the language tag from the context will
1237
1237
           be used. If no language tag is set on the context, metrics
1238
1238
           for the default language (as determined by
1270
1270
<td><p><span class="term"><em class="parameter"><code>families</code></em> :</span></p></td>
1271
1271
<td> location to store a pointer to an array of <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *.
1272
1272
           This array should be freed with <a
1273
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
 
1273
href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"
1274
1274
><code class="function">g_free()</code></a>.
1275
1275
</td>
1276
1276
</tr>
1286
1286
<div class="refsect2" lang="en">
1287
1287
<a name="pango-break"></a><h3>pango_break ()</h3>
1288
1288
<pre class="programlisting">void                pango_break                         (const <a
1289
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
1289
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
1290
1290
>gchar</a> *text,
1291
1291
                                                         int length,
1292
1292
                                                         <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis">PangoAnalysis</a> *analysis,
1388
1388
<div class="refsect2" lang="en">
1389
1389
<a name="pango-find-paragraph-boundary"></a><h3>pango_find_paragraph_boundary ()</h3>
1390
1390
<pre class="programlisting">void                pango_find_paragraph_boundary       (const <a
1391
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
1391
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
1392
1392
>gchar</a> *text,
1393
1393
                                                         <a
1394
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
1394
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1395
1395
>gint</a> length,
1396
1396
                                                         <a
1397
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
1397
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1398
1398
>gint</a> *paragraph_delimiter_index,
1399
1399
                                                         <a
1400
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
1400
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1401
1401
>gint</a> *next_paragraph_start);</pre>
1402
1402
<p>
1403
1403
Locates a paragraph boundary in <em class="parameter"><code>text</code></em>. A boundary is caused by
1443
1443
<div class="refsect2" lang="en">
1444
1444
<a name="pango-default-break"></a><h3>pango_default_break ()</h3>
1445
1445
<pre class="programlisting">void                pango_default_break                 (const <a
1446
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
1446
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
1447
1447
>gchar</a> *text,
1448
1448
                                                         int length,
1449
1449
                                                         <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis">PangoAnalysis</a> *analysis,
1454
1454
engine overrides it. Normally you should use <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()"><code class="function">pango_break()</code></a>
1455
1455
instead. Unlike <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()"><code class="function">pango_break()</code></a>,
1456
1456
<em class="parameter"><code>analysis</code></em> can be <a
1457
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
 
1457
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1458
1458
><code class="literal">NULL</code></a>, but only do that if you know what
1459
1459
you're doing. If you need an analysis to pass to <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()"><code class="function">pango_break()</code></a>,
1460
1460
you need to <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>.  In most cases however you should
1552
1552
<tbody>
1553
1553
<tr>
1554
1554
<td><p><span class="term"><a
1555
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1555
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1556
1556
>guint</a> <em class="structfield"><code>is_line_break</code></em> : 1;</span></p></td>
1557
1557
<td>if set, can break line in front of character
1558
1558
</td>
1559
1559
</tr>
1560
1560
<tr>
1561
1561
<td><p><span class="term"><a
1562
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1562
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1563
1563
>guint</a> <em class="structfield"><code>is_mandatory_break</code></em> : 1;</span></p></td>
1564
1564
<td>if set, must break line in front of character
1565
1565
</td>
1566
1566
</tr>
1567
1567
<tr>
1568
1568
<td><p><span class="term"><a
1569
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1569
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1570
1570
>guint</a> <em class="structfield"><code>is_char_break</code></em> : 1;</span></p></td>
1571
1571
<td>if set, can break here when doing character wrapping
1572
1572
</td>
1573
1573
</tr>
1574
1574
<tr>
1575
1575
<td><p><span class="term"><a
1576
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1576
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1577
1577
>guint</a> <em class="structfield"><code>is_white</code></em> : 1;</span></p></td>
1578
1578
<td>is whitespace character
1579
1579
</td>
1580
1580
</tr>
1581
1581
<tr>
1582
1582
<td><p><span class="term"><a
1583
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1583
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1584
1584
>guint</a> <em class="structfield"><code>is_cursor_position</code></em> : 1;</span></p></td>
1585
1585
<td>if set, cursor can appear in front of character.
1586
1586
        i.e. this is a grapheme boundary, or the first character
1592
1592
</tr>
1593
1593
<tr>
1594
1594
<td><p><span class="term"><a
1595
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1595
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1596
1596
>guint</a> <em class="structfield"><code>is_word_start</code></em> : 1;</span></p></td>
1597
1597
<td>is first character in a word
1598
1598
</td>
1599
1599
</tr>
1600
1600
<tr>
1601
1601
<td><p><span class="term"><a
1602
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1602
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1603
1603
>guint</a> <em class="structfield"><code>is_word_end</code></em> : 1;</span></p></td>
1604
1604
<td>is first non-word char after a word
1605
1605
        Note that in degenerate cases, you could have both <em class="parameter"><code>is_word_start</code></em>
1608
1608
</tr>
1609
1609
<tr>
1610
1610
<td><p><span class="term"><a
1611
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1611
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1612
1612
>guint</a> <em class="structfield"><code>is_sentence_boundary</code></em> : 1;</span></p></td>
1613
1613
<td>is a sentence boundary.
1614
1614
        There are two ways to divide sentences. The first assigns all
1622
1622
</tr>
1623
1623
<tr>
1624
1624
<td><p><span class="term"><a
1625
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1625
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1626
1626
>guint</a> <em class="structfield"><code>is_sentence_start</code></em> : 1;</span></p></td>
1627
1627
<td>is first character in a sentence
1628
1628
</td>
1629
1629
</tr>
1630
1630
<tr>
1631
1631
<td><p><span class="term"><a
1632
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1632
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1633
1633
>guint</a> <em class="structfield"><code>is_sentence_end</code></em> : 1;</span></p></td>
1634
1634
<td>is first char after a sentence.
1635
1635
        Note that in degenerate cases, you could have both <em class="parameter"><code>is_sentence_start</code></em>
1639
1639
</tr>
1640
1640
<tr>
1641
1641
<td><p><span class="term"><a
1642
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1642
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1643
1643
>guint</a> <em class="structfield"><code>backspace_deletes_character</code></em> : 1;</span></p></td>
1644
1644
<td>if set, backspace deletes one character
1645
1645
                              rather than the entire grapheme cluster. This
1657
1657
</tr>
1658
1658
<tr>
1659
1659
<td><p><span class="term"><a
1660
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1660
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1661
1661
>guint</a> <em class="structfield"><code>is_expandable_space</code></em> : 1;</span></p></td>
1662
1662
<td>is a whitespace character that can possibly be
1663
1663
                      expanded for justification purposes. (Since: 1.18)
1665
1665
</tr>
1666
1666
<tr>
1667
1667
<td><p><span class="term"><a
1668
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1668
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
1669
1669
>guint</a> <em class="structfield"><code>is_word_boundary</code></em> : 1;</span></p></td>
1670
1670
<td>is a word boundary.
1671
1671
        More specifically, means that this is not a position in the middle
1685
1685
<div class="refsect2" lang="en">
1686
1686
<a name="pango-shape"></a><h3>pango_shape ()</h3>
1687
1687
<pre class="programlisting">void                pango_shape                         (const <a
1688
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
1688
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
1689
1689
>gchar</a> *text,
1690
1690
                                                         <a
1691
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
1691
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1692
1692
>gint</a> length,
1693
1693
                                                         const <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis">PangoAnalysis</a> *analysis,
1694
1694
                                                         <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString">PangoGlyphString</a> *glyphs);</pre>