pango 2.1.0-x86-mingw32 → 2.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/ext/pango/rbpangocairo.c +7 -1
- data/lib/1.9/pango.so +0 -0
- data/lib/2.0/pango.so +0 -0
- data/lib/2.1/pango.so +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/include/harfbuzz/hb-common.h +7 -1
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +0 -5
- data/vendor/local/include/harfbuzz/hb-ot-shape.h +54 -0
- data/vendor/local/include/harfbuzz/hb-ot.h +1 -8
- data/vendor/local/include/harfbuzz/hb-version.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +2 -2
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +1 -1
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +1 -1
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +1 -1
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +1 -1
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +9 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +1 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +1 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +18 -31
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +18 -31
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +17 -25
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +25 -39
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +44 -78
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +41 -75
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +23 -26
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +19 -22
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +15 -18
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +17 -20
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +33 -36
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +17 -20
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +21 -24
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +19 -22
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +25 -28
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +15 -18
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +13 -16
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +10 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +10 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +15 -18
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +13 -16
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +10 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +23 -26
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +23 -26
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +19 -22
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +162 -26
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +51 -54
- data/vendor/local/share/gtk-doc/html/pango/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +25 -40
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +118 -169
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +15 -21
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +24 -39
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +24 -39
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +125 -240
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +46 -74
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +95 -189
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +137 -265
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +38 -66
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +20 -31
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +207 -143
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +47 -86
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +26 -43
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +106 -203
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +66 -122
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +29 -47
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +33 -57
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +49 -79
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +53 -90
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +34 -34
- data/vendor/local/share/gtk-doc/html/pango/pango.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/pango/tools.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/up.png +0 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -1
- metadata +8 -4
@@ -2,32 +2,29 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Rendering</title>
|
5
|
+
<title>Pango Reference Manual: Rendering</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
9
|
<link rel="prev" href="pango.html" title="Basic Pango Interfaces">
|
10
10
|
<link rel="next" href="pango-Glyph-Storage.html" title="Glyph Storage">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.1 (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">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<td><a accesskey="u" href="pango.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">Pango Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="pango-Glyph-Storage.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#pango-Text-Processing.synopsis" class="shortcut">Top</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
|
16
|
+
<td width="100%" align="left">
|
17
|
+
<a href="#" class="shortcut">Top</a>
|
25
18
|
|
|
26
19
|
<a href="#pango-Text-Processing.description" class="shortcut">Description</a>
|
27
20
|
|
|
28
21
|
<a href="#pango-Text-Processing.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
-
</td
|
30
|
-
|
22
|
+
</td>
|
23
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
|
+
<td><a accesskey="u" href="pango.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
25
|
+
<td><a accesskey="p" href="pango.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
26
|
+
<td><a accesskey="n" href="pango-Glyph-Storage.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
27
|
+
</tr></table>
|
31
28
|
<div class="refentry">
|
32
29
|
<a name="pango-Text-Processing"></a><div class="titlepage"></div>
|
33
30
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -156,8 +153,7 @@ const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="r
|
|
156
153
|
The Pango rendering pipeline takes a string of
|
157
154
|
Unicode characters and converts it into glyphs.
|
158
155
|
The functions described in this section accomplish
|
159
|
-
various steps of this process
|
160
|
-
</p>
|
156
|
+
various steps of this process.</p>
|
161
157
|
</div>
|
162
158
|
<div class="refsect1">
|
163
159
|
<a name="pango-Text-Processing.details"></a><h2>Details</h2>
|
@@ -166,8 +162,7 @@ various steps of this process.
|
|
166
162
|
<pre class="programlisting">typedef struct _PangoContext PangoContext;</pre>
|
167
163
|
<p>
|
168
164
|
The <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> structure stores global information
|
169
|
-
used to control the itemization process
|
170
|
-
</p>
|
165
|
+
used to control the itemization process.</p>
|
171
166
|
</div>
|
172
167
|
<hr>
|
173
168
|
<div class="refsect2">
|
@@ -180,8 +175,7 @@ used to control the itemization process.
|
|
180
175
|
};
|
181
176
|
</pre>
|
182
177
|
<p>
|
183
|
-
The <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structure stores information abouta segment of text
|
184
|
-
</p>
|
178
|
+
The <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structure stores information abouta segment of text.</p>
|
185
179
|
</div>
|
186
180
|
<hr>
|
187
181
|
<div class="refsect2">
|
@@ -203,8 +197,7 @@ The <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="typ
|
|
203
197
|
</pre>
|
204
198
|
<p>
|
205
199
|
The <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure stores information about
|
206
|
-
the properties of a segment of text
|
207
|
-
</p>
|
200
|
+
the properties of a segment of text.</p>
|
208
201
|
<div class="variablelist"><table border="0" class="variablelist">
|
209
202
|
<colgroup>
|
210
203
|
<col align="left" valign="top">
|
@@ -257,8 +250,7 @@ the properties of a segment of text.
|
|
257
250
|
</pre>
|
258
251
|
<p>
|
259
252
|
Whether the segment should be shifted to center around the baseline.
|
260
|
-
Used in vertical writing directions mostly
|
261
|
-
</p>
|
253
|
+
Used in vertical writing directions mostly.</p>
|
262
254
|
<p class="since">Since 1.16</p>
|
263
255
|
</div>
|
264
256
|
<hr>
|
@@ -281,14 +273,12 @@ Breaks a piece of text into segments with consistent
|
|
281
273
|
directional level and shaping engine. Each byte of <em class="parameter"><code>text</code></em> will
|
282
274
|
be contained in exactly one of the items in the returned list;
|
283
275
|
the generated list of items will be in logical order (the start
|
284
|
-
offsets of the items are ascending)
|
285
|
-
</p>
|
276
|
+
offsets of the items are ascending).</p>
|
286
277
|
<p>
|
287
278
|
<em class="parameter"><code>cached_iter</code></em> should be an iterator over <em class="parameter"><code>attrs</code></em> currently positioned at a
|
288
279
|
range before or containing <em class="parameter"><code>start_index</code></em>; <em class="parameter"><code>cached_iter</code></em> will be advanced to
|
289
280
|
the range covering the position just after <em class="parameter"><code>start_index</code></em> + <em class="parameter"><code>length</code></em>.
|
290
|
-
(i.e. if itemizing in a loop, just keep passing in the same <em class="parameter"><code>cached_iter</code></em>)
|
291
|
-
</p>
|
281
|
+
(i.e. if itemizing in a loop, just keep passing in the same <em class="parameter"><code>cached_iter</code></em>).</p>
|
292
282
|
<div class="variablelist"><table border="0" class="variablelist">
|
293
283
|
<colgroup>
|
294
284
|
<col align="left" valign="top">
|
@@ -347,8 +337,7 @@ using <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gt
|
|
347
337
|
<p>
|
348
338
|
Like <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>, but the base direction to use when
|
349
339
|
computing bidirectional levels (see <a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir ()"><code class="function">pango_context_set_base_dir()</code></a>),
|
350
|
-
is specified explicitly rather than gotten from the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a
|
351
|
-
</p>
|
340
|
+
is specified explicitly rather than gotten from the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</p>
|
352
341
|
<div class="variablelist"><table border="0" class="variablelist">
|
353
342
|
<colgroup>
|
354
343
|
<col align="left" valign="top">
|
@@ -403,8 +392,7 @@ after <em class="parameter"><code>start_index</code></em>. This must be >= 0.
|
|
403
392
|
<a name="pango-item-free"></a><h3>pango_item_free ()</h3>
|
404
393
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_item_free (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> *item</code></em>);</pre>
|
405
394
|
<p>
|
406
|
-
Free a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> and all associated memory
|
407
|
-
</p>
|
395
|
+
Free a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> and all associated memory.</p>
|
408
396
|
<div class="variablelist"><table border="0" class="variablelist">
|
409
397
|
<colgroup>
|
410
398
|
<col align="left" valign="top">
|
@@ -422,8 +410,7 @@ Free a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="
|
|
422
410
|
<a name="pango-item-copy"></a><h3>pango_item_copy ()</h3>
|
423
411
|
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> * pango_item_copy (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> *item</code></em>);</pre>
|
424
412
|
<p>
|
425
|
-
Copy an existing <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structure
|
426
|
-
</p>
|
413
|
+
Copy an existing <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structure.</p>
|
427
414
|
<div class="variablelist"><table border="0" class="variablelist">
|
428
415
|
<colgroup>
|
429
416
|
<col align="left" valign="top">
|
@@ -449,8 +436,7 @@ be freed with <a class="link" href="pango-Text-Processing.html#pango-item-free"
|
|
449
436
|
<a name="pango-item-new"></a><h3>pango_item_new ()</h3>
|
450
437
|
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> * pango_item_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
451
438
|
<p>
|
452
|
-
Creates a new <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structure initialized to default values
|
453
|
-
</p>
|
439
|
+
Creates a new <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structure initialized to default values.</p>
|
454
440
|
<div class="variablelist"><table border="0" class="variablelist">
|
455
441
|
<colgroup>
|
456
442
|
<col align="left" valign="top">
|
@@ -479,8 +465,7 @@ be at least one byte assigned to each item, you can't create a
|
|
479
465
|
zero-length item). <em class="parameter"><code>split_offset</code></em> is the length of the first item in
|
480
466
|
chars, and must be provided because the text used to generate the
|
481
467
|
item isn't available, so <a class="link" href="pango-Text-Processing.html#pango-item-split" title="pango_item_split ()"><code class="function">pango_item_split()</code></a> can't count the char
|
482
|
-
length of the split items itself
|
483
|
-
</p>
|
468
|
+
length of the split items itself.</p>
|
484
469
|
<div class="variablelist"><table border="0" class="variablelist">
|
485
470
|
<colgroup>
|
486
471
|
<col align="left" valign="top">
|
@@ -516,8 +501,7 @@ should be freed with <a class="link" href="pango-Text-Processing.html#pango-item
|
|
516
501
|
<p>
|
517
502
|
From a list of items in logical order and the associated
|
518
503
|
directional levels, produce a list in visual order.
|
519
|
-
The original list is unmodified
|
520
|
-
</p>
|
504
|
+
The original list is unmodified.</p>
|
521
505
|
<div class="variablelist"><table border="0" class="variablelist">
|
522
506
|
<colgroup>
|
523
507
|
<col align="left" valign="top">
|
@@ -546,21 +530,18 @@ is duplicated elsewhere in Pango for that reason.). <span class="annotation">[<a
|
|
546
530
|
<a name="pango-context-new"></a><h3>pango_context_new ()</h3>
|
547
531
|
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * pango_context_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
548
532
|
<p>
|
549
|
-
Creates a new <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> initialized to default values
|
550
|
-
</p>
|
533
|
+
Creates a new <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> initialized to default values.</p>
|
551
534
|
<p>
|
552
535
|
This function is not particularly useful as it should always
|
553
536
|
be followed by a <a class="link" href="pango-Text-Processing.html#pango-context-set-font-map" title="pango_context_set_font_map ()"><code class="function">pango_context_set_font_map()</code></a> call, and the
|
554
537
|
function <a class="link" href="pango-Fonts.html#pango-font-map-create-context" title="pango_font_map_create_context ()"><code class="function">pango_font_map_create_context()</code></a> does these two steps
|
555
|
-
together and hence users are recommended to use that
|
556
|
-
</p>
|
538
|
+
together and hence users are recommended to use that.</p>
|
557
539
|
<p>
|
558
540
|
If you are using Pango as part of a higher-level system,
|
559
541
|
that system may have it's own way of create a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
|
560
542
|
For instance, the GTK+ toolkit has, among others,
|
561
|
-
<a href="http://
|
562
|
-
<a href="http://
|
563
|
-
</p>
|
543
|
+
<a href="http://library.gnome.org/devel/gdk3/gdk2-Pango-Interaction.html#gdk-pango-context-get-for-screen"><code class="function">gdk_pango_context_get_for_screen()</code></a>, and
|
544
|
+
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>. Use those instead.</p>
|
564
545
|
<div class="variablelist"><table border="0" class="variablelist">
|
565
546
|
<colgroup>
|
566
547
|
<col align="left" valign="top">
|
@@ -579,14 +560,12 @@ be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/
|
|
579
560
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_context_changed (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
580
561
|
<p>
|
581
562
|
Forces a change in the context, which will cause any <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
582
|
-
using this context to re-layout
|
583
|
-
</p>
|
563
|
+
using this context to re-layout.</p>
|
584
564
|
<p>
|
585
565
|
This function is only useful when implementing a new backend
|
586
566
|
for Pango, something applications won't do. Backends should
|
587
567
|
call this function if they have attached extra data to the context
|
588
|
-
and such data is changed
|
589
|
-
</p>
|
568
|
+
and such data is changed.</p>
|
590
569
|
<div class="variablelist"><table border="0" class="variablelist">
|
591
570
|
<colgroup>
|
592
571
|
<col align="left" valign="top">
|
@@ -610,13 +589,11 @@ initialized to an small number larger than zero when a new context
|
|
610
589
|
is created and is increased whenever the context is changed using any
|
611
590
|
of the setter functions, or the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> it uses to find fonts has
|
612
591
|
changed. The serial may wrap, but will never have the value 0. Since it
|
613
|
-
can wrap, never compare it with "less than", always use "not equals"
|
614
|
-
</p>
|
592
|
+
can wrap, never compare it with "less than", always use "not equals".</p>
|
615
593
|
<p>
|
616
594
|
This can be used to automatically detect changes to a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, and
|
617
595
|
is only useful when implementing objects that need update when their
|
618
|
-
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> changes, like <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a
|
619
|
-
</p>
|
596
|
+
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> changes, like <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</p>
|
620
597
|
<div class="variablelist"><table border="0" class="variablelist">
|
621
598
|
<colgroup>
|
622
599
|
<col align="left" valign="top">
|
@@ -644,8 +621,7 @@ is only useful when implementing objects that need update when their
|
|
644
621
|
<p>
|
645
622
|
Sets the font map to be searched when fonts are looked-up in this context.
|
646
623
|
This is only for internal use by Pango backends, a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> obtained
|
647
|
-
via one of the recommended methods should already have a suitable font map
|
648
|
-
</p>
|
624
|
+
via one of the recommended methods should already have a suitable font map.</p>
|
649
625
|
<div class="variablelist"><table border="0" class="variablelist">
|
650
626
|
<colgroup>
|
651
627
|
<col align="left" valign="top">
|
@@ -669,8 +645,7 @@ via one of the recommended methods should already have a suitable font map.
|
|
669
645
|
<a name="pango-context-get-font-map"></a><h3>pango_context_get_font_map ()</h3>
|
670
646
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * pango_context_get_font_map (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
671
647
|
<p>
|
672
|
-
Gets the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> used to look up fonts for this context
|
673
|
-
</p>
|
648
|
+
Gets the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> used to look up fonts for this context.</p>
|
674
649
|
<div class="variablelist"><table border="0" class="variablelist">
|
675
650
|
<colgroup>
|
676
651
|
<col align="left" valign="top">
|
@@ -698,8 +673,7 @@ This value is owned by Pango and should not be unreferenced. <span class="annota
|
|
698
673
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_context_get_font_description
|
699
674
|
(<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
700
675
|
<p>
|
701
|
-
Retrieve the default font description for the context
|
702
|
-
</p>
|
676
|
+
Retrieve the default font description for the context.</p>
|
703
677
|
<div class="variablelist"><table border="0" class="variablelist">
|
704
678
|
<colgroup>
|
705
679
|
<col align="left" valign="top">
|
@@ -726,8 +700,7 @@ description. This value must not be modified or freed. <span class="annotation">
|
|
726
700
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_context_set_font_description (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
727
701
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
728
702
|
<p>
|
729
|
-
Set the default font description for the context
|
730
|
-
</p>
|
703
|
+
Set the default font description for the context</p>
|
731
704
|
<div class="variablelist"><table border="0" class="variablelist">
|
732
705
|
<colgroup>
|
733
706
|
<col align="left" valign="top">
|
@@ -751,8 +724,7 @@ Set the default font description for the context
|
|
751
724
|
<a name="pango-context-get-language"></a><h3>pango_context_get_language ()</h3>
|
752
725
|
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * pango_context_get_language (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
753
726
|
<p>
|
754
|
-
Retrieves the global language tag for the context
|
755
|
-
</p>
|
727
|
+
Retrieves the global language tag for the context.</p>
|
756
728
|
<div class="variablelist"><table border="0" class="variablelist">
|
757
729
|
<colgroup>
|
758
730
|
<col align="left" valign="top">
|
@@ -779,8 +751,7 @@ Retrieves the global language tag for the context.
|
|
779
751
|
<p>
|
780
752
|
Sets the global language tag for the context. The default language
|
781
753
|
for the locale of the running process can be found using
|
782
|
-
<a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-default" title="pango_language_get_default ()"><code class="function">pango_language_get_default()</code></a
|
783
|
-
</p>
|
754
|
+
<a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-default" title="pango_language_get_default ()"><code class="function">pango_language_get_default()</code></a>.</p>
|
784
755
|
<div class="variablelist"><table border="0" class="variablelist">
|
785
756
|
<colgroup>
|
786
757
|
<col align="left" valign="top">
|
@@ -805,8 +776,7 @@ for the locale of the running process can be found using
|
|
805
776
|
<pre class="programlisting"><a class="link" href="pango-Bidirectional-Text.html#PangoDirection"><span class="returnvalue">PangoDirection</span></a> pango_context_get_base_dir (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
806
777
|
<p>
|
807
778
|
Retrieves the base direction for the context. See
|
808
|
-
<a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir ()"><code class="function">pango_context_set_base_dir()</code></a
|
809
|
-
</p>
|
779
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir ()"><code class="function">pango_context_set_base_dir()</code></a>.</p>
|
810
780
|
<div class="variablelist"><table border="0" class="variablelist">
|
811
781
|
<colgroup>
|
812
782
|
<col align="left" valign="top">
|
@@ -831,16 +801,14 @@ Retrieves the base direction for the context. See
|
|
831
801
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_context_set_base_dir (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
832
802
|
<em class="parameter"><code><a class="link" href="pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a> direction</code></em>);</pre>
|
833
803
|
<p>
|
834
|
-
Sets the base direction for the context
|
835
|
-
</p>
|
804
|
+
Sets the base direction for the context.</p>
|
836
805
|
<p>
|
837
806
|
The base direction is used in applying the Unicode bidirectional
|
838
807
|
algorithm; if the <em class="parameter"><code>direction</code></em> is <a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-LTR:CAPS"><code class="literal">PANGO_DIRECTION_LTR</code></a> or
|
839
808
|
<a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-RTL:CAPS"><code class="literal">PANGO_DIRECTION_RTL</code></a>, then the value will be used as the paragraph
|
840
809
|
direction in the Unicode bidirectional algorithm. A value of
|
841
810
|
<a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-WEAK-LTR:CAPS"><code class="literal">PANGO_DIRECTION_WEAK_LTR</code></a> or <a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-WEAK-RTL:CAPS"><code class="literal">PANGO_DIRECTION_WEAK_RTL</code></a> is used only
|
842
|
-
for paragraphs that do not contain any strong characters themselves
|
843
|
-
</p>
|
811
|
+
for paragraphs that do not contain any strong characters themselves.</p>
|
844
812
|
<div class="variablelist"><table border="0" class="variablelist">
|
845
813
|
<colgroup>
|
846
814
|
<col align="left" valign="top">
|
@@ -865,8 +833,7 @@ for paragraphs that do not contain any strong characters themselves.
|
|
865
833
|
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="returnvalue">PangoGravity</span></a> pango_context_get_base_gravity (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
866
834
|
<p>
|
867
835
|
Retrieves the base gravity for the context. See
|
868
|
-
<a class="link" href="pango-Text-Processing.html#pango-context-set-base-gravity" title="pango_context_set_base_gravity ()"><code class="function">pango_context_set_base_gravity()</code></a
|
869
|
-
</p>
|
836
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-set-base-gravity" title="pango_context_set_base_gravity ()"><code class="function">pango_context_set_base_gravity()</code></a>.</p>
|
870
837
|
<div class="variablelist"><table border="0" class="variablelist">
|
871
838
|
<colgroup>
|
872
839
|
<col align="left" valign="top">
|
@@ -892,11 +859,9 @@ Retrieves the base gravity for the context. See
|
|
892
859
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_context_set_base_gravity (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
893
860
|
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);</pre>
|
894
861
|
<p>
|
895
|
-
Sets the base gravity for the context
|
896
|
-
</p>
|
862
|
+
Sets the base gravity for the context.</p>
|
897
863
|
<p>
|
898
|
-
The base gravity is used in laying vertical text out
|
899
|
-
</p>
|
864
|
+
The base gravity is used in laying vertical text out.</p>
|
900
865
|
<div class="variablelist"><table border="0" class="variablelist">
|
901
866
|
<colgroup>
|
902
867
|
<col align="left" valign="top">
|
@@ -924,8 +889,7 @@ The base gravity is used in laying vertical text out.
|
|
924
889
|
Retrieves the gravity for the context. This is similar to
|
925
890
|
<a class="link" href="pango-Text-Processing.html#pango-context-get-base-gravity" title="pango_context_get_base_gravity ()"><code class="function">pango_context_get_base_gravity()</code></a>, except for when the base gravity
|
926
891
|
is <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a> for which <a class="link" href="pango-Vertical-Text.html#pango-gravity-get-for-matrix" title="pango_gravity_get_for_matrix ()"><code class="function">pango_gravity_get_for_matrix()</code></a> is used
|
927
|
-
to return the gravity from the current context matrix
|
928
|
-
</p>
|
892
|
+
to return the gravity from the current context matrix.</p>
|
929
893
|
<div class="variablelist"><table border="0" class="variablelist">
|
930
894
|
<colgroup>
|
931
895
|
<col align="left" valign="top">
|
@@ -951,8 +915,7 @@ to return the gravity from the current context matrix.
|
|
951
915
|
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravityHint"><span class="returnvalue">PangoGravityHint</span></a> pango_context_get_gravity_hint (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
952
916
|
<p>
|
953
917
|
Retrieves the gravity hint for the context. See
|
954
|
-
<a class="link" href="pango-Text-Processing.html#pango-context-set-gravity-hint" title="pango_context_set_gravity_hint ()"><code class="function">pango_context_set_gravity_hint()</code></a> for details
|
955
|
-
</p>
|
918
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-set-gravity-hint" title="pango_context_set_gravity_hint ()"><code class="function">pango_context_set_gravity_hint()</code></a> for details.</p>
|
956
919
|
<div class="variablelist"><table border="0" class="variablelist">
|
957
920
|
<colgroup>
|
958
921
|
<col align="left" valign="top">
|
@@ -978,13 +941,11 @@ Retrieves the gravity hint for the context. See
|
|
978
941
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_context_set_gravity_hint (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
979
942
|
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravityHint"><span class="type">PangoGravityHint</span></a> hint</code></em>);</pre>
|
980
943
|
<p>
|
981
|
-
Sets the gravity hint for the context
|
982
|
-
</p>
|
944
|
+
Sets the gravity hint for the context.</p>
|
983
945
|
<p>
|
984
946
|
The gravity hint is used in laying vertical text out, and is only relevant
|
985
947
|
if gravity of the context as returned by <a class="link" href="pango-Text-Processing.html#pango-context-get-gravity" title="pango_context_get_gravity ()"><code class="function">pango_context_get_gravity()</code></a>
|
986
|
-
is set <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-EAST:CAPS"><code class="literal">PANGO_GRAVITY_EAST</code></a> or <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-WEST:CAPS"><code class="literal">PANGO_GRAVITY_WEST</code></a
|
987
|
-
</p>
|
948
|
+
is set <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-EAST:CAPS"><code class="literal">PANGO_GRAVITY_EAST</code></a> or <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-WEST:CAPS"><code class="literal">PANGO_GRAVITY_WEST</code></a>.</p>
|
988
949
|
<div class="variablelist"><table border="0" class="variablelist">
|
989
950
|
<colgroup>
|
990
951
|
<col align="left" valign="top">
|
@@ -1010,8 +971,7 @@ is set <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-EAST:CAPS"><
|
|
1010
971
|
<pre class="programlisting">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * pango_context_get_matrix (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
1011
972
|
<p>
|
1012
973
|
Gets the transformation matrix that will be applied when
|
1013
|
-
rendering with this context. See <a class="link" href="pango-Text-Processing.html#pango-context-set-matrix" title="pango_context_set_matrix ()"><code class="function">pango_context_set_matrix()</code></a
|
1014
|
-
</p>
|
974
|
+
rendering with this context. See <a class="link" href="pango-Text-Processing.html#pango-context-set-matrix" title="pango_context_set_matrix ()"><code class="function">pango_context_set_matrix()</code></a>.</p>
|
1015
975
|
<div class="variablelist"><table border="0" class="variablelist">
|
1016
976
|
<colgroup>
|
1017
977
|
<col align="left" valign="top">
|
@@ -1045,8 +1005,7 @@ with this context. Note that reported metrics are in the user space
|
|
1045
1005
|
coordinates before the application of the matrix, not device-space
|
1046
1006
|
coordinates after the application of the matrix. So, they don't scale
|
1047
1007
|
with the matrix, though they may change slightly for different
|
1048
|
-
matrices, depending on how the text is fit to the pixel grid
|
1049
|
-
</p>
|
1008
|
+
matrices, depending on how the text is fit to the pixel grid.</p>
|
1050
1009
|
<div class="variablelist"><table border="0" class="variablelist">
|
1051
1010
|
<colgroup>
|
1052
1011
|
<col align="left" valign="top">
|
@@ -1075,8 +1034,7 @@ matrix. (No matrix set is the same as setting the identity matrix.). <span class
|
|
1075
1034
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1076
1035
|
<p>
|
1077
1036
|
Loads the font in one of the fontmaps in the context
|
1078
|
-
that is the closest match for <em class="parameter"><code>desc</code></em
|
1079
|
-
</p>
|
1037
|
+
that is the closest match for <em class="parameter"><code>desc</code></em>.</p>
|
1080
1038
|
<div class="variablelist"><table border="0" class="variablelist">
|
1081
1039
|
<colgroup>
|
1082
1040
|
<col align="left" valign="top">
|
@@ -1109,8 +1067,7 @@ was loaded, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local
|
|
1109
1067
|
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
1110
1068
|
<p>
|
1111
1069
|
Load a set of fonts in the context that can be used to render
|
1112
|
-
a font matching <em class="parameter"><code>desc</code></em
|
1113
|
-
</p>
|
1070
|
+
a font matching <em class="parameter"><code>desc</code></em>.</p>
|
1114
1071
|
<div class="variablelist"><table border="0" class="variablelist">
|
1115
1072
|
<colgroup>
|
1116
1073
|
<col align="left" valign="top">
|
@@ -1150,16 +1107,14 @@ Get overall metric information for a particular font
|
|
1150
1107
|
description. Since the metrics may be substantially different for
|
1151
1108
|
different scripts, a language tag can be provided to indicate that
|
1152
1109
|
the metrics should be retrieved that correspond to the script(s)
|
1153
|
-
used by that language
|
1154
|
-
</p>
|
1110
|
+
used by that language.</p>
|
1155
1111
|
<p>
|
1156
1112
|
The <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> is interpreted in the same way as
|
1157
1113
|
by <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>, and the family name may be a comma separated
|
1158
1114
|
list of figures. If characters from multiple of these families
|
1159
1115
|
would be used to render the string, then the returned fonts would
|
1160
1116
|
be a composite of the metrics for the fonts loaded for the
|
1161
|
-
individual families
|
1162
|
-
</p>
|
1117
|
+
individual families.</p>
|
1163
1118
|
<div class="variablelist"><table border="0" class="variablelist">
|
1164
1119
|
<colgroup>
|
1165
1120
|
<col align="left" valign="top">
|
@@ -1201,8 +1156,7 @@ when finished using the object.</td>
|
|
1201
1156
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> ***families</code></em>,
|
1202
1157
|
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);</pre>
|
1203
1158
|
<p>
|
1204
|
-
List all families for a context
|
1205
|
-
</p>
|
1159
|
+
List all families for a context.</p>
|
1206
1160
|
<div class="variablelist"><table border="0" class="variablelist">
|
1207
1161
|
<colgroup>
|
1208
1162
|
<col align="left" valign="top">
|
@@ -1240,8 +1194,7 @@ with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk
|
|
1240
1194
|
<p>
|
1241
1195
|
Determines possible line, word, and character breaks
|
1242
1196
|
for a string of Unicode text with a single analysis. For most
|
1243
|
-
purposes you may want to use <a class="link" href="pango-Text-Processing.html#pango-get-log-attrs" title="pango_get_log_attrs ()"><code class="function">pango_get_log_attrs()</code></a
|
1244
|
-
</p>
|
1197
|
+
purposes you may want to use <a class="link" href="pango-Text-Processing.html#pango-get-log-attrs" title="pango_get_log_attrs ()"><code class="function">pango_get_log_attrs()</code></a>.</p>
|
1245
1198
|
<div class="variablelist"><table border="0" class="variablelist">
|
1246
1199
|
<colgroup>
|
1247
1200
|
<col align="left" valign="top">
|
@@ -1292,8 +1245,7 @@ array must have one <a class="link" href="pango-Text-Processing.html#PangoLogAtt
|
|
1292
1245
|
last position at the end of the text. <em class="parameter"><code>text</code></em> should be an entire
|
1293
1246
|
paragraph; logical attributes can't be computed without context
|
1294
1247
|
(for example you need to see spaces on either side of a word to know
|
1295
|
-
the word is a word)
|
1296
|
-
</p>
|
1248
|
+
the word is a word).</p>
|
1297
1249
|
<div class="variablelist"><table border="0" class="variablelist">
|
1298
1250
|
<colgroup>
|
1299
1251
|
<col align="left" valign="top">
|
@@ -1343,13 +1295,11 @@ delimiter characters, such as a newline, carriage return, carriage
|
|
1343
1295
|
return-newline pair, or Unicode paragraph separator character. The
|
1344
1296
|
index of the run of delimiters is returned in
|
1345
1297
|
<em class="parameter"><code>paragraph_delimiter_index</code></em>. The index of the start of the paragraph
|
1346
|
-
(index after all delimiters) is stored in <em class="parameter"><code>next_paragraph_start</code></em
|
1347
|
-
</p>
|
1298
|
+
(index after all delimiters) is stored in <em class="parameter"><code>next_paragraph_start</code></em>.</p>
|
1348
1299
|
<p>
|
1349
1300
|
If no delimiters are found, both <em class="parameter"><code>paragraph_delimiter_index</code></em> and
|
1350
1301
|
<em class="parameter"><code>next_paragraph_start</code></em> are filled with the length of <em class="parameter"><code>text</code></em> (an index one
|
1351
|
-
off the end)
|
1352
|
-
</p>
|
1302
|
+
off the end).</p>
|
1353
1303
|
<div class="variablelist"><table border="0" class="variablelist">
|
1354
1304
|
<colgroup>
|
1355
1305
|
<col align="left" valign="top">
|
@@ -1394,8 +1344,7 @@ instead. Unlike <a class="link" href="pango-Text-Processing.html#pango-break" ti
|
|
1394
1344
|
<em class="parameter"><code>analysis</code></em> can be <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, but only do that if you know what
|
1395
1345
|
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>,
|
1396
1346
|
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
|
1397
|
-
simply use <a class="link" href="pango-Text-Processing.html#pango-get-log-attrs" title="pango_get_log_attrs ()"><code class="function">pango_get_log_attrs()</code></a
|
1398
|
-
</p>
|
1347
|
+
simply use <a class="link" href="pango-Text-Processing.html#pango-get-log-attrs" title="pango_get_log_attrs ()"><code class="function">pango_get_log_attrs()</code></a>.</p>
|
1399
1348
|
<div class="variablelist"><table border="0" class="variablelist">
|
1400
1349
|
<colgroup>
|
1401
1350
|
<col align="left" valign="top">
|
@@ -1480,8 +1429,7 @@ simply use <a class="link" href="pango-Text-Processing.html#pango-get-log-attrs"
|
|
1480
1429
|
</pre>
|
1481
1430
|
<p>
|
1482
1431
|
The <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> structure stores information
|
1483
|
-
about the attributes of a single character
|
1484
|
-
</p>
|
1432
|
+
about the attributes of a single character.</p>
|
1485
1433
|
<div class="variablelist"><table border="0" class="variablelist">
|
1486
1434
|
<colgroup>
|
1487
1435
|
<col align="left" valign="top">
|
@@ -1588,13 +1536,11 @@ Boundaries</a> semantics. (Since: 1.22)</td>
|
|
1588
1536
|
Given a segment of text and the corresponding
|
1589
1537
|
<a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure returned from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>,
|
1590
1538
|
convert the characters into glyphs. You may also pass
|
1591
|
-
in only a substring of the item from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a
|
1592
|
-
</p>
|
1539
|
+
in only a substring of the item from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>.</p>
|
1593
1540
|
<p>
|
1594
1541
|
It is recommended that you use <a class="link" href="pango-Text-Processing.html#pango-shape-full" title="pango_shape_full ()"><code class="function">pango_shape_full()</code></a> instead, since
|
1595
1542
|
that API allows for shaping interaction happening across text item
|
1596
|
-
boundaries
|
1597
|
-
</p>
|
1543
|
+
boundaries.</p>
|
1598
1544
|
<div class="variablelist"><table border="0" class="variablelist">
|
1599
1545
|
<colgroup>
|
1600
1546
|
<col align="left" valign="top">
|
@@ -1636,15 +1582,13 @@ boundaries.
|
|
1636
1582
|
Given a segment of text and the corresponding
|
1637
1583
|
<a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure returned from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>,
|
1638
1584
|
convert the characters into glyphs. You may also pass
|
1639
|
-
in only a substring of the item from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a
|
1640
|
-
</p>
|
1585
|
+
in only a substring of the item from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>.</p>
|
1641
1586
|
<p>
|
1642
1587
|
This is similar to <a class="link" href="pango-Text-Processing.html#pango-shape" title="pango_shape ()"><code class="function">pango_shape()</code></a>, except it also can optionally take
|
1643
1588
|
the full paragraph text as input, which will then be used to perform
|
1644
1589
|
certain cross-item shaping interactions. If you have access to the broader
|
1645
1590
|
text of which <em class="parameter"><code>item_text</code></em> is part of, provide the broader text as
|
1646
|
-
<em class="parameter"><code>paragraph_text</code></em>. If <em class="parameter"><code>paragraph_text</code></em> is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, item text is used instead
|
1647
|
-
</p>
|
1591
|
+
<em class="parameter"><code>paragraph_text</code></em>. If <em class="parameter"><code>paragraph_text</code></em> is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, item text is used instead.</p>
|
1648
1592
|
<div class="variablelist"><table border="0" class="variablelist">
|
1649
1593
|
<colgroup>
|
1650
1594
|
<col align="left" valign="top">
|
@@ -1684,6 +1628,6 @@ text of which <em class="parameter"><code>item_text</code></em> is part of, prov
|
|
1684
1628
|
</div>
|
1685
1629
|
<div class="footer">
|
1686
1630
|
<hr>
|
1687
|
-
Generated by GTK-Doc V1.19</div>
|
1631
|
+
Generated by GTK-Doc V1.19.1</div>
|
1688
1632
|
</body>
|
1689
1633
|
</html>
|