gtk2 0.90.4-x86-mingw32 → 0.90.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +4 -0
- data/Rakefile +3 -4
- data/ext/gtk2/extconf.rb +8 -0
- data/lib/1.8/gtk2.so +0 -0
- data/lib/1.9/gtk2.so +0 -0
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-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/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/bin/pkg-config.exe +0 -0
- data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
- data/vendor/local/etc/pango/pango.modules +1 -1
- data/vendor/local/gtk+-bundle_2.22.0-20101016_win32.README.txt +29 -0
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/pixman-1/pixman-version.h +50 -0
- data/vendor/local/include/pixman-1/pixman.h +936 -0
- data/vendor/local/lib/gailutil.lib +0 -0
- data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpixman-1.a +0 -0
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/gail.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/pango.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +2 -2
- data/vendor/local/lib/pkgconfig/pixman-1.pc +11 -0
- data/vendor/local/manifest/gtk+-bundle_2.22.0-20101016_win32.mft +2910 -0
- data/vendor/local/manifest/{pango-dev_1.28.1-2_win32.mft → pango-dev_1.28.3-1_win32.mft} +5 -5
- data/vendor/local/manifest/{pango_1.28.1-2_win32.mft → pango_1.28.3-1_win32.mft} +2 -2
- data/vendor/local/share/aclocal/pkg.m4 +155 -0
- data/vendor/local/share/doc/gtk+-bundle_2.22.0-20101016_win32/components.lst +28 -0
- data/vendor/local/share/doc/{pango-1.28.1 → pango-1.28.3}/COPYING +0 -0
- data/vendor/local/share/doc/{pango-dev-1.28.1 → pango-dev-1.28.3}/COPYING +0 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +44 -50
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +45 -51
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +44 -61
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +89 -101
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +173 -171
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +22 -43
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +70 -91
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +31 -30
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +20 -39
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +73 -88
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +405 -320
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +85 -97
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +69 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +695 -645
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +225 -228
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +523 -494
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +819 -742
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +203 -204
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +58 -75
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +422 -405
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +144 -142
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +120 -130
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +618 -576
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +397 -384
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +44 -58
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +73 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +220 -217
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +303 -302
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +293 -292
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +1009 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +7 -28
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +68 -68
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +72 -72
- data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/style.css +21 -13
- data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -24
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -1
- data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.log → gtk+_2.22.0-2_win32.log} +1835 -1832
- data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.sh → gtk+_2.22.0-2_win32.sh} +26 -1
- data/vendor/local/src/tml/packaging/{pango_1.28.1-2_win32.log → pango_1.28.3-1_win32.log} +293 -413
- data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.sh +56 -0
- data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.log +291 -0
- data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.sh +141 -0
- data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.log +215 -0
- data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.sh +278 -0
- metadata +3323 -3325
- data/ext/gtk2/Makefile +0 -163
- data/ext/gtk2/rbgdkkeysyms.h +0 -1708
- data/ext/gtk2/rbgtkinits.c +0 -469
- data/vendor/local/manifest/cairo-dev_1.10.0-1_win32.mft +0 -83
- data/vendor/local/manifest/cairo_1.10.0-1_win32.mft +0 -5
- data/vendor/local/manifest/expat-dev_2.0.1-1_win32.mft +0 -10
- data/vendor/local/manifest/expat_2.0.1-1_win32.mft +0 -2
- data/vendor/local/manifest/fontconfig-dev_2.8.0-2_win32.mft +0 -387
- data/vendor/local/manifest/fontconfig_2.8.0-2_win32.mft +0 -3
- data/vendor/local/manifest/freetype-dev_2.4.2-1_win32.mft +0 -56
- data/vendor/local/manifest/freetype_2.4.2-1_win32.mft +0 -2
- data/vendor/local/manifest/gtk+-dev_2.22.0-1_win32.mft +0 -947
- data/vendor/local/manifest/gtk+_2.22.0-1_win32.mft +0 -225
- data/vendor/local/manifest/libpng-dev_1.4.3-1_win32.mft +0 -15
- data/vendor/local/manifest/libpng_1.4.3-1_win32.mft +0 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +0 -1002
- data/vendor/local/src/tml/packaging/pango_1.28.1-2_win32.sh +0 -579
@@ -8,29 +8,8 @@
|
|
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.15.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
<link rel="chapter" href="pango.html" title="Basic Pango Interfaces">
|
14
|
-
<link rel="chapter" href="rendering.html" title="Rendering with Pango">
|
15
|
-
<link rel="chapter" href="lowlevel.html" title="Low Level Functionality">
|
16
|
-
<link rel="chapter" href="tools.html" title="Pango Tools">
|
17
|
-
<link rel="chapter" href="pango-hierarchy.html" title="Object Hierarchy">
|
18
|
-
<link rel="index" href="index-all.html" title="Index">
|
19
|
-
<link rel="index" href="index-deprecated.html" title="Index of deprecated symbols">
|
20
|
-
<link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
|
21
|
-
<link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
|
22
|
-
<link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
|
23
|
-
<link rel="index" href="index-1.8.html" title="Index of new symbols in 1.8">
|
24
|
-
<link rel="index" href="index-1.10.html" title="Index of new symbols in 1.10">
|
25
|
-
<link rel="index" href="index-1.12.html" title="Index of new symbols in 1.12">
|
26
|
-
<link rel="index" href="index-1.14.html" title="Index of new symbols in 1.14">
|
27
|
-
<link rel="index" href="index-1.16.html" title="Index of new symbols in 1.16">
|
28
|
-
<link rel="index" href="index-1.18.html" title="Index of new symbols in 1.18">
|
29
|
-
<link rel="index" href="index-1.20.html" title="Index of new symbols in 1.20">
|
30
|
-
<link rel="index" href="index-1.22.html" title="Index of new symbols in 1.22">
|
31
|
-
<link rel="index" href="index-1.24.html" title="Index of new symbols in 1.24">
|
32
|
-
<link rel="index" href="index-1.26.html" title="Index of new symbols in 1.26">
|
33
|
-
<link rel="index" href="index-1.28.html" title="Index of new symbols in 1.26">
|
34
13
|
</head>
|
35
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
36
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
@@ -47,7 +26,7 @@
|
|
47
26
|
<a href="#pango-Scripts-and-Languages.description" class="shortcut">Description</a>
|
48
27
|
</td></tr>
|
49
28
|
</table>
|
50
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
51
30
|
<a name="pango-Scripts-and-Languages"></a><div class="titlepage"></div>
|
52
31
|
<div class="refnamediv"><table width="100%"><tr>
|
53
32
|
<td valign="top">
|
@@ -56,36 +35,36 @@
|
|
56
35
|
</td>
|
57
36
|
<td valign="top" align="right"></td>
|
58
37
|
</tr></table></div>
|
59
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
60
39
|
<a name="pango-Scripts-and-Languages.synopsis"></a><h2>Synopsis</h2>
|
61
40
|
<pre class="synopsis">enum <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript">PangoScript</a>;
|
62
41
|
#define <a class="link" href="pango-Scripts-and-Languages.html#PANGO-TYPE-SCRIPT:CAPS" title="PANGO_TYPE_SCRIPT">PANGO_TYPE_SCRIPT</a>
|
63
42
|
<a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter">PangoScriptIter</a>;
|
64
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum 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> (<
|
65
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="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> (<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
66
|
-
<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> (const <span class="
|
67
|
-
<span class="
|
68
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-get-range" title="pango_script_iter_get_range ()">pango_script_iter_get_range</a> (<a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="
|
69
|
-
G_CONST_RETURN <span class="
|
70
|
-
G_CONST_RETURN <span class="
|
71
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
72
|
-
<
|
73
|
-
<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> (<a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="
|
43
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum 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>);
|
44
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="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" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>);
|
45
|
+
<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>,
|
46
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>);
|
47
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-get-range" title="pango_script_iter_get_range ()">pango_script_iter_get_range</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>,
|
48
|
+
<em class="parameter"><code>G_CONST_RETURN <span class="type">char</span> **start</code></em>,
|
49
|
+
<em class="parameter"><code>G_CONST_RETURN <span class="type">char</span> **end</code></em>,
|
50
|
+
<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>);
|
51
|
+
<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>);
|
52
|
+
<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>);
|
74
53
|
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage">PangoLanguage</a>;
|
75
54
|
#define <a class="link" href="pango-Scripts-and-Languages.html#PANGO-TYPE-LANGUAGE:CAPS" title="PANGO_TYPE_LANGUAGE">PANGO_TYPE_LANGUAGE</a>
|
76
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="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> (const <span class="
|
77
|
-
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> (<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
78
|
-
<
|
79
|
-
const <span class="
|
80
|
-
<
|
81
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
82
|
-
const <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum 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> (<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
83
|
-
<span class="
|
84
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * <a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-default" title="pango_language_get_default ()">pango_language_get_default</a> (void);
|
85
|
-
const <span class="returnvalue">char</span> * <a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-sample-string" title="pango_language_get_sample_string ()">pango_language_get_sample_string</a> (<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
55
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="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>);
|
56
|
+
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" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
57
|
+
<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" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
58
|
+
<em class="parameter"><code>const <span class="type">char</span> *range_list</code></em>);
|
59
|
+
<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" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
60
|
+
<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>);
|
61
|
+
const <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum 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" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
62
|
+
<em class="parameter"><code><span class="type">int</span> *num_scripts</code></em>);
|
63
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * <a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-default" title="pango_language_get_default ()">pango_language_get_default</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
64
|
+
const <span class="returnvalue">char</span> * <a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-sample-string" title="pango_language_get_sample_string ()">pango_language_get_sample_string</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
86
65
|
</pre>
|
87
66
|
</div>
|
88
|
-
<div class="refsect1"
|
67
|
+
<div class="refsect1">
|
89
68
|
<a name="pango-Scripts-and-Languages.description"></a><h2>Description</h2>
|
90
69
|
<p>
|
91
70
|
The functions in this section are used to identify the writing
|
@@ -93,9 +72,9 @@ system, or <em class="firstterm">script</em> of individual characters
|
|
93
72
|
and of ranges within a larger text string.
|
94
73
|
</p>
|
95
74
|
</div>
|
96
|
-
<div class="refsect1"
|
75
|
+
<div class="refsect1">
|
97
76
|
<a name="pango-Scripts-and-Languages.details"></a><h2>Details</h2>
|
98
|
-
<div class="refsect2"
|
77
|
+
<div class="refsect2">
|
99
78
|
<a name="PangoScript"></a><h3>enum PangoScript</h3>
|
100
79
|
<pre class="programlisting">typedef enum { /* ISO 15924 code */
|
101
80
|
PANGO_SCRIPT_INVALID_CODE = -1,
|
@@ -193,7 +172,7 @@ systems. The values correspond to the names as defined in the
|
|
193
172
|
Unicode standard.
|
194
173
|
Note that new types may be added in the future. Applications should be ready
|
195
174
|
to handle unknown values. This enumeration is interchangeable with
|
196
|
-
<
|
175
|
+
<span class="type">GUnicodeScript</span>. See <a class="ulink" href="http://www.unicode.org/reports/tr24/" target="_top">Unicode Standard Annex
|
197
176
|
#24: Script names</a>.
|
198
177
|
</p>
|
199
178
|
<div class="variablelist"><table border="0">
|
@@ -599,26 +578,27 @@ to handle unknown values. This enumeration is interchangeable with
|
|
599
578
|
</table></div>
|
600
579
|
</div>
|
601
580
|
<hr>
|
602
|
-
<div class="refsect2"
|
581
|
+
<div class="refsect2">
|
603
582
|
<a name="PANGO-TYPE-SCRIPT:CAPS"></a><h3>PANGO_TYPE_SCRIPT</h3>
|
604
583
|
<pre class="programlisting">#define PANGO_TYPE_SCRIPT (pango_script_get_type())
|
605
584
|
</pre>
|
606
585
|
<p>
|
607
|
-
The <
|
586
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a>
|
608
587
|
</p>
|
609
588
|
</div>
|
610
589
|
<hr>
|
611
|
-
<div class="refsect2"
|
590
|
+
<div class="refsect2">
|
612
591
|
<a name="PangoScriptIter"></a><h3>PangoScriptIter</h3>
|
613
592
|
<pre class="programlisting">typedef struct _PangoScriptIter PangoScriptIter;</pre>
|
614
593
|
<p>
|
615
594
|
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
|
616
|
-
and identify ranges in different scripts
|
595
|
+
and identify ranges in different scripts.
|
596
|
+
</p>
|
617
597
|
</div>
|
618
598
|
<hr>
|
619
|
-
<div class="refsect2"
|
599
|
+
<div class="refsect2">
|
620
600
|
<a name="pango-script-for-unichar"></a><h3>pango_script_for_unichar ()</h3>
|
621
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="returnvalue">PangoScript</span></a> pango_script_for_unichar (<
|
601
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="returnvalue">PangoScript</span></a> pango_script_for_unichar (<em class="parameter"><code><span class="type">gunichar</span> ch</code></em>);</pre>
|
622
602
|
<p>
|
623
603
|
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
|
624
604
|
Unicode Standard Annex <span class="type">24</span>). No check is made for <em class="parameter"><code>ch</code></em> being a
|
@@ -627,13 +607,14 @@ result is undefined.
|
|
627
607
|
</p>
|
628
608
|
<p>
|
629
609
|
As of Pango 1.18, this function simply returns the return value of
|
630
|
-
<
|
610
|
+
<code class="function">g_unichar_get_script()</code>.
|
611
|
+
</p>
|
631
612
|
<div class="variablelist"><table border="0">
|
632
613
|
<col align="left" valign="top">
|
633
614
|
<tbody>
|
634
615
|
<tr>
|
635
616
|
<td><p><span class="term"><em class="parameter"><code>ch</code></em> :</span></p></td>
|
636
|
-
<td>
|
617
|
+
<td>a Unicode character
|
637
618
|
</td>
|
638
619
|
</tr>
|
639
620
|
<tr>
|
@@ -647,9 +628,9 @@ As of Pango 1.18, this function simply returns the return value of
|
|
647
628
|
<p class="since">Since 1.4</p>
|
648
629
|
</div>
|
649
630
|
<hr>
|
650
|
-
<div class="refsect2"
|
631
|
+
<div class="refsect2">
|
651
632
|
<a name="pango-script-get-sample-language"></a><h3>pango_script_get_sample_language ()</h3>
|
652
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * pango_script_get_sample_language (<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
633
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * pango_script_get_sample_language (<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>
|
653
634
|
<p>
|
654
635
|
Given a script, finds a language tag that is reasonably
|
655
636
|
representative of that script. This will usually be the
|
@@ -682,19 +663,20 @@ set to "en:fa" makes Pango choose fonts suitable for Persian (fa)
|
|
682
663
|
instead of Arabic (ar) when a segment of Arabic text is found
|
683
664
|
in an otherwise non-Arabic text. The same trick can be used to
|
684
665
|
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
|
685
|
-
context language is not feasible
|
666
|
+
context language is not feasible.
|
667
|
+
</p>
|
686
668
|
<div class="variablelist"><table border="0">
|
687
669
|
<col align="left" valign="top">
|
688
670
|
<tbody>
|
689
671
|
<tr>
|
690
672
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
691
|
-
<td>
|
673
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a>
|
692
674
|
</td>
|
693
675
|
</tr>
|
694
676
|
<tr>
|
695
677
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
696
678
|
<td> a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> that is representative
|
697
|
-
of the script, or <a href="/usr/share/gtk-doc/html/
|
679
|
+
of the script, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if no such language exists.
|
698
680
|
|
699
681
|
</td>
|
700
682
|
</tr>
|
@@ -703,26 +685,27 @@ of the script, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.htm
|
|
703
685
|
<p class="since">Since 1.4</p>
|
704
686
|
</div>
|
705
687
|
<hr>
|
706
|
-
<div class="refsect2"
|
688
|
+
<div class="refsect2">
|
707
689
|
<a name="pango-script-iter-new"></a><h3>pango_script_iter_new ()</h3>
|
708
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="returnvalue">PangoScriptIter</span></a> * pango_script_iter_new (const <span class="
|
709
|
-
<span class="
|
690
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="returnvalue">PangoScriptIter</span></a> * pango_script_iter_new (<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
691
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>);</pre>
|
710
692
|
<p>
|
711
693
|
Create a new <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a>, used to break a string of
|
712
694
|
Unicode into runs by text. No copy is made of <em class="parameter"><code>text</code></em>, so
|
713
695
|
the caller needs to make sure it remains valid until
|
714
|
-
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
|
696
|
+
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>.
|
697
|
+
</p>
|
715
698
|
<div class="variablelist"><table border="0">
|
716
699
|
<col align="left" valign="top">
|
717
700
|
<tbody>
|
718
701
|
<tr>
|
719
702
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
720
|
-
<td>
|
703
|
+
<td>a UTF-8 string
|
721
704
|
</td>
|
722
705
|
</tr>
|
723
706
|
<tr>
|
724
707
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
725
|
-
<td>
|
708
|
+
<td>length of <em class="parameter"><code>text</code></em>, or -1 if <em class="parameter"><code>text</code></em> is nul-terminated.
|
726
709
|
</td>
|
727
710
|
</tr>
|
728
711
|
<tr>
|
@@ -739,37 +722,38 @@ the iterator is freed with <a class="link" href="pango-Scripts-and-Languages.htm
|
|
739
722
|
<p class="since">Since 1.4</p>
|
740
723
|
</div>
|
741
724
|
<hr>
|
742
|
-
<div class="refsect2"
|
725
|
+
<div class="refsect2">
|
743
726
|
<a name="pango-script-iter-get-range"></a><h3>pango_script_iter_get_range ()</h3>
|
744
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_script_iter_get_range (<a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="
|
745
|
-
G_CONST_RETURN <span class="
|
746
|
-
G_CONST_RETURN <span class="
|
747
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
727
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_script_iter_get_range (<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>,
|
728
|
+
<em class="parameter"><code>G_CONST_RETURN <span class="type">char</span> **start</code></em>,
|
729
|
+
<em class="parameter"><code>G_CONST_RETURN <span class="type">char</span> **end</code></em>,
|
730
|
+
<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>
|
748
731
|
<p>
|
749
732
|
Gets information about the range to which <em class="parameter"><code>iter</code></em> currently points.
|
750
733
|
The range is the set of locations p where *start <= p < *end.
|
751
|
-
(That is, it doesn't include the character stored at *end)
|
734
|
+
(That is, it doesn't include the character stored at *end)
|
735
|
+
</p>
|
752
736
|
<div class="variablelist"><table border="0">
|
753
737
|
<col align="left" valign="top">
|
754
738
|
<tbody>
|
755
739
|
<tr>
|
756
740
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
757
|
-
<td>
|
741
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a>
|
758
742
|
</td>
|
759
743
|
</tr>
|
760
744
|
<tr>
|
761
745
|
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
|
762
|
-
<td>
|
746
|
+
<td>location to store start position of the range, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
763
747
|
</td>
|
764
748
|
</tr>
|
765
749
|
<tr>
|
766
750
|
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
|
767
|
-
<td>
|
751
|
+
<td>location to store end position of the range, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
768
752
|
</td>
|
769
753
|
</tr>
|
770
754
|
<tr>
|
771
755
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
772
|
-
<td>
|
756
|
+
<td>location to store script for range, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
773
757
|
</td>
|
774
758
|
</tr>
|
775
759
|
</tbody>
|
@@ -777,24 +761,25 @@ The range is the set of locations p where *start <= p < *end.
|
|
777
761
|
<p class="since">Since 1.4</p>
|
778
762
|
</div>
|
779
763
|
<hr>
|
780
|
-
<div class="refsect2"
|
764
|
+
<div class="refsect2">
|
781
765
|
<a name="pango-script-iter-next"></a><h3>pango_script_iter_next ()</h3>
|
782
|
-
<pre class="programlisting"><
|
766
|
+
<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>
|
783
767
|
<p>
|
784
768
|
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>
|
785
|
-
is already at the end, it is left unchanged and <
|
786
|
-
is returned
|
769
|
+
is already at the end, it is left unchanged and <code class="literal">FALSE</code>
|
770
|
+
is returned.
|
771
|
+
</p>
|
787
772
|
<div class="variablelist"><table border="0">
|
788
773
|
<col align="left" valign="top">
|
789
774
|
<tbody>
|
790
775
|
<tr>
|
791
776
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
792
|
-
<td>
|
777
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a>
|
793
778
|
</td>
|
794
779
|
</tr>
|
795
780
|
<tr>
|
796
781
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
797
|
-
<td> <
|
782
|
+
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>iter</code></em> was successfully advanced.
|
798
783
|
|
799
784
|
</td>
|
800
785
|
</tr>
|
@@ -803,23 +788,24 @@ is returned.</p>
|
|
803
788
|
<p class="since">Since 1.4</p>
|
804
789
|
</div>
|
805
790
|
<hr>
|
806
|
-
<div class="refsect2"
|
791
|
+
<div class="refsect2">
|
807
792
|
<a name="pango-script-iter-free"></a><h3>pango_script_iter_free ()</h3>
|
808
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_script_iter_free (<a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="
|
793
|
+
<pre class="programlisting"><span class="returnvalue">void</span> 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>
|
809
794
|
<p>
|
810
|
-
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
|
795
|
+
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>.
|
796
|
+
</p>
|
811
797
|
<div class="variablelist"><table border="0">
|
812
798
|
<col align="left" valign="top">
|
813
799
|
<tbody><tr>
|
814
800
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
815
|
-
<td>
|
801
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a>
|
816
802
|
</td>
|
817
803
|
</tr></tbody>
|
818
804
|
</table></div>
|
819
805
|
<p class="since">Since 1.4</p>
|
820
806
|
</div>
|
821
807
|
<hr>
|
822
|
-
<div class="refsect2"
|
808
|
+
<div class="refsect2">
|
823
809
|
<a name="PangoLanguage"></a><h3>PangoLanguage</h3>
|
824
810
|
<pre class="programlisting">typedef struct _PangoLanguage PangoLanguage;</pre>
|
825
811
|
<p>
|
@@ -832,18 +818,18 @@ copied and compared with each other.
|
|
832
818
|
</p>
|
833
819
|
</div>
|
834
820
|
<hr>
|
835
|
-
<div class="refsect2"
|
821
|
+
<div class="refsect2">
|
836
822
|
<a name="PANGO-TYPE-LANGUAGE:CAPS"></a><h3>PANGO_TYPE_LANGUAGE</h3>
|
837
823
|
<pre class="programlisting">#define PANGO_TYPE_LANGUAGE (pango_language_get_type ())
|
838
824
|
</pre>
|
839
825
|
<p>
|
840
|
-
The <
|
826
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a>.
|
841
827
|
</p>
|
842
828
|
</div>
|
843
829
|
<hr>
|
844
|
-
<div class="refsect2"
|
830
|
+
<div class="refsect2">
|
845
831
|
<a name="pango-language-from-string"></a><h3>pango_language_from_string ()</h3>
|
846
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * pango_language_from_string (const <span class="
|
832
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * pango_language_from_string (<em class="parameter"><code>const <span class="type">char</span> *language</code></em>);</pre>
|
847
833
|
<p>
|
848
834
|
Take a RFC-3066 format language tag as a string and convert it to a
|
849
835
|
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> pointer that can be efficiently copied (copy the
|
@@ -857,19 +843,20 @@ than letters and '-'.
|
|
857
843
|
</p>
|
858
844
|
<p>
|
859
845
|
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" title="PangoLanguage"><span class="type">PangoLanguage</span></a> for
|
860
|
-
the current locale of the process
|
846
|
+
the current locale of the process.
|
847
|
+
</p>
|
861
848
|
<div class="variablelist"><table border="0">
|
862
849
|
<col align="left" valign="top">
|
863
850
|
<tbody>
|
864
851
|
<tr>
|
865
852
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
866
|
-
<td>
|
853
|
+
<td>a string representing a language tag, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
867
854
|
</td>
|
868
855
|
</tr>
|
869
856
|
<tr>
|
870
857
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
871
|
-
<td> an opaque pointer to a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> structure, or <a href="/usr/share/gtk-doc/html/
|
872
|
-
if <em class="parameter"><code>language</code></em> was <a href="/usr/share/gtk-doc/html/
|
858
|
+
<td> an opaque pointer to a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> structure, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
859
|
+
if <em class="parameter"><code>language</code></em> was <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. The returned pointer will be valid
|
873
860
|
forever after, and should not be freed.
|
874
861
|
</td>
|
875
862
|
</tr>
|
@@ -877,17 +864,18 @@ the current locale of the process.</p>
|
|
877
864
|
</table></div>
|
878
865
|
</div>
|
879
866
|
<hr>
|
880
|
-
<div class="refsect2"
|
867
|
+
<div class="refsect2">
|
881
868
|
<a name="pango-language-to-string"></a><h3>pango_language_to_string ()</h3>
|
882
|
-
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_language_to_string (<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
869
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_language_to_string (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
883
870
|
<p>
|
884
|
-
Gets the RFC-3066 format string representing the given language tag
|
871
|
+
Gets the RFC-3066 format string representing the given language tag.
|
872
|
+
</p>
|
885
873
|
<div class="variablelist"><table border="0">
|
886
874
|
<col align="left" valign="top">
|
887
875
|
<tbody>
|
888
876
|
<tr>
|
889
877
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
890
|
-
<td>
|
878
|
+
<td>a language tag.
|
891
879
|
</td>
|
892
880
|
</tr>
|
893
881
|
<tr>
|
@@ -900,28 +888,29 @@ Gets the RFC-3066 format string representing the given language tag.</p>
|
|
900
888
|
</table></div>
|
901
889
|
</div>
|
902
890
|
<hr>
|
903
|
-
<div class="refsect2"
|
891
|
+
<div class="refsect2">
|
904
892
|
<a name="pango-language-matches"></a><h3>pango_language_matches ()</h3>
|
905
|
-
<pre class="programlisting"><
|
906
|
-
const <span class="
|
893
|
+
<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" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
894
|
+
<em class="parameter"><code>const <span class="type">char</span> *range_list</code></em>);</pre>
|
907
895
|
<p>
|
908
896
|
Checks if a language tag matches one of the elements in a list of
|
909
897
|
language ranges. A language tag is considered to match a range
|
910
898
|
in the list if the range is '*', the range is exactly the tag,
|
911
899
|
or the range is a prefix of the tag, and the character after it
|
912
|
-
in the tag is '-'
|
900
|
+
in the tag is '-'.
|
901
|
+
</p>
|
913
902
|
<div class="variablelist"><table border="0">
|
914
903
|
<col align="left" valign="top">
|
915
904
|
<tbody>
|
916
905
|
<tr>
|
917
906
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
918
|
-
<td>
|
919
|
-
<a href="/usr/share/gtk-doc/html/
|
907
|
+
<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>),
|
908
|
+
<a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> is allowed and matches nothing but '*'
|
920
909
|
</td>
|
921
910
|
</tr>
|
922
911
|
<tr>
|
923
912
|
<td><p><span class="term"><em class="parameter"><code>range_list</code></em> :</span></p></td>
|
924
|
-
<td>
|
913
|
+
<td>a list of language ranges, separated by ';', ':',
|
925
914
|
',', or space characters.
|
926
915
|
Each element must either be '*', or a RFC 3066 language range
|
927
916
|
canonicalized as by <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>
|
@@ -929,22 +918,22 @@ in the tag is '-'.</p>
|
|
929
918
|
</tr>
|
930
919
|
<tr>
|
931
920
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
932
|
-
<td> <
|
921
|
+
<td> <code class="literal">TRUE</code> if a match was found.
|
933
922
|
</td>
|
934
923
|
</tr>
|
935
924
|
</tbody>
|
936
925
|
</table></div>
|
937
926
|
</div>
|
938
927
|
<hr>
|
939
|
-
<div class="refsect2"
|
928
|
+
<div class="refsect2">
|
940
929
|
<a name="pango-language-includes-script"></a><h3>pango_language_includes_script ()</h3>
|
941
|
-
<pre class="programlisting"><
|
942
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
930
|
+
<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" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
931
|
+
<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>
|
943
932
|
<p>
|
944
933
|
Determines if <em class="parameter"><code>script</code></em> is one of the scripts used to
|
945
934
|
write <em class="parameter"><code>language</code></em>. The returned value is conservative;
|
946
935
|
if nothing is known about the language tag <em class="parameter"><code>language</code></em>,
|
947
|
-
<
|
936
|
+
<code class="literal">TRUE</code> will be returned, since, as far as Pango knows,
|
948
937
|
<em class="parameter"><code>script</code></em> might be used to write <em class="parameter"><code>language</code></em>.
|
949
938
|
</p>
|
950
939
|
<p>
|
@@ -954,26 +943,27 @@ a particular section of text. It probably is not useful for
|
|
954
943
|
applications in most circumstances.
|
955
944
|
</p>
|
956
945
|
<p>
|
957
|
-
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
|
946
|
+
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
|
+
</p>
|
958
948
|
<div class="variablelist"><table border="0">
|
959
949
|
<col align="left" valign="top">
|
960
950
|
<tbody>
|
961
951
|
<tr>
|
962
952
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
963
|
-
<td>
|
953
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
964
954
|
</td>
|
965
955
|
</tr>
|
966
956
|
<tr>
|
967
957
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
968
|
-
<td>
|
958
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a>
|
969
959
|
</td>
|
970
960
|
</tr>
|
971
961
|
<tr>
|
972
962
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
973
|
-
<td> <
|
963
|
+
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>script</code></em> is one of the scripts used
|
974
964
|
to write <em class="parameter"><code>language</code></em> or if nothing is known about <em class="parameter"><code>language</code></em>
|
975
|
-
(including the case that <em class="parameter"><code>language</code></em> is <a href="/usr/share/gtk-doc/html/
|
976
|
-
<
|
965
|
+
(including the case that <em class="parameter"><code>language</code></em> is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>),
|
966
|
+
<code class="literal">FALSE</code> otherwise.
|
977
967
|
|
978
968
|
</td>
|
979
969
|
</tr>
|
@@ -982,20 +972,20 @@ to write <em class="parameter"><code>language</code></em> or if nothing is known
|
|
982
972
|
<p class="since">Since 1.4</p>
|
983
973
|
</div>
|
984
974
|
<hr>
|
985
|
-
<div class="refsect2"
|
975
|
+
<div class="refsect2">
|
986
976
|
<a name="pango-language-get-scripts"></a><h3>pango_language_get_scripts ()</h3>
|
987
|
-
<pre class="programlisting">const <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="returnvalue">PangoScript</span></a> * pango_language_get_scripts (<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
988
|
-
<span class="
|
977
|
+
<pre class="programlisting">const <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="returnvalue">PangoScript</span></a> * pango_language_get_scripts (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
978
|
+
<em class="parameter"><code><span class="type">int</span> *num_scripts</code></em>);</pre>
|
989
979
|
<p>
|
990
980
|
Determines the scripts used to to write <em class="parameter"><code>language</code></em>.
|
991
981
|
If nothing is known about the language tag <em class="parameter"><code>language</code></em>,
|
992
|
-
or if <em class="parameter"><code>language</code></em> is <a href="/usr/share/gtk-doc/html/
|
982
|
+
or if <em class="parameter"><code>language</code></em> is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, then <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> is returned.
|
993
983
|
The list of scripts returned starts with the script that the
|
994
984
|
language uses most and continues to the one it uses least.
|
995
985
|
</p>
|
996
986
|
<p>
|
997
987
|
The value <em class="parameter"><code>num_script</code></em> points at will be set to the number
|
998
|
-
of scripts in the returned array (or zero if <a href="/usr/share/gtk-doc/html/
|
988
|
+
of scripts in the returned array (or zero if <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> is returned).
|
999
989
|
</p>
|
1000
990
|
<p>
|
1001
991
|
Most languages use only one script for writing, but there are
|
@@ -1003,30 +993,31 @@ some that use two (Latin and Cyrillic for example), and a few
|
|
1003
993
|
use three (Japanese for example). Applications should not make
|
1004
994
|
any assumptions on the maximum number of scripts returned
|
1005
995
|
though, except that it is positive if the return value is not
|
1006
|
-
<a href="/usr/share/gtk-doc/html/
|
996
|
+
<a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, and it is a small number.
|
1007
997
|
</p>
|
1008
998
|
<p>
|
1009
999
|
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
|
1010
|
-
internally
|
1000
|
+
internally.
|
1001
|
+
</p>
|
1011
1002
|
<div class="variablelist"><table border="0">
|
1012
1003
|
<col align="left" valign="top">
|
1013
1004
|
<tbody>
|
1014
1005
|
<tr>
|
1015
1006
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
1016
|
-
<td>
|
1007
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1017
1008
|
</td>
|
1018
1009
|
</tr>
|
1019
1010
|
<tr>
|
1020
1011
|
<td><p><span class="term"><em class="parameter"><code>num_scripts</code></em> :</span></p></td>
|
1021
|
-
<td>
|
1012
|
+
<td>location to return number of scripts, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1022
1013
|
</td>
|
1023
1014
|
</tr>
|
1024
1015
|
<tr>
|
1025
1016
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1026
1017
|
<td> An array of <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> values, with the
|
1027
1018
|
number of entries in the array stored in <em class="parameter"><code>num_scripts</code></em>, or
|
1028
|
-
<a href="/usr/share/gtk-doc/html/
|
1029
|
-
particular language tag (also the case if <em class="parameter"><code>language</code></em> is <a href="/usr/share/gtk-doc/html/
|
1019
|
+
<a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if Pango does not have any information about this
|
1020
|
+
particular language tag (also the case if <em class="parameter"><code>language</code></em> is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>).
|
1030
1021
|
The returned array is owned by Pango and should not be modified
|
1031
1022
|
or freed.
|
1032
1023
|
|
@@ -1037,9 +1028,9 @@ or freed.
|
|
1037
1028
|
<p class="since">Since 1.22</p>
|
1038
1029
|
</div>
|
1039
1030
|
<hr>
|
1040
|
-
<div class="refsect2"
|
1031
|
+
<div class="refsect2">
|
1041
1032
|
<a name="pango-language-get-default"></a><h3>pango_language_get_default ()</h3>
|
1042
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * pango_language_get_default (void);</pre>
|
1033
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * pango_language_get_default (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1043
1034
|
<p>
|
1044
1035
|
Returns the <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> for the current locale of the process.
|
1045
1036
|
Note that this can change over the life of an application.
|
@@ -1058,7 +1049,7 @@ Brazil.
|
|
1058
1049
|
On Windows, the C library does not use any such environment
|
1059
1050
|
variables, and setting them won't affect the behavior of functions
|
1060
1051
|
like <code class="function">ctime()</code>. The user sets the locale through the Regional Options
|
1061
|
-
in the Control Panel. The C library (in the <
|
1052
|
+
in the Control Panel. The C library (in the <code class="function">setlocale()</code> function)
|
1062
1053
|
does not use country and language codes, but country and language
|
1063
1054
|
names spelled out in English.
|
1064
1055
|
However, this function does check the above environment
|
@@ -1068,8 +1059,9 @@ either said environment variables or the thread's current locale.
|
|
1068
1059
|
<p>
|
1069
1060
|
Your application should call <code class="literal">setlocale(LC_ALL, "");</code>
|
1070
1061
|
for the user settings to take effect. Gtk+ does this in its initialization
|
1071
|
-
functions automatically (by calling <
|
1072
|
-
See <code class="literal">man setlocale</code> for more details
|
1062
|
+
functions automatically (by calling <code class="function">gtk_set_locale()</code>).
|
1063
|
+
See <code class="literal">man setlocale</code> for more details.
|
1064
|
+
</p>
|
1073
1065
|
<div class="variablelist"><table border="0">
|
1074
1066
|
<col align="left" valign="top">
|
1075
1067
|
<tbody><tr>
|
@@ -1083,9 +1075,9 @@ See <code class="literal">man setlocale</code> for more details.</p>
|
|
1083
1075
|
<p class="since">Since 1.16</p>
|
1084
1076
|
</div>
|
1085
1077
|
<hr>
|
1086
|
-
<div class="refsect2"
|
1078
|
+
<div class="refsect2">
|
1087
1079
|
<a name="pango-language-get-sample-string"></a><h3>pango_language_get_sample_string ()</h3>
|
1088
|
-
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_language_get_sample_string (<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
1080
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_language_get_sample_string (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
1089
1081
|
<p>
|
1090
1082
|
Get a string that is representative of the characters needed to
|
1091
1083
|
render a particular language.
|
@@ -1097,7 +1089,7 @@ feature requirements unique to the language. It is suitable for use
|
|
1097
1089
|
as sample text in a font selection dialog.
|
1098
1090
|
</p>
|
1099
1091
|
<p>
|
1100
|
-
If <em class="parameter"><code>language</code></em> is <a href="/usr/share/gtk-doc/html/
|
1092
|
+
If <em class="parameter"><code>language</code></em> is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, the default language as found by
|
1101
1093
|
<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.
|
1102
1094
|
</p>
|
1103
1095
|
<p>
|
@@ -1106,15 +1098,25 @@ If Pango does not have a sample string for <em class="parameter"><code>language<
|
|
1106
1098
|
comparing the returned pointer value to that returned for (non-existent)
|
1107
1099
|
language code "xx". That is, compare to:
|
1108
1100
|
</p>
|
1109
|
-
<div class="informalexample"
|
1110
|
-
|
1111
|
-
|
1101
|
+
<div class="informalexample">
|
1102
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1103
|
+
<tbody>
|
1104
|
+
<tr>
|
1105
|
+
<td class="listing_lines" align="right"><pre>1</pre></td>
|
1106
|
+
<td class="listing_code"><pre class="programlisting">pango_language_get_sample_string (pango_language_from_string (<span class="number">"xx"</span>))</pre></td>
|
1107
|
+
</tr>
|
1108
|
+
</tbody>
|
1109
|
+
</table>
|
1110
|
+
</div>
|
1111
|
+
|
1112
|
+
<p>
|
1113
|
+
</p>
|
1112
1114
|
<div class="variablelist"><table border="0">
|
1113
1115
|
<col align="left" valign="top">
|
1114
1116
|
<tbody>
|
1115
1117
|
<tr>
|
1116
1118
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
1117
|
-
<td>
|
1119
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1118
1120
|
</td>
|
1119
1121
|
</tr>
|
1120
1122
|
<tr>
|
@@ -1130,6 +1132,6 @@ pango_language_get_sample_string (pango_language_from_string ("xx"))
|
|
1130
1132
|
</div>
|
1131
1133
|
<div class="footer">
|
1132
1134
|
<hr>
|
1133
|
-
Generated by GTK-Doc V1.
|
1135
|
+
Generated by GTK-Doc V1.15.1</div>
|
1134
1136
|
</body>
|
1135
1137
|
</html>
|