pango 1.0.3-x86-mingw32 → 1.1.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/pango/extconf.rb +3 -0
- data/ext/pango/rbpango.c +312 -12
- data/ext/pango/rbpango.h +33 -22
- data/ext/pango/rbpangoanalysis.c +98 -58
- data/ext/pango/rbpangoattribute.c +94 -85
- data/ext/pango/rbpangoattriterator.c +39 -28
- data/ext/pango/rbpangoattrlist.c +42 -32
- data/ext/pango/rbpangocairo.c +38 -172
- data/ext/pango/rbpangocairocontext.c +151 -0
- data/ext/pango/rbpangocolor.c +49 -38
- data/ext/pango/rbpangocontext.c +109 -102
- data/ext/pango/rbpangoconversions.h +111 -0
- data/ext/pango/rbpangocoverage.c +45 -37
- data/ext/pango/rbpangoengine.c +22 -12
- data/ext/pango/rbpangofont.c +52 -43
- data/ext/pango/rbpangofontdescription.c +102 -91
- data/ext/pango/rbpangofontface.c +32 -21
- data/ext/pango/rbpangofontfamily.c +31 -20
- data/ext/pango/rbpangofontmap.c +44 -36
- data/ext/pango/rbpangofontmetrics.c +41 -30
- data/ext/pango/rbpangofontset.c +32 -21
- data/ext/pango/rbpangofontsetsimple.c +34 -24
- data/ext/pango/rbpangoglyphinfo.c +48 -35
- data/ext/pango/rbpangoglyphitem.c +43 -33
- data/ext/pango/rbpangoglyphstring.c +59 -59
- data/ext/pango/rbpangogravity.c +34 -23
- data/ext/pango/rbpangoitem.c +43 -34
- data/ext/pango/rbpangolanguage.c +44 -34
- data/ext/pango/rbpangolayout.c +167 -160
- data/ext/pango/rbpangolayoutiter.c +70 -59
- data/ext/pango/rbpangolayoutline.c +106 -71
- data/ext/pango/rbpangologattr.c +42 -31
- data/ext/pango/rbpangomatrix.c +47 -35
- data/ext/pango/rbpangoprivate.h +53 -0
- data/ext/pango/rbpangorectangle.c +58 -49
- data/ext/pango/rbpangorenderer.c +81 -70
- data/ext/pango/rbpangoscript.c +37 -27
- data/ext/pango/rbpangoscriptiter.c +32 -22
- data/ext/pango/rbpangotabarray.c +48 -37
- data/lib/1.8/pango.so +0 -0
- data/lib/1.9/pango.so +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/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/etc/pango/pango.modules +1 -1
- data/vendor/local/include/pango-1.0/pango/pango-attributes.h +1 -1
- data/vendor/local/include/pango-1.0/pango/pango-context.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-font.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-language.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +6 -1
- data/vendor/local/include/pango-1.0/pango/pango-renderer.h +1 -1
- data/vendor/local/include/pango-1.0/pango/pango-script.h +6 -6
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +6 -6
- 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/pango-1.0.def +2 -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.def +1 -1
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- 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/manifest/{pango-dev_1.28.3-1_win32.mft → pango-dev_1.29.4-1_win32.mft} +5 -5
- data/vendor/local/manifest/{pango_1.28.3-1_win32.mft → pango_1.29.4-1_win32.mft} +2 -2
- data/vendor/local/share/doc/{pango-1.28.3 → pango-1.29.4}/COPYING +0 -0
- data/vendor/local/share/doc/{pango-dev-1.28.3 → pango-dev-1.29.4}/COPYING +0 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +9 -10
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +25 -27
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +19 -28
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +42 -60
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +97 -147
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +3 -5
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +8 -11
- data/vendor/local/share/gtk-doc/html/pango/index-1.30.html +38 -0
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +38 -40
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index.html +6 -5
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +71 -34
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +4 -66
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +52 -50
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +217 -278
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +40 -41
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +37 -49
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +481 -628
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +76 -118
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +302 -452
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +492 -517
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +134 -164
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +34 -45
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +244 -359
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +117 -122
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +112 -120
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +394 -523
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +269 -364
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +26 -40
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +72 -75
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +97 -145
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +114 -188
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +114 -176
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +42 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +106 -150
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +35 -35
- data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -3
- data/vendor/local/share/man/man1/pango-querymodules.1 +12 -3
- data/vendor/local/share/man/man1/pango-view.1 +2 -2
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.log +806 -0
- data/vendor/local/src/{tml/packaging/pango_1.28.3-1_win32.sh → dieterv/packaging/pango_1.29.4-1_win32.sh} +7 -7
- metadata +19 -19
- data/ChangeLog +0 -721
- data/ext/pango/rbpangoinits.c +0 -72
- data/ext/pango/rbpangomain.c +0 -202
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +0 -799
- data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.log +0 -950
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Scripts and Languages</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
9
|
<link rel="prev" href="pango-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.18 (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">
|
@@ -24,6 +24,8 @@
|
|
24
24
|
<a href="#pango-Scripts-and-Languages.synopsis" class="shortcut">Top</a>
|
25
25
|
|
|
26
26
|
<a href="#pango-Scripts-and-Languages.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#pango-Scripts-and-Languages.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
27
29
|
</td></tr>
|
28
30
|
</table>
|
29
31
|
<div class="refentry">
|
@@ -37,31 +39,42 @@
|
|
37
39
|
</tr></table></div>
|
38
40
|
<div class="refsynopsisdiv">
|
39
41
|
<a name="pango-Scripts-and-Languages.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis">enum <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript">PangoScript</a>;
|
42
|
+
<a name="PangoScript"></a><a name="PangoLanguage"></a><pre class="synopsis">enum <a class="link" href="pango-Scripts-and-Languages.html#PangoScript-enum" title="enum PangoScript">PangoScript</a>;
|
41
43
|
#define <a class="link" href="pango-Scripts-and-Languages.html#PANGO-TYPE-SCRIPT:CAPS" title="PANGO_TYPE_SCRIPT">PANGO_TYPE_SCRIPT</a>
|
42
44
|
<a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter">PangoScriptIter</a>;
|
43
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
44
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
45
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="returnvalue">PangoScript</span></a> <a class="link" href="pango-Scripts-and-Languages.html#pango-script-for-unichar" title="pango_script_for_unichar ()">pango_script_for_unichar</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> ch</code></em>);
|
46
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * <a class="link" href="pango-Scripts-and-Languages.html#pango-script-get-sample-language" title="pango_script_get_sample_language ()">pango_script_get_sample_language</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>);
|
45
47
|
<a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="returnvalue">PangoScriptIter</span></a> * <a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-new" title="pango_script_iter_new ()">pango_script_iter_new</a> (<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
46
48
|
<em class="parameter"><code><span class="type">int</span> length</code></em>);
|
47
49
|
<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>
|
49
|
-
<em class="parameter"><code>
|
50
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
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>);
|
50
|
+
<em class="parameter"><code>const <span class="type">char</span> **start</code></em>,
|
51
|
+
<em class="parameter"><code>const <span class="type">char</span> **end</code></em>,
|
52
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> *script</code></em>);
|
53
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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
54
|
<span class="returnvalue">void</span> <a class="link" href="pango-Scripts-and-Languages.html#pango-script-iter-free" title="pango_script_iter_free ()">pango_script_iter_free</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter" title="PangoScriptIter"><span class="type">PangoScriptIter</span></a> *iter</code></em>);
|
53
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage">PangoLanguage</a>;
|
55
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage-struct" title="PangoLanguage">PangoLanguage</a>;
|
54
56
|
#define <a class="link" href="pango-Scripts-and-Languages.html#PANGO-TYPE-LANGUAGE:CAPS" title="PANGO_TYPE_LANGUAGE">PANGO_TYPE_LANGUAGE</a>
|
55
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
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"
|
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"
|
57
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * <a class="link" href="pango-Scripts-and-Languages.html#pango-language-from-string" title="pango_language_from_string ()">pango_language_from_string</a> (<em class="parameter"><code>const <span class="type">char</span> *language</code></em>);
|
58
|
+
const <span class="returnvalue">char</span> * <a class="link" href="pango-Scripts-and-Languages.html#pango-language-to-string" title="pango_language_to_string ()">pango_language_to_string</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
59
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="pango-Scripts-and-Languages.html#pango-language-matches" title="pango_language_matches ()">pango_language_matches</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
58
60
|
<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"
|
60
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
61
|
-
const <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
61
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="pango-Scripts-and-Languages.html#pango-language-includes-script" title="pango_language_includes_script ()">pango_language_includes_script</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
62
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>);
|
63
|
+
const <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="returnvalue">PangoScript</span></a> * <a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-scripts" title="pango_language_get_scripts ()">pango_language_get_scripts</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
62
64
|
<em class="parameter"><code><span class="type">int</span> *num_scripts</code></em>);
|
63
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
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"
|
65
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * <a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-default" title="pango_language_get_default ()">pango_language_get_default</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
66
|
+
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"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
67
|
+
</pre>
|
68
|
+
</div>
|
69
|
+
<div class="refsect1">
|
70
|
+
<a name="pango-Scripts-and-Languages.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
71
|
+
<pre class="synopsis">
|
72
|
+
GEnum
|
73
|
+
+----PangoScript
|
74
|
+
</pre>
|
75
|
+
<pre class="synopsis">
|
76
|
+
GBoxed
|
77
|
+
+----PangoLanguage
|
65
78
|
</pre>
|
66
79
|
</div>
|
67
80
|
<div class="refsect1">
|
@@ -75,8 +88,9 @@ and of ranges within a larger text string.
|
|
75
88
|
<div class="refsect1">
|
76
89
|
<a name="pango-Scripts-and-Languages.details"></a><h2>Details</h2>
|
77
90
|
<div class="refsect2">
|
78
|
-
<a name="PangoScript"></a><h3>enum PangoScript</h3>
|
79
|
-
<pre class="programlisting">typedef enum {
|
91
|
+
<a name="PangoScript-enum"></a><h3>enum PangoScript</h3>
|
92
|
+
<pre class="programlisting">typedef enum {
|
93
|
+
/* ISO 15924 code */
|
80
94
|
PANGO_SCRIPT_INVALID_CODE = -1,
|
81
95
|
PANGO_SCRIPT_COMMON = 0, /* Zyyy */
|
82
96
|
PANGO_SCRIPT_INHERITED, /* Qaai */
|
@@ -167,12 +181,12 @@ and of ranges within a larger text string.
|
|
167
181
|
} PangoScript;
|
168
182
|
</pre>
|
169
183
|
<p>
|
170
|
-
The <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
184
|
+
The <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> enumeration identifies different writing
|
171
185
|
systems. The values correspond to the names as defined in the
|
172
186
|
Unicode standard.
|
173
187
|
Note that new types may be added in the future. Applications should be ready
|
174
188
|
to handle unknown values. This enumeration is interchangeable with
|
175
|
-
<span class="type">GUnicodeScript</span>. See <a class="ulink" href="http://www.unicode.org/reports/tr24/" target="_top">Unicode Standard Annex
|
189
|
+
<a href="http://library.gnome.org/devel/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
|
176
190
|
#24: Script names</a>.
|
177
191
|
</p>
|
178
192
|
<div class="variablelist"><table border="0">
|
@@ -583,7 +597,7 @@ to handle unknown values. This enumeration is interchangeable with
|
|
583
597
|
<pre class="programlisting">#define PANGO_TYPE_SCRIPT (pango_script_get_type())
|
584
598
|
</pre>
|
585
599
|
<p>
|
586
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
600
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a>
|
587
601
|
</p>
|
588
602
|
</div>
|
589
603
|
<hr>
|
@@ -598,30 +612,27 @@ and identify ranges in different scripts.
|
|
598
612
|
<hr>
|
599
613
|
<div class="refsect2">
|
600
614
|
<a name="pango-script-for-unichar"></a><h3>pango_script_for_unichar ()</h3>
|
601
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
615
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="returnvalue">PangoScript</span></a> pango_script_for_unichar (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> ch</code></em>);</pre>
|
602
616
|
<p>
|
603
|
-
Looks up the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
617
|
+
Looks up the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> for a particular character (as defined by
|
604
618
|
Unicode Standard Annex <span class="type">24</span>). No check is made for <em class="parameter"><code>ch</code></em> being a
|
605
619
|
valid Unicode character; if you pass in invalid character, the
|
606
620
|
result is undefined.
|
607
621
|
</p>
|
608
622
|
<p>
|
609
623
|
As of Pango 1.18, this function simply returns the return value of
|
610
|
-
<code class="function">g_unichar_get_script()</code>.
|
624
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#g-unichar-get-script"><code class="function">g_unichar_get_script()</code></a>.
|
611
625
|
</p>
|
612
626
|
<div class="variablelist"><table border="0">
|
613
627
|
<col align="left" valign="top">
|
614
628
|
<tbody>
|
615
629
|
<tr>
|
616
630
|
<td><p><span class="term"><em class="parameter"><code>ch</code></em> :</span></p></td>
|
617
|
-
<td>a Unicode character
|
618
|
-
</td>
|
631
|
+
<td>a Unicode character</td>
|
619
632
|
</tr>
|
620
633
|
<tr>
|
621
634
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
622
|
-
<td>
|
623
|
-
|
624
|
-
</td>
|
635
|
+
<td>the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> for the character.</td>
|
625
636
|
</tr>
|
626
637
|
</tbody>
|
627
638
|
</table></div>
|
@@ -630,7 +641,7 @@ As of Pango 1.18, this function simply returns the return value of
|
|
630
641
|
<hr>
|
631
642
|
<div class="refsect2">
|
632
643
|
<a name="pango-script-get-sample-language"></a><h3>pango_script_get_sample_language ()</h3>
|
633
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
644
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#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"><span class="type">PangoScript</span></a> script</code></em>);</pre>
|
634
645
|
<p>
|
635
646
|
Given a script, finds a language tag that is reasonably
|
636
647
|
representative of that script. This will usually be the
|
@@ -670,15 +681,13 @@ context language is not feasible.
|
|
670
681
|
<tbody>
|
671
682
|
<tr>
|
672
683
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
673
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
684
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a>
|
674
685
|
</td>
|
675
686
|
</tr>
|
676
687
|
<tr>
|
677
688
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
678
|
-
<td>
|
679
|
-
of the script, or <a href="/
|
680
|
-
|
681
|
-
</td>
|
689
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> that is representative
|
690
|
+
of the script, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if no such language exists.</td>
|
682
691
|
</tr>
|
683
692
|
</tbody>
|
684
693
|
</table></div>
|
@@ -700,22 +709,18 @@ the iterator is freed with <a class="link" href="pango-Scripts-and-Languages.htm
|
|
700
709
|
<tbody>
|
701
710
|
<tr>
|
702
711
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
703
|
-
<td>a UTF-8 string
|
704
|
-
</td>
|
712
|
+
<td>a UTF-8 string</td>
|
705
713
|
</tr>
|
706
714
|
<tr>
|
707
715
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></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
|
709
|
-
</td>
|
716
|
+
<td>length of <em class="parameter"><code>text</code></em>, or -1 if <em class="parameter"><code>text</code></em> is nul-terminated.</td>
|
710
717
|
</tr>
|
711
718
|
<tr>
|
712
719
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
713
|
-
<td>
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
</td>
|
720
|
+
<td>the new script iterator, initialized
|
721
|
+
to point at the first range in the text, which should be
|
722
|
+
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
|
723
|
+
empty, it will point at an empty range.</td>
|
719
724
|
</tr>
|
720
725
|
</tbody>
|
721
726
|
</table></div>
|
@@ -725,9 +730,9 @@ the iterator is freed with <a class="link" href="pango-Scripts-and-Languages.htm
|
|
725
730
|
<div class="refsect2">
|
726
731
|
<a name="pango-script-iter-get-range"></a><h3>pango_script_iter_get_range ()</h3>
|
727
732
|
<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>
|
729
|
-
<em class="parameter"><code>
|
730
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
733
|
+
<em class="parameter"><code>const <span class="type">char</span> **start</code></em>,
|
734
|
+
<em class="parameter"><code>const <span class="type">char</span> **end</code></em>,
|
735
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> *script</code></em>);</pre>
|
731
736
|
<p>
|
732
737
|
Gets information about the range to which <em class="parameter"><code>iter</code></em> currently points.
|
733
738
|
The range is the set of locations p where *start <= p < *end.
|
@@ -743,17 +748,17 @@ The range is the set of locations p where *start <= p < *end.
|
|
743
748
|
</tr>
|
744
749
|
<tr>
|
745
750
|
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
|
746
|
-
<td>location to store start position of the range, or <a href="/
|
751
|
+
<td>location to store start position of the range, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
747
752
|
</td>
|
748
753
|
</tr>
|
749
754
|
<tr>
|
750
755
|
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
|
751
|
-
<td>location to store end position of the range, or <a href="/
|
756
|
+
<td>location to store end position of the range, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
752
757
|
</td>
|
753
758
|
</tr>
|
754
759
|
<tr>
|
755
760
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
756
|
-
<td>location to store script for range, or <a href="/
|
761
|
+
<td>location to store script for range, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
757
762
|
</td>
|
758
763
|
</tr>
|
759
764
|
</tbody>
|
@@ -763,10 +768,10 @@ The range is the set of locations p where *start <= p < *end.
|
|
763
768
|
<hr>
|
764
769
|
<div class="refsect2">
|
765
770
|
<a name="pango-script-iter-next"></a><h3>pango_script_iter_next ()</h3>
|
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>
|
771
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>
|
767
772
|
<p>
|
768
773
|
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>
|
769
|
-
is already at the end, it is left unchanged and <code class="literal">FALSE</code>
|
774
|
+
is already at the end, it is left unchanged and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
770
775
|
is returned.
|
771
776
|
</p>
|
772
777
|
<div class="variablelist"><table border="0">
|
@@ -779,9 +784,8 @@ is returned.
|
|
779
784
|
</tr>
|
780
785
|
<tr>
|
781
786
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
782
|
-
<td>
|
783
|
-
|
784
|
-
</td>
|
787
|
+
<td>
|
788
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em> was successfully advanced.</td>
|
785
789
|
</tr>
|
786
790
|
</tbody>
|
787
791
|
</table></div>
|
@@ -806,14 +810,14 @@ Frees a <a class="link" href="pango-Scripts-and-Languages.html#PangoScriptIter"
|
|
806
810
|
</div>
|
807
811
|
<hr>
|
808
812
|
<div class="refsect2">
|
809
|
-
<a name="PangoLanguage"></a><h3>PangoLanguage</h3>
|
813
|
+
<a name="PangoLanguage-struct"></a><h3>PangoLanguage</h3>
|
810
814
|
<pre class="programlisting">typedef struct _PangoLanguage PangoLanguage;</pre>
|
811
815
|
<p>
|
812
|
-
The <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
816
|
+
The <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> structure is used to
|
813
817
|
represent a language.
|
814
818
|
</p>
|
815
819
|
<p>
|
816
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
820
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> pointers can be efficiently
|
817
821
|
copied and compared with each other.
|
818
822
|
</p>
|
819
823
|
</div>
|
@@ -823,16 +827,16 @@ copied and compared with each other.
|
|
823
827
|
<pre class="programlisting">#define PANGO_TYPE_LANGUAGE (pango_language_get_type ())
|
824
828
|
</pre>
|
825
829
|
<p>
|
826
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
830
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/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>.
|
827
831
|
</p>
|
828
832
|
</div>
|
829
833
|
<hr>
|
830
834
|
<div class="refsect2">
|
831
835
|
<a name="pango-language-from-string"></a><h3>pango_language_from_string ()</h3>
|
832
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
836
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#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>
|
833
837
|
<p>
|
834
838
|
Take a RFC-3066 format language tag as a string and convert it to a
|
835
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
839
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> pointer that can be efficiently copied (copy the
|
836
840
|
pointer) and compared with other language tags (compare the
|
837
841
|
pointer.)
|
838
842
|
</p>
|
@@ -842,7 +846,7 @@ lowercase, mapping '_' to '-', and stripping all characters other
|
|
842
846
|
than letters and '-'.
|
843
847
|
</p>
|
844
848
|
<p>
|
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"
|
849
|
+
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
|
846
850
|
the current locale of the process.
|
847
851
|
</p>
|
848
852
|
<div class="variablelist"><table border="0">
|
@@ -850,15 +854,14 @@ the current locale of the process.
|
|
850
854
|
<tbody>
|
851
855
|
<tr>
|
852
856
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
853
|
-
<td>a string representing a language tag, or <a href="/
|
857
|
+
<td>a string representing a language tag, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
854
858
|
</td>
|
855
859
|
</tr>
|
856
860
|
<tr>
|
857
861
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
858
|
-
<td>
|
859
|
-
|
860
|
-
|
861
|
-
</td>
|
862
|
+
<td>an opaque pointer to a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> structure, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
863
|
+
if <em class="parameter"><code>language</code></em> was <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. The returned pointer will be valid
|
864
|
+
forever after, and should not be freed.</td>
|
862
865
|
</tr>
|
863
866
|
</tbody>
|
864
867
|
</table></div>
|
@@ -866,7 +869,7 @@ the current locale of the process.
|
|
866
869
|
<hr>
|
867
870
|
<div class="refsect2">
|
868
871
|
<a name="pango-language-to-string"></a><h3>pango_language_to_string ()</h3>
|
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"
|
872
|
+
<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"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
870
873
|
<p>
|
871
874
|
Gets the RFC-3066 format string representing the given language tag.
|
872
875
|
</p>
|
@@ -875,14 +878,12 @@ Gets the RFC-3066 format string representing the given language tag.
|
|
875
878
|
<tbody>
|
876
879
|
<tr>
|
877
880
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
878
|
-
<td>a language tag
|
879
|
-
</td>
|
881
|
+
<td>a language tag.</td>
|
880
882
|
</tr>
|
881
883
|
<tr>
|
882
884
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
883
|
-
<td>
|
884
|
-
|
885
|
-
</td>
|
885
|
+
<td>a string representing the language tag. This is owned by
|
886
|
+
Pango and should not be freed.</td>
|
886
887
|
</tr>
|
887
888
|
</tbody>
|
888
889
|
</table></div>
|
@@ -890,7 +891,7 @@ Gets the RFC-3066 format string representing the given language tag.
|
|
890
891
|
<hr>
|
891
892
|
<div class="refsect2">
|
892
893
|
<a name="pango-language-matches"></a><h3>pango_language_matches ()</h3>
|
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"
|
894
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>,
|
894
895
|
<em class="parameter"><code>const <span class="type">char</span> *range_list</code></em>);</pre>
|
895
896
|
<p>
|
896
897
|
Checks if a language tag matches one of the elements in a list of
|
@@ -905,21 +906,20 @@ in the tag is '-'.
|
|
905
906
|
<tr>
|
906
907
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
907
908
|
<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
|
-
|
909
|
-
</td>
|
909
|
+
<a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> is allowed and matches nothing but '*'</td>
|
910
910
|
</tr>
|
911
911
|
<tr>
|
912
912
|
<td><p><span class="term"><em class="parameter"><code>range_list</code></em> :</span></p></td>
|
913
913
|
<td>a list of language ranges, separated by ';', ':',
|
914
|
-
|
915
|
-
|
916
|
-
|
914
|
+
',', or space characters.
|
915
|
+
Each element must either be '*', or a RFC 3066 language range
|
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>
|
917
917
|
</td>
|
918
918
|
</tr>
|
919
919
|
<tr>
|
920
920
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
921
|
-
<td>
|
922
|
-
</td>
|
921
|
+
<td>
|
922
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a match was found.</td>
|
923
923
|
</tr>
|
924
924
|
</tbody>
|
925
925
|
</table></div>
|
@@ -927,13 +927,13 @@ in the tag is '-'.
|
|
927
927
|
<hr>
|
928
928
|
<div class="refsect2">
|
929
929
|
<a name="pango-language-includes-script"></a><h3>pango_language_includes_script ()</h3>
|
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"
|
931
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
930
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_language_includes_script (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
931
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>);</pre>
|
932
932
|
<p>
|
933
933
|
Determines if <em class="parameter"><code>script</code></em> is one of the scripts used to
|
934
934
|
write <em class="parameter"><code>language</code></em>. The returned value is conservative;
|
935
935
|
if nothing is known about the language tag <em class="parameter"><code>language</code></em>,
|
936
|
-
<code class="literal">TRUE</code> will be returned, since, as far as Pango knows,
|
936
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> will be returned, since, as far as Pango knows,
|
937
937
|
<em class="parameter"><code>script</code></em> might be used to write <em class="parameter"><code>language</code></em>.
|
938
938
|
</p>
|
939
939
|
<p>
|
@@ -950,22 +950,21 @@ This function uses <a class="link" href="pango-Scripts-and-Languages.html#pango-
|
|
950
950
|
<tbody>
|
951
951
|
<tr>
|
952
952
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
953
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
953
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
954
954
|
</td>
|
955
955
|
</tr>
|
956
956
|
<tr>
|
957
957
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
958
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
958
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a>
|
959
959
|
</td>
|
960
960
|
</tr>
|
961
961
|
<tr>
|
962
962
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
963
|
-
<td>
|
963
|
+
<td>
|
964
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>script</code></em> is one of the scripts used
|
964
965
|
to write <em class="parameter"><code>language</code></em> or if nothing is known about <em class="parameter"><code>language</code></em>
|
965
|
-
(including the case that <em class="parameter"><code>language</code></em> is <a href="/
|
966
|
-
<code class="literal">FALSE</code> otherwise
|
967
|
-
|
968
|
-
</td>
|
966
|
+
(including the case that <em class="parameter"><code>language</code></em> is <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>),
|
967
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
969
968
|
</tr>
|
970
969
|
</tbody>
|
971
970
|
</table></div>
|
@@ -974,18 +973,18 @@ to write <em class="parameter"><code>language</code></em> or if nothing is known
|
|
974
973
|
<hr>
|
975
974
|
<div class="refsect2">
|
976
975
|
<a name="pango-language-get-scripts"></a><h3>pango_language_get_scripts ()</h3>
|
977
|
-
<pre class="programlisting">const <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
976
|
+
<pre class="programlisting">const <a class="link" href="pango-Scripts-and-Languages.html#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"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
978
977
|
<em class="parameter"><code><span class="type">int</span> *num_scripts</code></em>);</pre>
|
979
978
|
<p>
|
980
979
|
Determines the scripts used to to write <em class="parameter"><code>language</code></em>.
|
981
980
|
If nothing is known about the language tag <em class="parameter"><code>language</code></em>,
|
982
|
-
or if <em class="parameter"><code>language</code></em> is <a href="/
|
981
|
+
or if <em class="parameter"><code>language</code></em> is <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, then <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.
|
983
982
|
The list of scripts returned starts with the script that the
|
984
983
|
language uses most and continues to the one it uses least.
|
985
984
|
</p>
|
986
985
|
<p>
|
987
986
|
The value <em class="parameter"><code>num_script</code></em> points at will be set to the number
|
988
|
-
of scripts in the returned array (or zero if <a href="/
|
987
|
+
of scripts in the returned array (or zero if <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned).
|
989
988
|
</p>
|
990
989
|
<p>
|
991
990
|
Most languages use only one script for writing, but there are
|
@@ -993,7 +992,7 @@ some that use two (Latin and Cyrillic for example), and a few
|
|
993
992
|
use three (Japanese for example). Applications should not make
|
994
993
|
any assumptions on the maximum number of scripts returned
|
995
994
|
though, except that it is positive if the return value is not
|
996
|
-
<a href="/
|
995
|
+
<a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, and it is a small number.
|
997
996
|
</p>
|
998
997
|
<p>
|
999
998
|
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
|
@@ -1004,24 +1003,23 @@ internally.
|
|
1004
1003
|
<tbody>
|
1005
1004
|
<tr>
|
1006
1005
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
1007
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
1006
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1008
1007
|
</td>
|
1009
1008
|
</tr>
|
1010
1009
|
<tr>
|
1011
1010
|
<td><p><span class="term"><em class="parameter"><code>num_scripts</code></em> :</span></p></td>
|
1012
|
-
<td>location to return number of scripts,
|
1011
|
+
<td>location to return number of scripts,
|
1012
|
+
or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a> caller-allocates][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1013
1013
|
</td>
|
1014
1014
|
</tr>
|
1015
1015
|
<tr>
|
1016
1016
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1017
|
-
<td>
|
1017
|
+
<td>An array of <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> values, with the
|
1018
1018
|
number of entries in the array stored in <em class="parameter"><code>num_scripts</code></em>, or
|
1019
|
-
<a href="/
|
1020
|
-
particular language tag (also the case if <em class="parameter"><code>language</code></em> is <a href="/
|
1019
|
+
<a href="/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="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>).
|
1021
1021
|
The returned array is owned by Pango and should not be modified
|
1022
|
-
or freed
|
1023
|
-
|
1024
|
-
</td>
|
1022
|
+
or freed.</td>
|
1025
1023
|
</tr>
|
1026
1024
|
</tbody>
|
1027
1025
|
</table></div>
|
@@ -1030,9 +1028,9 @@ or freed.
|
|
1030
1028
|
<hr>
|
1031
1029
|
<div class="refsect2">
|
1032
1030
|
<a name="pango-language-get-default"></a><h3>pango_language_get_default ()</h3>
|
1033
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
1031
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * pango_language_get_default (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1034
1032
|
<p>
|
1035
|
-
Returns the <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
1033
|
+
Returns the <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> for the current locale of the process.
|
1036
1034
|
Note that this can change over the life of an application.
|
1037
1035
|
</p>
|
1038
1036
|
<p>
|
@@ -1049,7 +1047,7 @@ Brazil.
|
|
1049
1047
|
On Windows, the C library does not use any such environment
|
1050
1048
|
variables, and setting them won't affect the behavior of functions
|
1051
1049
|
like <code class="function">ctime()</code>. The user sets the locale through the Regional Options
|
1052
|
-
in the Control Panel. The C library (in the <code class="function">setlocale()</code> function)
|
1050
|
+
in the Control Panel. The C library (in the <a href="http://library.gnome.org/devel/glib/unstable/glib-running.html#setlocale"><code class="function">setlocale()</code></a> function)
|
1053
1051
|
does not use country and language codes, but country and language
|
1054
1052
|
names spelled out in English.
|
1055
1053
|
However, this function does check the above environment
|
@@ -1059,17 +1057,15 @@ either said environment variables or the thread's current locale.
|
|
1059
1057
|
<p>
|
1060
1058
|
Your application should call <code class="literal">setlocale(LC_ALL, "");</code>
|
1061
1059
|
for the user settings to take effect. Gtk+ does this in its initialization
|
1062
|
-
functions automatically (by calling <code class="function">gtk_set_locale()</code>).
|
1060
|
+
functions automatically (by calling <a href="http://library.gnome.org/devel/gtk3/gtk-General.html#gtk-set-locale"><code class="function">gtk_set_locale()</code></a>).
|
1063
1061
|
See <code class="literal">man setlocale</code> for more details.
|
1064
1062
|
</p>
|
1065
1063
|
<div class="variablelist"><table border="0">
|
1066
1064
|
<col align="left" valign="top">
|
1067
1065
|
<tbody><tr>
|
1068
1066
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1069
|
-
<td>
|
1070
|
-
|
1071
|
-
|
1072
|
-
</td>
|
1067
|
+
<td>the default language as a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, must not be
|
1068
|
+
freed.</td>
|
1073
1069
|
</tr></tbody>
|
1074
1070
|
</table></div>
|
1075
1071
|
<p class="since">Since 1.16</p>
|
@@ -1077,7 +1073,7 @@ See <code class="literal">man setlocale</code> for more details.
|
|
1077
1073
|
<hr>
|
1078
1074
|
<div class="refsect2">
|
1079
1075
|
<a name="pango-language-get-sample-string"></a><h3>pango_language_get_sample_string ()</h3>
|
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"
|
1076
|
+
<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"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
1081
1077
|
<p>
|
1082
1078
|
Get a string that is representative of the characters needed to
|
1083
1079
|
render a particular language.
|
@@ -1089,7 +1085,7 @@ feature requirements unique to the language. It is suitable for use
|
|
1089
1085
|
as sample text in a font selection dialog.
|
1090
1086
|
</p>
|
1091
1087
|
<p>
|
1092
|
-
If <em class="parameter"><code>language</code></em> is <a href="/
|
1088
|
+
If <em class="parameter"><code>language</code></em> is <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default language as found by
|
1093
1089
|
<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.
|
1094
1090
|
</p>
|
1095
1091
|
<p>
|
@@ -1103,7 +1099,7 @@ language code "xx". That is, compare to:
|
|
1103
1099
|
<tbody>
|
1104
1100
|
<tr>
|
1105
1101
|
<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 (
|
1102
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="pango-Scripts-and-Languages.html#pango-language-get-sample-string">pango_language_get_sample_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="pango-Scripts-and-Languages.html#pango-language-from-string">pango_language_from_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"xx"</span><span class="symbol">))</span></pre></td>
|
1107
1103
|
</tr>
|
1108
1104
|
</tbody>
|
1109
1105
|
</table>
|
@@ -1116,14 +1112,13 @@ language code "xx". That is, compare to:
|
|
1116
1112
|
<tbody>
|
1117
1113
|
<tr>
|
1118
1114
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
1119
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
1115
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1120
1116
|
</td>
|
1121
1117
|
</tr>
|
1122
1118
|
<tr>
|
1123
1119
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1124
|
-
<td>
|
1125
|
-
|
1126
|
-
</td>
|
1120
|
+
<td>the sample string. This value is owned by Pango
|
1121
|
+
and should not be freed.</td>
|
1127
1122
|
</tr>
|
1128
1123
|
</tbody>
|
1129
1124
|
</table></div>
|
@@ -1132,6 +1127,6 @@ language code "xx". That is, compare to:
|
|
1132
1127
|
</div>
|
1133
1128
|
<div class="footer">
|
1134
1129
|
<hr>
|
1135
|
-
Generated by GTK-Doc V1.
|
1130
|
+
Generated by GTK-Doc V1.18</div>
|
1136
1131
|
</body>
|
1137
1132
|
</html>
|