~ubuntu-branches/ubuntu/trusty/pango1.0/trusty-proposed

« back to all changes in this revision

Viewing changes to docs/html/pango-OpenType-Font-Handling.html

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette, Loic Minier, Josselin Mouette
  • Date: 2009-01-06 13:30:54 UTC
  • mfrom: (1.2.57 upstream)
  • Revision ID: james.westby@ubuntu.com-20090106133054-jfrmtlm6rhi32892
Tags: 1.22.4-1
[ Loic Minier ]
* Don't purge /etc/pango/pango.modules during first configuration.

[ Josselin Mouette ]
* New upstream release.
  + Take into account the width of CJK characters when computing the 
    size of text boxes. Closes: #505780.
* 90_relibtoolize.patch: relibtoolize to avoid the rpath issue on 
  amd64.
* dh_pangomodules.in: fix pod2man error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
#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>
79
79
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a>*        <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-get" title="pango_ot_info_get ()">pango_ot_info_get</a>                   (FT_Face face);
80
80
<a
81
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
81
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
82
82
>gboolean</a>            <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-script" title="pango_ot_info_find_script ()">pango_ot_info_find_script</a>           (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
83
83
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a> table_type,
84
84
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</a> script_tag,
85
85
                                                         <a
86
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
86
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
87
87
>guint</a> *script_index);
88
88
<a
89
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
89
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
90
90
>gboolean</a>            <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-language" title="pango_ot_info_find_language ()">pango_ot_info_find_language</a>         (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
91
91
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a> table_type,
92
92
                                                         <a
93
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
93
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
94
94
>guint</a> script_index,
95
95
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</a> language_tag,
96
96
                                                         <a
97
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
97
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
98
98
>guint</a> *language_index,
99
99
                                                         <a
100
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
100
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
101
101
>guint</a> *required_feature_index);
102
102
<a
103
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
103
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
104
104
>gboolean</a>            <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-feature" title="pango_ot_info_find_feature ()">pango_ot_info_find_feature</a>          (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
105
105
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a> table_type,
106
106
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</a> feature_tag,
107
107
                                                         <a
108
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
108
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
109
109
>guint</a> script_index,
110
110
                                                         <a
111
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
111
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
112
112
>guint</a> language_index,
113
113
                                                         <a
114
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
114
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
115
115
>guint</a> *feature_index);
116
116
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</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>          (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
117
117
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a> table_type);
118
118
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</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>        (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
119
119
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a> table_type,
120
120
                                                         <a
121
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
121
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
122
122
>guint</a> script_index,
123
123
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</a> language_tag);
124
124
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</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>         (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
125
125
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a> table_type,
126
126
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</a> tag,
127
127
                                                         <a
128
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
128
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
129
129
>guint</a> script_index,
130
130
                                                         <a
131
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
131
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
132
132
>guint</a> language_index);
133
133
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer">PangoOTBuffer</a>*      <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-new" title="pango_ot_buffer_new ()">pango_ot_buffer_new</a>                 (<a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a> *font);
134
134
void                <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-destroy" title="pango_ot_buffer_destroy ()">pango_ot_buffer_destroy</a>             (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer">PangoOTBuffer</a> *buffer);
135
135
void                <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-clear" title="pango_ot_buffer_clear ()">pango_ot_buffer_clear</a>               (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer">PangoOTBuffer</a> *buffer);
136
136
void                <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>           (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer">PangoOTBuffer</a> *buffer,
137
137
                                                         <a
138
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
138
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
139
139
>guint</a> glyph,
140
140
                                                         <a
141
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
141
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
142
142
>guint</a> properties,
143
143
                                                         <a
144
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
144
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
145
145
>guint</a> cluster);
146
146
void                <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>             (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer">PangoOTBuffer</a> *buffer,
147
147
                                                         <a
148
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
148
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
149
149
>gboolean</a> rtl);
150
150
void                <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>
151
151
                                                        (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer">PangoOTBuffer</a> *buffer,
152
152
                                                         <a
153
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
153
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
154
154
>gboolean</a> zero_width_marks);
155
155
void                <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>          (const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer">PangoOTBuffer</a> *buffer,
156
156
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTGlyph" title="PangoOTGlyph">PangoOTGlyph</a> **glyphs,
170
170
void                <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>        (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a> *ruleset,
171
171
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a> table_type,
172
172
                                                         <a
173
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
173
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
174
174
>guint</a> feature_index,
175
175
                                                         <a
176
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"
 
176
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"
177
177
>gulong</a> property_bit);
178
178
<a
179
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
179
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
180
180
>gboolean</a>            <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-maybe-add-feature" title="pango_ot_ruleset_maybe_add_feature ()">pango_ot_ruleset_maybe_add_feature</a>  (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a> *ruleset,
181
181
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a> table_type,
182
182
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</a> feature_tag,
183
183
                                                         <a
184
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"
 
184
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"
185
185
>gulong</a> property_bit);
186
186
<a
187
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
187
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
188
188
>guint</a>               <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-maybe-add-features" title="pango_ot_ruleset_maybe_add_features ()">pango_ot_ruleset_maybe_add_features</a> (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a> *ruleset,
189
189
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a> table_type,
190
190
                                                         const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="PangoOTFeatureMap">PangoOTFeatureMap</a> *features,
