pango 3.0.8-x64-mingw32 → 3.0.9-x64-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.
- checksums.yaml +4 -4
- data/Rakefile +3 -3
- data/ext/pango/rbpangoattribute.c +7 -0
- data/ext/pango/rbpangoattrlist.c +2 -2
- data/ext/pango/rbpangocontext.c +49 -14
- data/ext/pango/rbpangoglyphinfo.c +5 -5
- data/lib/2.2/pango.so +0 -0
- data/lib/2.3/pango.so +0 -0
- data/test/test-context.rb +113 -0
- data/vendor/local/bin/genrb.exe +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/makeconv.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/include/harfbuzz/hb-common.h +16 -6
- data/vendor/local/include/harfbuzz/hb-unicode.h +0 -15
- data/vendor/local/include/harfbuzz/hb-version.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +3 -3
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +3 -3
- data/vendor/local/lib/libicudt.dll.a +0 -0
- data/vendor/local/lib/libicuin.dll.a +0 -0
- data/vendor/local/lib/libicuio.dll.a +0 -0
- data/vendor/local/lib/libicule.dll.a +0 -0
- data/vendor/local/lib/libiculx.dll.a +0 -0
- data/vendor/local/lib/libicutest.dll.a +0 -0
- data/vendor/local/lib/libicutu.dll.a +0 -0
- data/vendor/local/lib/libicuuc.dll.a +0 -0
- 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/pkgconfig/harfbuzz-icu.pc +1 -1
- 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/adding-text-to-the-buffer.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +7 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-10.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-11.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-2.html +32 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-20.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-22.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-28.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-30.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-31.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-38.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-39.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-41.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-42.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-5.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-7.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-8.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-0-5.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-2.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-3.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/buffers-language-script-and-direction.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/building.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch07.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/customizing-unicode-functions.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/fonts-and-faces.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Buffers.html +27 -26
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +17 -21
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +10 -9
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +43 -12
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +11 -10
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +61 -54
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-font.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-shape.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +9 -8
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +9 -8
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +7 -261
- data/vendor/local/share/gtk-doc/html/harfbuzz/hello-harfbuzz.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +3 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +601 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/install-harfbuzz.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/plans-and-caching.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt01.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +6 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/setting-buffer-properties.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/shaping-and-shape-plans.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +142 -160
- data/vendor/local/share/gtk-doc/html/harfbuzz/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/using-harfbuzzs-native-opentype-implementation.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/using-your-own-font-functions.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/what-about-the-other-scripts.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/what-is-harfbuzz.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html +5 -4
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +10 -10
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +8 -8
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +27 -27
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +57 -57
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +53 -53
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-40.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +24 -24
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +107 -107
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +31 -31
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +15 -15
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +380 -390
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +37 -37
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +219 -219
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +295 -295
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +108 -108
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +15 -15
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +142 -142
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +85 -85
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +63 -63
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +340 -340
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +163 -163
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +11 -11
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +24 -24
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +54 -54
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +57 -57
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +7 -7
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +200 -41
- data/vendor/local/share/gtk-doc/html/pango/pango.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -1
- metadata +7 -6
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +0 -1204
@@ -8,7 +8,7 @@
|
|
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.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.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">
|
@@ -41,10 +41,6 @@
|
|
41
41
|
</colgroup>
|
42
42
|
<tbody>
|
43
43
|
<tr>
|
44
|
-
<td class="define_keyword">#define</td>
|
45
|
-
<td class="function_name"><a class="link" href="pango-Scripts-and-Languages.html#PANGO-TYPE-SCRIPT:CAPS" title="PANGO_TYPE_SCRIPT">PANGO_TYPE_SCRIPT</a></td>
|
46
|
-
</tr>
|
47
|
-
<tr>
|
48
44
|
<td class="function_type">
|
49
45
|
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="returnvalue">PangoScript</span></a>
|
50
46
|
</td>
|
@@ -78,7 +74,7 @@
|
|
78
74
|
</tr>
|
79
75
|
<tr>
|
80
76
|
<td class="function_type">
|
81
|
-
<a href="
|
77
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
82
78
|
</td>
|
83
79
|
<td class="function_name">
|
84
80
|
<a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-next" title="pango_script_iter_next ()">pango_script_iter_next</a> <span class="c_punctuation">()</span>
|
@@ -93,10 +89,6 @@
|
|
93
89
|
</td>
|
94
90
|
</tr>
|
95
91
|
<tr>
|
96
|
-
<td class="define_keyword">#define</td>
|
97
|
-
<td class="function_name"><a class="link" href="pango-Scripts-and-Languages.html#PANGO-TYPE-LANGUAGE:CAPS" title="PANGO_TYPE_LANGUAGE">PANGO_TYPE_LANGUAGE</a></td>
|
98
|
-
</tr>
|
99
|
-
<tr>
|
100
92
|
<td class="function_type">
|
101
93
|
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *
|
102
94
|
</td>
|
@@ -113,7 +105,7 @@
|
|
113
105
|
</tr>
|
114
106
|
<tr>
|
115
107
|
<td class="function_type">
|
116
|
-
<a href="
|
108
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
117
109
|
</td>
|
118
110
|
<td class="function_name">
|
119
111
|
<a class="link" href="pango-Scripts-and-Languages.html#pango-language-matches" title="pango_language_matches ()">pango_language_matches</a> <span class="c_punctuation">()</span>
|
@@ -121,7 +113,7 @@
|
|
121
113
|
</tr>
|
122
114
|
<tr>
|
123
115
|
<td class="function_type">
|
124
|
-
<a href="
|
116
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
125
117
|
</td>
|
126
118
|
<td class="function_name">
|
127
119
|
<a class="link" href="pango-Scripts-and-Languages.html#pango-language-includes-script" title="pango_language_includes_script ()">pango_language_includes_script</a> <span class="c_punctuation">()</span>
|
@@ -165,6 +157,10 @@
|
|
165
157
|
<td class="function_name"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript">PangoScript</a></td>
|
166
158
|
</tr>
|
167
159
|
<tr>
|
160
|
+
<td class="define_keyword">#define</td>
|
161
|
+
<td class="function_name"><a class="link" href="pango-Scripts-and-Languages.html#PANGO-TYPE-SCRIPT:CAPS" title="PANGO_TYPE_SCRIPT">PANGO_TYPE_SCRIPT</a></td>
|
162
|
+
</tr>
|
163
|
+
<tr>
|
168
164
|
<td class="datatype_keyword"> </td>
|
169
165
|
<td class="function_name"><a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter">PangoScriptIter</a></td>
|
170
166
|
</tr>
|
@@ -172,14 +168,18 @@
|
|
172
168
|
<td class="datatype_keyword"> </td>
|
173
169
|
<td class="function_name"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage-struct" title="PangoLanguage">PangoLanguage</a></td>
|
174
170
|
</tr>
|
171
|
+
<tr>
|
172
|
+
<td class="define_keyword">#define</td>
|
173
|
+
<td class="function_name"><a class="link" href="pango-Scripts-and-Languages.html#PANGO-TYPE-LANGUAGE:CAPS" title="PANGO_TYPE_LANGUAGE">PANGO_TYPE_LANGUAGE</a></td>
|
174
|
+
</tr>
|
175
175
|
</tbody>
|
176
176
|
</table></div>
|
177
177
|
</div>
|
178
178
|
<div class="refsect1">
|
179
179
|
<a name="pango-Scripts-and-Languages.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
180
|
-
<pre class="screen"> <a href="
|
180
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Boxed-Types.html">GBoxed</a>
|
181
181
|
<span class="lineart">╰──</span> PangoLanguage
|
182
|
-
<a href="
|
182
|
+
<a href="https://developer.gnome.org/gobject/unstable/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
|
183
183
|
<span class="lineart">╰──</span> PangoScript
|
184
184
|
</pre>
|
185
185
|
</div>
|
@@ -192,24 +192,18 @@ and of ranges within a larger text string.</p>
|
|
192
192
|
<div class="refsect1">
|
193
193
|
<a name="pango-Scripts-and-Languages.functions_details"></a><h2>Functions</h2>
|
194
194
|
<div class="refsect2">
|
195
|
-
<a name="PANGO-TYPE-SCRIPT:CAPS"></a><h3>PANGO_TYPE_SCRIPT</h3>
|
196
|
-
<pre class="programlisting">#define PANGO_TYPE_SCRIPT (pango_script_get_type ())
|
197
|
-
</pre>
|
198
|
-
</div>
|
199
|
-
<hr>
|
200
|
-
<div class="refsect2">
|
201
195
|
<a name="pango-script-for-unichar"></a><h3>pango_script_for_unichar ()</h3>
|
202
196
|
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="returnvalue">PangoScript</span></a>
|
203
|
-
pango_script_for_unichar (<em class="parameter"><code><a href="
|
197
|
+
pango_script_for_unichar (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> ch</code></em>);</pre>
|
204
198
|
<p>Looks up the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> for a particular character (as defined by
|
205
199
|
Unicode Standard Annex #24). No check is made for <em class="parameter"><code>ch</code></em>
|
206
200
|
being a
|
207
201
|
valid Unicode character; if you pass in invalid character, the
|
208
202
|
result is undefined.</p>
|
209
203
|
<p>As of Pango 1.18, this function simply returns the return value of
|
210
|
-
<a href="
|
204
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Unicode-Manipulation.html#g-unichar-get-script"><code class="function">g_unichar_get_script()</code></a>.</p>
|
211
205
|
<div class="refsect3">
|
212
|
-
<a name="
|
206
|
+
<a name="pango-script-for-unichar.parameters"></a><h4>Parameters</h4>
|
213
207
|
<div class="informaltable"><table width="100%" border="0">
|
214
208
|
<colgroup>
|
215
209
|
<col width="150px" class="parameters_name">
|
@@ -224,7 +218,7 @@ result is undefined.</p>
|
|
224
218
|
</table></div>
|
225
219
|
</div>
|
226
220
|
<div class="refsect3">
|
227
|
-
<a name="
|
221
|
+
<a name="pango-script-for-unichar.returns"></a><h4>Returns</h4>
|
228
222
|
<p> the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> for the character.</p>
|
229
223
|
</div>
|
230
224
|
<p class="since">Since: <a class="link" href="api-index-1-4.html#api-index-1.4">1.4</a></p>
|
@@ -264,7 +258,7 @@ in an otherwise non-Arabic text. The same trick can be used to
|
|
264
258
|
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
|
265
259
|
context language is not feasible.</p>
|
266
260
|
<div class="refsect3">
|
267
|
-
<a name="
|
261
|
+
<a name="pango-script-get-sample-language.parameters"></a><h4>Parameters</h4>
|
268
262
|
<div class="informaltable"><table width="100%" border="0">
|
269
263
|
<colgroup>
|
270
264
|
<col width="150px" class="parameters_name">
|
@@ -279,9 +273,9 @@ context language is not feasible.</p>
|
|
279
273
|
</table></div>
|
280
274
|
</div>
|
281
275
|
<div class="refsect3">
|
282
|
-
<a name="
|
276
|
+
<a name="pango-script-get-sample-language.returns"></a><h4>Returns</h4>
|
283
277
|
<p> a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> that is representative
|
284
|
-
of the script, or <a href="
|
278
|
+
of the script, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no such language exists. </p>
|
285
279
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
286
280
|
</div>
|
287
281
|
<p class="since">Since: <a class="link" href="api-index-1-4.html#api-index-1.4">1.4</a></p>
|
@@ -298,7 +292,7 @@ Unicode text into runs by Unicode script. No copy is made of
|
|
298
292
|
, so the caller needs to make sure it remains valid until
|
299
293
|
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>.</p>
|
300
294
|
<div class="refsect3">
|
301
|
-
<a name="
|
295
|
+
<a name="pango-script-iter-new.parameters"></a><h4>Parameters</h4>
|
302
296
|
<div class="informaltable"><table width="100%" border="0">
|
303
297
|
<colgroup>
|
304
298
|
<col width="150px" class="parameters_name">
|
@@ -322,7 +316,7 @@ is nul-terminated.</p></td>
|
|
322
316
|
</table></div>
|
323
317
|
</div>
|
324
318
|
<div class="refsect3">
|
325
|
-
<a name="
|
319
|
+
<a name="pango-script-iter-new.returns"></a><h4>Returns</h4>
|
326
320
|
<p> the new script iterator, initialized
|
327
321
|
to point at the first range in the text, which should be
|
328
322
|
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>. If the string is
|
@@ -343,7 +337,7 @@ pango_script_iter_get_range (<em class="parameter"><code><a class="link" href="p
|
|
343
337
|
The range is the set of locations p where *start <= p < *end.
|
344
338
|
(That is, it doesn't include the character stored at *end)</p>
|
345
339
|
<div class="refsect3">
|
346
|
-
<a name="
|
340
|
+
<a name="pango-script-iter-get-range.parameters"></a><h4>Parameters</h4>
|
347
341
|
<div class="informaltable"><table width="100%" border="0">
|
348
342
|
<colgroup>
|
349
343
|
<col width="150px" class="parameters_name">
|
@@ -358,17 +352,17 @@ The range is the set of locations p where *start <= p < *end.
|
|
358
352
|
</tr>
|
359
353
|
<tr>
|
360
354
|
<td class="parameter_name"><p>start</p></td>
|
361
|
-
<td class="parameter_description"><p> location to store start position of the range, or <a href="
|
355
|
+
<td class="parameter_description"><p> location to store start position of the range, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
362
356
|
<td class="parameter_annotations"><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></td>
|
363
357
|
</tr>
|
364
358
|
<tr>
|
365
359
|
<td class="parameter_name"><p>end</p></td>
|
366
|
-
<td class="parameter_description"><p> location to store end position of the range, or <a href="
|
360
|
+
<td class="parameter_description"><p> location to store end position of the range, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
367
361
|
<td class="parameter_annotations"><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></td>
|
368
362
|
</tr>
|
369
363
|
<tr>
|
370
364
|
<td class="parameter_name"><p>script</p></td>
|
371
|
-
<td class="parameter_description"><p> location to store script for range, or <a href="
|
365
|
+
<td class="parameter_description"><p> location to store script for range, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
372
366
|
<td class="parameter_annotations"><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></td>
|
373
367
|
</tr>
|
374
368
|
</tbody>
|
@@ -379,14 +373,14 @@ The range is the set of locations p where *start <= p < *end.
|
|
379
373
|
<hr>
|
380
374
|
<div class="refsect2">
|
381
375
|
<a name="pango-script-iter-next"></a><h3>pango_script_iter_next ()</h3>
|
382
|
-
<pre class="programlisting"><a href="
|
376
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
383
377
|
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>
|
384
378
|
<p>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>
|
385
379
|
|
386
|
-
is already at the end, it is left unchanged and <a href="
|
380
|
+
is already at the end, it is left unchanged and <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
387
381
|
is returned.</p>
|
388
382
|
<div class="refsect3">
|
389
|
-
<a name="
|
383
|
+
<a name="pango-script-iter-next.parameters"></a><h4>Parameters</h4>
|
390
384
|
<div class="informaltable"><table width="100%" border="0">
|
391
385
|
<colgroup>
|
392
386
|
<col width="150px" class="parameters_name">
|
@@ -401,8 +395,8 @@ is returned.</p>
|
|
401
395
|
</table></div>
|
402
396
|
</div>
|
403
397
|
<div class="refsect3">
|
404
|
-
<a name="
|
405
|
-
<p> <a href="
|
398
|
+
<a name="pango-script-iter-next.returns"></a><h4>Returns</h4>
|
399
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em>
|
406
400
|
was successfully advanced.</p>
|
407
401
|
</div>
|
408
402
|
<p class="since">Since: <a class="link" href="api-index-1-4.html#api-index-1.4">1.4</a></p>
|
@@ -414,7 +408,7 @@ was successfully advanced.</p>
|
|
414
408
|
pango_script_iter_free (<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>
|
415
409
|
<p>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>.</p>
|
416
410
|
<div class="refsect3">
|
417
|
-
<a name="
|
411
|
+
<a name="pango-script-iter-free.parameters"></a><h4>Parameters</h4>
|
418
412
|
<div class="informaltable"><table width="100%" border="0">
|
419
413
|
<colgroup>
|
420
414
|
<col width="150px" class="parameters_name">
|
@@ -432,13 +426,6 @@ pango_script_iter_free (<em class="parameter"><code><a class="link" href="pango-
|
|
432
426
|
</div>
|
433
427
|
<hr>
|
434
428
|
<div class="refsect2">
|
435
|
-
<a name="PANGO-TYPE-LANGUAGE:CAPS"></a><h3>PANGO_TYPE_LANGUAGE</h3>
|
436
|
-
<pre class="programlisting">#define PANGO_TYPE_LANGUAGE (pango_language_get_type ())
|
437
|
-
</pre>
|
438
|
-
<p>The <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>.</p>
|
439
|
-
</div>
|
440
|
-
<hr>
|
441
|
-
<div class="refsect2">
|
442
429
|
<a name="pango-language-from-string"></a><h3>pango_language_from_string ()</h3>
|
443
430
|
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *
|
444
431
|
pango_language_from_string (<em class="parameter"><code>const <span class="type">char</span> *language</code></em>);</pre>
|
@@ -452,7 +439,7 @@ than letters and '-'.</p>
|
|
452
439
|
<p>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
|
453
440
|
the current locale of the process.</p>
|
454
441
|
<div class="refsect3">
|
455
|
-
<a name="
|
442
|
+
<a name="pango-language-from-string.parameters"></a><h4>Parameters</h4>
|
456
443
|
<div class="informaltable"><table width="100%" border="0">
|
457
444
|
<colgroup>
|
458
445
|
<col width="150px" class="parameters_name">
|
@@ -461,17 +448,17 @@ the current locale of the process.</p>
|
|
461
448
|
</colgroup>
|
462
449
|
<tbody><tr>
|
463
450
|
<td class="parameter_name"><p>language</p></td>
|
464
|
-
<td class="parameter_description"><p> a string representing a language tag, or <a href="
|
451
|
+
<td class="parameter_description"><p> a string representing a language tag, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
465
452
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
466
453
|
</tr></tbody>
|
467
454
|
</table></div>
|
468
455
|
</div>
|
469
456
|
<div class="refsect3">
|
470
|
-
<a name="
|
457
|
+
<a name="pango-language-from-string.returns"></a><h4>Returns</h4>
|
471
458
|
<p> an opaque pointer to a
|
472
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> structure, or <a href="
|
459
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> structure, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>language</code></em>
|
473
460
|
was
|
474
|
-
<a href="
|
461
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The returned pointer will be valid forever
|
475
462
|
after, and should not be freed. </p>
|
476
463
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
477
464
|
</div>
|
@@ -483,7 +470,7 @@ after, and should not be freed. </p>
|
|
483
470
|
pango_language_to_string (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
484
471
|
<p>Gets the RFC-3066 format string representing the given language tag.</p>
|
485
472
|
<div class="refsect3">
|
486
|
-
<a name="
|
473
|
+
<a name="pango-language-to-string.parameters"></a><h4>Parameters</h4>
|
487
474
|
<div class="informaltable"><table width="100%" border="0">
|
488
475
|
<colgroup>
|
489
476
|
<col width="150px" class="parameters_name">
|
@@ -498,7 +485,7 @@ pango_language_to_string (<em class="parameter"><code><a class="link" href="pang
|
|
498
485
|
</table></div>
|
499
486
|
</div>
|
500
487
|
<div class="refsect3">
|
501
|
-
<a name="
|
488
|
+
<a name="pango-language-to-string.returns"></a><h4>Returns</h4>
|
502
489
|
<p> a string representing the language tag. This is owned by
|
503
490
|
Pango and should not be freed.</p>
|
504
491
|
</div>
|
@@ -506,7 +493,7 @@ Pango and should not be freed.</p>
|
|
506
493
|
<hr>
|
507
494
|
<div class="refsect2">
|
508
495
|
<a name="pango-language-matches"></a><h3>pango_language_matches ()</h3>
|
509
|
-
<pre class="programlisting"><a href="
|
496
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
510
497
|
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>,
|
511
498
|
<em class="parameter"><code>const <span class="type">char</span> *range_list</code></em>);</pre>
|
512
499
|
<p>Checks if a language tag matches one of the elements in a list of
|
@@ -515,7 +502,7 @@ in the list if the range is '*', the range is exactly the tag,
|
|
515
502
|
or the range is a prefix of the tag, and the character after it
|
516
503
|
in the tag is '-'.</p>
|
517
504
|
<div class="refsect3">
|
518
|
-
<a name="
|
505
|
+
<a name="pango-language-matches.parameters"></a><h4>Parameters</h4>
|
519
506
|
<div class="informaltable"><table width="100%" border="0">
|
520
507
|
<colgroup>
|
521
508
|
<col width="150px" class="parameters_name">
|
@@ -526,7 +513,7 @@ in the tag is '-'.</p>
|
|
526
513
|
<tr>
|
527
514
|
<td class="parameter_name"><p>language</p></td>
|
528
515
|
<td class="parameter_description"><p> 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>),
|
529
|
-
<a href="
|
516
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is allowed and matches nothing but '*'. </p></td>
|
530
517
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
531
518
|
</tr>
|
532
519
|
<tr>
|
@@ -541,14 +528,14 @@ canonicalized as by <a class="link" href="pango-Scripts-and-Languages.html#pango
|
|
541
528
|
</table></div>
|
542
529
|
</div>
|
543
530
|
<div class="refsect3">
|
544
|
-
<a name="
|
545
|
-
<p> <a href="
|
531
|
+
<a name="pango-language-matches.returns"></a><h4>Returns</h4>
|
532
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a match was found.</p>
|
546
533
|
</div>
|
547
534
|
</div>
|
548
535
|
<hr>
|
549
536
|
<div class="refsect2">
|
550
537
|
<a name="pango-language-includes-script"></a><h3>pango_language_includes_script ()</h3>
|
551
|
-
<pre class="programlisting"><a href="
|
538
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
552
539
|
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>,
|
553
540
|
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>);</pre>
|
554
541
|
<p>Determines if <em class="parameter"><code>script</code></em>
|
@@ -557,7 +544,7 @@ write <em class="parameter"><code>language</code></em>
|
|
557
544
|
. The returned value is conservative;
|
558
545
|
if nothing is known about the language tag <em class="parameter"><code>language</code></em>
|
559
546
|
,
|
560
|
-
<a href="
|
547
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> will be returned, since, as far as Pango knows,
|
561
548
|
<em class="parameter"><code>script</code></em>
|
562
549
|
might be used to write <em class="parameter"><code>language</code></em>
|
563
550
|
.</p>
|
@@ -567,7 +554,7 @@ a particular section of text. It probably is not useful for
|
|
567
554
|
applications in most circumstances.</p>
|
568
555
|
<p>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.</p>
|
569
556
|
<div class="refsect3">
|
570
|
-
<a name="
|
557
|
+
<a name="pango-language-includes-script.parameters"></a><h4>Parameters</h4>
|
571
558
|
<div class="informaltable"><table width="100%" border="0">
|
572
559
|
<colgroup>
|
573
560
|
<col width="150px" class="parameters_name">
|
@@ -577,7 +564,7 @@ applications in most circumstances.</p>
|
|
577
564
|
<tbody>
|
578
565
|
<tr>
|
579
566
|
<td class="parameter_name"><p>language</p></td>
|
580
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="
|
567
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
581
568
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
582
569
|
</tr>
|
583
570
|
<tr>
|
@@ -589,14 +576,14 @@ applications in most circumstances.</p>
|
|
589
576
|
</table></div>
|
590
577
|
</div>
|
591
578
|
<div class="refsect3">
|
592
|
-
<a name="
|
593
|
-
<p> <a href="
|
579
|
+
<a name="pango-language-includes-script.returns"></a><h4>Returns</h4>
|
580
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>script</code></em>
|
594
581
|
is one of the scripts used
|
595
582
|
to write <em class="parameter"><code>language</code></em>
|
596
583
|
or if nothing is known about <em class="parameter"><code>language</code></em>
|
597
584
|
(including the case that <em class="parameter"><code>language</code></em>
|
598
|
-
is <a href="
|
599
|
-
<a href="
|
585
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>),
|
586
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
600
587
|
</div>
|
601
588
|
<p class="since">Since: <a class="link" href="api-index-1-4.html#api-index-1.4">1.4</a></p>
|
602
589
|
</div>
|
@@ -611,22 +598,22 @@ pango_language_get_scripts (<em class="parameter"><code><a class="link" href="pa
|
|
611
598
|
If nothing is known about the language tag <em class="parameter"><code>language</code></em>
|
612
599
|
,
|
613
600
|
or if <em class="parameter"><code>language</code></em>
|
614
|
-
is <a href="
|
601
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.
|
615
602
|
The list of scripts returned starts with the script that the
|
616
603
|
language uses most and continues to the one it uses least.</p>
|
617
604
|
<p>The value <em class="parameter"><code>num_script</code></em>
|
618
605
|
points at will be set to the number
|
619
|
-
of scripts in the returned array (or zero if <a href="
|
606
|
+
of scripts in the returned array (or zero if <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned).</p>
|
620
607
|
<p>Most languages use only one script for writing, but there are
|
621
608
|
some that use two (Latin and Cyrillic for example), and a few
|
622
609
|
use three (Japanese for example). Applications should not make
|
623
610
|
any assumptions on the maximum number of scripts returned
|
624
611
|
though, except that it is positive if the return value is not
|
625
|
-
<a href="
|
612
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, and it is a small number.</p>
|
626
613
|
<p>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
|
627
614
|
internally.</p>
|
628
615
|
<div class="refsect3">
|
629
|
-
<a name="
|
616
|
+
<a name="pango-language-get-scripts.parameters"></a><h4>Parameters</h4>
|
630
617
|
<div class="informaltable"><table width="100%" border="0">
|
631
618
|
<colgroup>
|
632
619
|
<col width="150px" class="parameters_name">
|
@@ -636,27 +623,27 @@ internally.</p>
|
|
636
623
|
<tbody>
|
637
624
|
<tr>
|
638
625
|
<td class="parameter_name"><p>language</p></td>
|
639
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="
|
626
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
640
627
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
641
628
|
</tr>
|
642
629
|
<tr>
|
643
630
|
<td class="parameter_name"><p>num_scripts</p></td>
|
644
631
|
<td class="parameter_description"><p> location to return number of scripts,
|
645
|
-
or <a href="
|
632
|
+
or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
646
633
|
<td class="parameter_annotations"><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></td>
|
647
634
|
</tr>
|
648
635
|
</tbody>
|
649
636
|
</table></div>
|
650
637
|
</div>
|
651
638
|
<div class="refsect3">
|
652
|
-
<a name="
|
639
|
+
<a name="pango-language-get-scripts.returns"></a><h4>Returns</h4>
|
653
640
|
<p> An array of
|
654
641
|
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> values, with the number of entries in the array stored
|
655
642
|
in <em class="parameter"><code>num_scripts</code></em>
|
656
|
-
, or <a href="
|
643
|
+
, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if Pango does not have any information
|
657
644
|
about this particular language tag (also the case if <em class="parameter"><code>language</code></em>
|
658
645
|
is
|
659
|
-
<a href="
|
646
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). The returned array is owned by Pango and should not be
|
660
647
|
modified or freed. </p>
|
661
648
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=num_scripts][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
662
649
|
</div>
|
@@ -680,7 +667,7 @@ Brazil.</p>
|
|
680
667
|
<p>On Windows, the C library does not use any such environment
|
681
668
|
variables, and setting them won't affect the behavior of functions
|
682
669
|
like <code class="function">ctime()</code>. The user sets the locale through the Regional Options
|
683
|
-
in the Control Panel. The C library (in the <
|
670
|
+
in the Control Panel. The C library (in the <code class="function">setlocale()</code> function)
|
684
671
|
does not use country and language codes, but country and language
|
685
672
|
names spelled out in English.
|
686
673
|
However, this function does check the above environment
|
@@ -688,10 +675,10 @@ variables, and does return a Unix-style locale string based on
|
|
688
675
|
either said environment variables or the thread's current locale.</p>
|
689
676
|
<p>Your application should call <code class="literal">setlocale(LC_ALL, "");</code>
|
690
677
|
for the user settings to take effect. Gtk+ does this in its initialization
|
691
|
-
functions automatically (by calling <code class="function">gtk_set_locale()</code>).
|
678
|
+
functions automatically (by calling <a href="http://library.gnome.org/devel/gtk2/gtk2-General.html#gtk-set-locale"><code class="function">gtk_set_locale()</code></a>).
|
692
679
|
See <code class="literal">man setlocale</code> for more details.</p>
|
693
680
|
<div class="refsect3">
|
694
|
-
<a name="
|
681
|
+
<a name="pango-language-get-default.returns"></a><h4>Returns</h4>
|
695
682
|
<p> the default language as a
|
696
683
|
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, must not be freed. </p>
|
697
684
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -710,7 +697,7 @@ be demonstrative of normal text in the language, as well as exposing font
|
|
710
697
|
feature requirements unique to the language. It is suitable for use
|
711
698
|
as sample text in a font selection dialog.</p>
|
712
699
|
<p>If <em class="parameter"><code>language</code></em>
|
713
|
-
is <a href="
|
700
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default language as found by
|
714
701
|
<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.</p>
|
715
702
|
<p>If Pango does not have a sample string for <em class="parameter"><code>language</code></em>
|
716
703
|
, the classic
|
@@ -729,7 +716,7 @@ language code "xx". That is, compare to:</p>
|
|
729
716
|
</div>
|
730
717
|
|
731
718
|
<div class="refsect3">
|
732
|
-
<a name="
|
719
|
+
<a name="pango-language-get-sample-string.parameters"></a><h4>Parameters</h4>
|
733
720
|
<div class="informaltable"><table width="100%" border="0">
|
734
721
|
<colgroup>
|
735
722
|
<col width="150px" class="parameters_name">
|
@@ -738,13 +725,13 @@ language code "xx". That is, compare to:</p>
|
|
738
725
|
</colgroup>
|
739
726
|
<tbody><tr>
|
740
727
|
<td class="parameter_name"><p>language</p></td>
|
741
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="
|
728
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
742
729
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
743
730
|
</tr></tbody>
|
744
731
|
</table></div>
|
745
732
|
</div>
|
746
733
|
<div class="refsect3">
|
747
|
-
<a name="
|
734
|
+
<a name="pango-language-get-sample-string.returns"></a><h4>Returns</h4>
|
748
735
|
<p> the sample string. This value is owned by Pango
|
749
736
|
and should not be freed.</p>
|
750
737
|
</div>
|
@@ -759,10 +746,10 @@ systems. The values correspond to the names as defined in the
|
|
759
746
|
Unicode standard.
|
760
747
|
Note that new types may be added in the future. Applications should be ready
|
761
748
|
to handle unknown values. This enumeration is interchangeable with
|
762
|
-
<a href="
|
749
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Unicode-Manipulation.html#GUnicodeScript"><span class="type">GUnicodeScript</span></a>. See <a class="ulink" href="http://www.unicode.org/reports/tr24/" target="_top">Unicode Standard Annex
|
763
750
|
<span class="type">24</span>: Script names</a>.</p>
|
764
751
|
<div class="refsect3">
|
765
|
-
<a name="
|
752
|
+
<a name="PangoScript.members"></a><h4>Members</h4>
|
766
753
|
<div class="informaltable"><table width="100%" border="0">
|
767
754
|
<colgroup>
|
768
755
|
<col width="300px" class="enum_members_name">
|
@@ -1603,6 +1590,12 @@ base glyph to which it is attached</p>
|
|
1603
1590
|
</div>
|
1604
1591
|
<hr>
|
1605
1592
|
<div class="refsect2">
|
1593
|
+
<a name="PANGO-TYPE-SCRIPT:CAPS"></a><h3>PANGO_TYPE_SCRIPT</h3>
|
1594
|
+
<pre class="programlisting">#define PANGO_TYPE_SCRIPT (pango_script_get_type ())
|
1595
|
+
</pre>
|
1596
|
+
</div>
|
1597
|
+
<hr>
|
1598
|
+
<div class="refsect2">
|
1606
1599
|
<a name="PangoScriptIter"></a><h3>PangoScriptIter</h3>
|
1607
1600
|
<pre class="programlisting">typedef struct _PangoScriptIter PangoScriptIter;</pre>
|
1608
1601
|
<p>A <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a> is used to iterate through a string
|
@@ -1617,9 +1610,16 @@ represent a language.</p>
|
|
1617
1610
|
<p><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> pointers can be efficiently
|
1618
1611
|
copied and compared with each other.</p>
|
1619
1612
|
</div>
|
1613
|
+
<hr>
|
1614
|
+
<div class="refsect2">
|
1615
|
+
<a name="PANGO-TYPE-LANGUAGE:CAPS"></a><h3>PANGO_TYPE_LANGUAGE</h3>
|
1616
|
+
<pre class="programlisting">#define PANGO_TYPE_LANGUAGE (pango_language_get_type ())
|
1617
|
+
</pre>
|
1618
|
+
<p>The <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> type for <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>.</p>
|
1619
|
+
</div>
|
1620
1620
|
</div>
|
1621
1621
|
</div>
|
1622
1622
|
<div class="footer">
|
1623
|
-
<hr>Generated by GTK-Doc V1.
|
1623
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
1624
1624
|
</body>
|
1625
1625
|
</html>
|