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>Modules</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="lowlevel.html" title="Low Level Functionality">
|
9
9
|
<link rel="prev" href="PangoEngineShape.html" title="PangoEngineShape">
|
10
10
|
<link rel="next" href="pango-Miscellaneous-Utilities.html" title="Miscellaneous Utilities">
|
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">
|
@@ -40,15 +40,15 @@
|
|
40
40
|
<pre class="synopsis">struct <a class="link" href="pango-Modules.html#PangoIncludedModule" title="struct PangoIncludedModule">PangoIncludedModule</a>;
|
41
41
|
<a class="link" href="pango-Modules.html#PangoMap" title="PangoMap">PangoMap</a>;
|
42
42
|
<a class="link" href="pango-Modules.html#PangoMapEntry" title="PangoMapEntry">PangoMapEntry</a>;
|
43
|
-
<a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="returnvalue">PangoMap</span></a> * <a class="link" href="pango-Modules.html#pango-find-map" title="pango_find_map ()">pango_find_map</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
44
|
-
<em class="parameter"><code><span class="type">guint</span> engine_type_id</code></em>,
|
45
|
-
<em class="parameter"><code><span class="type">guint</span> render_type_id</code></em>);
|
43
|
+
<a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="returnvalue">PangoMap</span></a> * <a class="link" href="pango-Modules.html#pango-find-map" title="pango_find_map ()">pango_find_map</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
44
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> engine_type_id</code></em>,
|
45
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> render_type_id</code></em>);
|
46
46
|
<a class="link" href="pango-Engines.html#PangoEngine"><span class="returnvalue">PangoEngine</span></a> * <a class="link" href="pango-Modules.html#pango-map-get-engine" title="pango_map_get_engine ()">pango_map_get_engine</a> (<em class="parameter"><code><a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="type">PangoMap</span></a> *map</code></em>,
|
47
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
47
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>);
|
48
48
|
<span class="returnvalue">void</span> <a class="link" href="pango-Modules.html#pango-map-get-engines" title="pango_map_get_engines ()">pango_map_get_engines</a> (<em class="parameter"><code><a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="type">PangoMap</span></a> *map</code></em>,
|
49
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
50
|
-
<em class="parameter"><code><span class="type">GSList</span> **exact_engines</code></em>,
|
51
|
-
<em class="parameter"><code><span class="type">GSList</span> **fallback_engines</code></em>);
|
49
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>,
|
50
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> **exact_engines</code></em>,
|
51
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> **fallback_engines</code></em>);
|
52
52
|
<span class="returnvalue">void</span> <a class="link" href="pango-Modules.html#pango-module-register" title="pango_module_register ()">pango_module_register</a> (<em class="parameter"><code><a class="link" href="pango-Modules.html#PangoIncludedModule" title="struct PangoIncludedModule"><span class="type">PangoIncludedModule</span></a> *module</code></em>);
|
53
53
|
</pre>
|
54
54
|
</div>
|
@@ -81,23 +81,19 @@ loaded module.
|
|
81
81
|
<tbody>
|
82
82
|
<tr>
|
83
83
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoIncludedModule.list"></a>list</code></em> ()</span></p></td>
|
84
|
-
<td>a function that lists the engines defined in this module
|
85
|
-
</td>
|
84
|
+
<td>a function that lists the engines defined in this module.</td>
|
86
85
|
</tr>
|
87
86
|
<tr>
|
88
87
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoIncludedModule.init"></a>init</code></em> ()</span></p></td>
|
89
|
-
<td>a function to initialize the module
|
90
|
-
</td>
|
88
|
+
<td>a function to initialize the module.</td>
|
91
89
|
</tr>
|
92
90
|
<tr>
|
93
91
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoIncludedModule.exit"></a>exit</code></em> ()</span></p></td>
|
94
|
-
<td>a function to finalize the module
|
95
|
-
</td>
|
92
|
+
<td>a function to finalize the module.</td>
|
96
93
|
</tr>
|
97
94
|
<tr>
|
98
95
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoIncludedModule.create"></a>create</code></em> ()</span></p></td>
|
99
|
-
<td>a function to create an engine, given the engine name
|
100
|
-
</td>
|
96
|
+
<td>a function to create an engine, given the engine name.</td>
|
101
97
|
</tr>
|
102
98
|
</tbody>
|
103
99
|
</table></div>
|
@@ -124,9 +120,9 @@ matches the language tag for this entry's map exactly or just approximately.
|
|
124
120
|
<hr>
|
125
121
|
<div class="refsect2">
|
126
122
|
<a name="pango-find-map"></a><h3>pango_find_map ()</h3>
|
127
|
-
<pre class="programlisting"><a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="returnvalue">PangoMap</span></a> * pango_find_map (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
128
|
-
<em class="parameter"><code><span class="type">guint</span> engine_type_id</code></em>,
|
129
|
-
<em class="parameter"><code><span class="type">guint</span> render_type_id</code></em>);</pre>
|
123
|
+
<pre class="programlisting"><a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="returnvalue">PangoMap</span></a> * pango_find_map (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
124
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> engine_type_id</code></em>,
|
125
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> render_type_id</code></em>);</pre>
|
130
126
|
<p>
|
131
127
|
Locate a <a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="type">PangoMap</span></a> for a particular engine type and render
|
132
128
|
type. The resulting map can be used to determine the engine
|
@@ -137,23 +133,19 @@ for each character.
|
|
137
133
|
<tbody>
|
138
134
|
<tr>
|
139
135
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
140
|
-
<td>the language tag for which to find the map
|
141
|
-
</td>
|
136
|
+
<td>the language tag for which to find the map</td>
|
142
137
|
</tr>
|
143
138
|
<tr>
|
144
139
|
<td><p><span class="term"><em class="parameter"><code>engine_type_id</code></em> :</span></p></td>
|
145
|
-
<td>the engine type for the map to find
|
146
|
-
</td>
|
140
|
+
<td>the engine type for the map to find</td>
|
147
141
|
</tr>
|
148
142
|
<tr>
|
149
143
|
<td><p><span class="term"><em class="parameter"><code>render_type_id</code></em> :</span></p></td>
|
150
|
-
<td>the render type for the map to find
|
151
|
-
</td>
|
144
|
+
<td>the render type for the map to find</td>
|
152
145
|
</tr>
|
153
146
|
<tr>
|
154
147
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
155
|
-
<td>
|
156
|
-
</td>
|
148
|
+
<td>the suitable <a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="type">PangoMap</span></a>.</td>
|
157
149
|
</tr>
|
158
150
|
</tbody>
|
159
151
|
</table></div>
|
@@ -162,7 +154,7 @@ for each character.
|
|
162
154
|
<div class="refsect2">
|
163
155
|
<a name="pango-map-get-engine"></a><h3>pango_map_get_engine ()</h3>
|
164
156
|
<pre class="programlisting"><a class="link" href="pango-Engines.html#PangoEngine"><span class="returnvalue">PangoEngine</span></a> * pango_map_get_engine (<em class="parameter"><code><a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="type">PangoMap</span></a> *map</code></em>,
|
165
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
157
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>);</pre>
|
166
158
|
<p>
|
167
159
|
Returns the best engine listed in the map for a given script
|
168
160
|
</p>
|
@@ -176,17 +168,16 @@ Returns the best engine listed in the map for a given script
|
|
176
168
|
</tr>
|
177
169
|
<tr>
|
178
170
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
179
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
171
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a>
|
180
172
|
</td>
|
181
173
|
</tr>
|
182
174
|
<tr>
|
183
175
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
184
|
-
<td>
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
</td>
|
176
|
+
<td>the best engine, if one is listed for the script,
|
177
|
+
or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. The lookup may cause the engine to be loaded;
|
178
|
+
once an engine is loaded, it won't be unloaded. If multiple
|
179
|
+
engines are exact for the script, the choice of which is
|
180
|
+
returned is arbitrary.</td>
|
190
181
|
</tr>
|
191
182
|
</tbody>
|
192
183
|
</table></div>
|
@@ -195,9 +186,9 @@ Returns the best engine listed in the map for a given script
|
|
195
186
|
<div class="refsect2">
|
196
187
|
<a name="pango-map-get-engines"></a><h3>pango_map_get_engines ()</h3>
|
197
188
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_map_get_engines (<em class="parameter"><code><a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="type">PangoMap</span></a> *map</code></em>,
|
198
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
199
|
-
<em class="parameter"><code><span class="type">GSList</span> **exact_engines</code></em>,
|
200
|
-
<em class="parameter"><code><span class="type">GSList</span> **fallback_engines</code></em>);</pre>
|
189
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>,
|
190
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> **exact_engines</code></em>,
|
191
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> **fallback_engines</code></em>);</pre>
|
201
192
|
<p>
|
202
193
|
Finds engines in the map that handle the given script. The returned
|
203
194
|
lists should be freed with g_slist_free, but the engines in the
|
@@ -214,20 +205,18 @@ they should not be unref'ed.
|
|
214
205
|
</tr>
|
215
206
|
<tr>
|
216
207
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
217
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
208
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a>
|
218
209
|
</td>
|
219
210
|
</tr>
|
220
211
|
<tr>
|
221
212
|
<td><p><span class="term"><em class="parameter"><code>exact_engines</code></em> :</span></p></td>
|
222
213
|
<td>location to store list of engines that exactly
|
223
|
-
|
224
|
-
</td>
|
214
|
+
handle this script.</td>
|
225
215
|
</tr>
|
226
216
|
<tr>
|
227
217
|
<td><p><span class="term"><em class="parameter"><code>fallback_engines</code></em> :</span></p></td>
|
228
218
|
<td>location to store list of engines that approximately
|
229
|
-
|
230
|
-
</td>
|
219
|
+
handle this script.</td>
|
231
220
|
</tr>
|
232
221
|
</tbody>
|
233
222
|
</table></div>
|
@@ -256,6 +245,6 @@ module.
|
|
256
245
|
</div>
|
257
246
|
<div class="footer">
|
258
247
|
<hr>
|
259
|
-
Generated by GTK-Doc V1.
|
248
|
+
Generated by GTK-Doc V1.18</div>
|
260
249
|
</body>
|
261
250
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>OpenType Font Handling</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="lowlevel.html" title="Low Level Functionality">
|
9
9
|
<link rel="prev" href="PangoFcDecoder.html" title="PangoFcDecoder">
|
10
10
|
<link rel="next" href="pango-Coverage-Maps.html" title="Coverage Maps">
|
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">
|
@@ -63,99 +63,99 @@ struct <a class="link" href="pango-OpenType-Font-Handling.html#Pang
|
|
63
63
|
#define <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-DEFAULT-LANGUAGE:CAPS" title="PANGO_OT_TAG_DEFAULT_LANGUAGE">PANGO_OT_TAG_DEFAULT_LANGUAGE</a>
|
64
64
|
#define <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-DEFAULT-SCRIPT:CAPS" title="PANGO_OT_TAG_DEFAULT_SCRIPT">PANGO_OT_TAG_DEFAULT_SCRIPT</a>
|
65
65
|
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="returnvalue">PangoOTInfo</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-get" title="pango_ot_info_get ()">pango_ot_info_get</a> (<em class="parameter"><code><span class="type">FT_Face</span> face</code></em>);
|
66
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-script" title="pango_ot_info_find_script ()">pango_ot_info_find_script</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
66
|
+
<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-OpenType-Font-Handling.html#pango-ot-info-find-script" title="pango_ot_info_find_script ()">pango_ot_info_find_script</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
67
67
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
68
68
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> script_tag</code></em>,
|
69
|
-
<em class="parameter"><code><span class="type">guint</span> *script_index</code></em>);
|
70
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-language" title="pango_ot_info_find_language ()">pango_ot_info_find_language</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
69
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *script_index</code></em>);
|
70
|
+
<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-OpenType-Font-Handling.html#pango-ot-info-find-language" title="pango_ot_info_find_language ()">pango_ot_info_find_language</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
71
71
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
72
|
-
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
72
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> script_index</code></em>,
|
73
73
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> language_tag</code></em>,
|
74
|
-
<em class="parameter"><code><span class="type">guint</span> *language_index</code></em>,
|
75
|
-
<em class="parameter"><code><span class="type">guint</span> *required_feature_index</code></em>);
|
76
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-feature" title="pango_ot_info_find_feature ()">pango_ot_info_find_feature</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
74
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *language_index</code></em>,
|
75
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *required_feature_index</code></em>);
|
76
|
+
<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-OpenType-Font-Handling.html#pango-ot-info-find-feature" title="pango_ot_info_find_feature ()">pango_ot_info_find_feature</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
77
77
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
78
78
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> feature_tag</code></em>,
|
79
|
-
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
80
|
-
<em class="parameter"><code><span class="type">guint</span> language_index</code></em>,
|
81
|
-
<em class="parameter"><code><span class="type">guint</span> *feature_index</code></em>);
|
79
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> script_index</code></em>,
|
80
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> language_index</code></em>,
|
81
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *feature_index</code></em>);
|
82
82
|
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-list-scripts" title="pango_ot_info_list_scripts ()">pango_ot_info_list_scripts</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
83
83
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>);
|
84
84
|
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-list-languages" title="pango_ot_info_list_languages ()">pango_ot_info_list_languages</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
85
85
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
86
|
-
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
86
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> script_index</code></em>,
|
87
87
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> language_tag</code></em>);
|
88
88
|
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-list-features" title="pango_ot_info_list_features ()">pango_ot_info_list_features</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
89
89
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
90
90
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> tag</code></em>,
|
91
|
-
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
92
|
-
<em class="parameter"><code><span class="type">guint</span> language_index</code></em>);
|
91
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> script_index</code></em>,
|
92
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> language_index</code></em>);
|
93
93
|
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="returnvalue">PangoOTBuffer</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-new" title="pango_ot_buffer_new ()">pango_ot_buffer_new</a> (<em class="parameter"><code><a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> *font</code></em>);
|
94
94
|
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-destroy" title="pango_ot_buffer_destroy ()">pango_ot_buffer_destroy</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>);
|
95
95
|
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-clear" title="pango_ot_buffer_clear ()">pango_ot_buffer_clear</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>);
|
96
96
|
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-add-glyph" title="pango_ot_buffer_add_glyph ()">pango_ot_buffer_add_glyph</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
97
|
-
<em class="parameter"><code><span class="type">guint</span> glyph</code></em>,
|
98
|
-
<em class="parameter"><code><span class="type">guint</span> properties</code></em>,
|
99
|
-
<em class="parameter"><code><span class="type">guint</span> cluster</code></em>);
|
97
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> glyph</code></em>,
|
98
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> properties</code></em>,
|
99
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> cluster</code></em>);
|
100
100
|
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-set-rtl" title="pango_ot_buffer_set_rtl ()">pango_ot_buffer_set_rtl</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
101
|
-
<em class="parameter"><code><span class="type">gboolean</span> rtl</code></em>);
|
101
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> rtl</code></em>);
|
102
102
|
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-set-zero-width-marks" title="pango_ot_buffer_set_zero_width_marks ()">pango_ot_buffer_set_zero_width_marks</a>
|
103
103
|
(<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
104
|
-
<em class="parameter"><code><span class="type">gboolean</span> zero_width_marks</code></em>);
|
104
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> zero_width_marks</code></em>);
|
105
105
|
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-get-glyphs" title="pango_ot_buffer_get_glyphs ()">pango_ot_buffer_get_glyphs</a> (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
106
106
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTGlyph" title="struct PangoOTGlyph"><span class="type">PangoOTGlyph</span></a> **glyphs</code></em>,
|
107
107
|
<em class="parameter"><code><span class="type">int</span> *n_glyphs</code></em>);
|
108
108
|
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-output" title="pango_ot_buffer_output ()">pango_ot_buffer_output</a> (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
109
|
-
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
109
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);
|
110
110
|
const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-get-for-description" title="pango_ot_ruleset_get_for_description ()">pango_ot_ruleset_get_for_description</a>
|
111
111
|
(<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
112
112
|
<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);
|
113
113
|
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new" title="pango_ot_ruleset_new ()">pango_ot_ruleset_new</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>);
|
114
114
|
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new-for" title="pango_ot_ruleset_new_for ()">pango_ot_ruleset_new_for</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
115
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
116
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
115
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>,
|
116
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
117
117
|
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new-from-description" title="pango_ot_ruleset_new_from_description ()">pango_ot_ruleset_new_from_description</a>
|
118
118
|
(<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
119
119
|
<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);
|
120
120
|
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()">pango_ot_ruleset_add_feature</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
121
121
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
122
|
-
<em class="parameter"><code><span class="type">guint</span> feature_index</code></em>,
|
123
|
-
<em class="parameter"><code><span class="type">gulong</span> property_bit</code></em>);
|
124
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-maybe-add-feature" title="pango_ot_ruleset_maybe_add_feature ()">pango_ot_ruleset_maybe_add_feature</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
122
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> feature_index</code></em>,
|
123
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> property_bit</code></em>);
|
124
|
+
<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-OpenType-Font-Handling.html#pango-ot-ruleset-maybe-add-feature" title="pango_ot_ruleset_maybe_add_feature ()">pango_ot_ruleset_maybe_add_feature</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
125
125
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
126
126
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> feature_tag</code></em>,
|
127
|
-
<em class="parameter"><code><span class="type">gulong</span> property_bit</code></em>);
|
128
|
-
<span class="returnvalue">guint</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-maybe-add-features" title="pango_ot_ruleset_maybe_add_features ()">pango_ot_ruleset_maybe_add_features</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
127
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> property_bit</code></em>);
|
128
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-maybe-add-features" title="pango_ot_ruleset_maybe_add_features ()">pango_ot_ruleset_maybe_add_features</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
129
129
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
130
130
|
<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> *features</code></em>,
|
131
|
-
<em class="parameter"><code><span class="type">guint</span> n_features</code></em>);
|
132
|
-
<span class="returnvalue">guint</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-get-feature-count" title="pango_ot_ruleset_get_feature_count ()">pango_ot_ruleset_get_feature_count</a> (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
133
|
-
<em class="parameter"><code><span class="type">guint</span> *n_gsub_features</code></em>,
|
134
|
-
<em class="parameter"><code><span class="type">guint</span> *n_gpos_features</code></em>);
|
131
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_features</code></em>);
|
132
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-get-feature-count" title="pango_ot_ruleset_get_feature_count ()">pango_ot_ruleset_get_feature_count</a> (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
133
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_gsub_features</code></em>,
|
134
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_gpos_features</code></em>);
|
135
135
|
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-substitute" title="pango_ot_ruleset_substitute ()">pango_ot_ruleset_substitute</a> (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
136
136
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>);
|
137
137
|
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-position" title="pango_ot_ruleset_position ()">pango_ot_ruleset_position</a> (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
138
138
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>);
|
139
139
|
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="returnvalue">PangoOTRulesetDescription</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-copy" title="pango_ot_ruleset_description_copy ()">pango_ot_ruleset_description_copy</a>
|
140
140
|
(<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);
|
141
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-equal" title="pango_ot_ruleset_description_equal ()">pango_ot_ruleset_description_equal</a> (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc1</code></em>,
|
141
|
+
<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-OpenType-Font-Handling.html#pango-ot-ruleset-description-equal" title="pango_ot_ruleset_description_equal ()">pango_ot_ruleset_description_equal</a> (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc1</code></em>,
|
142
142
|
<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc2</code></em>);
|
143
143
|
<span class="returnvalue">void</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-free" title="pango_ot_ruleset_description_free ()">pango_ot_ruleset_description_free</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);
|
144
|
-
<span class="returnvalue">guint</span> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-hash" title="pango_ot_ruleset_description_hash ()">pango_ot_ruleset_description_hash</a> (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);
|
145
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-language" title="pango_ot_tag_from_language ()">pango_ot_tag_from_language</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
146
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-script" title="pango_ot_tag_from_script ()">pango_ot_tag_from_script</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
147
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
148
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
144
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-hash" title="pango_ot_ruleset_description_hash ()">pango_ot_ruleset_description_hash</a> (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);
|
145
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-language" title="pango_ot_tag_from_language ()">pango_ot_tag_from_language</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
146
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-script" title="pango_ot_tag_from_script ()">pango_ot_tag_from_script</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>);
|
147
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-to-language" title="pango_ot_tag_to_language ()">pango_ot_tag_to_language</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> language_tag</code></em>);
|
148
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="returnvalue">PangoScript</span></a> <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-to-script" title="pango_ot_tag_to_script ()">pango_ot_tag_to_script</a> (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> script_tag</code></em>);
|
149
149
|
</pre>
|
150
150
|
</div>
|
151
151
|
<div class="refsect1">
|
152
152
|
<a name="pango-OpenType-Font-Handling.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
153
153
|
<pre class="synopsis">
|
154
|
-
GObject
|
154
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
155
155
|
+----PangoOTInfo
|
156
156
|
</pre>
|
157
157
|
<pre class="synopsis">
|
158
|
-
GObject
|
158
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
159
159
|
+----PangoOTRuleset
|
160
160
|
</pre>
|
161
161
|
</div>
|
@@ -225,35 +225,29 @@ It contains the following fields.
|
|
225
225
|
<col align="left" valign="top">
|
226
226
|
<tbody>
|
227
227
|
<tr>
|
228
|
-
<td><p><span class="term"><span class="type">guint32</span> <em class="structfield"><code><a name="PangoOTGlyph.glyph"></a>glyph</code></em>;</span></p></td>
|
229
|
-
<td>the glyph itself
|
230
|
-
</td>
|
228
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="PangoOTGlyph.glyph"></a>glyph</code></em>;</span></p></td>
|
229
|
+
<td>the glyph itself.</td>
|
231
230
|
</tr>
|
232
231
|
<tr>
|
233
|
-
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoOTGlyph.properties"></a>properties</code></em>;</span></p></td>
|
232
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoOTGlyph.properties"></a>properties</code></em>;</span></p></td>
|
234
233
|
<td>the properties value, identifying which features should be
|
235
|
-
|
236
|
-
</td>
|
234
|
+
applied on this glyph. See <code class="function">pango_ruleset_add_feature()</code>.</td>
|
237
235
|
</tr>
|
238
236
|
<tr>
|
239
|
-
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoOTGlyph.cluster"></a>cluster</code></em>;</span></p></td>
|
240
|
-
<td>the cluster that this glyph belongs to
|
241
|
-
</td>
|
237
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoOTGlyph.cluster"></a>cluster</code></em>;</span></p></td>
|
238
|
+
<td>the cluster that this glyph belongs to.</td>
|
242
239
|
</tr>
|
243
240
|
<tr>
|
244
|
-
<td><p><span class="term"><span class="type">gushort</span> <em class="structfield"><code><a name="PangoOTGlyph.component"></a>component</code></em>;</span></p></td>
|
245
|
-
<td>a component value, set by the OpenType layout engine
|
246
|
-
</td>
|
241
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gushort"><span class="type">gushort</span></a> <em class="structfield"><code><a name="PangoOTGlyph.component"></a>component</code></em>;</span></p></td>
|
242
|
+
<td>a component value, set by the OpenType layout engine.</td>
|
247
243
|
</tr>
|
248
244
|
<tr>
|
249
|
-
<td><p><span class="term"><span class="type">gushort</span> <em class="structfield"><code><a name="PangoOTGlyph.ligID"></a>ligID</code></em>;</span></p></td>
|
250
|
-
<td>a ligature index value, set by the OpenType layout engine
|
251
|
-
</td>
|
245
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gushort"><span class="type">gushort</span></a> <em class="structfield"><code><a name="PangoOTGlyph.ligID"></a>ligID</code></em>;</span></p></td>
|
246
|
+
<td>a ligature index value, set by the OpenType layout engine.</td>
|
252
247
|
</tr>
|
253
248
|
<tr>
|
254
|
-
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoOTGlyph.internal"></a>internal</code></em>;</span></p></td>
|
255
|
-
<td>for Pango internal use
|
256
|
-
</td>
|
249
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoOTGlyph.internal"></a>internal</code></em>;</span></p></td>
|
250
|
+
<td>for Pango internal use</td>
|
257
251
|
</tr>
|
258
252
|
</tbody>
|
259
253
|
</table></div>
|
@@ -270,7 +264,7 @@ that should be applied to a text feature such as a certain
|
|
270
264
|
type of accent.) A <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>
|
271
265
|
is created with <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new" title="pango_ot_ruleset_new ()"><code class="function">pango_ot_ruleset_new()</code></a>, features are added
|
272
266
|
to it with <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()"><code class="function">pango_ot_ruleset_add_feature()</code></a>, then it is
|
273
|
-
applied to a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
267
|
+
applied to a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> with <code class="function">pango_ot_ruleset_shape()</code>.
|
274
268
|
</p>
|
275
269
|
</div>
|
276
270
|
<hr>
|
@@ -299,46 +293,38 @@ or create a new one using <a class="link" href="pango-OpenType-Font-Handling.htm
|
|
299
293
|
<col align="left" valign="top">
|
300
294
|
<tbody>
|
301
295
|
<tr>
|
302
|
-
<td><p><span class="term"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
303
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
304
|
-
</td>
|
296
|
+
<td><p><span class="term"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> <em class="structfield"><code><a name="PangoOTRulesetDescription.script"></a>script</code></em>;</span></p></td>
|
297
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a>.</td>
|
305
298
|
</tr>
|
306
299
|
<tr>
|
307
|
-
<td><p><span class="term"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
308
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
309
|
-
</td>
|
300
|
+
<td><p><span class="term"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *<em class="structfield"><code><a name="PangoOTRulesetDescription.language"></a>language</code></em>;</span></p></td>
|
301
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>.</td>
|
310
302
|
</tr>
|
311
303
|
<tr>
|
312
304
|
<td><p><span class="term">const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> *<em class="structfield"><code><a name="PangoOTRulesetDescription.static-gsub-features"></a>static_gsub_features</code></em>;</span></p></td>
|
313
|
-
<td>static map of GSUB features, or <a href="/
|
314
|
-
</td>
|
305
|
+
<td>static map of GSUB features, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
315
306
|
</tr>
|
316
307
|
<tr>
|
317
|
-
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoOTRulesetDescription.n-static-gsub-features"></a>n_static_gsub_features</code></em>;</span></p></td>
|
318
|
-
<td>length of <em class="parameter"><code>static_gsub_features</code></em>, or 0
|
319
|
-
</td>
|
308
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoOTRulesetDescription.n-static-gsub-features"></a>n_static_gsub_features</code></em>;</span></p></td>
|
309
|
+
<td>length of <em class="parameter"><code>static_gsub_features</code></em>, or 0.</td>
|
320
310
|
</tr>
|
321
311
|
<tr>
|
322
312
|
<td><p><span class="term">const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> *<em class="structfield"><code><a name="PangoOTRulesetDescription.static-gpos-features"></a>static_gpos_features</code></em>;</span></p></td>
|
323
|
-
<td>static map of GPOS features, or <a href="/
|
324
|
-
</td>
|
313
|
+
<td>static map of GPOS features, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
325
314
|
</tr>
|
326
315
|
<tr>
|
327
|
-
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoOTRulesetDescription.n-static-gpos-features"></a>n_static_gpos_features</code></em>;</span></p></td>
|
328
|
-
<td>length of <em class="parameter"><code>static_gpos_features</code></em>, or 0
|
329
|
-
</td>
|
316
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoOTRulesetDescription.n-static-gpos-features"></a>n_static_gpos_features</code></em>;</span></p></td>
|
317
|
+
<td>length of <em class="parameter"><code>static_gpos_features</code></em>, or 0.</td>
|
330
318
|
</tr>
|
331
319
|
<tr>
|
332
320
|
<td><p><span class="term">const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> *<em class="structfield"><code><a name="PangoOTRulesetDescription.other-features"></a>other_features</code></em>;</span></p></td>
|
333
|
-
<td>map of extra features to add to both GSUB and GPOS, or <a href="/
|
334
|
-
|
335
|
-
|
336
|
-
</td>
|
321
|
+
<td>map of extra features to add to both GSUB and GPOS, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
322
|
+
Unlike the static maps, this pointer need not live beyond
|
323
|
+
the life of function calls taking this struct.</td>
|
337
324
|
</tr>
|
338
325
|
<tr>
|
339
|
-
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoOTRulesetDescription.n-other-features"></a>n_other_features</code></em>;</span></p></td>
|
340
|
-
<td>length of <em class="parameter"><code>other_features</code></em>, or 0
|
341
|
-
</td>
|
326
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoOTRulesetDescription.n-other-features"></a>n_other_features</code></em>;</span></p></td>
|
327
|
+
<td>length of <em class="parameter"><code>other_features</code></em>, or 0.</td>
|
342
328
|
</tr>
|
343
329
|
</tbody>
|
344
330
|
</table></div>
|
@@ -347,8 +333,7 @@ or create a new one using <a class="link" href="pango-OpenType-Font-Handling.htm
|
|
347
333
|
<hr>
|
348
334
|
<div class="refsect2">
|
349
335
|
<a name="PangoOTTableType"></a><h3>enum PangoOTTableType</h3>
|
350
|
-
<pre class="programlisting">typedef enum
|
351
|
-
{
|
336
|
+
<pre class="programlisting">typedef enum {
|
352
337
|
PANGO_OT_TABLE_GSUB,
|
353
338
|
PANGO_OT_TABLE_GPOS
|
354
339
|
} PangoOTTableType;
|
@@ -392,14 +377,12 @@ represented as a char array instead of a <a class="link" href="pango-OpenType-Fo
|
|
392
377
|
<tbody>
|
393
378
|
<tr>
|
394
379
|
<td><p><span class="term"><span class="type">char</span> <em class="structfield"><code><a name="PangoOTFeatureMap.feature-name"></a>feature_name</code></em>[5];</span></p></td>
|
395
|
-
<td>feature tag in represented as four-letter ASCII string
|
396
|
-
</td>
|
380
|
+
<td>feature tag in represented as four-letter ASCII string.</td>
|
397
381
|
</tr>
|
398
382
|
<tr>
|
399
|
-
<td><p><span class="term"><span class="type">gulong</span> <em class="structfield"><code><a name="PangoOTFeatureMap.property-bit"></a>property_bit</code></em>;</span></p></td>
|
383
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> <em class="structfield"><code><a name="PangoOTFeatureMap.property-bit"></a>property_bit</code></em>;</span></p></td>
|
400
384
|
<td>the property bit to use for this feature. See
|
401
|
-
|
402
|
-
</td>
|
385
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()"><code class="function">pango_ot_ruleset_add_feature()</code></a> for details.</td>
|
403
386
|
</tr>
|
404
387
|
</tbody>
|
405
388
|
</table></div>
|
@@ -420,23 +403,19 @@ FreeType.
|
|
420
403
|
<tbody>
|
421
404
|
<tr>
|
422
405
|
<td><p><span class="term"><em class="parameter"><code>c1</code></em> :</span></p></td>
|
423
|
-
<td>First character
|
424
|
-
</td>
|
406
|
+
<td>First character.</td>
|
425
407
|
</tr>
|
426
408
|
<tr>
|
427
409
|
<td><p><span class="term"><em class="parameter"><code>c2</code></em> :</span></p></td>
|
428
|
-
<td>Second character
|
429
|
-
</td>
|
410
|
+
<td>Second character.</td>
|
430
411
|
</tr>
|
431
412
|
<tr>
|
432
413
|
<td><p><span class="term"><em class="parameter"><code>c3</code></em> :</span></p></td>
|
433
|
-
<td>Third character
|
434
|
-
</td>
|
414
|
+
<td>Third character.</td>
|
435
415
|
</tr>
|
436
416
|
<tr>
|
437
417
|
<td><p><span class="term"><em class="parameter"><code>c4</code></em> :</span></p></td>
|
438
|
-
<td>Fourth character
|
439
|
-
</td>
|
418
|
+
<td>Fourth character.</td>
|
440
419
|
</tr>
|
441
420
|
</tbody>
|
442
421
|
</table></div>
|
@@ -456,8 +435,7 @@ example, as a switch expression, as it dereferences pointers.
|
|
456
435
|
<col align="left" valign="top">
|
457
436
|
<tbody><tr>
|
458
437
|
<td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
|
459
|
-
<td>The string representation of the tag
|
460
|
-
</td>
|
438
|
+
<td>The string representation of the tag.</td>
|
461
439
|
</tr></tbody>
|
462
440
|
</table></div>
|
463
441
|
</div>
|
@@ -556,15 +534,12 @@ Returns the <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"
|
|
556
534
|
<tbody>
|
557
535
|
<tr>
|
558
536
|
<td><p><span class="term"><em class="parameter"><code>face</code></em> :</span></p></td>
|
559
|
-
<td>a <span class="type">FT_Face</span
|
560
|
-
</td>
|
537
|
+
<td>a <span class="type">FT_Face</span>.</td>
|
561
538
|
</tr>
|
562
539
|
<tr>
|
563
540
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
564
|
-
<td>
|
565
|
-
the same lifetime as <em class="parameter"><code>face</code></em
|
566
|
-
|
567
|
-
</td>
|
541
|
+
<td>the <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> for <em class="parameter"><code>face</code></em>. This object will have
|
542
|
+
the same lifetime as <em class="parameter"><code>face</code></em>.</td>
|
568
543
|
</tr>
|
569
544
|
</tbody>
|
570
545
|
</table></div>
|
@@ -573,10 +548,10 @@ the same lifetime as <em class="parameter"><code>face</code></em>.
|
|
573
548
|
<hr>
|
574
549
|
<div class="refsect2">
|
575
550
|
<a name="pango-ot-info-find-script"></a><h3>pango_ot_info_find_script ()</h3>
|
576
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_ot_info_find_script (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
551
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_ot_info_find_script (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
577
552
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
578
553
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> script_tag</code></em>,
|
579
|
-
<em class="parameter"><code><span class="type">guint</span> *script_index</code></em>);</pre>
|
554
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *script_index</code></em>);</pre>
|
580
555
|
<p>
|
581
556
|
Finds the index of a script. If not found, tries to find the 'DFLT'
|
582
557
|
and then 'dflt' scripts and return the index of that in <em class="parameter"><code>script_index</code></em>.
|
@@ -594,28 +569,24 @@ fallback to the 'DFLT'/'dflt' script.
|
|
594
569
|
<tbody>
|
595
570
|
<tr>
|
596
571
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
597
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a
|
598
|
-
</td>
|
572
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</td>
|
599
573
|
</tr>
|
600
574
|
<tr>
|
601
575
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
602
|
-
<td>the table type to obtain information about
|
603
|
-
</td>
|
576
|
+
<td>the table type to obtain information about.</td>
|
604
577
|
</tr>
|
605
578
|
<tr>
|
606
579
|
<td><p><span class="term"><em class="parameter"><code>script_tag</code></em> :</span></p></td>
|
607
|
-
<td>the tag of the script to find
|
608
|
-
</td>
|
580
|
+
<td>the tag of the script to find.</td>
|
609
581
|
</tr>
|
610
582
|
<tr>
|
611
583
|
<td><p><span class="term"><em class="parameter"><code>script_index</code></em> :</span></p></td>
|
612
|
-
<td>location to store the index of the script, or <a href="/
|
613
|
-
</td>
|
584
|
+
<td>location to store the index of the script, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
614
585
|
</tr>
|
615
586
|
<tr>
|
616
587
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
617
|
-
<td>
|
618
|
-
</td>
|
588
|
+
<td>
|
589
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the script was found.</td>
|
619
590
|
</tr>
|
620
591
|
</tbody>
|
621
592
|
</table></div>
|
@@ -623,12 +594,12 @@ fallback to the 'DFLT'/'dflt' script.
|
|
623
594
|
<hr>
|
624
595
|
<div class="refsect2">
|
625
596
|
<a name="pango-ot-info-find-language"></a><h3>pango_ot_info_find_language ()</h3>
|
626
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_ot_info_find_language (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
597
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_ot_info_find_language (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
627
598
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
628
|
-
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
599
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> script_index</code></em>,
|
629
600
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> language_tag</code></em>,
|
630
|
-
<em class="parameter"><code><span class="type">guint</span> *language_index</code></em>,
|
631
|
-
<em class="parameter"><code><span class="type">guint</span> *required_feature_index</code></em>);</pre>
|
601
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *language_index</code></em>,
|
602
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *required_feature_index</code></em>);</pre>
|
632
603
|
<p>
|
633
604
|
Finds the index of a language and its required feature index.
|
634
605
|
If the language is not found, sets <em class="parameter"><code>language_index</code></em> to
|
@@ -644,39 +615,33 @@ automatically fall back to the default language system.
|
|
644
615
|
<tbody>
|
645
616
|
<tr>
|
646
617
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
647
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a
|
648
|
-
</td>
|
618
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</td>
|
649
619
|
</tr>
|
650
620
|
<tr>
|
651
621
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
652
|
-
<td>the table type to obtain information about
|
653
|
-
</td>
|
622
|
+
<td>the table type to obtain information about.</td>
|
654
623
|
</tr>
|
655
624
|
<tr>
|
656
625
|
<td><p><span class="term"><em class="parameter"><code>script_index</code></em> :</span></p></td>
|
657
|
-
<td>the index of the script whose languages are searched
|
658
|
-
</td>
|
626
|
+
<td>the index of the script whose languages are searched.</td>
|
659
627
|
</tr>
|
660
628
|
<tr>
|
661
629
|
<td><p><span class="term"><em class="parameter"><code>language_tag</code></em> :</span></p></td>
|
662
|
-
<td>the tag of the language to find
|
663
|
-
</td>
|
630
|
+
<td>the tag of the language to find.</td>
|
664
631
|
</tr>
|
665
632
|
<tr>
|
666
633
|
<td><p><span class="term"><em class="parameter"><code>language_index</code></em> :</span></p></td>
|
667
|
-
<td>location to store the index of the language, or <a href="/
|
668
|
-
</td>
|
634
|
+
<td>location to store the index of the language, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
669
635
|
</tr>
|
670
636
|
<tr>
|
671
637
|
<td><p><span class="term"><em class="parameter"><code>required_feature_index</code></em> :</span></p></td>
|
672
638
|
<td>location to store the required feature index of
|
673
|
-
|
674
|
-
</td>
|
639
|
+
the language, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
675
640
|
</tr>
|
676
641
|
<tr>
|
677
642
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
678
|
-
<td>
|
679
|
-
</td>
|
643
|
+
<td>
|
644
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the language was found.</td>
|
680
645
|
</tr>
|
681
646
|
</tbody>
|
682
647
|
</table></div>
|
@@ -684,12 +649,12 @@ automatically fall back to the default language system.
|
|
684
649
|
<hr>
|
685
650
|
<div class="refsect2">
|
686
651
|
<a name="pango-ot-info-find-feature"></a><h3>pango_ot_info_find_feature ()</h3>
|
687
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_ot_info_find_feature (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
652
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_ot_info_find_feature (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
688
653
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
689
654
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> feature_tag</code></em>,
|
690
|
-
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
691
|
-
<em class="parameter"><code><span class="type">guint</span> language_index</code></em>,
|
692
|
-
<em class="parameter"><code><span class="type">guint</span> *feature_index</code></em>);</pre>
|
655
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> script_index</code></em>,
|
656
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> language_index</code></em>,
|
657
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *feature_index</code></em>);</pre>
|
693
658
|
<p>
|
694
659
|
Finds the index of a feature. If the feature is not found, sets
|
695
660
|
<em class="parameter"><code>feature_index</code></em> to PANGO_OT_NO_FEATURE, which is safe to pass to
|
@@ -699,7 +664,7 @@ Finds the index of a feature. If the feature is not found, sets
|
|
699
664
|
In the future, this may set <em class="parameter"><code>feature_index</code></em> to an special value that if used
|
700
665
|
in <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()"><code class="function">pango_ot_ruleset_add_feature()</code></a> will ask Pango to synthesize the
|
701
666
|
requested feature based on Unicode properties and data. However, this
|
702
|
-
function will still return <code class="literal">FALSE</code> in those cases. So, users may want to
|
667
|
+
function will still return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> in those cases. So, users may want to
|
703
668
|
ignore the return value of this function in certain cases.
|
704
669
|
</p>
|
705
670
|
<div class="variablelist"><table border="0">
|
@@ -707,39 +672,33 @@ ignore the return value of this function in certain cases.
|
|
707
672
|
<tbody>
|
708
673
|
<tr>
|
709
674
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
710
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a
|
711
|
-
</td>
|
675
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</td>
|
712
676
|
</tr>
|
713
677
|
<tr>
|
714
678
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
715
|
-
<td>the table type to obtain information about
|
716
|
-
</td>
|
679
|
+
<td>the table type to obtain information about.</td>
|
717
680
|
</tr>
|
718
681
|
<tr>
|
719
682
|
<td><p><span class="term"><em class="parameter"><code>feature_tag</code></em> :</span></p></td>
|
720
|
-
<td>the tag of the feature to find
|
721
|
-
</td>
|
683
|
+
<td>the tag of the feature to find.</td>
|
722
684
|
</tr>
|
723
685
|
<tr>
|
724
686
|
<td><p><span class="term"><em class="parameter"><code>script_index</code></em> :</span></p></td>
|
725
|
-
<td>the index of the script
|
726
|
-
</td>
|
687
|
+
<td>the index of the script.</td>
|
727
688
|
</tr>
|
728
689
|
<tr>
|
729
690
|
<td><p><span class="term"><em class="parameter"><code>language_index</code></em> :</span></p></td>
|
730
691
|
<td>the index of the language whose features are searched,
|
731
|
-
|
732
|
-
</td>
|
692
|
+
or <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-DEFAULT-LANGUAGE:CAPS" title="PANGO_OT_DEFAULT_LANGUAGE"><code class="literal">PANGO_OT_DEFAULT_LANGUAGE</code></a> to use the default language of the script.</td>
|
733
693
|
</tr>
|
734
694
|
<tr>
|
735
695
|
<td><p><span class="term"><em class="parameter"><code>feature_index</code></em> :</span></p></td>
|
736
|
-
<td>location to store the index of the feature, or <a href="/
|
737
|
-
</td>
|
696
|
+
<td>location to store the index of the feature, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
738
697
|
</tr>
|
739
698
|
<tr>
|
740
699
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
741
|
-
<td>
|
742
|
-
</td>
|
700
|
+
<td>
|
701
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the feature was found.</td>
|
743
702
|
</tr>
|
744
703
|
</tbody>
|
745
704
|
</table></div>
|
@@ -757,19 +716,16 @@ Obtains the list of available scripts.
|
|
757
716
|
<tbody>
|
758
717
|
<tr>
|
759
718
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
760
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a
|
761
|
-
</td>
|
719
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</td>
|
762
720
|
</tr>
|
763
721
|
<tr>
|
764
722
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
765
|
-
<td>the table type to obtain information about
|
766
|
-
</td>
|
723
|
+
<td>the table type to obtain information about.</td>
|
767
724
|
</tr>
|
768
725
|
<tr>
|
769
726
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
770
|
-
<td>
|
771
|
-
|
772
|
-
</td>
|
727
|
+
<td>a newly-allocated zero-terminated array containing the tags of the
|
728
|
+
available scripts. Should be freed using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
|
773
729
|
</tr>
|
774
730
|
</tbody>
|
775
731
|
</table></div>
|
@@ -779,7 +735,7 @@ Obtains the list of available scripts.
|
|
779
735
|
<a name="pango-ot-info-list-languages"></a><h3>pango_ot_info_list_languages ()</h3>
|
780
736
|
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> * pango_ot_info_list_languages (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
781
737
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
782
|
-
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
738
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> script_index</code></em>,
|
783
739
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> language_tag</code></em>);</pre>
|
784
740
|
<p>
|
785
741
|
Obtains the list of available languages for a given script.
|
@@ -789,29 +745,24 @@ Obtains the list of available languages for a given script.
|
|
789
745
|
<tbody>
|
790
746
|
<tr>
|
791
747
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
792
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a
|
793
|
-
</td>
|
748
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</td>
|
794
749
|
</tr>
|
795
750
|
<tr>
|
796
751
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
797
|
-
<td>the table type to obtain information about
|
798
|
-
</td>
|
752
|
+
<td>the table type to obtain information about.</td>
|
799
753
|
</tr>
|
800
754
|
<tr>
|
801
755
|
<td><p><span class="term"><em class="parameter"><code>script_index</code></em> :</span></p></td>
|
802
|
-
<td>the index of the script to list languages for
|
803
|
-
</td>
|
756
|
+
<td>the index of the script to list languages for.</td>
|
804
757
|
</tr>
|
805
758
|
<tr>
|
806
759
|
<td><p><span class="term"><em class="parameter"><code>language_tag</code></em> :</span></p></td>
|
807
|
-
<td>unused parameter
|
808
|
-
</td>
|
760
|
+
<td>unused parameter.</td>
|
809
761
|
</tr>
|
810
762
|
<tr>
|
811
763
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
812
|
-
<td>
|
813
|
-
|
814
|
-
</td>
|
764
|
+
<td>a newly-allocated zero-terminated array containing the tags of the
|
765
|
+
available languages. Should be freed using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
|
815
766
|
</tr>
|
816
767
|
</tbody>
|
817
768
|
</table></div>
|
@@ -822,8 +773,8 @@ Obtains the list of available languages for a given script.
|
|
822
773
|
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> * pango_ot_info_list_features (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
823
774
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
824
775
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> tag</code></em>,
|
825
|
-
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
826
|
-
<em class="parameter"><code><span class="type">guint</span> language_index</code></em>);</pre>
|
776
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> script_index</code></em>,
|
777
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> language_index</code></em>);</pre>
|
827
778
|
<p>
|
828
779
|
Obtains the list of features for the given language of the given script.
|
829
780
|
</p>
|
@@ -832,36 +783,30 @@ Obtains the list of features for the given language of the given script.
|
|
832
783
|
<tbody>
|
833
784
|
<tr>
|
834
785
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
835
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a
|
836
|
-
</td>
|
786
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</td>
|
837
787
|
</tr>
|
838
788
|
<tr>
|
839
789
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
840
|
-
<td>the table type to obtain information about
|
841
|
-
</td>
|
790
|
+
<td>the table type to obtain information about.</td>
|
842
791
|
</tr>
|
843
792
|
<tr>
|
844
793
|
<td><p><span class="term"><em class="parameter"><code>tag</code></em> :</span></p></td>
|
845
|
-
<td>unused parameter
|
846
|
-
</td>
|
794
|
+
<td>unused parameter.</td>
|
847
795
|
</tr>
|
848
796
|
<tr>
|
849
797
|
<td><p><span class="term"><em class="parameter"><code>script_index</code></em> :</span></p></td>
|
850
|
-
<td>the index of the script to obtain information about
|
851
|
-
</td>
|
798
|
+
<td>the index of the script to obtain information about.</td>
|
852
799
|
</tr>
|
853
800
|
<tr>
|
854
801
|
<td><p><span class="term"><em class="parameter"><code>language_index</code></em> :</span></p></td>
|
855
802
|
<td>the index of the language to list features for, or
|
856
|
-
|
857
|
-
|
858
|
-
</td>
|
803
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-DEFAULT-LANGUAGE:CAPS" title="PANGO_OT_DEFAULT_LANGUAGE"><code class="literal">PANGO_OT_DEFAULT_LANGUAGE</code></a>, to list features for the default
|
804
|
+
language of the script.</td>
|
859
805
|
</tr>
|
860
806
|
<tr>
|
861
807
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
862
|
-
<td>
|
863
|
-
available features. Should be freed using <code class="function">g_free()</code
|
864
|
-
</td>
|
808
|
+
<td>a newly-allocated zero-terminated array containing the tags of the
|
809
|
+
available features. Should be freed using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
|
865
810
|
</tr>
|
866
811
|
</tbody>
|
867
812
|
</table></div>
|
@@ -883,10 +828,8 @@ Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuf
|
|
883
828
|
</tr>
|
884
829
|
<tr>
|
885
830
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
886
|
-
<td>
|
887
|
-
|
888
|
-
|
889
|
-
</td>
|
831
|
+
<td>the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>, which should
|
832
|
+
be freed with <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-destroy" title="pango_ot_buffer_destroy ()"><code class="function">pango_ot_buffer_destroy()</code></a>.</td>
|
890
833
|
</tr>
|
891
834
|
</tbody>
|
892
835
|
</table></div>
|
@@ -930,9 +873,9 @@ Empties a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer"
|
|
930
873
|
<div class="refsect2">
|
931
874
|
<a name="pango-ot-buffer-add-glyph"></a><h3>pango_ot_buffer_add_glyph ()</h3>
|
932
875
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_add_glyph (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
933
|
-
<em class="parameter"><code><span class="type">guint</span> glyph</code></em>,
|
934
|
-
<em class="parameter"><code><span class="type">guint</span> properties</code></em>,
|
935
|
-
<em class="parameter"><code><span class="type">guint</span> cluster</code></em>);</pre>
|
876
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> glyph</code></em>,
|
877
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> properties</code></em>,
|
878
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> cluster</code></em>);</pre>
|
936
879
|
<p>
|
937
880
|
Appends a glyph to a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>, with <em class="parameter"><code>properties</code></em> identifying which
|
938
881
|
features should be applied on this glyph. See <code class="function">pango_ruleset_add_feature()</code>.
|
@@ -952,13 +895,11 @@ features should be applied on this glyph. See <code class="function">pango_rule
|
|
952
895
|
</tr>
|
953
896
|
<tr>
|
954
897
|
<td><p><span class="term"><em class="parameter"><code>properties</code></em> :</span></p></td>
|
955
|
-
<td>the glyph properties
|
956
|
-
</td>
|
898
|
+
<td>the glyph properties</td>
|
957
899
|
</tr>
|
958
900
|
<tr>
|
959
901
|
<td><p><span class="term"><em class="parameter"><code>cluster</code></em> :</span></p></td>
|
960
|
-
<td>the cluster that this glyph belongs to
|
961
|
-
</td>
|
902
|
+
<td>the cluster that this glyph belongs to</td>
|
962
903
|
</tr>
|
963
904
|
</tbody>
|
964
905
|
</table></div>
|
@@ -968,7 +909,7 @@ features should be applied on this glyph. See <code class="function">pango_rule
|
|
968
909
|
<div class="refsect2">
|
969
910
|
<a name="pango-ot-buffer-set-rtl"></a><h3>pango_ot_buffer_set_rtl ()</h3>
|
970
911
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_set_rtl (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
971
|
-
<em class="parameter"><code><span class="type">gboolean</span> rtl</code></em>);</pre>
|
912
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> rtl</code></em>);</pre>
|
972
913
|
<p>
|
973
914
|
Sets whether glyphs will be rendered right-to-left. This setting
|
974
915
|
is needed for proper horizontal positioning of right-to-left scripts.
|
@@ -984,8 +925,7 @@ is needed for proper horizontal positioning of right-to-left scripts.
|
|
984
925
|
<tr>
|
985
926
|
<td><p><span class="term"><em class="parameter"><code>rtl</code></em> :</span></p></td>
|
986
927
|
<td>
|
987
|
-
<code class="literal">TRUE</code> for right-to-left text
|
988
|
-
</td>
|
928
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for right-to-left text</td>
|
989
929
|
</tr>
|
990
930
|
</tbody>
|
991
931
|
</table></div>
|
@@ -996,7 +936,7 @@ is needed for proper horizontal positioning of right-to-left scripts.
|
|
996
936
|
<a name="pango-ot-buffer-set-zero-width-marks"></a><h3>pango_ot_buffer_set_zero_width_marks ()</h3>
|
997
937
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_set_zero_width_marks
|
998
938
|
(<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
999
|
-
<em class="parameter"><code><span class="type">gboolean</span> zero_width_marks</code></em>);</pre>
|
939
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> zero_width_marks</code></em>);</pre>
|
1000
940
|
<p>
|
1001
941
|
Sets whether characters with a mark class should be forced to zero width.
|
1002
942
|
This setting is needed for proper positioning of Arabic accents,
|
@@ -1014,9 +954,8 @@ fonts.
|
|
1014
954
|
<tr>
|
1015
955
|
<td><p><span class="term"><em class="parameter"><code>zero_width_marks</code></em> :</span></p></td>
|
1016
956
|
<td>
|
1017
|
-
<code class="literal">TRUE</code> if characters with a mark class should
|
1018
|
-
|
1019
|
-
</td>
|
957
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if characters with a mark class should
|
958
|
+
be forced to zero width.</td>
|
1020
959
|
</tr>
|
1021
960
|
</tbody>
|
1022
961
|
</table></div>
|
@@ -1043,12 +982,12 @@ as buffer is not modified.
|
|
1043
982
|
</tr>
|
1044
983
|
<tr>
|
1045
984
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1046
|
-
<td>location to store the array of glyphs, or <a href="/
|
985
|
+
<td>location to store the array of glyphs, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1047
986
|
</td>
|
1048
987
|
</tr>
|
1049
988
|
<tr>
|
1050
989
|
<td><p><span class="term"><em class="parameter"><code>n_glyphs</code></em> :</span></p></td>
|
1051
|
-
<td>location to store the number of glyphs, or <a href="/
|
990
|
+
<td>location to store the number of glyphs, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1052
991
|
</td>
|
1053
992
|
</tr>
|
1054
993
|
</tbody>
|
@@ -1059,9 +998,9 @@ as buffer is not modified.
|
|
1059
998
|
<div class="refsect2">
|
1060
999
|
<a name="pango-ot-buffer-output"></a><h3>pango_ot_buffer_output ()</h3>
|
1061
1000
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_output (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
1062
|
-
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1001
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
|
1063
1002
|
<p>
|
1064
|
-
Exports the glyphs in a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> into a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1003
|
+
Exports the glyphs in a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> into a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>. This is
|
1065
1004
|
typically used after the OpenType layout processing is over, to convert the
|
1066
1005
|
resulting glyphs into a generic Pango glyph string.
|
1067
1006
|
</p>
|
@@ -1075,7 +1014,7 @@ resulting glyphs into a generic Pango glyph string.
|
|
1075
1014
|
</tr>
|
1076
1015
|
<tr>
|
1077
1016
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1078
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"
|
1017
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>
|
1079
1018
|
</td>
|
1080
1019
|
</tr>
|
1081
1020
|
</tbody>
|
@@ -1103,20 +1042,16 @@ long as <em class="parameter"><code>info</code></em> is.
|
|
1103
1042
|
<tbody>
|
1104
1043
|
<tr>
|
1105
1044
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
1106
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a
|
1107
|
-
</td>
|
1045
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</td>
|
1108
1046
|
</tr>
|
1109
1047
|
<tr>
|
1110
1048
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1111
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a
|
1112
|
-
</td>
|
1049
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a>.</td>
|
1113
1050
|
</tr>
|
1114
1051
|
<tr>
|
1115
1052
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1116
|
-
<td>
|
1117
|
-
the same lifetime as <em class="parameter"><code>info</code></em
|
1118
|
-
|
1119
|
-
</td>
|
1053
|
+
<td>the <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> for <em class="parameter"><code>desc</code></em>. This object will have
|
1054
|
+
the same lifetime as <em class="parameter"><code>info</code></em>.</td>
|
1120
1055
|
</tr>
|
1121
1056
|
</tbody>
|
1122
1057
|
</table></div>
|
@@ -1134,14 +1069,12 @@ Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRul
|
|
1134
1069
|
<tbody>
|
1135
1070
|
<tr>
|
1136
1071
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
1137
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a
|
1138
|
-
</td>
|
1072
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</td>
|
1139
1073
|
</tr>
|
1140
1074
|
<tr>
|
1141
1075
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1142
|
-
<td>
|
1143
|
-
|
1144
|
-
</td>
|
1076
|
+
<td>the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>, which
|
1077
|
+
should be freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</td>
|
1145
1078
|
</tr>
|
1146
1079
|
</tbody>
|
1147
1080
|
</table></div>
|
@@ -1150,8 +1083,8 @@ Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRul
|
|
1150
1083
|
<div class="refsect2">
|
1151
1084
|
<a name="pango-ot-ruleset-new-for"></a><h3>pango_ot_ruleset_new_for ()</h3>
|
1152
1085
|
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * pango_ot_ruleset_new_for (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
1153
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
1154
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
1086
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>,
|
1087
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
1155
1088
|
<p>
|
1156
1089
|
Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> for the given OpenType info, script, and
|
1157
1090
|
language.
|
@@ -1202,25 +1135,20 @@ finds and uses the 'DFLT' script and the default language-system.
|
|
1202
1135
|
<tbody>
|
1203
1136
|
<tr>
|
1204
1137
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
1205
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a
|
1206
|
-
</td>
|
1138
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</td>
|
1207
1139
|
</tr>
|
1208
1140
|
<tr>
|
1209
1141
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
1210
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
1211
|
-
</td>
|
1142
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a>.</td>
|
1212
1143
|
</tr>
|
1213
1144
|
<tr>
|
1214
1145
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
1215
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
1216
|
-
</td>
|
1146
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>.</td>
|
1217
1147
|
</tr>
|
1218
1148
|
<tr>
|
1219
1149
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1220
|
-
<td>
|
1221
|
-
|
1222
|
-
|
1223
|
-
</td>
|
1150
|
+
<td>the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>, which
|
1151
|
+
should be freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</td>
|
1224
1152
|
</tr>
|
1225
1153
|
</tbody>
|
1226
1154
|
</table></div>
|
@@ -1250,20 +1178,16 @@ long as <em class="parameter"><code>info</code></em> is.
|
|
1250
1178
|
<tbody>
|
1251
1179
|
<tr>
|
1252
1180
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
1253
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a
|
1254
|
-
</td>
|
1181
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>.</td>
|
1255
1182
|
</tr>
|
1256
1183
|
<tr>
|
1257
1184
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1258
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a
|
1259
|
-
</td>
|
1185
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a>.</td>
|
1260
1186
|
</tr>
|
1261
1187
|
<tr>
|
1262
1188
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1263
|
-
<td>
|
1264
|
-
|
1265
|
-
|
1266
|
-
</td>
|
1189
|
+
<td>the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>, which
|
1190
|
+
should be freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</td>
|
1267
1191
|
</tr>
|
1268
1192
|
</tbody>
|
1269
1193
|
</table></div>
|
@@ -1274,8 +1198,8 @@ long as <em class="parameter"><code>info</code></em> is.
|
|
1274
1198
|
<a name="pango-ot-ruleset-add-feature"></a><h3>pango_ot_ruleset_add_feature ()</h3>
|
1275
1199
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_ruleset_add_feature (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
1276
1200
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
1277
|
-
<em class="parameter"><code><span class="type">guint</span> feature_index</code></em>,
|
1278
|
-
<em class="parameter"><code><span class="type">gulong</span> property_bit</code></em>);</pre>
|
1201
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> feature_index</code></em>,
|
1202
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> property_bit</code></em>);</pre>
|
1279
1203
|
<p>
|
1280
1204
|
Adds a feature to the ruleset.
|
1281
1205
|
</p>
|
@@ -1284,25 +1208,21 @@ Adds a feature to the ruleset.
|
|
1284
1208
|
<tbody>
|
1285
1209
|
<tr>
|
1286
1210
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
1287
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a
|
1288
|
-
</td>
|
1211
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.</td>
|
1289
1212
|
</tr>
|
1290
1213
|
<tr>
|
1291
1214
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
1292
|
-
<td>the table type to add a feature to
|
1293
|
-
</td>
|
1215
|
+
<td>the table type to add a feature to.</td>
|
1294
1216
|
</tr>
|
1295
1217
|
<tr>
|
1296
1218
|
<td><p><span class="term"><em class="parameter"><code>feature_index</code></em> :</span></p></td>
|
1297
|
-
<td>the index of the feature to add
|
1298
|
-
</td>
|
1219
|
+
<td>the index of the feature to add.</td>
|
1299
1220
|
</tr>
|
1300
1221
|
<tr>
|
1301
1222
|
<td><p><span class="term"><em class="parameter"><code>property_bit</code></em> :</span></p></td>
|
1302
1223
|
<td>the property bit to use for this feature. Used to identify
|
1303
|
-
|
1304
|
-
|
1305
|
-
</td>
|
1224
|
+
the glyphs that this feature should be applied to, or
|
1225
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-ALL-GLYPHS:CAPS" title="PANGO_OT_ALL_GLYPHS"><code class="literal">PANGO_OT_ALL_GLYPHS</code></a> if it should be applied to all glyphs.</td>
|
1306
1226
|
</tr>
|
1307
1227
|
</tbody>
|
1308
1228
|
</table></div>
|
@@ -1310,10 +1230,10 @@ Adds a feature to the ruleset.
|
|
1310
1230
|
<hr>
|
1311
1231
|
<div class="refsect2">
|
1312
1232
|
<a name="pango-ot-ruleset-maybe-add-feature"></a><h3>pango_ot_ruleset_maybe_add_feature ()</h3>
|
1313
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_ot_ruleset_maybe_add_feature (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
1233
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_ot_ruleset_maybe_add_feature (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
1314
1234
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
1315
1235
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> feature_tag</code></em>,
|
1316
|
-
<em class="parameter"><code><span class="type">gulong</span> property_bit</code></em>);</pre>
|
1236
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> property_bit</code></em>);</pre>
|
1317
1237
|
<p>
|
1318
1238
|
This is a convenience function that first tries to find the feature
|
1319
1239
|
using <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-feature" title="pango_ot_info_find_feature ()"><code class="function">pango_ot_info_find_feature()</code></a> and the ruleset script and language
|
@@ -1329,32 +1249,27 @@ does nothing.
|
|
1329
1249
|
<tbody>
|
1330
1250
|
<tr>
|
1331
1251
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
1332
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a
|
1333
|
-
</td>
|
1252
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.</td>
|
1334
1253
|
</tr>
|
1335
1254
|
<tr>
|
1336
1255
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
1337
|
-
<td>the table type to add a feature to
|
1338
|
-
</td>
|
1256
|
+
<td>the table type to add a feature to.</td>
|
1339
1257
|
</tr>
|
1340
1258
|
<tr>
|
1341
1259
|
<td><p><span class="term"><em class="parameter"><code>feature_tag</code></em> :</span></p></td>
|
1342
|
-
<td>the tag of the feature to add
|
1343
|
-
</td>
|
1260
|
+
<td>the tag of the feature to add.</td>
|
1344
1261
|
</tr>
|
1345
1262
|
<tr>
|
1346
1263
|
<td><p><span class="term"><em class="parameter"><code>property_bit</code></em> :</span></p></td>
|
1347
1264
|
<td>the property bit to use for this feature. Used to identify
|
1348
|
-
|
1349
|
-
|
1350
|
-
</td>
|
1265
|
+
the glyphs that this feature should be applied to, or
|
1266
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-ALL-GLYPHS:CAPS" title="PANGO_OT_ALL_GLYPHS"><code class="literal">PANGO_OT_ALL_GLYPHS</code></a> if it should be applied to all glyphs.</td>
|
1351
1267
|
</tr>
|
1352
1268
|
<tr>
|
1353
1269
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1354
|
-
<td>
|
1355
|
-
|
1356
|
-
|
1357
|
-
</td>
|
1270
|
+
<td>
|
1271
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the feature was found and added to ruleset,
|
1272
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1358
1273
|
</tr>
|
1359
1274
|
</tbody>
|
1360
1275
|
</table></div>
|
@@ -1363,10 +1278,10 @@ does nothing.
|
|
1363
1278
|
<hr>
|
1364
1279
|
<div class="refsect2">
|
1365
1280
|
<a name="pango-ot-ruleset-maybe-add-features"></a><h3>pango_ot_ruleset_maybe_add_features ()</h3>
|
1366
|
-
<pre class="programlisting"><span class="returnvalue">guint</span> pango_ot_ruleset_maybe_add_features (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
1281
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> pango_ot_ruleset_maybe_add_features (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
1367
1282
|
<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType"><span class="type">PangoOTTableType</span></a> table_type</code></em>,
|
1368
1283
|
<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> *features</code></em>,
|
1369
|
-
<em class="parameter"><code><span class="type">guint</span> n_features</code></em>);</pre>
|
1284
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_features</code></em>);</pre>
|
1370
1285
|
<p>
|
1371
1286
|
This is a convenience function that
|
1372
1287
|
for each feature in the feature map array <em class="parameter"><code>features</code></em>
|
@@ -1378,30 +1293,24 @@ and calls <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-rules
|
|
1378
1293
|
<tbody>
|
1379
1294
|
<tr>
|
1380
1295
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
1381
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a
|
1382
|
-
</td>
|
1296
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.</td>
|
1383
1297
|
</tr>
|
1384
1298
|
<tr>
|
1385
1299
|
<td><p><span class="term"><em class="parameter"><code>table_type</code></em> :</span></p></td>
|
1386
|
-
<td>the table type to add features to
|
1387
|
-
</td>
|
1300
|
+
<td>the table type to add features to.</td>
|
1388
1301
|
</tr>
|
1389
1302
|
<tr>
|
1390
1303
|
<td><p><span class="term"><em class="parameter"><code>features</code></em> :</span></p></td>
|
1391
|
-
<td>array of feature name and property bits to add
|
1392
|
-
</td>
|
1304
|
+
<td>array of feature name and property bits to add.</td>
|
1393
1305
|
</tr>
|
1394
1306
|
<tr>
|
1395
1307
|
<td><p><span class="term"><em class="parameter"><code>n_features</code></em> :</span></p></td>
|
1396
|
-
<td>number of feature records in <em class="parameter"><code>features</code></em> array
|
1397
|
-
</td>
|
1308
|
+
<td>number of feature records in <em class="parameter"><code>features</code></em> array.</td>
|
1398
1309
|
</tr>
|
1399
1310
|
<tr>
|
1400
1311
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1401
|
-
<td>
|
1402
|
-
|
1403
|
-
|
1404
|
-
</td>
|
1312
|
+
<td>The number of features in <em class="parameter"><code>features</code></em> that were found
|
1313
|
+
and added to <em class="parameter"><code>ruleset</code></em>.</td>
|
1405
1314
|
</tr>
|
1406
1315
|
</tbody>
|
1407
1316
|
</table></div>
|
@@ -1410,9 +1319,9 @@ and calls <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-rules
|
|
1410
1319
|
<hr>
|
1411
1320
|
<div class="refsect2">
|
1412
1321
|
<a name="pango-ot-ruleset-get-feature-count"></a><h3>pango_ot_ruleset_get_feature_count ()</h3>
|
1413
|
-
<pre class="programlisting"><span class="returnvalue">guint</span> pango_ot_ruleset_get_feature_count (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
1414
|
-
<em class="parameter"><code><span class="type">guint</span> *n_gsub_features</code></em>,
|
1415
|
-
<em class="parameter"><code><span class="type">guint</span> *n_gpos_features</code></em>);</pre>
|
1322
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> pango_ot_ruleset_get_feature_count (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
1323
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_gsub_features</code></em>,
|
1324
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_gpos_features</code></em>);</pre>
|
1416
1325
|
<p>
|
1417
1326
|
Gets the number of GSUB and GPOS features in the ruleset.
|
1418
1327
|
</p>
|
@@ -1421,24 +1330,19 @@ Gets the number of GSUB and GPOS features in the ruleset.
|
|
1421
1330
|
<tbody>
|
1422
1331
|
<tr>
|
1423
1332
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
1424
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a
|
1425
|
-
</td>
|
1333
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.</td>
|
1426
1334
|
</tr>
|
1427
1335
|
<tr>
|
1428
1336
|
<td><p><span class="term"><em class="parameter"><code>n_gsub_features</code></em> :</span></p></td>
|
1429
|
-
<td>location to store number of GSUB features, or <a href="/
|
1430
|
-
</td>
|
1337
|
+
<td>location to store number of GSUB features, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
1431
1338
|
</tr>
|
1432
1339
|
<tr>
|
1433
1340
|
<td><p><span class="term"><em class="parameter"><code>n_gpos_features</code></em> :</span></p></td>
|
1434
|
-
<td>location to store number of GPOS features, or <a href="/
|
1435
|
-
</td>
|
1341
|
+
<td>location to store number of GPOS features, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
1436
1342
|
</tr>
|
1437
1343
|
<tr>
|
1438
1344
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1439
|
-
<td>
|
1440
|
-
|
1441
|
-
</td>
|
1345
|
+
<td>Total number of features in the <em class="parameter"><code>ruleset</code></em>.</td>
|
1442
1346
|
</tr>
|
1443
1347
|
</tbody>
|
1444
1348
|
</table></div>
|
@@ -1458,13 +1362,11 @@ in <em class="parameter"><code>ruleset</code></em>
|
|
1458
1362
|
<tbody>
|
1459
1363
|
<tr>
|
1460
1364
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
1461
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a
|
1462
|
-
</td>
|
1365
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.</td>
|
1463
1366
|
</tr>
|
1464
1367
|
<tr>
|
1465
1368
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1466
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a
|
1467
|
-
</td>
|
1369
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>.</td>
|
1468
1370
|
</tr>
|
1469
1371
|
</tbody>
|
1470
1372
|
</table></div>
|
@@ -1484,13 +1386,11 @@ in <em class="parameter"><code>ruleset</code></em>
|
|
1484
1386
|
<tbody>
|
1485
1387
|
<tr>
|
1486
1388
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
1487
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a
|
1488
|
-
</td>
|
1389
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>.</td>
|
1489
1390
|
</tr>
|
1490
1391
|
<tr>
|
1491
1392
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1492
|
-
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a
|
1493
|
-
</td>
|
1393
|
+
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>.</td>
|
1494
1394
|
</tr>
|
1495
1395
|
</tbody>
|
1496
1396
|
</table></div>
|
@@ -1512,15 +1412,12 @@ ruleset descriptions.
|
|
1512
1412
|
<tbody>
|
1513
1413
|
<tr>
|
1514
1414
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1515
|
-
<td>ruleset description to copy
|
1516
|
-
</td>
|
1415
|
+
<td>ruleset description to copy</td>
|
1517
1416
|
</tr>
|
1518
1417
|
<tr>
|
1519
1418
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1520
|
-
<td>
|
1521
|
-
|
1522
|
-
|
1523
|
-
</td>
|
1419
|
+
<td>the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a>, which
|
1420
|
+
should be freed with <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-free" title="pango_ot_ruleset_description_free ()"><code class="function">pango_ot_ruleset_description_free()</code></a>.</td>
|
1524
1421
|
</tr>
|
1525
1422
|
</tbody>
|
1526
1423
|
</table></div>
|
@@ -1529,7 +1426,7 @@ ruleset descriptions.
|
|
1529
1426
|
<hr>
|
1530
1427
|
<div class="refsect2">
|
1531
1428
|
<a name="pango-ot-ruleset-description-equal"></a><h3>pango_ot_ruleset_description_equal ()</h3>
|
1532
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_ot_ruleset_description_equal (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc1</code></em>,
|
1429
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_ot_ruleset_description_equal (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc1</code></em>,
|
1533
1430
|
<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc2</code></em>);</pre>
|
1534
1431
|
<p>
|
1535
1432
|
Compares two ruleset descriptions for equality.
|
@@ -1539,27 +1436,24 @@ script, language, and all feature sets should be equal. For static feature
|
|
1539
1436
|
sets, the array addresses are compared directly, while for other
|
1540
1437
|
features, the list of features is compared one by one.
|
1541
1438
|
(Two ruleset descriptions may result in identical rulesets
|
1542
|
-
being created, but still compare <code class="literal">FALSE</code>.)
|
1439
|
+
being created, but still compare <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.)
|
1543
1440
|
</p>
|
1544
1441
|
<div class="variablelist"><table border="0">
|
1545
1442
|
<col align="left" valign="top">
|
1546
1443
|
<tbody>
|
1547
1444
|
<tr>
|
1548
1445
|
<td><p><span class="term"><em class="parameter"><code>desc1</code></em> :</span></p></td>
|
1549
|
-
<td>a ruleset description
|
1550
|
-
</td>
|
1446
|
+
<td>a ruleset description</td>
|
1551
1447
|
</tr>
|
1552
1448
|
<tr>
|
1553
1449
|
<td><p><span class="term"><em class="parameter"><code>desc2</code></em> :</span></p></td>
|
1554
|
-
<td>a ruleset description
|
1555
|
-
</td>
|
1450
|
+
<td>a ruleset description</td>
|
1556
1451
|
</tr>
|
1557
1452
|
<tr>
|
1558
1453
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1559
|
-
<td>
|
1560
|
-
|
1561
|
-
|
1562
|
-
</td>
|
1454
|
+
<td>
|
1455
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if two ruleset descriptions are identical,
|
1456
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1563
1457
|
</tr>
|
1564
1458
|
</tbody>
|
1565
1459
|
</table></div>
|
@@ -1586,24 +1480,21 @@ Frees a ruleset description allocated by
|
|
1586
1480
|
<hr>
|
1587
1481
|
<div class="refsect2">
|
1588
1482
|
<a name="pango-ot-ruleset-description-hash"></a><h3>pango_ot_ruleset_description_hash ()</h3>
|
1589
|
-
<pre class="programlisting"><span class="returnvalue">guint</span> pango_ot_ruleset_description_hash (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);</pre>
|
1483
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> pango_ot_ruleset_description_hash (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);</pre>
|
1590
1484
|
<p>
|
1591
1485
|
Computes a hash of a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> structure suitable
|
1592
|
-
to be used, for example, as an argument to <code class="function">g_hash_table_new()</code>.
|
1486
|
+
to be used, for example, as an argument to <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#g-hash-table-new"><code class="function">g_hash_table_new()</code></a>.
|
1593
1487
|
</p>
|
1594
1488
|
<div class="variablelist"><table border="0">
|
1595
1489
|
<col align="left" valign="top">
|
1596
1490
|
<tbody>
|
1597
1491
|
<tr>
|
1598
1492
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1599
|
-
<td>a ruleset description
|
1600
|
-
</td>
|
1493
|
+
<td>a ruleset description</td>
|
1601
1494
|
</tr>
|
1602
1495
|
<tr>
|
1603
1496
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1604
|
-
<td>
|
1605
|
-
|
1606
|
-
</td>
|
1497
|
+
<td>the hash value.</td>
|
1607
1498
|
</tr>
|
1608
1499
|
</tbody>
|
1609
1500
|
</table></div>
|
@@ -1612,7 +1503,7 @@ to be used, for example, as an argument to <code class="function">g_hash_table_n
|
|
1612
1503
|
<hr>
|
1613
1504
|
<div class="refsect2">
|
1614
1505
|
<a name="pango-ot-tag-from-language"></a><h3>pango_ot_tag_from_language ()</h3>
|
1615
|
-
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> pango_ot_tag_from_language (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
1506
|
+
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> pango_ot_tag_from_language (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
1616
1507
|
<p>
|
1617
1508
|
Finds the OpenType language-system tag best describing <em class="parameter"><code>language</code></em>.
|
1618
1509
|
</p>
|
@@ -1621,16 +1512,15 @@ Finds the OpenType language-system tag best describing <em class="parameter"><co
|
|
1621
1512
|
<tbody>
|
1622
1513
|
<tr>
|
1623
1514
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
1624
|
-
<td>A <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
1515
|
+
<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>
|
1625
1516
|
</td>
|
1626
1517
|
</tr>
|
1627
1518
|
<tr>
|
1628
1519
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1629
|
-
<td>
|
1520
|
+
<td>
|
1521
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> best matching <em class="parameter"><code>language</code></em> or
|
1630
1522
|
<a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-DEFAULT-LANGUAGE:CAPS" title="PANGO_OT_TAG_DEFAULT_LANGUAGE"><code class="literal">PANGO_OT_TAG_DEFAULT_LANGUAGE</code></a> if none found or if <em class="parameter"><code>language</code></em>
|
1631
|
-
is <a href="/
|
1632
|
-
|
1633
|
-
</td>
|
1523
|
+
is <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
1634
1524
|
</tr>
|
1635
1525
|
</tbody>
|
1636
1526
|
</table></div>
|
@@ -1639,7 +1529,7 @@ is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CA
|
|
1639
1529
|
<hr>
|
1640
1530
|
<div class="refsect2">
|
1641
1531
|
<a name="pango-ot-tag-from-script"></a><h3>pango_ot_tag_from_script ()</h3>
|
1642
|
-
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> pango_ot_tag_from_script (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
1532
|
+
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> pango_ot_tag_from_script (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>);</pre>
|
1643
1533
|
<p>
|
1644
1534
|
Finds the OpenType script tag corresponding to <em class="parameter"><code>script</code></em>.
|
1645
1535
|
</p>
|
@@ -1650,7 +1540,7 @@ The <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-COMMON:C
|
|
1650
1540
|
<a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-DEFAULT-SCRIPT:CAPS" title="PANGO_OT_TAG_DEFAULT_SCRIPT"><code class="literal">PANGO_OT_TAG_DEFAULT_SCRIPT</code></a>.
|
1651
1541
|
</p>
|
1652
1542
|
<p>
|
1653
|
-
Note that multiple <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
1543
|
+
Note that multiple <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> values may map to the same
|
1654
1544
|
OpenType script tag. In particular, <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-HIRAGANA:CAPS"><code class="literal">PANGO_SCRIPT_HIRAGANA</code></a>
|
1655
1545
|
and <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-KATAKANA:CAPS"><code class="literal">PANGO_SCRIPT_KATAKANA</code></a> both map to the OT tag 'kana'.
|
1656
1546
|
</p>
|
@@ -1659,15 +1549,14 @@ and <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-KATAKANA
|
|
1659
1549
|
<tbody>
|
1660
1550
|
<tr>
|
1661
1551
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
1662
|
-
<td>A <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
1552
|
+
<td>A <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a>
|
1663
1553
|
</td>
|
1664
1554
|
</tr>
|
1665
1555
|
<tr>
|
1666
1556
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1667
|
-
<td>
|
1668
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#
|
1669
|
-
|
1670
|
-
</td>
|
1557
|
+
<td>
|
1558
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> corresponding to <em class="parameter"><code>script</code></em> or
|
1559
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-DEFAULT-SCRIPT:CAPS" title="PANGO_OT_TAG_DEFAULT_SCRIPT"><code class="literal">PANGO_OT_TAG_DEFAULT_SCRIPT</code></a> if none found.</td>
|
1671
1560
|
</tr>
|
1672
1561
|
</tbody>
|
1673
1562
|
</table></div>
|
@@ -1676,24 +1565,22 @@ and <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-KATAKANA
|
|
1676
1565
|
<hr>
|
1677
1566
|
<div class="refsect2">
|
1678
1567
|
<a name="pango-ot-tag-to-language"></a><h3>pango_ot_tag_to_language ()</h3>
|
1679
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
1568
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * pango_ot_tag_to_language (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> language_tag</code></em>);</pre>
|
1680
1569
|
<p>
|
1681
|
-
Finds a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
1570
|
+
Finds a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> corresponding to <em class="parameter"><code>language_tag</code></em>.
|
1682
1571
|
</p>
|
1683
1572
|
<div class="variablelist"><table border="0">
|
1684
1573
|
<col align="left" valign="top">
|
1685
1574
|
<tbody>
|
1686
1575
|
<tr>
|
1687
1576
|
<td><p><span class="term"><em class="parameter"><code>language_tag</code></em> :</span></p></td>
|
1688
|
-
<td>A <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> OpenType language-system tag
|
1689
|
-
</td>
|
1577
|
+
<td>A <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> OpenType language-system tag</td>
|
1690
1578
|
</tr>
|
1691
1579
|
<tr>
|
1692
1580
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1693
|
-
<td>
|
1694
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
1695
|
-
|
1696
|
-
</td>
|
1581
|
+
<td>
|
1582
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> best matching <em class="parameter"><code>language_tag</code></em> or
|
1583
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> corresponding to the string "xx" if none found.</td>
|
1697
1584
|
</tr>
|
1698
1585
|
</tbody>
|
1699
1586
|
</table></div>
|
@@ -1702,16 +1589,16 @@ Finds a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" ti
|
|
1702
1589
|
<hr>
|
1703
1590
|
<div class="refsect2">
|
1704
1591
|
<a name="pango-ot-tag-to-script"></a><h3>pango_ot_tag_to_script ()</h3>
|
1705
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
1592
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="returnvalue">PangoScript</span></a> pango_ot_tag_to_script (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> script_tag</code></em>);</pre>
|
1706
1593
|
<p>
|
1707
|
-
Finds the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
1594
|
+
Finds the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> corresponding to <em class="parameter"><code>script_tag</code></em>.
|
1708
1595
|
</p>
|
1709
1596
|
<p>
|
1710
1597
|
The 'DFLT' script tag is mapped to <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-COMMON:CAPS"><code class="literal">PANGO_SCRIPT_COMMON</code></a>.
|
1711
1598
|
</p>
|
1712
1599
|
<p>
|
1713
1600
|
Note that an OpenType script tag may correspond to multiple
|
1714
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
1601
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> values. In such cases, the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> value
|
1715
1602
|
with the smallest value is returned.
|
1716
1603
|
In particular, <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-HIRAGANA:CAPS"><code class="literal">PANGO_SCRIPT_HIRAGANA</code></a>
|
1717
1604
|
and <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-KATAKANA:CAPS"><code class="literal">PANGO_SCRIPT_KATAKANA</code></a> both map to the OT tag 'kana'.
|
@@ -1723,15 +1610,13 @@ This function will return <a class="link" href="pango-Scripts-and-Languages.html
|
|
1723
1610
|
<tbody>
|
1724
1611
|
<tr>
|
1725
1612
|
<td><p><span class="term"><em class="parameter"><code>script_tag</code></em> :</span></p></td>
|
1726
|
-
<td>A <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> OpenType script tag
|
1727
|
-
</td>
|
1613
|
+
<td>A <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> OpenType script tag</td>
|
1728
1614
|
</tr>
|
1729
1615
|
<tr>
|
1730
1616
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1731
|
-
<td>
|
1732
|
-
<a class="link" href="pango-Scripts-and-Languages.html#
|
1733
|
-
|
1734
|
-
</td>
|
1617
|
+
<td>
|
1618
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> corresponding to <em class="parameter"><code>script_tag</code></em> or
|
1619
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-UNKNOWN:CAPS"><code class="literal">PANGO_SCRIPT_UNKNOWN</code></a> if none found.</td>
|
1735
1620
|
</tr>
|
1736
1621
|
</tbody>
|
1737
1622
|
</table></div>
|
@@ -1741,6 +1626,6 @@ This function will return <a class="link" href="pango-Scripts-and-Languages.html
|
|
1741
1626
|
</div>
|
1742
1627
|
<div class="footer">
|
1743
1628
|
<hr>
|
1744
|
-
Generated by GTK-Doc V1.
|
1629
|
+
Generated by GTK-Doc V1.18</div>
|
1745
1630
|
</body>
|
1746
1631
|
</html>
|