191
191
                                                         <a
192
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
192
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
193
193
>guint</a> n_features);
194
194
<a
195
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
195
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
196
196
>guint</a>               <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-get-feature-count" title="pango_ot_ruleset_get_feature_count ()">pango_ot_ruleset_get_feature_count</a>  (const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a> *ruleset,
197
197
                                                         <a
198
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
198
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
199
199
>guint</a> *n_gsub_features,
200
200
                                                         <a
201
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
201
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
202
202
>guint</a> *n_gpos_features);
203
203
void                <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-substitute" title="pango_ot_ruleset_substitute ()">pango_ot_ruleset_substitute</a>         (const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a> *ruleset,
204
204
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer">PangoOTBuffer</a> *buffer);
207
207
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription">PangoOTRulesetDescription</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>
208
208
                                                        (const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription">PangoOTRulesetDescription</a> *desc);
209
209
<a
210
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
210
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
211
211
>gboolean</a>            <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-equal" title="pango_ot_ruleset_description_equal ()">pango_ot_ruleset_description_equal</a>  (const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription">PangoOTRulesetDescription</a> *desc1,
212
212
                                                         const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription">PangoOTRulesetDescription</a> *desc2);
213
213
void                <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>   (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription">PangoOTRulesetDescription</a> *desc);
214
214
<a
215
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
215
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
216
216
>guint</a>               <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-hash" title="pango_ot_ruleset_description_hash ()">pango_ot_ruleset_description_hash</a>   (const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription">PangoOTRulesetDescription</a> *desc);
217
217
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</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>          (<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage">PangoLanguage</a> *language);
218
218
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</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>            (<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript">PangoScript</a> script);
224
224
<a name="pango-OpenType-Font-Handling.object-hierarchy"></a><h2>Object Hierarchy</h2>
225
225
<pre class="synopsis">
226
226
  <a
227
 
href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
 
227
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
228
228
>GObject</a>
229
229
   +----PangoOTInfo
230
230
</pre>
231
231
<pre class="synopsis">
232
232
  <a
233
 
href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
 
233
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
234
234
>GObject</a>
235
235
   +----PangoOTRuleset
236
236
</pre>
301
301
<tbody>
302
302
<tr>
303
303
<td><p><span class="term"><a
304
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
304
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
305
305
>guint</a> <em class="structfield"><code>glyph</code></em>;</span></p></td>
306
306
<td>the glyph itself.
307
307
</td>
308
308
</tr>
309
309
<tr>
310
310
<td><p><span class="term"><a
311
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
311
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
312
312
>guint</a> <em class="structfield"><code>properties</code></em>;</span></p></td>
313
313
<td>the properties value, identifying which features should be
314
314
             applied on this glyph.  See <code class="function">pango_ruleset_add_feature()</code>.
316
316
</tr>
317
317
<tr>
318
318
<td><p><span class="term"><a
319
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
319
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
320
320
>guint</a> <em class="structfield"><code>cluster</code></em>;</span></p></td>
321
321
<td>the cluster that this glyph belongs to.
322
322
</td>
323
323
</tr>
324
324
<tr>
325
325
<td><p><span class="term"><a
326
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
 
326
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
327
327
>gushort</a> <em class="structfield"><code>component</code></em>;</span></p></td>
328
328
<td>a component value, set by the OpenType layout engine.
329
329
</td>
330
330
</tr>
331
331
<tr>
332
332
<td><p><span class="term"><a
333
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
 
333
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
334
334
>gushort</a> <em class="structfield"><code>ligID</code></em>;</span></p></td>
335
335
<td>a ligature index value, set by the OpenType layout engine.
336
336
</td>
337
337
</tr>
338
338
<tr>
339
339
<td><p><span class="term"><a
340
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
 
340
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gushort"
341
341
>gushort</a> <em class="structfield"><code>property_cache</code></em>;</span></p></td>
342
342
<td>for internal use.
343
343
 
398
398
</tr>
399
399
<tr>
400
400
<td><p><span class="term">const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="PangoOTFeatureMap">PangoOTFeatureMap</a> *<em class="structfield"><code>static_gsub_features</code></em>;</span></p></td>
401
 
<td>static map of GSUB features, or <a
402
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
403
 
><code class="literal">NULL</code></a>.
 
401
<td>static map of GSUB features, or <code class="literal">NULL</code>.
404
402
</td>
405
403
</tr>
406
404
<tr>
407
405
<td><p><span class="term"><a
408
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
406
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
409
407
>guint</a> <em class="structfield"><code>n_static_gsub_features</code></em>;</span></p></td>
410
408
<td>length of <em class="parameter"><code>static_gsub_features</code></em>, or 0.
411
409
</td>
412
410
</tr>
413
411
<tr>
414
412
<td><p><span class="term">const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="PangoOTFeatureMap">PangoOTFeatureMap</a> *<em class="structfield"><code>static_gpos_features</code></em>;</span></p></td>
415
 
<td>static map of GPOS features, or <a
416
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
417
 
><code class="literal">NULL</code></a>.
 
413
<td>static map of GPOS features, or <code class="literal">NULL</code>.
418
414
</td>
419
415
</tr>
420
416
<tr>
421
417
<td><p><span class="term"><a
422
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
418
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
423
419
>guint</a> <em class="structfield"><code>n_static_gpos_features</code></em>;</span></p></td>
424
420
<td>length of <em class="parameter"><code>static_gpos_features</code></em>, or 0.
425
421
</td>
426
422
</tr>
427
423
<tr>
428
424
<td><p><span class="term">const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="PangoOTFeatureMap">PangoOTFeatureMap</a> *<em class="structfield"><code>other_features</code></em>;</span></p></td>
429
 
<td>map of extra features to add to both GSUB and GPOS, or <a
430
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
431
 
><code class="literal">NULL</code></a>.
 
425
<td>map of extra features to add to both GSUB and GPOS, or <code class="literal">NULL</code>.
432
426
                 Unlike the static maps, this pointer need not live beyond
433
427
                 the life of function calls taking this struct.
434
428
</td>
435
429
</tr>
436
430
<tr>
437
431
<td><p><span class="term"><a
438
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
432
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
439
433
>guint</a> <em class="structfield"><code>n_other_features</code></em>;</span></p></td>
440
434
<td>length of <em class="parameter"><code>other_features</code></em>, or 0.
441
435
</td>
500
494
</tr>
501
495
<tr>
502
496
<td><p><span class="term"><a
503
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"
 
497
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"
504
498
>gulong</a> <em class="structfield"><code>property_bit</code></em>;</span></p></td>
505
499
<td>the property bit to use for this feature.  See
506
500
               <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.
707
701
<div class="refsect2" lang="en">
708
702
<a name="pango-ot-info-find-script"></a><h3>pango_ot_info_find_script ()</h3>
709
703
<pre class="programlisting"><a
710
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
704
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
711
705
>gboolean</a>            pango_ot_info_find_script           (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
712
706
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a> table_type,
713
707
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</a> script_tag,
714
708
                                                         <a
715
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
709
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
716
710
>guint</a> *script_index);</pre>
717
711
<p>
718
712
Finds the index of a script.  If not found, tries to find the 'DFLT'
748
742
</tr>
749
743
<tr>
750
744
<td><p><span class="term"><em class="parameter"><code>script_index</code></em> :</span></p></td>
751
 
<td> location to store the index of the script, or <a
752
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
753
 
><code class="literal">NULL</code></a>.
 
745
<td> location to store the index of the script, or <code class="literal">NULL</code>.
754
746
</td>
755
747
</tr>
756
748
<tr>
757
749
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
758
 
<td> <a
759
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
760
 
><code class="literal">TRUE</code></a> if the script was found.
 
750
<td> <code class="literal">TRUE</code> if the script was found.
761
751
</td>
762
752
</tr>
763
753
</tbody>
767
757
<div class="refsect2" lang="en">
768
758
<a name="pango-ot-info-find-language"></a><h3>pango_ot_info_find_language ()</h3>
769
759
<pre class="programlisting"><a
770
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
760
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
771
761
>gboolean</a>            pango_ot_info_find_language         (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
772
762
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a> table_type,
773
763
                                                         <a
774
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
764
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
775
765
>guint</a> script_index,
776
766
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</a> language_tag,
777
767
                                                         <a
778
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
768
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
779
769
>guint</a> *language_index,
780
770
                                                         <a
781
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
771
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
782
772
>guint</a> *required_feature_index);</pre>
783
773
<p>
784
774
Finds the index of a language and its required feature index.
817
807
</tr>
818
808
<tr>
819
809
<td><p><span class="term"><em class="parameter"><code>language_index</code></em> :</span></p></td>
820
 
<td> location to store the index of the language, or <a
821
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
822
 
><code class="literal">NULL</code></a>.
 
810
<td> location to store the index of the language, or <code class="literal">NULL</code>.
823
811
</td>
824
812
</tr>
825
813
<tr>
826
814
<td><p><span class="term"><em class="parameter"><code>required_feature_index</code></em> :</span></p></td>
827
815
<td> location to store the required feature index of
828
 
   the language, or <a
829
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
830
 
><code class="literal">NULL</code></a>.
 
816
   the language, or <code class="literal">NULL</code>.
831
817
</td>
832
818
</tr>
833
819
<tr>
834
820
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
835
 
<td> <a
836
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
837
 
><code class="literal">TRUE</code></a> if the language was found.
 
821
<td> <code class="literal">TRUE</code> if the language was found.
838
822
</td>
839
823
</tr>
840
824
</tbody>
844
828
<div class="refsect2" lang="en">
845
829
<a name="pango-ot-info-find-feature"></a><h3>pango_ot_info_find_feature ()</h3>
846
830
<pre class="programlisting"><a
847
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
831
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
848
832
>gboolean</a>            pango_ot_info_find_feature          (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
849
833
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a> table_type,
850
834
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</a> feature_tag,
851
835
                                                         <a
852
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
836
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
853
837
>guint</a> script_index,
854
838
                                                         <a
855
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
839
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
856
840
>guint</a> language_index,
857
841
                                                         <a
858
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
842
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
859
843
>guint</a> *feature_index);</pre>
860
844
<p>
861
845
Finds the index of a feature.  If the feature is not found, sets
866
850
In the future, this may set <em class="parameter"><code>feature_index</code></em> to an special value that if used
867
851
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
868
852
requested feature based on Unicode properties and data.  However, this
869
 
function will still return <a
870
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
871
 
><code class="literal">FALSE</code></a> in those cases.  So, users may want to
 
853
function will still return <code class="literal">FALSE</code> in those cases.  So, users may want to
872
854
ignore the return value of this function in certain cases.</p>
873
855
<p>
874
856
 
904
886
</tr>
905
887
<tr>
906
888
<td><p><span class="term"><em class="parameter"><code>feature_index</code></em> :</span></p></td>
907
 
<td> location to store the index of the feature, or <a
908
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
909
 
><code class="literal">NULL</code></a>.
 
889
<td> location to store the index of the feature, or <code class="literal">NULL</code>.
910
890
</td>
911
891
</tr>
912
892
<tr>
913
893
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
914
 
<td> <a
915
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
916
 
><code class="literal">TRUE</code></a> if the feature was found.
 
894
<td> <code class="literal">TRUE</code> if the feature was found.
917
895
</td>
918
896
</tr>
919
897
</tbody>
946
924
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
947
925
<td> a newly-allocated zero-terminated array containing the tags of the
948
926
  available scripts.  Should be freed using <a
949
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
 
927
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
950
928
><code class="function">g_free()</code></a>.
951
929
</td>
952
930
</tr>
959
937
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</a>*         pango_ot_info_list_languages        (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
960
938
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a> table_type,
961
939
                                                         <a
962
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
940
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
963
941
>guint</a> script_index,
964
942
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</a> language_tag);</pre>
965
943
<p>
994
972
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
995
973
<td> a newly-allocated zero-terminated array containing the tags of the
996
974
  available languages.  Should be freed using <a
997
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
 
975
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
998
976
><code class="function">g_free()</code></a>.
999
977
</td>
1000
978
</tr>
1008
986
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a> table_type,
1009
987
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</a> tag,
1010
988
                                                         <a
1011
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
989
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1012
990
>guint</a> script_index,
1013
991
                                                         <a
1014
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
992
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1015
993
>guint</a> language_index);</pre>
1016
994
<p>
1017
995
Obtains the list of features for the given language of the given script.</p>
1052
1030
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1053
1031
<td> a newly-allocated zero-terminated array containing the tags of the
1054
1032
available features.  Should be freed using <a
1055
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
 
1033
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
1056
1034
><code class="function">g_free()</code></a>.
1057
1035
</td>
1058
1036
</tr>
1133
1111
<a name="pango-ot-buffer-add-glyph"></a><h3>pango_ot_buffer_add_glyph ()</h3>
1134
1112
<pre class="programlisting">void                pango_ot_buffer_add_glyph           (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer">PangoOTBuffer</a> *buffer,
1135
1113
                                                         <a
1136
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1114
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1137
1115
>guint</a> glyph,
1138
1116
                                                         <a
1139
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1117
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1140
1118
>guint</a> properties,
1141
1119
                                                         <a
1142
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1120
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1143
1121
>guint</a> cluster);</pre>
1144
1122
<p>
1145
1123
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
1180
1158
<a name="pango-ot-buffer-set-rtl"></a><h3>pango_ot_buffer_set_rtl ()</h3>
1181
1159
<pre class="programlisting">void                pango_ot_buffer_set_rtl             (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer">PangoOTBuffer</a> *buffer,
1182
1160
                                                         <a
1183
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
1161
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
1184
1162
>gboolean</a> rtl);</pre>
1185
1163
<p>
1186
1164
Sets whether glyphs will be rendered right-to-left.  This setting
1198
1176
</tr>
1199
1177
<tr>
1200
1178
<td><p><span class="term"><em class="parameter"><code>rtl</code></em> :</span></p></td>
1201
 
<td> <a
1202
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
1203
 
><code class="literal">TRUE</code></a> for right-to-left text
 
1179
<td> <code class="literal">TRUE</code> for right-to-left text
1204
1180
</td>
1205
1181
</tr>
1206
1182
</tbody>
1214
1190
<pre class="programlisting">void                pango_ot_buffer_set_zero_width_marks
1215
1191
                                                        (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer">PangoOTBuffer</a> *buffer,
1216
1192
                                                         <a
1217
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
1193
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
1218
1194
>gboolean</a> zero_width_marks);</pre>
1219
1195
<p>
1220
1196
Sets whether characters with a mark class should be forced to zero width.
1234
1210
</tr>
1235
1211
<tr>
1236
1212
<td><p><span class="term"><em class="parameter"><code>zero_width_marks</code></em> :</span></p></td>
1237
 
<td> <a
1238
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
1239
 
><code class="literal">TRUE</code></a> if characters with a mark class should
 
1213
<td> <code class="literal">TRUE</code> if characters with a mark class should
1240
1214
 be forced to zero width.
1241
1215
</td>
1242
1216
</tr>
1268
1242
</tr>
1269
1243
<tr>
1270
1244
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
1271
 
<td> location to store the array of glyphs, or <a
1272
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
1273
 
><code class="literal">NULL</code></a>
 
1245
<td> location to store the array of glyphs, or <code class="literal">NULL</code>
1274
1246
</td>
1275
1247
</tr>
1276
1248
<tr>
1277
1249
<td><p><span class="term"><em class="parameter"><code>n_glyphs</code></em> :</span></p></td>
1278
 
<td> location to store the number of glyphs, or <a
1279
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
1280
 
><code class="literal">NULL</code></a>
 
1250
<td> location to store the number of glyphs, or <code class="literal">NULL</code>
1281
1251
</td>
1282
1252
</tr>
1283
1253
</tbody>
1379
1349
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1380
1350
<td> the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>, which
1381
1351
              should be freed with <a
1382
 
href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"
 
1352
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"
1383
1353
><code class="function">g_object_unref()</code></a>.
1384
1354
</td>
1385
1355
</tr>
1461
1431
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1462
1432
<td> the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>, which
1463
1433
              should be freed with <a
1464
 
href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"
 
1434
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"
1465
1435
><code class="function">g_object_unref()</code></a>.
1466
1436
 
1467
1437
</td>
1509
1479
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1510
1480
<td> the newly allocated <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>, which
1511
1481
              should be freed with <a
1512
 
href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"
 
1482
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"
1513
1483
><code class="function">g_object_unref()</code></a>.
1514
1484
 
1515
1485
</td>
1525
1495
<pre class="programlisting">void                pango_ot_ruleset_add_feature        (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a> *ruleset,
1526
1496
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a> table_type,
1527
1497
                                                         <a
1528
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1498
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1529
1499
>guint</a> feature_index,
1530
1500
                                                         <a
1531
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"
 
1501
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"
1532
1502
>gulong</a> property_bit);</pre>
1533
1503
<p>
1534
1504
Adds a feature to the ruleset.</p>
1567
1537
<div class="refsect2" lang="en">
1568
1538
<a name="pango-ot-ruleset-maybe-add-feature"></a><h3>pango_ot_ruleset_maybe_add_feature ()</h3>
1569
1539
<pre class="programlisting"><a
1570
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
1540
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
1571
1541
>gboolean</a>            pango_ot_ruleset_maybe_add_feature  (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a> *ruleset,
1572
1542
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a> table_type,
1573
1543
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag">PangoOTTag</a> feature_tag,
1574
1544
                                                         <a
1575
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"
 
1545
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"
1576
1546
>gulong</a> property_bit);</pre>
1577
1547
<p>
1578
1548
This is a convenience function that first tries to find the feature
1613
1583
</tr>
1614
1584
<tr>
1615
1585
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1616
 
<td> <a
1617
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
1618
 
><code class="literal">TRUE</code></a> if the feature was found and added to ruleset,
1619
 
              <a
1620
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
1621
 
><code class="literal">FALSE</code></a> otherwise.
 
1586
<td> <code class="literal">TRUE</code> if the feature was found and added to ruleset,
 
1587
              <code class="literal">FALSE</code> otherwise.
1622
1588
 
1623
1589
</td>
1624
1590
</tr>
1631
1597
<div class="refsect2" lang="en">
1632
1598
<a name="pango-ot-ruleset-maybe-add-features"></a><h3>pango_ot_ruleset_maybe_add_features ()</h3>
1633
1599
<pre class="programlisting"><a
1634
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1600
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1635
1601
>guint</a>               pango_ot_ruleset_maybe_add_features (<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a> *ruleset,
1636
1602
                                                         <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTableType" title="enum PangoOTTableType">PangoOTTableType</a> table_type,
1637
1603
                                                         const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="PangoOTFeatureMap">PangoOTFeatureMap</a> *features,
1638
1604
                                                         <a
1639
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1605
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1640
1606
>guint</a> n_features);</pre>
1641
1607
<p>
1642
1608
This is a convenience function that 
1685
1651
<div class="refsect2" lang="en">
1686
1652
<a name="pango-ot-ruleset-get-feature-count"></a><h3>pango_ot_ruleset_get_feature_count ()</h3>
1687
1653
<pre class="programlisting"><a
1688
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1654
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1689
1655
>guint</a>               pango_ot_ruleset_get_feature_count  (const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a> *ruleset,
1690
1656
                                                         <a
1691
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1657
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1692
1658
>guint</a> *n_gsub_features,
1693
1659
                                                         <a
1694
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1660
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1695
1661
>guint</a> *n_gpos_features);</pre>
1696
1662
<p>
1697
1663
Gets the number of GSUB and GPOS features in the ruleset.</p>
1708
1674
</tr>
1709
1675
<tr>
1710
1676
<td><p><span class="term"><em class="parameter"><code>n_gsub_features</code></em> :</span></p></td>
1711
 
<td> location to store number of GSUB features, or <a
1712
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
1713
 
><code class="literal">NULL</code></a>.
 
1677
<td> location to store number of GSUB features, or <code class="literal">NULL</code>.
1714
1678
</td>
1715
1679
</tr>
1716
1680
<tr>
1717
1681
<td><p><span class="term"><em class="parameter"><code>n_gpos_features</code></em> :</span></p></td>
1718
 
<td> location to store number of GPOS features, or <a
1719
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
1720
 
><code class="literal">NULL</code></a>.
 
1682
<td> location to store number of GPOS features, or <code class="literal">NULL</code>.
1721
1683
</td>
1722
1684
</tr>
1723
1685
<tr>
1826
1788
<div class="refsect2" lang="en">
1827
1789
<a name="pango-ot-ruleset-description-equal"></a><h3>pango_ot_ruleset_description_equal ()</h3>
1828
1790
<pre class="programlisting"><a
1829
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
1791
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
1830
1792
>gboolean</a>            pango_ot_ruleset_description_equal  (const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription">PangoOTRulesetDescription</a> *desc1,
1831
1793
                                                         const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription">PangoOTRulesetDescription</a> *desc2);</pre>
1832
1794
<p>
1837
1799
sets, the array addresses are compared directly, while for other
1838
1800
features, the list of features is compared one by one.
1839
1801
(Two ruleset descriptions may result in identical rulesets
1840
 
being created, but still compare <a
1841
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
1842
 
><code class="literal">FALSE</code></a>.)</p>
 
1802
being created, but still compare <code class="literal">FALSE</code>.)</p>
1843
1803
<p>
1844
1804
 
1845
1805
</p>
1858
1818
</tr>
1859
1819
<tr>
1860
1820
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1861
 
<td> <a
1862
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
1863
 
><code class="literal">TRUE</code></a> if two ruleset descriptions are identical,
1864
 
              <a
1865
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
1866
 
><code class="literal">FALSE</code></a> otherwise.
 
1821
<td> <code class="literal">TRUE</code> if two ruleset descriptions are identical,
 
1822
              <code class="literal">FALSE</code> otherwise.
1867
1823
 
1868
1824
</td>
1869
1825
</tr>
1897
1853
<div class="refsect2" lang="en">
1898
1854
<a name="pango-ot-ruleset-description-hash"></a><h3>pango_ot_ruleset_description_hash ()</h3>
1899
1855
<pre class="programlisting"><a
1900
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
1856
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1901
1857
>guint</a>               pango_ot_ruleset_description_hash   (const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription">PangoOTRulesetDescription</a> *desc);</pre>
1902
1858
<p>
1903
1859
Computes a hash of a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> structure suitable
1904
1860
to be used, for example, as an argument to <a
1905
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Hash-Tables.html#g-hash-table-new"
 
1861
href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#g-hash-table-new"
1906
1862
><code class="function">g_hash_table_new()</code></a>.</p>
1907
1863
<p>
1908
1864
 
1940
1896
<tbody>
1941
1897
<tr>
1942
1898
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
1943
 
<td> A <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a>, or <a
1944
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
1945
 
><code class="literal">NULL</code></a>
 
1899
<td> A <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a>, or <code class="literal">NULL</code>
1946
1900
</td>
1947
1901
</tr>
1948
1902
<tr>
1949
1903
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1950
1904
<td> <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
1951
1905
<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>
1952
 
is <a
1953
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
1954
 
><code class="literal">NULL</code></a>.
 
1906
is <code class="literal">NULL</code>.
1955
1907
 
1956
1908
</td>
1957
1909
</tr>