pango 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +12 -1
- data/lib/1.8/pango.so +0 -0
- data/lib/1.9/pango.so +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +14 -1
- data/vendor/local/include/pango-1.0/pango/pango-attributes.h +27 -2
- data/vendor/local/include/pango-1.0/pango/pango-bidi-type.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pango-context.h +2 -1
- data/vendor/local/include/pango-1.0/pango/pango-engine.h +7 -5
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +47 -38
- data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +4 -2
- data/vendor/local/include/pango-1.0/pango/pango-fontset.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-glyph.h +7 -0
- data/vendor/local/include/pango-1.0/pango/pango-gravity.h +14 -0
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +2 -1
- data/vendor/local/include/pango-1.0/pango/pango-matrix.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-script.h +15 -1
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +2 -0
- data/vendor/local/include/pango-1.0/pango/pangocairo.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pangowin32.h +2 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +41 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +41 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +41 -0
- data/vendor/local/lib/pkgconfig/pango.pc +5 -4
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +17 -11
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +23 -15
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +18 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +56 -28
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +103 -49
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +32 -20
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +96 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +140 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +54 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +69 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +229 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +157 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +127 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +99 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +129 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +91 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +51 -0
- data/vendor/local/share/gtk-doc/html/pango/{index-1.28.html → api-index-1-28.html} +9 -9
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +42 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +46 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +206 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +170 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +176 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +150 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2965 -0
- data/vendor/local/share/gtk-doc/html/pango/index.html +25 -26
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +36 -37
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +8 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +42 -24
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +222 -123
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +94 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +61 -26
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +34 -19
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +536 -228
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +90 -36
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +291 -130
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +564 -256
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +206 -110
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +32 -17
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +261 -144
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +175 -65
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +89 -52
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +602 -258
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +359 -114
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +27 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +65 -16
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +117 -48
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +127 -61
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +12 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +99 -38
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +77 -17
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +45 -52
- data/vendor/local/share/gtk-doc/html/pango/pango.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +7 -10
- data/vendor/local/share/gtk-doc/html/pango/tools.html +6 -6
- data/vendor/local/share/license/pango/AUTHORS +2 -0
- data/vendor/local/share/{doc/pango-1.29.4 → license/pango}/COPYING +0 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +67 -16
- data/vendor/local/share/man/man1/pango-view.1 +4 -4
- metadata +43 -50
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/include/pango-1.0/pango/pango-ot.h +0 -197
- data/vendor/local/include/pango-1.0/pango/pangofc-decoder.h +0 -110
- data/vendor/local/include/pango-1.0/pango/pangofc-font.h +0 -151
- data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +0 -270
- data/vendor/local/include/pango-1.0/pango/pangoft2.h +0 -112
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/pango-1.0.def +0 -397
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.def +0 -34
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.def +0 -85
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.def +0 -30
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/pangoft2.pc +0 -11
- data/vendor/local/manifest/pango-dev_1.29.4-1_win32.mft +0 -116
- data/vendor/local/manifest/pango_1.29.4-1_win32.mft +0 -8
- data/vendor/local/share/doc/pango-dev-1.29.4/COPYING +0 -482
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +0 -81
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +0 -41
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +0 -47
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +0 -115
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +0 -91
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +0 -73
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +0 -59
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +0 -71
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +0 -59
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +0 -39
- data/vendor/local/share/gtk-doc/html/pango/index-1.30.html +0 -38
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +0 -111
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +0 -91
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +0 -99
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +0 -1514
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +0 -137
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +0 -57
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +0 -1023
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.log +0 -806
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.sh +0 -56
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Modules</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="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.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -41,14 +41,14 @@
|
|
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
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><
|
45
|
-
<em class="parameter"><code><
|
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>);
|
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
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
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><
|
51
|
-
<em class="parameter"><code><
|
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>);
|
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>
|
@@ -76,8 +76,11 @@ The <a class="link" href="pango-Modules.html#PangoIncludedModule" title="struct
|
|
76
76
|
contains the functions that would otherwise be loaded from a dynamically
|
77
77
|
loaded module.
|
78
78
|
</p>
|
79
|
-
<div class="variablelist"><table border="0">
|
79
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
80
|
+
<colgroup>
|
80
81
|
<col align="left" valign="top">
|
82
|
+
<col>
|
83
|
+
</colgroup>
|
81
84
|
<tbody>
|
82
85
|
<tr>
|
83
86
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoIncludedModule.list"></a>list</code></em> ()</span></p></td>
|
@@ -121,15 +124,18 @@ matches the language tag for this entry's map exactly or just approximately.
|
|
121
124
|
<div class="refsect2">
|
122
125
|
<a name="pango-find-map"></a><h3>pango_find_map ()</h3>
|
123
126
|
<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><
|
125
|
-
<em class="parameter"><code><
|
127
|
+
<em class="parameter"><code><span class="type">guint</span> engine_type_id</code></em>,
|
128
|
+
<em class="parameter"><code><span class="type">guint</span> render_type_id</code></em>);</pre>
|
126
129
|
<p>
|
127
130
|
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
|
128
131
|
type. The resulting map can be used to determine the engine
|
129
132
|
for each character.
|
130
133
|
</p>
|
131
|
-
<div class="variablelist"><table border="0">
|
134
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
135
|
+
<colgroup>
|
132
136
|
<col align="left" valign="top">
|
137
|
+
<col>
|
138
|
+
</colgroup>
|
133
139
|
<tbody>
|
134
140
|
<tr>
|
135
141
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
@@ -158,8 +164,11 @@ for each character.
|
|
158
164
|
<p>
|
159
165
|
Returns the best engine listed in the map for a given script
|
160
166
|
</p>
|
161
|
-
<div class="variablelist"><table border="0">
|
167
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
168
|
+
<colgroup>
|
162
169
|
<col align="left" valign="top">
|
170
|
+
<col>
|
171
|
+
</colgroup>
|
163
172
|
<tbody>
|
164
173
|
<tr>
|
165
174
|
<td><p><span class="term"><em class="parameter"><code>map</code></em> :</span></p></td>
|
@@ -174,7 +183,7 @@ Returns the best engine listed in the map for a given script
|
|
174
183
|
<tr>
|
175
184
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
176
185
|
<td>the best engine, if one is listed for the script,
|
177
|
-
or <a href="/
|
186
|
+
or <a href="/home/mclasen/gnome/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
187
|
once an engine is loaded, it won't be unloaded. If multiple
|
179
188
|
engines are exact for the script, the choice of which is
|
180
189
|
returned is arbitrary.</td>
|
@@ -187,16 +196,19 @@ returned is arbitrary.</td>
|
|
187
196
|
<a name="pango-map-get-engines"></a><h3>pango_map_get_engines ()</h3>
|
188
197
|
<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>,
|
189
198
|
<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><
|
191
|
-
<em class="parameter"><code><
|
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>
|
192
201
|
<p>
|
193
202
|
Finds engines in the map that handle the given script. The returned
|
194
203
|
lists should be freed with g_slist_free, but the engines in the
|
195
204
|
lists are owned by GLib and will be kept around permanently, so
|
196
205
|
they should not be unref'ed.
|
197
206
|
</p>
|
198
|
-
<div class="variablelist"><table border="0">
|
207
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
208
|
+
<colgroup>
|
199
209
|
<col align="left" valign="top">
|
210
|
+
<col>
|
211
|
+
</colgroup>
|
200
212
|
<tbody>
|
201
213
|
<tr>
|
202
214
|
<td><p><span class="term"><em class="parameter"><code>map</code></em> :</span></p></td>
|
@@ -232,8 +244,11 @@ Registers a statically linked module with Pango. The
|
|
232
244
|
functions that would otherwise be loaded from a dynamically loaded
|
233
245
|
module.
|
234
246
|
</p>
|
235
|
-
<div class="variablelist"><table border="0">
|
247
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
248
|
+
<colgroup>
|
236
249
|
<col align="left" valign="top">
|
250
|
+
<col>
|
251
|
+
</colgroup>
|
237
252
|
<tbody><tr>
|
238
253
|
<td><p><span class="term"><em class="parameter"><code>module</code></em> :</span></p></td>
|
239
254
|
<td>a <a class="link" href="pango-Modules.html#PangoIncludedModule" title="struct PangoIncludedModule"><span class="type">PangoIncludedModule</span></a>
|
@@ -245,6 +260,6 @@ module.
|
|
245
260
|
</div>
|
246
261
|
<div class="footer">
|
247
262
|
<hr>
|
248
|
-
Generated by GTK-Doc V1.18</div>
|
263
|
+
Generated by GTK-Doc V1.18.1</div>
|
249
264
|
</body>
|
250
265
|
</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.78.0">
|
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.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -63,45 +63,45 @@ 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
|
-
<
|
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>,
|
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><
|
70
|
-
<
|
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>,
|
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><
|
72
|
+
<em class="parameter"><code><span class="type">guint</span> 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><
|
75
|
-
<em class="parameter"><code><
|
76
|
-
<
|
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>,
|
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><
|
80
|
-
<em class="parameter"><code><
|
81
|
-
<em class="parameter"><code><
|
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>);
|
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><
|
86
|
+
<em class="parameter"><code><span class="type">guint</span> 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><
|
92
|
-
<em class="parameter"><code><
|
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>);
|
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><
|
98
|
-
<em class="parameter"><code><
|
99
|
-
<em class="parameter"><code><
|
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>);
|
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><
|
101
|
+
<em class="parameter"><code><span class="type">gboolean</span> 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><
|
104
|
+
<em class="parameter"><code><span class="type">gboolean</span> 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>);
|
@@ -119,29 +119,29 @@ const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><s
|
|
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><
|
123
|
-
<em class="parameter"><code><
|
124
|
-
<
|
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>,
|
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><
|
128
|
-
<
|
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>,
|
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><
|
132
|
-
<
|
133
|
-
<em class="parameter"><code><
|
134
|
-
<em class="parameter"><code><
|
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>);
|
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
|
-
<
|
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>,
|
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
|
-
<
|
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
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
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
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>);
|
@@ -151,11 +151,11 @@ const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><s
|
|
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
|
-
|
154
|
+
GObject
|
155
155
|
+----PangoOTInfo
|
156
156
|
</pre>
|
157
157
|
<pre class="synopsis">
|
158
|
-
|
158
|
+
GObject
|
159
159
|
+----PangoOTRuleset
|
160
160
|
</pre>
|
161
161
|
</div>
|
@@ -221,32 +221,35 @@ The <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTGlyph" title=
|
|
221
221
|
information used for OpenType layout processing of the glyph.
|
222
222
|
It contains the following fields.
|
223
223
|
</p>
|
224
|
-
<div class="variablelist"><table border="0">
|
224
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
225
|
+
<colgroup>
|
225
226
|
<col align="left" valign="top">
|
227
|
+
<col>
|
228
|
+
</colgroup>
|
226
229
|
<tbody>
|
227
230
|
<tr>
|
228
|
-
<td><p><span class="term"><
|
231
|
+
<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
232
|
<td>the glyph itself.</td>
|
230
233
|
</tr>
|
231
234
|
<tr>
|
232
|
-
<td><p><span class="term"><
|
235
|
+
<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>
|
233
236
|
<td>the properties value, identifying which features should be
|
234
237
|
applied on this glyph. See <code class="function">pango_ruleset_add_feature()</code>.</td>
|
235
238
|
</tr>
|
236
239
|
<tr>
|
237
|
-
<td><p><span class="term"><
|
240
|
+
<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>
|
238
241
|
<td>the cluster that this glyph belongs to.</td>
|
239
242
|
</tr>
|
240
243
|
<tr>
|
241
|
-
<td><p><span class="term"><
|
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>
|
242
245
|
<td>a component value, set by the OpenType layout engine.</td>
|
243
246
|
</tr>
|
244
247
|
<tr>
|
245
|
-
<td><p><span class="term"><
|
248
|
+
<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>
|
246
249
|
<td>a ligature index value, set by the OpenType layout engine.</td>
|
247
250
|
</tr>
|
248
251
|
<tr>
|
249
|
-
<td><p><span class="term"><
|
252
|
+
<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>
|
250
253
|
<td>for Pango internal use</td>
|
251
254
|
</tr>
|
252
255
|
</tbody>
|
@@ -289,8 +292,11 @@ hash of rulesets. The user populates a ruleset description and
|
|
289
292
|
gets the ruleset using <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-get-for-description" title="pango_ot_ruleset_get_for_description ()"><code class="function">pango_ot_ruleset_get_for_description()</code></a>
|
290
293
|
or create a new one using <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new-from-description" title="pango_ot_ruleset_new_from_description ()"><code class="function">pango_ot_ruleset_new_from_description()</code></a>.
|
291
294
|
</p>
|
292
|
-
<div class="variablelist"><table border="0">
|
295
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
296
|
+
<colgroup>
|
293
297
|
<col align="left" valign="top">
|
298
|
+
<col>
|
299
|
+
</colgroup>
|
294
300
|
<tbody>
|
295
301
|
<tr>
|
296
302
|
<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>
|
@@ -302,28 +308,28 @@ or create a new one using <a class="link" href="pango-OpenType-Font-Handling.htm
|
|
302
308
|
</tr>
|
303
309
|
<tr>
|
304
310
|
<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>
|
305
|
-
<td>static map of GSUB features, or <a href="/
|
311
|
+
<td>static map of GSUB features, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
|
306
312
|
</tr>
|
307
313
|
<tr>
|
308
|
-
<td><p><span class="term"><
|
314
|
+
<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>
|
309
315
|
<td>length of <em class="parameter"><code>static_gsub_features</code></em>, or 0.</td>
|
310
316
|
</tr>
|
311
317
|
<tr>
|
312
318
|
<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>
|
313
|
-
<td>static map of GPOS features, or <a href="/
|
319
|
+
<td>static map of GPOS features, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
|
314
320
|
</tr>
|
315
321
|
<tr>
|
316
|
-
<td><p><span class="term"><
|
322
|
+
<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>
|
317
323
|
<td>length of <em class="parameter"><code>static_gpos_features</code></em>, or 0.</td>
|
318
324
|
</tr>
|
319
325
|
<tr>
|
320
326
|
<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>
|
321
|
-
<td>map of extra features to add to both GSUB and GPOS, or <a href="/
|
327
|
+
<td>map of extra features to add to both GSUB and GPOS, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
322
328
|
Unlike the static maps, this pointer need not live beyond
|
323
329
|
the life of function calls taking this struct.</td>
|
324
330
|
</tr>
|
325
331
|
<tr>
|
326
|
-
<td><p><span class="term"><
|
332
|
+
<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>
|
327
333
|
<td>length of <em class="parameter"><code>other_features</code></em>, or 0.</td>
|
328
334
|
</tr>
|
329
335
|
</tbody>
|
@@ -343,8 +349,11 @@ The <span class="type">PangoOTTableType</span> enumeration values are used to
|
|
343
349
|
identify the various OpenType tables in the
|
344
350
|
<code class="function">pango_ot_info_*</code> functions.
|
345
351
|
</p>
|
346
|
-
<div class="variablelist"><table border="0">
|
352
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
353
|
+
<colgroup>
|
347
354
|
<col align="left" valign="top">
|
355
|
+
<col>
|
356
|
+
</colgroup>
|
348
357
|
<tbody>
|
349
358
|
<tr>
|
350
359
|
<td><p><a name="PANGO-OT-TABLE-GSUB:CAPS"></a><span class="term"><code class="literal">PANGO_OT_TABLE_GSUB</code></span></p></td>
|
@@ -372,15 +381,18 @@ The <span class="type">PangoOTFeatureMap</span> typedef is used to represent an
|
|
372
381
|
feature with the property bit associated with it. The feature tag is
|
373
382
|
represented as a char array instead of a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> for convenience.
|
374
383
|
</p>
|
375
|
-
<div class="variablelist"><table border="0">
|
384
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
385
|
+
<colgroup>
|
376
386
|
<col align="left" valign="top">
|
387
|
+
<col>
|
388
|
+
</colgroup>
|
377
389
|
<tbody>
|
378
390
|
<tr>
|
379
391
|
<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>
|
380
392
|
<td>feature tag in represented as four-letter ASCII string.</td>
|
381
393
|
</tr>
|
382
394
|
<tr>
|
383
|
-
<td><p><span class="term"><
|
395
|
+
<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>
|
384
396
|
<td>the property bit to use for this feature. See
|
385
397
|
<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>
|
386
398
|
</tr>
|
@@ -398,8 +410,11 @@ Creates a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" ti
|
|
398
410
|
compatible with the <code class="function"><code class="function">FT_MAKE_TAG()</code></code> macro from
|
399
411
|
FreeType.
|
400
412
|
</p>
|
401
|
-
<div class="variablelist"><table border="0">
|
413
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
414
|
+
<colgroup>
|
402
415
|
<col align="left" valign="top">
|
416
|
+
<col>
|
417
|
+
</colgroup>
|
403
418
|
<tbody>
|
404
419
|
<tr>
|
405
420
|
<td><p><span class="term"><em class="parameter"><code>c1</code></em> :</span></p></td>
|
@@ -431,8 +446,11 @@ not be nul-terminated. This is a convenience wrapper around
|
|
431
446
|
<a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-MAKE:CAPS" title="PANGO_OT_TAG_MAKE()"><code class="function">PANGO_OT_TAG_MAKE()</code></a>, but cannot be used in certain situations, for
|
432
447
|
example, as a switch expression, as it dereferences pointers.
|
433
448
|
</p>
|
434
|
-
<div class="variablelist"><table border="0">
|
449
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
450
|
+
<colgroup>
|
435
451
|
<col align="left" valign="top">
|
452
|
+
<col>
|
453
|
+
</colgroup>
|
436
454
|
<tbody><tr>
|
437
455
|
<td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
|
438
456
|
<td>The string representation of the tag.</td>
|
@@ -529,8 +547,11 @@ is not found.
|
|
529
547
|
<p>
|
530
548
|
Returns the <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> structure for the given FreeType font face.
|
531
549
|
</p>
|
532
|
-
<div class="variablelist"><table border="0">
|
550
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
551
|
+
<colgroup>
|
533
552
|
<col align="left" valign="top">
|
553
|
+
<col>
|
554
|
+
</colgroup>
|
534
555
|
<tbody>
|
535
556
|
<tr>
|
536
557
|
<td><p><span class="term"><em class="parameter"><code>face</code></em> :</span></p></td>
|
@@ -548,10 +569,10 @@ the same lifetime as <em class="parameter"><code>face</code></em>.</td>
|
|
548
569
|
<hr>
|
549
570
|
<div class="refsect2">
|
550
571
|
<a name="pango-ot-info-find-script"></a><h3>pango_ot_info_find_script ()</h3>
|
551
|
-
<pre class="programlisting"><
|
572
|
+
<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>,
|
552
573
|
<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>,
|
553
574
|
<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>,
|
554
|
-
<em class="parameter"><code><
|
575
|
+
<em class="parameter"><code><span class="type">guint</span> *script_index</code></em>);</pre>
|
555
576
|
<p>
|
556
577
|
Finds the index of a script. If not found, tries to find the 'DFLT'
|
557
578
|
and then 'dflt' scripts and return the index of that in <em class="parameter"><code>script_index</code></em>.
|
@@ -564,8 +585,11 @@ how to handle <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-N
|
|
564
585
|
value of this function completely and proceed, to enjoy the automatic
|
565
586
|
fallback to the 'DFLT'/'dflt' script.
|
566
587
|
</p>
|
567
|
-
<div class="variablelist"><table border="0">
|
588
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
589
|
+
<colgroup>
|
568
590
|
<col align="left" valign="top">
|
591
|
+
<col>
|
592
|
+
</colgroup>
|
569
593
|
<tbody>
|
570
594
|
<tr>
|
571
595
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
@@ -581,12 +605,12 @@ fallback to the 'DFLT'/'dflt' script.
|
|
581
605
|
</tr>
|
582
606
|
<tr>
|
583
607
|
<td><p><span class="term"><em class="parameter"><code>script_index</code></em> :</span></p></td>
|
584
|
-
<td>location to store the index of the script, or <a href="/
|
608
|
+
<td>location to store the index of the script, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
|
585
609
|
</tr>
|
586
610
|
<tr>
|
587
611
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
588
612
|
<td>
|
589
|
-
<
|
613
|
+
<code class="literal">TRUE</code> if the script was found.</td>
|
590
614
|
</tr>
|
591
615
|
</tbody>
|
592
616
|
</table></div>
|
@@ -594,12 +618,12 @@ fallback to the 'DFLT'/'dflt' script.
|
|
594
618
|
<hr>
|
595
619
|
<div class="refsect2">
|
596
620
|
<a name="pango-ot-info-find-language"></a><h3>pango_ot_info_find_language ()</h3>
|
597
|
-
<pre class="programlisting"><
|
621
|
+
<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>,
|
598
622
|
<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>,
|
599
|
-
<em class="parameter"><code><
|
623
|
+
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
600
624
|
<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>,
|
601
|
-
<em class="parameter"><code><
|
602
|
-
<em class="parameter"><code><
|
625
|
+
<em class="parameter"><code><span class="type">guint</span> *language_index</code></em>,
|
626
|
+
<em class="parameter"><code><span class="type">guint</span> *required_feature_index</code></em>);</pre>
|
603
627
|
<p>
|
604
628
|
Finds the index of a language and its required feature index.
|
605
629
|
If the language is not found, sets <em class="parameter"><code>language_index</code></em> to
|
@@ -610,8 +634,11 @@ back to the default language system, but that is transparent to the user.
|
|
610
634
|
The user can simply ignore the return value of this function to
|
611
635
|
automatically fall back to the default language system.
|
612
636
|
</p>
|
613
|
-
<div class="variablelist"><table border="0">
|
637
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
638
|
+
<colgroup>
|
614
639
|
<col align="left" valign="top">
|
640
|
+
<col>
|
641
|
+
</colgroup>
|
615
642
|
<tbody>
|
616
643
|
<tr>
|
617
644
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
@@ -631,17 +658,17 @@ automatically fall back to the default language system.
|
|
631
658
|
</tr>
|
632
659
|
<tr>
|
633
660
|
<td><p><span class="term"><em class="parameter"><code>language_index</code></em> :</span></p></td>
|
634
|
-
<td>location to store the index of the language, or <a href="/
|
661
|
+
<td>location to store the index of the language, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
|
635
662
|
</tr>
|
636
663
|
<tr>
|
637
664
|
<td><p><span class="term"><em class="parameter"><code>required_feature_index</code></em> :</span></p></td>
|
638
665
|
<td>location to store the required feature index of
|
639
|
-
the language, or <a href="/
|
666
|
+
the language, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
|
640
667
|
</tr>
|
641
668
|
<tr>
|
642
669
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
643
670
|
<td>
|
644
|
-
<
|
671
|
+
<code class="literal">TRUE</code> if the language was found.</td>
|
645
672
|
</tr>
|
646
673
|
</tbody>
|
647
674
|
</table></div>
|
@@ -649,12 +676,12 @@ the language, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#
|
|
649
676
|
<hr>
|
650
677
|
<div class="refsect2">
|
651
678
|
<a name="pango-ot-info-find-feature"></a><h3>pango_ot_info_find_feature ()</h3>
|
652
|
-
<pre class="programlisting"><
|
679
|
+
<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>,
|
653
680
|
<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>,
|
654
681
|
<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>,
|
655
|
-
<em class="parameter"><code><
|
656
|
-
<em class="parameter"><code><
|
657
|
-
<em class="parameter"><code><
|
682
|
+
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
683
|
+
<em class="parameter"><code><span class="type">guint</span> language_index</code></em>,
|
684
|
+
<em class="parameter"><code><span class="type">guint</span> *feature_index</code></em>);</pre>
|
658
685
|
<p>
|
659
686
|
Finds the index of a feature. If the feature is not found, sets
|
660
687
|
<em class="parameter"><code>feature_index</code></em> to PANGO_OT_NO_FEATURE, which is safe to pass to
|
@@ -664,11 +691,14 @@ Finds the index of a feature. If the feature is not found, sets
|
|
664
691
|
In the future, this may set <em class="parameter"><code>feature_index</code></em> to an special value that if used
|
665
692
|
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
|
666
693
|
requested feature based on Unicode properties and data. However, this
|
667
|
-
function will still return <
|
694
|
+
function will still return <code class="literal">FALSE</code> in those cases. So, users may want to
|
668
695
|
ignore the return value of this function in certain cases.
|
669
696
|
</p>
|
670
|
-
<div class="variablelist"><table border="0">
|
697
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
698
|
+
<colgroup>
|
671
699
|
<col align="left" valign="top">
|
700
|
+
<col>
|
701
|
+
</colgroup>
|
672
702
|
<tbody>
|
673
703
|
<tr>
|
674
704
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
@@ -693,12 +723,12 @@ or <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-DEFAULT-LANG
|
|
693
723
|
</tr>
|
694
724
|
<tr>
|
695
725
|
<td><p><span class="term"><em class="parameter"><code>feature_index</code></em> :</span></p></td>
|
696
|
-
<td>location to store the index of the feature, or <a href="/
|
726
|
+
<td>location to store the index of the feature, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
|
697
727
|
</tr>
|
698
728
|
<tr>
|
699
729
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
700
730
|
<td>
|
701
|
-
<
|
731
|
+
<code class="literal">TRUE</code> if the feature was found.</td>
|
702
732
|
</tr>
|
703
733
|
</tbody>
|
704
734
|
</table></div>
|
@@ -711,8 +741,11 @@ or <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-DEFAULT-LANG
|
|
711
741
|
<p>
|
712
742
|
Obtains the list of available scripts.
|
713
743
|
</p>
|
714
|
-
<div class="variablelist"><table border="0">
|
744
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
745
|
+
<colgroup>
|
715
746
|
<col align="left" valign="top">
|
747
|
+
<col>
|
748
|
+
</colgroup>
|
716
749
|
<tbody>
|
717
750
|
<tr>
|
718
751
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
@@ -725,7 +758,7 @@ Obtains the list of available scripts.
|
|
725
758
|
<tr>
|
726
759
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
727
760
|
<td>a newly-allocated zero-terminated array containing the tags of the
|
728
|
-
available scripts. Should be freed using <
|
761
|
+
available scripts. Should be freed using <code class="function">g_free()</code>.</td>
|
729
762
|
</tr>
|
730
763
|
</tbody>
|
731
764
|
</table></div>
|
@@ -735,13 +768,16 @@ available scripts. Should be freed using <a href="http://library.gnome.org/deve
|
|
735
768
|
<a name="pango-ot-info-list-languages"></a><h3>pango_ot_info_list_languages ()</h3>
|
736
769
|
<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>,
|
737
770
|
<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>,
|
738
|
-
<em class="parameter"><code><
|
771
|
+
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
739
772
|
<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>
|
740
773
|
<p>
|
741
774
|
Obtains the list of available languages for a given script.
|
742
775
|
</p>
|
743
|
-
<div class="variablelist"><table border="0">
|
776
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
777
|
+
<colgroup>
|
744
778
|
<col align="left" valign="top">
|
779
|
+
<col>
|
780
|
+
</colgroup>
|
745
781
|
<tbody>
|
746
782
|
<tr>
|
747
783
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
@@ -762,7 +798,7 @@ Obtains the list of available languages for a given script.
|
|
762
798
|
<tr>
|
763
799
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
764
800
|
<td>a newly-allocated zero-terminated array containing the tags of the
|
765
|
-
available languages. Should be freed using <
|
801
|
+
available languages. Should be freed using <code class="function">g_free()</code>.</td>
|
766
802
|
</tr>
|
767
803
|
</tbody>
|
768
804
|
</table></div>
|
@@ -773,13 +809,16 @@ available languages. Should be freed using <a href="http://library.gnome.org/de
|
|
773
809
|
<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>,
|
774
810
|
<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>,
|
775
811
|
<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>,
|
776
|
-
<em class="parameter"><code><
|
777
|
-
<em class="parameter"><code><
|
812
|
+
<em class="parameter"><code><span class="type">guint</span> script_index</code></em>,
|
813
|
+
<em class="parameter"><code><span class="type">guint</span> language_index</code></em>);</pre>
|
778
814
|
<p>
|
779
815
|
Obtains the list of features for the given language of the given script.
|
780
816
|
</p>
|
781
|
-
<div class="variablelist"><table border="0">
|
817
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
818
|
+
<colgroup>
|
782
819
|
<col align="left" valign="top">
|
820
|
+
<col>
|
821
|
+
</colgroup>
|
783
822
|
<tbody>
|
784
823
|
<tr>
|
785
824
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
@@ -806,7 +845,7 @@ language of the script.</td>
|
|
806
845
|
<tr>
|
807
846
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
808
847
|
<td>a newly-allocated zero-terminated array containing the tags of the
|
809
|
-
available features. Should be freed using <
|
848
|
+
available features. Should be freed using <code class="function">g_free()</code>.</td>
|
810
849
|
</tr>
|
811
850
|
</tbody>
|
812
851
|
</table></div>
|
@@ -818,8 +857,11 @@ available features. Should be freed using <a href="http://library.gnome.org/dev
|
|
818
857
|
<p>
|
819
858
|
Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> for the given OpenType font.
|
820
859
|
</p>
|
821
|
-
<div class="variablelist"><table border="0">
|
860
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
861
|
+
<colgroup>
|
822
862
|
<col align="left" valign="top">
|
863
|
+
<col>
|
864
|
+
</colgroup>
|
823
865
|
<tbody>
|
824
866
|
<tr>
|
825
867
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
@@ -842,8 +884,11 @@ be freed with <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-b
|
|
842
884
|
<p>
|
843
885
|
Destroys a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> and free all associated memory.
|
844
886
|
</p>
|
845
|
-
<div class="variablelist"><table border="0">
|
887
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
888
|
+
<colgroup>
|
846
889
|
<col align="left" valign="top">
|
890
|
+
<col>
|
891
|
+
</colgroup>
|
847
892
|
<tbody><tr>
|
848
893
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
849
894
|
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>
|
@@ -859,8 +904,11 @@ Destroys a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer
|
|
859
904
|
<p>
|
860
905
|
Empties a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>, make it ready to add glyphs to.
|
861
906
|
</p>
|
862
|
-
<div class="variablelist"><table border="0">
|
907
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
908
|
+
<colgroup>
|
863
909
|
<col align="left" valign="top">
|
910
|
+
<col>
|
911
|
+
</colgroup>
|
864
912
|
<tbody><tr>
|
865
913
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
866
914
|
<td>a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>
|
@@ -873,15 +921,18 @@ Empties a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer"
|
|
873
921
|
<div class="refsect2">
|
874
922
|
<a name="pango-ot-buffer-add-glyph"></a><h3>pango_ot_buffer_add_glyph ()</h3>
|
875
923
|
<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>,
|
876
|
-
<em class="parameter"><code><
|
877
|
-
<em class="parameter"><code><
|
878
|
-
<em class="parameter"><code><
|
924
|
+
<em class="parameter"><code><span class="type">guint</span> glyph</code></em>,
|
925
|
+
<em class="parameter"><code><span class="type">guint</span> properties</code></em>,
|
926
|
+
<em class="parameter"><code><span class="type">guint</span> cluster</code></em>);</pre>
|
879
927
|
<p>
|
880
928
|
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
|
881
929
|
features should be applied on this glyph. See <code class="function">pango_ruleset_add_feature()</code>.
|
882
930
|
</p>
|
883
|
-
<div class="variablelist"><table border="0">
|
931
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
932
|
+
<colgroup>
|
884
933
|
<col align="left" valign="top">
|
934
|
+
<col>
|
935
|
+
</colgroup>
|
885
936
|
<tbody>
|
886
937
|
<tr>
|
887
938
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
@@ -909,13 +960,16 @@ features should be applied on this glyph. See <code class="function">pango_rule
|
|
909
960
|
<div class="refsect2">
|
910
961
|
<a name="pango-ot-buffer-set-rtl"></a><h3>pango_ot_buffer_set_rtl ()</h3>
|
911
962
|
<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>,
|
912
|
-
<em class="parameter"><code><
|
963
|
+
<em class="parameter"><code><span class="type">gboolean</span> rtl</code></em>);</pre>
|
913
964
|
<p>
|
914
965
|
Sets whether glyphs will be rendered right-to-left. This setting
|
915
966
|
is needed for proper horizontal positioning of right-to-left scripts.
|
916
967
|
</p>
|
917
|
-
<div class="variablelist"><table border="0">
|
968
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
969
|
+
<colgroup>
|
918
970
|
<col align="left" valign="top">
|
971
|
+
<col>
|
972
|
+
</colgroup>
|
919
973
|
<tbody>
|
920
974
|
<tr>
|
921
975
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
@@ -925,7 +979,7 @@ is needed for proper horizontal positioning of right-to-left scripts.
|
|
925
979
|
<tr>
|
926
980
|
<td><p><span class="term"><em class="parameter"><code>rtl</code></em> :</span></p></td>
|
927
981
|
<td>
|
928
|
-
<
|
982
|
+
<code class="literal">TRUE</code> for right-to-left text</td>
|
929
983
|
</tr>
|
930
984
|
</tbody>
|
931
985
|
</table></div>
|
@@ -936,15 +990,18 @@ is needed for proper horizontal positioning of right-to-left scripts.
|
|
936
990
|
<a name="pango-ot-buffer-set-zero-width-marks"></a><h3>pango_ot_buffer_set_zero_width_marks ()</h3>
|
937
991
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_set_zero_width_marks
|
938
992
|
(<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>,
|
939
|
-
<em class="parameter"><code><
|
993
|
+
<em class="parameter"><code><span class="type">gboolean</span> zero_width_marks</code></em>);</pre>
|
940
994
|
<p>
|
941
995
|
Sets whether characters with a mark class should be forced to zero width.
|
942
996
|
This setting is needed for proper positioning of Arabic accents,
|
943
997
|
but will produce incorrect results with standard OpenType Indic
|
944
998
|
fonts.
|
945
999
|
</p>
|
946
|
-
<div class="variablelist"><table border="0">
|
1000
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1001
|
+
<colgroup>
|
947
1002
|
<col align="left" valign="top">
|
1003
|
+
<col>
|
1004
|
+
</colgroup>
|
948
1005
|
<tbody>
|
949
1006
|
<tr>
|
950
1007
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
@@ -954,7 +1011,7 @@ fonts.
|
|
954
1011
|
<tr>
|
955
1012
|
<td><p><span class="term"><em class="parameter"><code>zero_width_marks</code></em> :</span></p></td>
|
956
1013
|
<td>
|
957
|
-
<
|
1014
|
+
<code class="literal">TRUE</code> if characters with a mark class should
|
958
1015
|
be forced to zero width.</td>
|
959
1016
|
</tr>
|
960
1017
|
</tbody>
|
@@ -972,8 +1029,11 @@ Gets the glyph array contained in a <a class="link" href="pango-OpenType-Font-Ha
|
|
972
1029
|
owned by the buffer and should not be freed, and are only valid as long
|
973
1030
|
as buffer is not modified.
|
974
1031
|
</p>
|
975
|
-
<div class="variablelist"><table border="0">
|
1032
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1033
|
+
<colgroup>
|
976
1034
|
<col align="left" valign="top">
|
1035
|
+
<col>
|
1036
|
+
</colgroup>
|
977
1037
|
<tbody>
|
978
1038
|
<tr>
|
979
1039
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
@@ -982,12 +1042,12 @@ as buffer is not modified.
|
|
982
1042
|
</tr>
|
983
1043
|
<tr>
|
984
1044
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
985
|
-
<td>location to store the array of glyphs, or <a href="/
|
1045
|
+
<td>location to store the array of glyphs, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
986
1046
|
</td>
|
987
1047
|
</tr>
|
988
1048
|
<tr>
|
989
1049
|
<td><p><span class="term"><em class="parameter"><code>n_glyphs</code></em> :</span></p></td>
|
990
|
-
<td>location to store the number of glyphs, or <a href="/
|
1050
|
+
<td>location to store the number of glyphs, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
991
1051
|
</td>
|
992
1052
|
</tr>
|
993
1053
|
</tbody>
|
@@ -1004,8 +1064,11 @@ Exports the glyphs in a <a class="link" href="pango-OpenType-Font-Handling.html#
|
|
1004
1064
|
typically used after the OpenType layout processing is over, to convert the
|
1005
1065
|
resulting glyphs into a generic Pango glyph string.
|
1006
1066
|
</p>
|
1007
|
-
<div class="variablelist"><table border="0">
|
1067
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1068
|
+
<colgroup>
|
1008
1069
|
<col align="left" valign="top">
|
1070
|
+
<col>
|
1071
|
+
</colgroup>
|
1009
1072
|
<tbody>
|
1010
1073
|
<tr>
|
1011
1074
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
@@ -1037,8 +1100,11 @@ The returned ruleset should not be modified or destroyed.
|
|
1037
1100
|
The static feature map members of <em class="parameter"><code>desc</code></em> should be alive as
|
1038
1101
|
long as <em class="parameter"><code>info</code></em> is.
|
1039
1102
|
</p>
|
1040
|
-
<div class="variablelist"><table border="0">
|
1103
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1104
|
+
<colgroup>
|
1041
1105
|
<col align="left" valign="top">
|
1106
|
+
<col>
|
1107
|
+
</colgroup>
|
1042
1108
|
<tbody>
|
1043
1109
|
<tr>
|
1044
1110
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
@@ -1064,8 +1130,11 @@ the same lifetime as <em class="parameter"><code>info</code></em>.</td>
|
|
1064
1130
|
<p>
|
1065
1131
|
Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> for the given OpenType info.
|
1066
1132
|
</p>
|
1067
|
-
<div class="variablelist"><table border="0">
|
1133
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1134
|
+
<colgroup>
|
1068
1135
|
<col align="left" valign="top">
|
1136
|
+
<col>
|
1137
|
+
</colgroup>
|
1069
1138
|
<tbody>
|
1070
1139
|
<tr>
|
1071
1140
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
@@ -1074,7 +1143,7 @@ Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRul
|
|
1074
1143
|
<tr>
|
1075
1144
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1076
1145
|
<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 <
|
1146
|
+
should be freed with <code class="function">g_object_unref()</code>.</td>
|
1078
1147
|
</tr>
|
1079
1148
|
</tbody>
|
1080
1149
|
</table></div>
|
@@ -1100,7 +1169,7 @@ script, language, or feature indices manually.
|
|
1100
1169
|
<p>
|
1101
1170
|
In excess to what <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> does, this function will:
|
1102
1171
|
</p>
|
1103
|
-
<div class="itemizedlist"><ul class="itemizedlist"
|
1172
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
1104
1173
|
<li class="listitem">
|
1105
1174
|
Find the <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> script and language tags associated with
|
1106
1175
|
<em class="parameter"><code>script</code></em> and <em class="parameter"><code>language</code></em> using <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-script" title="pango_ot_tag_from_script ()"><code class="function">pango_ot_tag_from_script()</code></a> and
|
@@ -1130,8 +1199,11 @@ Because of the way return values of <a class="link" href="pango-OpenType-Font-Ha
|
|
1130
1199
|
<a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-language" title="pango_ot_info_find_language ()"><code class="function">pango_ot_info_find_language()</code></a> are ignored, this function automatically
|
1131
1200
|
finds and uses the 'DFLT' script and the default language-system.
|
1132
1201
|
</p>
|
1133
|
-
<div class="variablelist"><table border="0">
|
1202
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1203
|
+
<colgroup>
|
1134
1204
|
<col align="left" valign="top">
|
1205
|
+
<col>
|
1206
|
+
</colgroup>
|
1135
1207
|
<tbody>
|
1136
1208
|
<tr>
|
1137
1209
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
@@ -1148,7 +1220,7 @@ finds and uses the 'DFLT' script and the default language-system.
|
|
1148
1220
|
<tr>
|
1149
1221
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1150
1222
|
<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 <
|
1223
|
+
should be freed with <code class="function">g_object_unref()</code>.</td>
|
1152
1224
|
</tr>
|
1153
1225
|
</tbody>
|
1154
1226
|
</table></div>
|
@@ -1173,8 +1245,11 @@ adding other features to both GSUB and GPOS.
|
|
1173
1245
|
The static feature map members of <em class="parameter"><code>desc</code></em> should be alive as
|
1174
1246
|
long as <em class="parameter"><code>info</code></em> is.
|
1175
1247
|
</p>
|
1176
|
-
<div class="variablelist"><table border="0">
|
1248
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1249
|
+
<colgroup>
|
1177
1250
|
<col align="left" valign="top">
|
1251
|
+
<col>
|
1252
|
+
</colgroup>
|
1178
1253
|
<tbody>
|
1179
1254
|
<tr>
|
1180
1255
|
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
@@ -1187,7 +1262,7 @@ long as <em class="parameter"><code>info</code></em> is.
|
|
1187
1262
|
<tr>
|
1188
1263
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1189
1264
|
<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 <
|
1265
|
+
should be freed with <code class="function">g_object_unref()</code>.</td>
|
1191
1266
|
</tr>
|
1192
1267
|
</tbody>
|
1193
1268
|
</table></div>
|
@@ -1198,13 +1273,16 @@ should be freed with <a href="http://library.gnome.org/devel/gobject/unstable/go
|
|
1198
1273
|
<a name="pango-ot-ruleset-add-feature"></a><h3>pango_ot_ruleset_add_feature ()</h3>
|
1199
1274
|
<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>,
|
1200
1275
|
<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>,
|
1201
|
-
<em class="parameter"><code><
|
1202
|
-
<em class="parameter"><code><
|
1276
|
+
<em class="parameter"><code><span class="type">guint</span> feature_index</code></em>,
|
1277
|
+
<em class="parameter"><code><span class="type">gulong</span> property_bit</code></em>);</pre>
|
1203
1278
|
<p>
|
1204
1279
|
Adds a feature to the ruleset.
|
1205
1280
|
</p>
|
1206
|
-
<div class="variablelist"><table border="0">
|
1281
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1282
|
+
<colgroup>
|
1207
1283
|
<col align="left" valign="top">
|
1284
|
+
<col>
|
1285
|
+
</colgroup>
|
1208
1286
|
<tbody>
|
1209
1287
|
<tr>
|
1210
1288
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
@@ -1230,10 +1308,10 @@ the glyphs that this feature should be applied to, or
|
|
1230
1308
|
<hr>
|
1231
1309
|
<div class="refsect2">
|
1232
1310
|
<a name="pango-ot-ruleset-maybe-add-feature"></a><h3>pango_ot_ruleset_maybe_add_feature ()</h3>
|
1233
|
-
<pre class="programlisting"><
|
1311
|
+
<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>,
|
1234
1312
|
<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>,
|
1235
1313
|
<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>,
|
1236
|
-
<em class="parameter"><code><
|
1314
|
+
<em class="parameter"><code><span class="type">gulong</span> property_bit</code></em>);</pre>
|
1237
1315
|
<p>
|
1238
1316
|
This is a convenience function that first tries to find the feature
|
1239
1317
|
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
|
@@ -1244,8 +1322,11 @@ and if the feature is found, adds it to the ruleset.
|
|
1244
1322
|
If <em class="parameter"><code>ruleset</code></em> was not created using <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new-for" title="pango_ot_ruleset_new_for ()"><code class="function">pango_ot_ruleset_new_for()</code></a>, this function
|
1245
1323
|
does nothing.
|
1246
1324
|
</p>
|
1247
|
-
<div class="variablelist"><table border="0">
|
1325
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1326
|
+
<colgroup>
|
1248
1327
|
<col align="left" valign="top">
|
1328
|
+
<col>
|
1329
|
+
</colgroup>
|
1249
1330
|
<tbody>
|
1250
1331
|
<tr>
|
1251
1332
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
@@ -1268,8 +1349,8 @@ the glyphs that this feature should be applied to, or
|
|
1268
1349
|
<tr>
|
1269
1350
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1270
1351
|
<td>
|
1271
|
-
<
|
1272
|
-
<
|
1352
|
+
<code class="literal">TRUE</code> if the feature was found and added to ruleset,
|
1353
|
+
<code class="literal">FALSE</code> otherwise.</td>
|
1273
1354
|
</tr>
|
1274
1355
|
</tbody>
|
1275
1356
|
</table></div>
|
@@ -1278,18 +1359,21 @@ the glyphs that this feature should be applied to, or
|
|
1278
1359
|
<hr>
|
1279
1360
|
<div class="refsect2">
|
1280
1361
|
<a name="pango-ot-ruleset-maybe-add-features"></a><h3>pango_ot_ruleset_maybe_add_features ()</h3>
|
1281
|
-
<pre class="programlisting"><
|
1362
|
+
<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>,
|
1282
1363
|
<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>,
|
1283
1364
|
<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>,
|
1284
|
-
<em class="parameter"><code><
|
1365
|
+
<em class="parameter"><code><span class="type">guint</span> n_features</code></em>);</pre>
|
1285
1366
|
<p>
|
1286
1367
|
This is a convenience function that
|
1287
1368
|
for each feature in the feature map array <em class="parameter"><code>features</code></em>
|
1288
1369
|
converts the feature name to a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> feature tag using <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-MAKE:CAPS" title="PANGO_OT_TAG_MAKE()"><code class="function">PANGO_OT_TAG_MAKE()</code></a>
|
1289
1370
|
and calls <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-maybe-add-feature" title="pango_ot_ruleset_maybe_add_feature ()"><code class="function">pango_ot_ruleset_maybe_add_feature()</code></a> on it.
|
1290
1371
|
</p>
|
1291
|
-
<div class="variablelist"><table border="0">
|
1372
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1373
|
+
<colgroup>
|
1292
1374
|
<col align="left" valign="top">
|
1375
|
+
<col>
|
1376
|
+
</colgroup>
|
1293
1377
|
<tbody>
|
1294
1378
|
<tr>
|
1295
1379
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
@@ -1319,14 +1403,17 @@ and added to <em class="parameter"><code>ruleset</code></em>.</td>
|
|
1319
1403
|
<hr>
|
1320
1404
|
<div class="refsect2">
|
1321
1405
|
<a name="pango-ot-ruleset-get-feature-count"></a><h3>pango_ot_ruleset_get_feature_count ()</h3>
|
1322
|
-
<pre class="programlisting"><
|
1323
|
-
<em class="parameter"><code><
|
1324
|
-
<em class="parameter"><code><
|
1406
|
+
<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>,
|
1407
|
+
<em class="parameter"><code><span class="type">guint</span> *n_gsub_features</code></em>,
|
1408
|
+
<em class="parameter"><code><span class="type">guint</span> *n_gpos_features</code></em>);</pre>
|
1325
1409
|
<p>
|
1326
1410
|
Gets the number of GSUB and GPOS features in the ruleset.
|
1327
1411
|
</p>
|
1328
|
-
<div class="variablelist"><table border="0">
|
1412
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1413
|
+
<colgroup>
|
1329
1414
|
<col align="left" valign="top">
|
1415
|
+
<col>
|
1416
|
+
</colgroup>
|
1330
1417
|
<tbody>
|
1331
1418
|
<tr>
|
1332
1419
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
@@ -1334,11 +1421,11 @@ Gets the number of GSUB and GPOS features in the ruleset.
|
|
1334
1421
|
</tr>
|
1335
1422
|
<tr>
|
1336
1423
|
<td><p><span class="term"><em class="parameter"><code>n_gsub_features</code></em> :</span></p></td>
|
1337
|
-
<td>location to store number of GSUB features, or <a href="/
|
1424
|
+
<td>location to store number of GSUB features, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
|
1338
1425
|
</tr>
|
1339
1426
|
<tr>
|
1340
1427
|
<td><p><span class="term"><em class="parameter"><code>n_gpos_features</code></em> :</span></p></td>
|
1341
|
-
<td>location to store number of GPOS features, or <a href="/
|
1428
|
+
<td>location to store number of GPOS features, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
|
1342
1429
|
</tr>
|
1343
1430
|
<tr>
|
1344
1431
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1357,8 +1444,11 @@ Gets the number of GSUB and GPOS features in the ruleset.
|
|
1357
1444
|
Performs the OpenType GSUB substitution on <em class="parameter"><code>buffer</code></em> using the features
|
1358
1445
|
in <em class="parameter"><code>ruleset</code></em>
|
1359
1446
|
</p>
|
1360
|
-
<div class="variablelist"><table border="0">
|
1447
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1448
|
+
<colgroup>
|
1361
1449
|
<col align="left" valign="top">
|
1450
|
+
<col>
|
1451
|
+
</colgroup>
|
1362
1452
|
<tbody>
|
1363
1453
|
<tr>
|
1364
1454
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
@@ -1381,8 +1471,11 @@ in <em class="parameter"><code>ruleset</code></em>
|
|
1381
1471
|
Performs the OpenType GPOS positioning on <em class="parameter"><code>buffer</code></em> using the features
|
1382
1472
|
in <em class="parameter"><code>ruleset</code></em>
|
1383
1473
|
</p>
|
1384
|
-
<div class="variablelist"><table border="0">
|
1474
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1475
|
+
<colgroup>
|
1385
1476
|
<col align="left" valign="top">
|
1477
|
+
<col>
|
1478
|
+
</colgroup>
|
1386
1479
|
<tbody>
|
1387
1480
|
<tr>
|
1388
1481
|
<td><p><span class="term"><em class="parameter"><code>ruleset</code></em> :</span></p></td>
|
@@ -1407,8 +1500,11 @@ Creates a copy of <em class="parameter"><code>desc</code></em>, which should be
|
|
1407
1500
|
by <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-get-for-description" title="pango_ot_ruleset_get_for_description ()"><code class="function">pango_ot_ruleset_get_for_description()</code></a> to cache rulesets for
|
1408
1501
|
ruleset descriptions.
|
1409
1502
|
</p>
|
1410
|
-
<div class="variablelist"><table border="0">
|
1503
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1504
|
+
<colgroup>
|
1411
1505
|
<col align="left" valign="top">
|
1506
|
+
<col>
|
1507
|
+
</colgroup>
|
1412
1508
|
<tbody>
|
1413
1509
|
<tr>
|
1414
1510
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1426,7 +1522,7 @@ should be freed with <a class="link" href="pango-OpenType-Font-Handling.html#pan
|
|
1426
1522
|
<hr>
|
1427
1523
|
<div class="refsect2">
|
1428
1524
|
<a name="pango-ot-ruleset-description-equal"></a><h3>pango_ot_ruleset_description_equal ()</h3>
|
1429
|
-
<pre class="programlisting"><
|
1525
|
+
<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>,
|
1430
1526
|
<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>
|
1431
1527
|
<p>
|
1432
1528
|
Compares two ruleset descriptions for equality.
|
@@ -1436,10 +1532,13 @@ script, language, and all feature sets should be equal. For static feature
|
|
1436
1532
|
sets, the array addresses are compared directly, while for other
|
1437
1533
|
features, the list of features is compared one by one.
|
1438
1534
|
(Two ruleset descriptions may result in identical rulesets
|
1439
|
-
being created, but still compare <
|
1535
|
+
being created, but still compare <code class="literal">FALSE</code>.)
|
1440
1536
|
</p>
|
1441
|
-
<div class="variablelist"><table border="0">
|
1537
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1538
|
+
<colgroup>
|
1442
1539
|
<col align="left" valign="top">
|
1540
|
+
<col>
|
1541
|
+
</colgroup>
|
1443
1542
|
<tbody>
|
1444
1543
|
<tr>
|
1445
1544
|
<td><p><span class="term"><em class="parameter"><code>desc1</code></em> :</span></p></td>
|
@@ -1452,8 +1551,8 @@ being created, but still compare <a href="http://library.gnome.org/devel/glib/un
|
|
1452
1551
|
<tr>
|
1453
1552
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1454
1553
|
<td>
|
1455
|
-
<
|
1456
|
-
<
|
1554
|
+
<code class="literal">TRUE</code> if two ruleset descriptions are identical,
|
1555
|
+
<code class="literal">FALSE</code> otherwise.</td>
|
1457
1556
|
</tr>
|
1458
1557
|
</tbody>
|
1459
1558
|
</table></div>
|
@@ -1467,8 +1566,11 @@ being created, but still compare <a href="http://library.gnome.org/devel/glib/un
|
|
1467
1566
|
Frees a ruleset description allocated by
|
1468
1567
|
<a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-copy" title="pango_ot_ruleset_description_copy ()"><code class="function">pango_ot_ruleset_description_copy()</code></a>.
|
1469
1568
|
</p>
|
1470
|
-
<div class="variablelist"><table border="0">
|
1569
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1570
|
+
<colgroup>
|
1471
1571
|
<col align="left" valign="top">
|
1572
|
+
<col>
|
1573
|
+
</colgroup>
|
1472
1574
|
<tbody><tr>
|
1473
1575
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1474
1576
|
<td>an allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a>
|
@@ -1480,13 +1582,16 @@ Frees a ruleset description allocated by
|
|
1480
1582
|
<hr>
|
1481
1583
|
<div class="refsect2">
|
1482
1584
|
<a name="pango-ot-ruleset-description-hash"></a><h3>pango_ot_ruleset_description_hash ()</h3>
|
1483
|
-
<pre class="programlisting"><
|
1585
|
+
<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>
|
1484
1586
|
<p>
|
1485
1587
|
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
|
1486
|
-
to be used, for example, as an argument to <
|
1588
|
+
to be used, for example, as an argument to <code class="function">g_hash_table_new()</code>.
|
1487
1589
|
</p>
|
1488
|
-
<div class="variablelist"><table border="0">
|
1590
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1591
|
+
<colgroup>
|
1489
1592
|
<col align="left" valign="top">
|
1593
|
+
<col>
|
1594
|
+
</colgroup>
|
1490
1595
|
<tbody>
|
1491
1596
|
<tr>
|
1492
1597
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1507,12 +1612,15 @@ to be used, for example, as an argument to <a href="http://library.gnome.org/dev
|
|
1507
1612
|
<p>
|
1508
1613
|
Finds the OpenType language-system tag best describing <em class="parameter"><code>language</code></em>.
|
1509
1614
|
</p>
|
1510
|
-
<div class="variablelist"><table border="0">
|
1615
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1616
|
+
<colgroup>
|
1511
1617
|
<col align="left" valign="top">
|
1618
|
+
<col>
|
1619
|
+
</colgroup>
|
1512
1620
|
<tbody>
|
1513
1621
|
<tr>
|
1514
1622
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
1515
|
-
<td>A <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="/
|
1623
|
+
<td>A <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1516
1624
|
</td>
|
1517
1625
|
</tr>
|
1518
1626
|
<tr>
|
@@ -1520,7 +1628,7 @@ Finds the OpenType language-system tag best describing <em class="parameter"><co
|
|
1520
1628
|
<td>
|
1521
1629
|
<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
|
1522
1630
|
<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>
|
1523
|
-
is <a href="/
|
1631
|
+
is <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
|
1524
1632
|
</tr>
|
1525
1633
|
</tbody>
|
1526
1634
|
</table></div>
|
@@ -1544,8 +1652,11 @@ Note that multiple <a class="link" href="pango-Scripts-and-Languages.html#PangoS
|
|
1544
1652
|
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>
|
1545
1653
|
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'.
|
1546
1654
|
</p>
|
1547
|
-
<div class="variablelist"><table border="0">
|
1655
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1656
|
+
<colgroup>
|
1548
1657
|
<col align="left" valign="top">
|
1658
|
+
<col>
|
1659
|
+
</colgroup>
|
1549
1660
|
<tbody>
|
1550
1661
|
<tr>
|
1551
1662
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
@@ -1569,8 +1680,11 @@ and <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-KATAKANA
|
|
1569
1680
|
<p>
|
1570
1681
|
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>.
|
1571
1682
|
</p>
|
1572
|
-
<div class="variablelist"><table border="0">
|
1683
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1684
|
+
<colgroup>
|
1573
1685
|
<col align="left" valign="top">
|
1686
|
+
<col>
|
1687
|
+
</colgroup>
|
1574
1688
|
<tbody>
|
1575
1689
|
<tr>
|
1576
1690
|
<td><p><span class="term"><em class="parameter"><code>language_tag</code></em> :</span></p></td>
|
@@ -1605,8 +1719,11 @@ and <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-KATAKANA
|
|
1605
1719
|
This function will return <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-HIRAGANA:CAPS"><code class="literal">PANGO_SCRIPT_HIRAGANA</code></a> for
|
1606
1720
|
'kana'.
|
1607
1721
|
</p>
|
1608
|
-
<div class="variablelist"><table border="0">
|
1722
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1723
|
+
<colgroup>
|
1609
1724
|
<col align="left" valign="top">
|
1725
|
+
<col>
|
1726
|
+
</colgroup>
|
1610
1727
|
<tbody>
|
1611
1728
|
<tr>
|
1612
1729
|
<td><p><span class="term"><em class="parameter"><code>script_tag</code></em> :</span></p></td>
|
@@ -1626,6 +1743,6 @@ This function will return <a class="link" href="pango-Scripts-and-Languages.html
|
|
1626
1743
|
</div>
|
1627
1744
|
<div class="footer">
|
1628
1745
|
<hr>
|
1629
|
-
Generated by GTK-Doc V1.18</div>
|
1746
|
+
Generated by GTK-Doc V1.18.1</div>
|
1630
1747
|
</body>
|
1631
1748
|
</html>
|