pango 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +12 -1
- data/lib/1.8/pango.so +0 -0
- data/lib/1.9/pango.so +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/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +14 -1
- data/vendor/local/include/pango-1.0/pango/pango-attributes.h +27 -2
- data/vendor/local/include/pango-1.0/pango/pango-bidi-type.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pango-context.h +2 -1
- data/vendor/local/include/pango-1.0/pango/pango-engine.h +7 -5
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +47 -38
- data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +4 -2
- data/vendor/local/include/pango-1.0/pango/pango-fontset.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-glyph.h +7 -0
- data/vendor/local/include/pango-1.0/pango/pango-gravity.h +14 -0
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +2 -1
- data/vendor/local/include/pango-1.0/pango/pango-matrix.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-script.h +15 -1
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +2 -0
- data/vendor/local/include/pango-1.0/pango/pangocairo.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pangowin32.h +2 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +41 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +41 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +41 -0
- 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-arabic-lang.la +41 -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-basic-win32.la +41 -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/pango/1.8.0/modules/pango-indic-lang.la +41 -0
- data/vendor/local/lib/pkgconfig/pango.pc +5 -4
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +17 -11
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +23 -15
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +18 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +56 -28
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +103 -49
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +32 -20
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +96 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +140 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +54 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +69 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +229 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +157 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +127 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +99 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +129 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +91 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +51 -0
- data/vendor/local/share/gtk-doc/html/pango/{index-1.28.html → api-index-1-28.html} +9 -9
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +42 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +46 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +206 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +170 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +176 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +150 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2965 -0
- data/vendor/local/share/gtk-doc/html/pango/index.html +25 -26
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +36 -37
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +8 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +42 -24
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +222 -123
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +94 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +61 -26
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +34 -19
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +536 -228
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +90 -36
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +291 -130
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +564 -256
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +206 -110
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +32 -17
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +261 -144
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +175 -65
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +89 -52
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +602 -258
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +359 -114
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +27 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +65 -16
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +117 -48
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +127 -61
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +12 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +99 -38
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +77 -17
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +45 -52
- data/vendor/local/share/gtk-doc/html/pango/pango.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +7 -10
- data/vendor/local/share/gtk-doc/html/pango/tools.html +6 -6
- data/vendor/local/share/license/pango/AUTHORS +2 -0
- data/vendor/local/share/{doc/pango-1.29.4 → license/pango}/COPYING +0 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +67 -16
- data/vendor/local/share/man/man1/pango-view.1 +4 -4
- metadata +43 -50
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/include/pango-1.0/pango/pango-ot.h +0 -197
- data/vendor/local/include/pango-1.0/pango/pangofc-decoder.h +0 -110
- data/vendor/local/include/pango-1.0/pango/pangofc-font.h +0 -151
- data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +0 -270
- data/vendor/local/include/pango-1.0/pango/pangoft2.h +0 -112
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/pango-1.0.def +0 -397
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.def +0 -34
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.def +0 -85
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.def +0 -30
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/pangoft2.pc +0 -11
- data/vendor/local/manifest/pango-dev_1.29.4-1_win32.mft +0 -116
- data/vendor/local/manifest/pango_1.29.4-1_win32.mft +0 -8
- data/vendor/local/share/doc/pango-dev-1.29.4/COPYING +0 -482
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +0 -81
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +0 -41
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +0 -47
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +0 -115
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +0 -91
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +0 -73
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +0 -59
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +0 -71
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +0 -59
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +0 -39
- data/vendor/local/share/gtk-doc/html/pango/index-1.30.html +0 -38
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +0 -111
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +0 -91
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +0 -99
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +0 -1514
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +0 -137
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +0 -57
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +0 -1023
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.log +0 -806
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.sh +0 -56
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Scripts and Languages</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
|
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-Layout-Objects.html" title="Layout Objects">
|
10
10
|
<link rel="next" href="pango-Bidirectional-Text.html" title="Bidirectional Text">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.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">
|
@@ -42,7 +42,7 @@
|
|
42
42
|
<a name="PangoScript"></a><a name="PangoLanguage"></a><pre class="synopsis">enum <a class="link" href="pango-Scripts-and-Languages.html#PangoScript-enum" title="enum PangoScript">PangoScript</a>;
|
43
43
|
#define <a class="link" href="pango-Scripts-and-Languages.html#PANGO-TYPE-SCRIPT:CAPS" title="PANGO_TYPE_SCRIPT">PANGO_TYPE_SCRIPT</a>
|
44
44
|
<a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter">PangoScriptIter</a>;
|
45
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="returnvalue">PangoScript</span></a> <a class="link" href="pango-Scripts-and-Languages.html#pango-script-for-unichar" title="pango_script_for_unichar ()">pango_script_for_unichar</a> (<em class="parameter"><code><
|
45
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="returnvalue">PangoScript</span></a> <a class="link" href="pango-Scripts-and-Languages.html#pango-script-for-unichar" title="pango_script_for_unichar ()">pango_script_for_unichar</a> (<em class="parameter"><code><span class="type">gunichar</span> ch</code></em>);
|
46
46
|
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * <a class="link" href="pango-Scripts-and-Languages.html#pango-script-get-sample-language" title="pango_script_get_sample_language ()">pango_script_get_sample_language</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>);
|
47
47
|
<a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="returnvalue">PangoScriptIter</span></a> * <a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-new" title="pango_script_iter_new ()">pango_script_iter_new</a> (<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
48
48
|
<em class="parameter"><code><span class="type">int</span> length</code></em>);
|
@@ -50,15 +50,15 @@
|
|
50
50
|
<em class="parameter"><code>const <span class="type">char</span> **start</code></em>,
|
51
51
|
<em class="parameter"><code>const <span class="type">char</span> **end</code></em>,
|
52
52
|
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> *script</code></em>);
|
53
|
-
<
|
53
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-next" title="pango_script_iter_next ()">pango_script_iter_next</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a> *iter</code></em>);
|
54
54
|
<span class="returnvalue">void</span> <a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-free" title="pango_script_iter_free ()">pango_script_iter_free</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a> *iter</code></em>);
|
55
55
|
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage-struct" title="PangoLanguage">PangoLanguage</a>;
|
56
56
|
#define <a class="link" href="pango-Scripts-and-Languages.html#PANGO-TYPE-LANGUAGE:CAPS" title="PANGO_TYPE_LANGUAGE">PANGO_TYPE_LANGUAGE</a>
|
57
57
|
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * <a class="link" href="pango-Scripts-and-Languages.html#pango-language-from-string" title="pango_language_from_string ()">pango_language_from_string</a> (<em class="parameter"><code>const <span class="type">char</span> *language</code></em>);
|
58
58
|
const <span class="returnvalue">char</span> * <a class="link" href="pango-Scripts-and-Languages.html#pango-language-to-string" title="pango_language_to_string ()">pango_language_to_string</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
59
|
-
<
|
59
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Scripts-and-Languages.html#pango-language-matches" title="pango_language_matches ()">pango_language_matches</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
60
60
|
<em class="parameter"><code>const <span class="type">char</span> *range_list</code></em>);
|
61
|
-
<
|
61
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Scripts-and-Languages.html#pango-language-includes-script" title="pango_language_includes_script ()">pango_language_includes_script</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
62
62
|
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>);
|
63
63
|
const <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="returnvalue">PangoScript</span></a> * <a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-scripts" title="pango_language_get_scripts ()">pango_language_get_scripts</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
64
64
|
<em class="parameter"><code><span class="type">int</span> *num_scripts</code></em>);
|
@@ -177,7 +177,21 @@ and of ranges within a larger text string.
|
|
177
177
|
PANGO_SCRIPT_VAI, /* Vaii */
|
178
178
|
PANGO_SCRIPT_CARIAN, /* Cari */
|
179
179
|
PANGO_SCRIPT_LYCIAN, /* Lyci */
|
180
|
-
PANGO_SCRIPT_LYDIAN
|
180
|
+
PANGO_SCRIPT_LYDIAN, /* Lydi */
|
181
|
+
|
182
|
+
/* Unicode-6.0 additions */
|
183
|
+
PANGO_SCRIPT_BATAK, /* Batk */
|
184
|
+
PANGO_SCRIPT_BRAHMI, /* Brah */
|
185
|
+
PANGO_SCRIPT_MANDAIC, /* Mand */
|
186
|
+
|
187
|
+
/* Unicode-6.1 additions */
|
188
|
+
PANGO_SCRIPT_CHAKMA, /* Cakm */
|
189
|
+
PANGO_SCRIPT_MEROITIC_CURSIVE, /* Merc */
|
190
|
+
PANGO_SCRIPT_MEROITIC_HIEROGLYPHS,/* Mero */
|
191
|
+
PANGO_SCRIPT_MIAO, /* Plrd */
|
192
|
+
PANGO_SCRIPT_SHARADA, /* Shrd */
|
193
|
+
PANGO_SCRIPT_SORA_SOMPENG, /* Sora */
|
194
|
+
PANGO_SCRIPT_TAKRI /* Takr */
|
181
195
|
} PangoScript;
|
182
196
|
</pre>
|
183
197
|
<p>
|
@@ -186,11 +200,14 @@ systems. The values correspond to the names as defined in the
|
|
186
200
|
Unicode standard.
|
187
201
|
Note that new types may be added in the future. Applications should be ready
|
188
202
|
to handle unknown values. This enumeration is interchangeable with
|
189
|
-
<
|
203
|
+
<span class="type">GUnicodeScript</span>. See <a class="ulink" href="http://www.unicode.org/reports/tr24/" target="_top">Unicode Standard Annex
|
190
204
|
#24: Script names</a>.
|
191
205
|
</p>
|
192
|
-
<div class="variablelist"><table border="0">
|
206
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
207
|
+
<colgroup>
|
193
208
|
<col align="left" valign="top">
|
209
|
+
<col>
|
210
|
+
</colgroup>
|
194
211
|
<tbody>
|
195
212
|
<tr>
|
196
213
|
<td><p><a name="PANGO-SCRIPT-INVALID-CODE:CAPS"></a><span class="term"><code class="literal">PANGO_SCRIPT_INVALID_CODE</code></span></p></td>
|
@@ -588,16 +605,66 @@ to handle unknown values. This enumeration is interchangeable with
|
|
588
605
|
<td> Lydian. Since 1.20.1
|
589
606
|
</td>
|
590
607
|
</tr>
|
608
|
+
<tr>
|
609
|
+
<td><p><a name="PANGO-SCRIPT-BATAK:CAPS"></a><span class="term"><code class="literal">PANGO_SCRIPT_BATAK</code></span></p></td>
|
610
|
+
<td> Batak. Since 1.32
|
611
|
+
</td>
|
612
|
+
</tr>
|
613
|
+
<tr>
|
614
|
+
<td><p><a name="PANGO-SCRIPT-BRAHMI:CAPS"></a><span class="term"><code class="literal">PANGO_SCRIPT_BRAHMI</code></span></p></td>
|
615
|
+
<td> Brahmi. Since 1.32
|
616
|
+
</td>
|
617
|
+
</tr>
|
618
|
+
<tr>
|
619
|
+
<td><p><a name="PANGO-SCRIPT-MANDAIC:CAPS"></a><span class="term"><code class="literal">PANGO_SCRIPT_MANDAIC</code></span></p></td>
|
620
|
+
<td> Mandaic. Since 1.32
|
621
|
+
</td>
|
622
|
+
</tr>
|
623
|
+
<tr>
|
624
|
+
<td><p><a name="PANGO-SCRIPT-CHAKMA:CAPS"></a><span class="term"><code class="literal">PANGO_SCRIPT_CHAKMA</code></span></p></td>
|
625
|
+
<td> Chakma. Since: 1.32
|
626
|
+
</td>
|
627
|
+
</tr>
|
628
|
+
<tr>
|
629
|
+
<td><p><a name="PANGO-SCRIPT-MEROITIC-CURSIVE:CAPS"></a><span class="term"><code class="literal">PANGO_SCRIPT_MEROITIC_CURSIVE</code></span></p></td>
|
630
|
+
<td> Meroitic Cursive. Since: 1.32
|
631
|
+
</td>
|
632
|
+
</tr>
|
633
|
+
<tr>
|
634
|
+
<td><p><a name="PANGO-SCRIPT-MEROITIC-HIEROGLYPHS:CAPS"></a><span class="term"><code class="literal">PANGO_SCRIPT_MEROITIC_HIEROGLYPHS</code></span></p></td>
|
635
|
+
<td>Meroitic Hieroglyphs. Since: 1.32
|
636
|
+
</td>
|
637
|
+
</tr>
|
638
|
+
<tr>
|
639
|
+
<td><p><a name="PANGO-SCRIPT-MIAO:CAPS"></a><span class="term"><code class="literal">PANGO_SCRIPT_MIAO</code></span></p></td>
|
640
|
+
<td> Miao. Since: 1.32
|
641
|
+
</td>
|
642
|
+
</tr>
|
643
|
+
<tr>
|
644
|
+
<td><p><a name="PANGO-SCRIPT-SHARADA:CAPS"></a><span class="term"><code class="literal">PANGO_SCRIPT_SHARADA</code></span></p></td>
|
645
|
+
<td> Sharada. Since: 1.32
|
646
|
+
</td>
|
647
|
+
</tr>
|
648
|
+
<tr>
|
649
|
+
<td><p><a name="PANGO-SCRIPT-SORA-SOMPENG:CAPS"></a><span class="term"><code class="literal">PANGO_SCRIPT_SORA_SOMPENG</code></span></p></td>
|
650
|
+
<td> Sora Sompeng. Since: 1.32
|
651
|
+
</td>
|
652
|
+
</tr>
|
653
|
+
<tr>
|
654
|
+
<td><p><a name="PANGO-SCRIPT-TAKRI:CAPS"></a><span class="term"><code class="literal">PANGO_SCRIPT_TAKRI</code></span></p></td>
|
655
|
+
<td> Takri. Since: 1.32
|
656
|
+
</td>
|
657
|
+
</tr>
|
591
658
|
</tbody>
|
592
659
|
</table></div>
|
593
660
|
</div>
|
594
661
|
<hr>
|
595
662
|
<div class="refsect2">
|
596
663
|
<a name="PANGO-TYPE-SCRIPT:CAPS"></a><h3>PANGO_TYPE_SCRIPT</h3>
|
597
|
-
<pre class="programlisting">#define PANGO_TYPE_SCRIPT (pango_script_get_type())
|
664
|
+
<pre class="programlisting">#define PANGO_TYPE_SCRIPT (pango_script_get_type ())
|
598
665
|
</pre>
|
599
666
|
<p>
|
600
|
-
The <
|
667
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a>
|
601
668
|
</p>
|
602
669
|
</div>
|
603
670
|
<hr>
|
@@ -612,7 +679,7 @@ and identify ranges in different scripts.
|
|
612
679
|
<hr>
|
613
680
|
<div class="refsect2">
|
614
681
|
<a name="pango-script-for-unichar"></a><h3>pango_script_for_unichar ()</h3>
|
615
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="returnvalue">PangoScript</span></a> pango_script_for_unichar (<em class="parameter"><code><
|
682
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="returnvalue">PangoScript</span></a> pango_script_for_unichar (<em class="parameter"><code><span class="type">gunichar</span> ch</code></em>);</pre>
|
616
683
|
<p>
|
617
684
|
Looks up the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> for a particular character (as defined by
|
618
685
|
Unicode Standard Annex <span class="type">24</span>). No check is made for <em class="parameter"><code>ch</code></em> being a
|
@@ -621,10 +688,13 @@ result is undefined.
|
|
621
688
|
</p>
|
622
689
|
<p>
|
623
690
|
As of Pango 1.18, this function simply returns the return value of
|
624
|
-
<
|
691
|
+
<code class="function">g_unichar_get_script()</code>.
|
625
692
|
</p>
|
626
|
-
<div class="variablelist"><table border="0">
|
693
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
694
|
+
<colgroup>
|
627
695
|
<col align="left" valign="top">
|
696
|
+
<col>
|
697
|
+
</colgroup>
|
628
698
|
<tbody>
|
629
699
|
<tr>
|
630
700
|
<td><p><span class="term"><em class="parameter"><code>ch</code></em> :</span></p></td>
|
@@ -676,8 +746,11 @@ in an otherwise non-Arabic text. The same trick can be used to
|
|
676
746
|
choose a default language for <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-HAN:CAPS"><code class="literal">PANGO_SCRIPT_HAN</code></a> when setting
|
677
747
|
context language is not feasible.
|
678
748
|
</p>
|
679
|
-
<div class="variablelist"><table border="0">
|
749
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
750
|
+
<colgroup>
|
680
751
|
<col align="left" valign="top">
|
752
|
+
<col>
|
753
|
+
</colgroup>
|
681
754
|
<tbody>
|
682
755
|
<tr>
|
683
756
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
@@ -687,7 +760,7 @@ context language is not feasible.
|
|
687
760
|
<tr>
|
688
761
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
689
762
|
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> that is representative
|
690
|
-
of the script, or <a href="/
|
763
|
+
of the script, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if no such language exists.</td>
|
691
764
|
</tr>
|
692
765
|
</tbody>
|
693
766
|
</table></div>
|
@@ -704,8 +777,11 @@ Unicode into runs by text. No copy is made of <em class="parameter"><code>text</
|
|
704
777
|
the caller needs to make sure it remains valid until
|
705
778
|
the iterator is freed with <a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-free" title="pango_script_iter_free ()"><code class="function">pango_script_iter_free()</code></a>.
|
706
779
|
</p>
|
707
|
-
<div class="variablelist"><table border="0">
|
780
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
781
|
+
<colgroup>
|
708
782
|
<col align="left" valign="top">
|
783
|
+
<col>
|
784
|
+
</colgroup>
|
709
785
|
<tbody>
|
710
786
|
<tr>
|
711
787
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
@@ -738,8 +814,11 @@ Gets information about the range to which <em class="parameter"><code>iter</code
|
|
738
814
|
The range is the set of locations p where *start <= p < *end.
|
739
815
|
(That is, it doesn't include the character stored at *end)
|
740
816
|
</p>
|
741
|
-
<div class="variablelist"><table border="0">
|
817
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
818
|
+
<colgroup>
|
742
819
|
<col align="left" valign="top">
|
820
|
+
<col>
|
821
|
+
</colgroup>
|
743
822
|
<tbody>
|
744
823
|
<tr>
|
745
824
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -748,17 +827,17 @@ The range is the set of locations p where *start <= p < *end.
|
|
748
827
|
</tr>
|
749
828
|
<tr>
|
750
829
|
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
|
751
|
-
<td>location to store start position of the range, or <a href="/
|
830
|
+
<td>location to store start position of the range, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
752
831
|
</td>
|
753
832
|
</tr>
|
754
833
|
<tr>
|
755
834
|
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
|
756
|
-
<td>location to store end position of the range, or <a href="/
|
835
|
+
<td>location to store end position of the range, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
757
836
|
</td>
|
758
837
|
</tr>
|
759
838
|
<tr>
|
760
839
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
761
|
-
<td>location to store script for range, or <a href="/
|
840
|
+
<td>location to store script for range, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
762
841
|
</td>
|
763
842
|
</tr>
|
764
843
|
</tbody>
|
@@ -768,14 +847,17 @@ The range is the set of locations p where *start <= p < *end.
|
|
768
847
|
<hr>
|
769
848
|
<div class="refsect2">
|
770
849
|
<a name="pango-script-iter-next"></a><h3>pango_script_iter_next ()</h3>
|
771
|
-
<pre class="programlisting"><
|
850
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_script_iter_next (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a> *iter</code></em>);</pre>
|
772
851
|
<p>
|
773
852
|
Advances a <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a> to the next range. If <em class="parameter"><code>iter</code></em>
|
774
|
-
is already at the end, it is left unchanged and <
|
853
|
+
is already at the end, it is left unchanged and <code class="literal">FALSE</code>
|
775
854
|
is returned.
|
776
855
|
</p>
|
777
|
-
<div class="variablelist"><table border="0">
|
856
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
857
|
+
<colgroup>
|
778
858
|
<col align="left" valign="top">
|
859
|
+
<col>
|
860
|
+
</colgroup>
|
779
861
|
<tbody>
|
780
862
|
<tr>
|
781
863
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -785,7 +867,7 @@ is returned.
|
|
785
867
|
<tr>
|
786
868
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
787
869
|
<td>
|
788
|
-
<
|
870
|
+
<code class="literal">TRUE</code> if <em class="parameter"><code>iter</code></em> was successfully advanced.</td>
|
789
871
|
</tr>
|
790
872
|
</tbody>
|
791
873
|
</table></div>
|
@@ -798,8 +880,11 @@ is returned.
|
|
798
880
|
<p>
|
799
881
|
Frees a <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a> created with <a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-new" title="pango_script_iter_new ()"><code class="function">pango_script_iter_new()</code></a>.
|
800
882
|
</p>
|
801
|
-
<div class="variablelist"><table border="0">
|
883
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
884
|
+
<colgroup>
|
802
885
|
<col align="left" valign="top">
|
886
|
+
<col>
|
887
|
+
</colgroup>
|
803
888
|
<tbody><tr>
|
804
889
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
805
890
|
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a>
|
@@ -827,7 +912,7 @@ copied and compared with each other.
|
|
827
912
|
<pre class="programlisting">#define PANGO_TYPE_LANGUAGE (pango_language_get_type ())
|
828
913
|
</pre>
|
829
914
|
<p>
|
830
|
-
The <
|
915
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>.
|
831
916
|
</p>
|
832
917
|
</div>
|
833
918
|
<hr>
|
@@ -849,19 +934,24 @@ than letters and '-'.
|
|
849
934
|
Use <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> if you want to get the <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> for
|
850
935
|
the current locale of the process.
|
851
936
|
</p>
|
852
|
-
<div class="variablelist"><table border="0">
|
937
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
938
|
+
<colgroup>
|
853
939
|
<col align="left" valign="top">
|
940
|
+
<col>
|
941
|
+
</colgroup>
|
854
942
|
<tbody>
|
855
943
|
<tr>
|
856
944
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
857
|
-
<td>a string representing a language tag, or <a href="/
|
945
|
+
<td>a string representing a language tag, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
858
946
|
</td>
|
859
947
|
</tr>
|
860
948
|
<tr>
|
861
949
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
862
|
-
<td>an opaque pointer to a
|
863
|
-
|
864
|
-
|
950
|
+
<td>an opaque pointer to a
|
951
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> structure, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>language</code></em> was
|
952
|
+
<a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. The returned pointer will be valid forever
|
953
|
+
after, and should not be freed. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
954
|
+
</td>
|
865
955
|
</tr>
|
866
956
|
</tbody>
|
867
957
|
</table></div>
|
@@ -873,8 +963,11 @@ forever after, and should not be freed.</td>
|
|
873
963
|
<p>
|
874
964
|
Gets the RFC-3066 format string representing the given language tag.
|
875
965
|
</p>
|
876
|
-
<div class="variablelist"><table border="0">
|
966
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
967
|
+
<colgroup>
|
877
968
|
<col align="left" valign="top">
|
969
|
+
<col>
|
970
|
+
</colgroup>
|
878
971
|
<tbody>
|
879
972
|
<tr>
|
880
973
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
@@ -891,7 +984,7 @@ Pango and should not be freed.</td>
|
|
891
984
|
<hr>
|
892
985
|
<div class="refsect2">
|
893
986
|
<a name="pango-language-matches"></a><h3>pango_language_matches ()</h3>
|
894
|
-
<pre class="programlisting"><
|
987
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_language_matches (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
895
988
|
<em class="parameter"><code>const <span class="type">char</span> *range_list</code></em>);</pre>
|
896
989
|
<p>
|
897
990
|
Checks if a language tag matches one of the elements in a list of
|
@@ -900,13 +993,16 @@ in the list if the range is '*', the range is exactly the tag,
|
|
900
993
|
or the range is a prefix of the tag, and the character after it
|
901
994
|
in the tag is '-'.
|
902
995
|
</p>
|
903
|
-
<div class="variablelist"><table border="0">
|
996
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
997
|
+
<colgroup>
|
904
998
|
<col align="left" valign="top">
|
999
|
+
<col>
|
1000
|
+
</colgroup>
|
905
1001
|
<tbody>
|
906
1002
|
<tr>
|
907
1003
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
908
1004
|
<td>a language tag (see <a class="link" href="pango-Scripts-and-Languages.html#pango-language-from-string" title="pango_language_from_string ()"><code class="function">pango_language_from_string()</code></a>),
|
909
|
-
<a href="/
|
1005
|
+
<a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> is allowed and matches nothing but '*'</td>
|
910
1006
|
</tr>
|
911
1007
|
<tr>
|
912
1008
|
<td><p><span class="term"><em class="parameter"><code>range_list</code></em> :</span></p></td>
|
@@ -919,7 +1015,7 @@ canonicalized as by <a class="link" href="pango-Scripts-and-Languages.html#pango
|
|
919
1015
|
<tr>
|
920
1016
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
921
1017
|
<td>
|
922
|
-
<
|
1018
|
+
<code class="literal">TRUE</code> if a match was found.</td>
|
923
1019
|
</tr>
|
924
1020
|
</tbody>
|
925
1021
|
</table></div>
|
@@ -927,13 +1023,13 @@ canonicalized as by <a class="link" href="pango-Scripts-and-Languages.html#pango
|
|
927
1023
|
<hr>
|
928
1024
|
<div class="refsect2">
|
929
1025
|
<a name="pango-language-includes-script"></a><h3>pango_language_includes_script ()</h3>
|
930
|
-
<pre class="programlisting"><
|
1026
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_language_includes_script (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
931
1027
|
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>);</pre>
|
932
1028
|
<p>
|
933
1029
|
Determines if <em class="parameter"><code>script</code></em> is one of the scripts used to
|
934
1030
|
write <em class="parameter"><code>language</code></em>. The returned value is conservative;
|
935
1031
|
if nothing is known about the language tag <em class="parameter"><code>language</code></em>,
|
936
|
-
<
|
1032
|
+
<code class="literal">TRUE</code> will be returned, since, as far as Pango knows,
|
937
1033
|
<em class="parameter"><code>script</code></em> might be used to write <em class="parameter"><code>language</code></em>.
|
938
1034
|
</p>
|
939
1035
|
<p>
|
@@ -945,12 +1041,15 @@ applications in most circumstances.
|
|
945
1041
|
<p>
|
946
1042
|
This function uses <a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-scripts" title="pango_language_get_scripts ()"><code class="function">pango_language_get_scripts()</code></a> internally.
|
947
1043
|
</p>
|
948
|
-
<div class="variablelist"><table border="0">
|
1044
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1045
|
+
<colgroup>
|
949
1046
|
<col align="left" valign="top">
|
1047
|
+
<col>
|
1048
|
+
</colgroup>
|
950
1049
|
<tbody>
|
951
1050
|
<tr>
|
952
1051
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
953
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="/
|
1052
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
954
1053
|
</td>
|
955
1054
|
</tr>
|
956
1055
|
<tr>
|
@@ -961,10 +1060,10 @@ This function uses <a class="link" href="pango-Scripts-and-Languages.html#pango-
|
|
961
1060
|
<tr>
|
962
1061
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
963
1062
|
<td>
|
964
|
-
<
|
1063
|
+
<code class="literal">TRUE</code> if <em class="parameter"><code>script</code></em> is one of the scripts used
|
965
1064
|
to write <em class="parameter"><code>language</code></em> or if nothing is known about <em class="parameter"><code>language</code></em>
|
966
|
-
(including the case that <em class="parameter"><code>language</code></em> is <a href="/
|
967
|
-
<
|
1065
|
+
(including the case that <em class="parameter"><code>language</code></em> is <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>),
|
1066
|
+
<code class="literal">FALSE</code> otherwise.</td>
|
968
1067
|
</tr>
|
969
1068
|
</tbody>
|
970
1069
|
</table></div>
|
@@ -978,13 +1077,13 @@ to write <em class="parameter"><code>language</code></em> or if nothing is known
|
|
978
1077
|
<p>
|
979
1078
|
Determines the scripts used to to write <em class="parameter"><code>language</code></em>.
|
980
1079
|
If nothing is known about the language tag <em class="parameter"><code>language</code></em>,
|
981
|
-
or if <em class="parameter"><code>language</code></em> is <a href="/
|
1080
|
+
or if <em class="parameter"><code>language</code></em> is <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, then <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> is returned.
|
982
1081
|
The list of scripts returned starts with the script that the
|
983
1082
|
language uses most and continues to the one it uses least.
|
984
1083
|
</p>
|
985
1084
|
<p>
|
986
1085
|
The value <em class="parameter"><code>num_script</code></em> points at will be set to the number
|
987
|
-
of scripts in the returned array (or zero if <a href="/
|
1086
|
+
of scripts in the returned array (or zero if <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> is returned).
|
988
1087
|
</p>
|
989
1088
|
<p>
|
990
1089
|
Most languages use only one script for writing, but there are
|
@@ -992,34 +1091,38 @@ some that use two (Latin and Cyrillic for example), and a few
|
|
992
1091
|
use three (Japanese for example). Applications should not make
|
993
1092
|
any assumptions on the maximum number of scripts returned
|
994
1093
|
though, except that it is positive if the return value is not
|
995
|
-
<a href="/
|
1094
|
+
<a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, and it is a small number.
|
996
1095
|
</p>
|
997
1096
|
<p>
|
998
1097
|
The <a class="link" href="pango-Scripts-and-Languages.html#pango-language-includes-script" title="pango_language_includes_script ()"><code class="function">pango_language_includes_script()</code></a> function uses this function
|
999
1098
|
internally.
|
1000
1099
|
</p>
|
1001
|
-
<div class="variablelist"><table border="0">
|
1100
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1101
|
+
<colgroup>
|
1002
1102
|
<col align="left" valign="top">
|
1103
|
+
<col>
|
1104
|
+
</colgroup>
|
1003
1105
|
<tbody>
|
1004
1106
|
<tr>
|
1005
1107
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
1006
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="/
|
1108
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1007
1109
|
</td>
|
1008
1110
|
</tr>
|
1009
1111
|
<tr>
|
1010
1112
|
<td><p><span class="term"><em class="parameter"><code>num_scripts</code></em> :</span></p></td>
|
1011
1113
|
<td>location to return number of scripts,
|
1012
|
-
or <a href="/
|
1114
|
+
or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1013
1115
|
</td>
|
1014
1116
|
</tr>
|
1015
1117
|
<tr>
|
1016
1118
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1017
|
-
<td>An array of <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a>
|
1018
|
-
number of entries in the array stored in
|
1019
|
-
<a href="/
|
1020
|
-
particular language tag (also the case if <em class="parameter"><code>language</code></em> is <a href="/
|
1021
|
-
The returned array is owned by Pango and should not be modified
|
1022
|
-
|
1119
|
+
<td>An array of <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a>
|
1120
|
+
values, with the number of entries in the array stored in
|
1121
|
+
<em class="parameter"><code>num_scripts</code></em>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if Pango does not have any information about
|
1122
|
+
this particular language tag (also the case if <em class="parameter"><code>language</code></em> is <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>).
|
1123
|
+
The returned array is owned by Pango and should not be modified or
|
1124
|
+
freed. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_scripts]</span>
|
1125
|
+
</td>
|
1023
1126
|
</tr>
|
1024
1127
|
</tbody>
|
1025
1128
|
</table></div>
|
@@ -1047,7 +1150,7 @@ Brazil.
|
|
1047
1150
|
On Windows, the C library does not use any such environment
|
1048
1151
|
variables, and setting them won't affect the behavior of functions
|
1049
1152
|
like <code class="function">ctime()</code>. The user sets the locale through the Regional Options
|
1050
|
-
in the Control Panel. The C library (in the <
|
1153
|
+
in the Control Panel. The C library (in the <code class="function">setlocale()</code> function)
|
1051
1154
|
does not use country and language codes, but country and language
|
1052
1155
|
names spelled out in English.
|
1053
1156
|
However, this function does check the above environment
|
@@ -1057,15 +1160,19 @@ either said environment variables or the thread's current locale.
|
|
1057
1160
|
<p>
|
1058
1161
|
Your application should call <code class="literal">setlocale(LC_ALL, "");</code>
|
1059
1162
|
for the user settings to take effect. Gtk+ does this in its initialization
|
1060
|
-
functions automatically (by calling <a href="http://library.gnome.org/devel/gtk3/
|
1163
|
+
functions automatically (by calling <a href="http://library.gnome.org/devel/gtk3/gtk2-General.html#gtk-set-locale"><code class="function">gtk_set_locale()</code></a>).
|
1061
1164
|
See <code class="literal">man setlocale</code> for more details.
|
1062
1165
|
</p>
|
1063
|
-
<div class="variablelist"><table border="0">
|
1166
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1167
|
+
<colgroup>
|
1064
1168
|
<col align="left" valign="top">
|
1169
|
+
<col>
|
1170
|
+
</colgroup>
|
1065
1171
|
<tbody><tr>
|
1066
1172
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1067
|
-
<td>the default language as a
|
1068
|
-
freed
|
1173
|
+
<td>the default language as a
|
1174
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, must not be freed. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1175
|
+
</td>
|
1069
1176
|
</tr></tbody>
|
1070
1177
|
</table></div>
|
1071
1178
|
<p class="since">Since 1.16</p>
|
@@ -1085,7 +1192,7 @@ feature requirements unique to the language. It is suitable for use
|
|
1085
1192
|
as sample text in a font selection dialog.
|
1086
1193
|
</p>
|
1087
1194
|
<p>
|
1088
|
-
If <em class="parameter"><code>language</code></em> is <a href="/
|
1195
|
+
If <em class="parameter"><code>language</code></em> is <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, the default language as found by
|
1089
1196
|
<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> is used.
|
1090
1197
|
</p>
|
1091
1198
|
<p>
|
@@ -1107,12 +1214,15 @@ language code "xx". That is, compare to:
|
|
1107
1214
|
|
1108
1215
|
<p>
|
1109
1216
|
</p>
|
1110
|
-
<div class="variablelist"><table border="0">
|
1217
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1218
|
+
<colgroup>
|
1111
1219
|
<col align="left" valign="top">
|
1220
|
+
<col>
|
1221
|
+
</colgroup>
|
1112
1222
|
<tbody>
|
1113
1223
|
<tr>
|
1114
1224
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
1115
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="/
|
1225
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1116
1226
|
</td>
|
1117
1227
|
</tr>
|
1118
1228
|
<tr>
|
@@ -1127,6 +1237,6 @@ and should not be freed.</td>
|
|
1127
1237
|
</div>
|
1128
1238
|
<div class="footer">
|
1129
1239
|
<hr>
|
1130
|
-
Generated by GTK-Doc V1.18</div>
|
1240
|
+
Generated by GTK-Doc V1.18.1</div>
|
1131
1241
|
</body>
|
1132
1242
|
</html>
|