~ubuntu-branches/ubuntu/feisty/pango1.0/feisty

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-04-10 00:59:24 UTC
  • mfrom: (20.1.23 feisty)
  • Revision ID: james.westby@ubuntu.com-20070410005924-bbuu8vi6fw9f1fn1
Tags: 1.16.2-0ubuntu1
* New upstream version
  - Fixed various bug in the OpenType Layout code
  - Improved documentation
  - Improved ATSUI backend
  - Misc build system fixes
  - Bugs fixed in this release:
    - pangowin32-fontmap.c:using function without prototype
    - Don't create coverage every time it's asked for

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>OpenType Font Handling</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
7
<link rel="start" 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">
35
35
<th width="100%" align="center">Pango Reference Manual</th>
36
36
<td><a accesskey="n" href="pango-Coverage-Maps.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
37
37
</tr>
38
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3161318" class="shortcut">Top</a>
 
38
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2751605" class="shortcut">Top</a>
39
39
                  &#160;|&#160;
40
 
                  <a href="#id3162109" class="shortcut">Description</a></nobr></td></tr>
 
40
                  <a href="#id2752396" class="shortcut">Description</a></nobr></td></tr>
41
41
</table>
42
42
<div class="refentry" lang="en">
43
43
<a name="pango-OpenType-Font-Handling"></a><div class="titlepage"></div>
44
44
<div class="refnamediv"><table width="100%"><tr>
45
45
<td valign="top">
46
46
<h2>
47
 
<a name="id3161318"></a><span class="refentrytitle">OpenType Font Handling</span>
 
47
<a name="id2751605"></a><span class="refentrytitle">OpenType Font Handling</span>
48
48
</h2>
49
49
<p>OpenType Font Handling &#8212; Obtaining information from OpenType tables</p>
50
50
</td>
161
161
</pre>
162
162
</div>
163
163
<div class="refsect1" lang="en">
164
 
<a name="id3162109"></a><h2>Description</h2>
 
164
<a name="id2752396"></a><h2>Description</h2>
165
165
<p>
166
166
Functions and macros in this section are used to implement the OpenType Layout
167
167
features and algorithms.  These are mostly useful when writing Fontconfig-based
169
169
</p>
170
170
</div>
171
171
<div class="refsect1" lang="en">
172
 
<a name="id3162126"></a><h2>Details</h2>
 
172
<a name="id2752413"></a><h2>Details</h2>
173
173
<div class="refsect2" lang="en">
174
 
<a name="id3162137"></a><h3>
 
174
<a name="id2752424"></a><h3>
175
175
<a name="PangoOTTag"></a>PangoOTTag</h3>
176
 
<a class="indexterm" name="id3162149"></a><pre class="programlisting">typedef guint32  PangoOTTag;
 
176
<a class="indexterm" name="id2752436"></a><pre class="programlisting">typedef guint32  PangoOTTag;
177
177
</pre>
178
178
<p>
179
179
The <span class="type">PangoOTTag</span> typedef is used to represent TrueType and OpenType
184
184
</div>
185
185
<hr>
186
186
<div class="refsect2" lang="en">
187
 
<a name="id3162196"></a><h3>
 
187
<a name="id2752482"></a><h3>
188
188
<a name="PangoOTInfo"></a>PangoOTInfo</h3>
189
 
<a class="indexterm" name="id3162208"></a><pre class="programlisting">typedef struct _PangoOTInfo PangoOTInfo;</pre>
 
189
<a class="indexterm" name="id2752495"></a><pre class="programlisting">typedef struct _PangoOTInfo PangoOTInfo;</pre>
190
190
<p>
191
191
The <a href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> struct contains the various 
192
192
tables associated with an OpenType font. It contains only private fields and
197
197
</div>
198
198
<hr>
199
199
<div class="refsect2" lang="en">
200
 
<a name="id3162260"></a><h3>
 
200
<a name="id2752547"></a><h3>
201
201
<a name="PangoOTBuffer"></a>PangoOTBuffer</h3>
202
 
<a class="indexterm" name="id3162273"></a><pre class="programlisting">typedef struct _PangoOTBuffer PangoOTBuffer;</pre>
 
202
<a class="indexterm" name="id2752560"></a><pre class="programlisting">typedef struct _PangoOTBuffer PangoOTBuffer;</pre>
203
203
<p>
204
204
The <a href="pango-OpenType-Font-Handling.html#PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> structure is used to store strings of glyphs associated
205
205
with a <a href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a>, suitable for OpenType layout processing.  It contains
210
210
</div>
211
211
<hr>
212
212
<div class="refsect2" lang="en">
213
 
<a name="id3162334"></a><h3>
 
213
<a name="id2752621"></a><h3>
214
214
<a name="PangoOTGlyph"></a>PangoOTGlyph</h3>
215
 
<a class="indexterm" name="id3162346"></a><pre class="programlisting">typedef struct {
 
215
<a class="indexterm" name="id2752633"></a><pre class="programlisting">typedef struct {
216
216
  guint    glyph;
217
217
  guint    properties;
218
218
  guint    cluster;
278
278
</div>
279
279
<hr>
280
280
<div class="refsect2" lang="en">
281
 
<a name="id3162519"></a><h3>
 
281
<a name="id2752806"></a><h3>
282
282
<a name="PangoOTRuleset"></a>PangoOTRuleset</h3>
283
 
<a class="indexterm" name="id3162532"></a><pre class="programlisting">typedef struct _PangoOTRuleset PangoOTRuleset;</pre>
 
283
<a class="indexterm" name="id2752819"></a><pre class="programlisting">typedef struct _PangoOTRuleset PangoOTRuleset;</pre>
284
284
<p>
285
285
The <span class="type">PangoOTRuleSet</span> structure holds a
286
286
set of features selected from the tables in an OpenType font.
294
294
</div>
295
295
<hr>
296
296
<div class="refsect2" lang="en">
297
 
<a name="id3162614"></a><h3>
 
297
<a name="id2752900"></a><h3>
298
298
<a name="PangoOTTableType"></a>enum PangoOTTableType</h3>
299
 
<a class="indexterm" name="id3162627"></a><pre class="programlisting">typedef enum
 
299
<a class="indexterm" name="id2752914"></a><pre class="programlisting">typedef enum
300
300
{
301
301
  PANGO_OT_TABLE_GSUB,
302
302
  PANGO_OT_TABLE_GPOS
326
326
</div>
327
327
<hr>
328
328
<div class="refsect2" lang="en">
329
 
<a name="id3162704"></a><h3>
 
329
<a name="id2752991"></a><h3>
330
330
<a name="PANGO-OT-ALL-GLYPHS:CAPS"></a>PANGO_OT_ALL_GLYPHS</h3>
331
 
<a class="indexterm" name="id3162717"></a><pre class="programlisting">#define PANGO_OT_ALL_GLYPHS               ((guint)0xFFFF)
 
331
<a class="indexterm" name="id2753004"></a><pre class="programlisting">#define PANGO_OT_ALL_GLYPHS               ((guint)0xFFFF)
332
332
</pre>
333
333
<p>
334
334
This is used as the property bit in <a href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature"><code class="function">pango_ot_ruleset_add_feature()</code></a> when a
337
337
</div>
338
338
<hr>
339
339
<div class="refsect2" lang="en">
340
 
<a name="id3162746"></a><h3>
 
340
<a name="id2753033"></a><h3>
341
341
<a name="PANGO-OT-DEFAULT-LANGUAGE:CAPS"></a>PANGO_OT_DEFAULT_LANGUAGE</h3>
342
 
<a class="indexterm" name="id3162760"></a><pre class="programlisting">#define PANGO_OT_DEFAULT_LANGUAGE ((guint)0xFFFF)
 
342
<a class="indexterm" name="id2753046"></a><pre class="programlisting">#define PANGO_OT_DEFAULT_LANGUAGE ((guint)0xFFFF)
343
343
</pre>
344
344
<p>
345
345
This is used as the language index in <a href="pango-OpenType-Font-Handling.html#pango-ot-info-find-feature"><code class="function">pango_ot_info_find_feature()</code></a> when a
348
348
</div>
349
349
<hr>
350
350
<div class="refsect2" lang="en">
351
 
<a name="id3162788"></a><h3>
 
351
<a name="id2753075"></a><h3>
352
352
<a name="pango-ot-info-get"></a>pango_ot_info_get ()</h3>
353
 
<a class="indexterm" name="id3162803"></a><pre class="programlisting"><a href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a>* pango_ot_info_get              (FT_Face face);</pre>
 
353
<a class="indexterm" name="id2753090"></a><pre class="programlisting"><a href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a>* pango_ot_info_get              (FT_Face face);</pre>
354
354
<p>
355
355
Returns the <a href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> structure for the given FreeType font.</p>
356
356
<p>
378
378
</div>
379
379
<hr>
380
380
<div class="refsect2" lang="en">
381
 
<a name="id3162899"></a><h3>
 
381
<a name="id2753186"></a><h3>
382
382
<a name="pango-ot-info-find-script"></a>pango_ot_info_find_script ()</h3>
383
 
<a class="indexterm" name="id3162913"></a><pre class="programlisting"><a
 
383
<a class="indexterm" name="id2753200"></a><pre class="programlisting"><a
384
384
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
385
385
>gboolean</a>    pango_ot_info_find_script       (<a href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
386
386
                                             <a href="pango-OpenType-Font-Handling.html#PangoOTTableType">PangoOTTableType</a> table_type,
430
430
</div>
431
431
<hr>
432
432
<div class="refsect2" lang="en">
433
 
<a name="id3163068"></a><h3>
 
433
<a name="id2753355"></a><h3>
434
434
<a name="pango-ot-info-find-language"></a>pango_ot_info_find_language ()</h3>
435
 
<a class="indexterm" name="id3163082"></a><pre class="programlisting"><a
 
435
<a class="indexterm" name="id2753369"></a><pre class="programlisting"><a
436
436
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
437
437
>gboolean</a>    pango_ot_info_find_language     (<a href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
438
438
                                             <a href="pango-OpenType-Font-Handling.html#PangoOTTableType">PangoOTTableType</a> table_type,
501
501
</div>
502
502
<hr>
503
503
<div class="refsect2" lang="en">
504
 
<a name="id3163293"></a><h3>
 
504
<a name="id2753580"></a><h3>
505
505
<a name="pango-ot-info-find-feature"></a>pango_ot_info_find_feature ()</h3>
506
 
<a class="indexterm" name="id3163307"></a><pre class="programlisting"><a
 
506
<a class="indexterm" name="id2753594"></a><pre class="programlisting"><a
507
507
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
508
508
>gboolean</a>    pango_ot_info_find_feature      (<a href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
509
509
                                             <a href="pango-OpenType-Font-Handling.html#PangoOTTableType">PangoOTTableType</a> table_type,
570
570
</div>
571
571
<hr>
572
572
<div class="refsect2" lang="en">
573
 
<a name="id3163519"></a><h3>
 
573
<a name="id2753806"></a><h3>
574
574
<a name="pango-ot-info-list-scripts"></a>pango_ot_info_list_scripts ()</h3>
575
 
<a class="indexterm" name="id3163532"></a><pre class="programlisting"><a href="pango-OpenType-Font-Handling.html#PangoOTTag">PangoOTTag</a>* pango_ot_info_list_scripts      (<a href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
 
575
<a class="indexterm" name="id2753819"></a><pre class="programlisting"><a href="pango-OpenType-Font-Handling.html#PangoOTTag">PangoOTTag</a>* pango_ot_info_list_scripts      (<a href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
576
576
                                             <a href="pango-OpenType-Font-Handling.html#PangoOTTableType">PangoOTTableType</a> table_type);</pre>
577
577
<p>
578
578
Obtains the list of available scripts.</p>
603
603
</div>
604
604
<hr>
605
605
<div class="refsect2" lang="en">
606
 
<a name="id3163623"></a><h3>
 
606
<a name="id2753910"></a><h3>
607
607
<a name="pango-ot-info-list-languages"></a>pango_ot_info_list_languages ()</h3>
608
 
<a class="indexterm" name="id3163637"></a><pre class="programlisting"><a href="pango-OpenType-Font-Handling.html#PangoOTTag">PangoOTTag</a>* pango_ot_info_list_languages    (<a href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
 
608
<a class="indexterm" name="id2753924"></a><pre class="programlisting"><a href="pango-OpenType-Font-Handling.html#PangoOTTag">PangoOTTag</a>* pango_ot_info_list_languages    (<a href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
609
609
                                             <a href="pango-OpenType-Font-Handling.html#PangoOTTableType">PangoOTTableType</a> table_type,
610
610
                                             <a
611
611
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
650
650
</div>
651
651
<hr>
652
652
<div class="refsect2" lang="en">
653
 
<a name="id3163774"></a><h3>
 
653
<a name="id2754060"></a><h3>
654
654
<a name="pango-ot-info-list-features"></a>pango_ot_info_list_features ()</h3>
655
 
<a class="indexterm" name="id3163788"></a><pre class="programlisting"><a href="pango-OpenType-Font-Handling.html#PangoOTTag">PangoOTTag</a>* pango_ot_info_list_features     (<a href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
 
655
<a class="indexterm" name="id2754074"></a><pre class="programlisting"><a href="pango-OpenType-Font-Handling.html#PangoOTTag">PangoOTTag</a>* pango_ot_info_list_features     (<a href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info,
656
656
                                             <a href="pango-OpenType-Font-Handling.html#PangoOTTableType">PangoOTTableType</a> table_type,
657
657
                                             <a href="pango-OpenType-Font-Handling.html#PangoOTTag">PangoOTTag</a> tag,
658
658
                                             <a
707
707
</div>
708
708
<hr>
709
709
<div class="refsect2" lang="en">
710
 
<a name="id3163959"></a><h3>
 
710
<a name="id2754246"></a><h3>
711
711
<a name="pango-ot-buffer-new"></a>pango_ot_buffer_new ()</h3>
712
 
<a class="indexterm" name="id3163974"></a><pre class="programlisting"><a href="pango-OpenType-Font-Handling.html#PangoOTBuffer">PangoOTBuffer</a>* pango_ot_buffer_new          (<a href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a> *font);</pre>
 
712
<a class="indexterm" name="id2754261"></a><pre class="programlisting"><a href="pango-OpenType-Font-Handling.html#PangoOTBuffer">PangoOTBuffer</a>* pango_ot_buffer_new          (<a href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a> *font);</pre>
713
713
<p>
714
714
Creates a new <a href="pango-OpenType-Font-Handling.html#PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> for the given OpenType font.</p>
715
715
<p>
737
737
</div>
738
738
<hr>
739
739
<div class="refsect2" lang="en">
740
 
<a name="id3164074"></a><h3>
 
740
<a name="id2754361"></a><h3>
741
741
<a name="pango-ot-buffer-destroy"></a>pango_ot_buffer_destroy ()</h3>
742
 
<a class="indexterm" name="id3164090"></a><pre class="programlisting">void        pango_ot_buffer_destroy         (<a href="pango-OpenType-Font-Handling.html#PangoOTBuffer">PangoOTBuffer</a> *buffer);</pre>
 
742
<a class="indexterm" name="id2754377"></a><pre class="programlisting">void        pango_ot_buffer_destroy         (<a href="pango-OpenType-Font-Handling.html#PangoOTBuffer">PangoOTBuffer</a> *buffer);</pre>
743
743
<p>
744
744
Destroys a <a href="pango-OpenType-Font-Handling.html#PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> and free all associated memory.</p>
745
745
<p>
758
758
</div>
759
759
<hr>
760
760
<div class="refsect2" lang="en">
761
 
<a name="id3164161"></a><h3>
 
761
<a name="id2754448"></a><h3>
762
762
<a name="pango-ot-buffer-clear"></a>pango_ot_buffer_clear ()</h3>
763
 
<a class="indexterm" name="id3164176"></a><pre class="programlisting">void        pango_ot_buffer_clear           (<a href="pango-OpenType-Font-Handling.html#PangoOTBuffer">PangoOTBuffer</a> *buffer);</pre>
 
763
<a class="indexterm" name="id2754463"></a><pre class="programlisting">void        pango_ot_buffer_clear           (<a href="pango-OpenType-Font-Handling.html#PangoOTBuffer">PangoOTBuffer</a> *buffer);</pre>
764
764
<p>
765
765
Empties a <a href="pango-OpenType-Font-Handling.html#PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>, make it ready to add glyphs to.</p>
766
766
<p>
779
779
</div>
780
780
<hr>
781
781
<div class="refsect2" lang="en">
782
 
<a name="id3164248"></a><h3>
 
782
<a name="id2754535"></a><h3>
783
783
<a name="pango-ot-buffer-add-glyph"></a>pango_ot_buffer_add_glyph ()</h3>
784
 
<a class="indexterm" name="id3164264"></a><pre class="programlisting">void        pango_ot_buffer_add_glyph       (<a href="pango-OpenType-Font-Handling.html#PangoOTBuffer">PangoOTBuffer</a> *buffer,
 
784
<a class="indexterm" name="id2754551"></a><pre class="programlisting">void        pango_ot_buffer_add_glyph       (<a href="pango-OpenType-Font-Handling.html#PangoOTBuffer">PangoOTBuffer</a> *buffer,
785
785
                                             <a
786
786
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
787
787
>guint</a> glyph,
827
827
</div>
828
828
<hr>
829
829
<div class="refsect2" lang="en">
830
 
<a name="id3164426"></a><h3>
 
830
<a name="id2754712"></a><h3>
831
831
<a name="pango-ot-buffer-set-rtl"></a>pango_ot_buffer_set_rtl ()</h3>
832
 
<a class="indexterm" name="id3164441"></a><pre class="programlisting">void        pango_ot_buffer_set_rtl         (<a href="pango-OpenType-Font-Handling.html#PangoOTBuffer">PangoOTBuffer</a> *buffer,
 
832
<a class="indexterm" name="id2754728"></a><pre class="programlisting">void        pango_ot_buffer_set_rtl         (<a href="pango-OpenType-Font-Handling.html#PangoOTBuffer">PangoOTBuffer</a> *buffer,
833
833
                                             <a
834
834
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
835
835
>gboolean</a> rtl);</pre>
861
861
</div>
862
862
<hr>
863
863
<div class="refsect2" lang="en">
864
 
<a name="id3164538"></a><h3>
 
864
<a name="id2754824"></a><h3>
865
865
<a name="pango-ot-buffer-set-zero-width-marks"></a>pango_ot_buffer_set_zero_width_marks ()</h3>
866
 
<a class="indexterm" name="id3164554"></a><pre class="programlisting">void        pango_ot_buffer_set_zero_width_marks
 
866
<a class="indexterm" name="id2754841"></a><pre class="programlisting">void        pango_ot_buffer_set_zero_width_marks
867
867
                                            (<a href="pango-OpenType-Font-Handling.html#PangoOTBuffer">PangoOTBuffer</a> *buffer,
868
868
                                             <a
869
869
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
899
899
</div>
900
900
<hr>
901
901
<div class="refsect2" lang="en">
902
 
<a name="id3164653"></a><h3>
 
902
<a name="id2754940"></a><h3>
903
903
<a name="pango-ot-buffer-get-glyphs"></a>pango_ot_buffer_get_glyphs ()</h3>
904
 
<a class="indexterm" name="id3164670"></a><pre class="programlisting">void        pango_ot_buffer_get_glyphs      (<a href="pango-OpenType-Font-Handling.html#PangoOTBuffer">PangoOTBuffer</a> *buffer,
 
904
<a class="indexterm" name="id2754957"></a><pre class="programlisting">void        pango_ot_buffer_get_glyphs      (<a href="pango-OpenType-Font-Handling.html#PangoOTBuffer">PangoOTBuffer</a> *buffer,
905
905
                                             <a href="pango-OpenType-Font-Handling.html#PangoOTGlyph">PangoOTGlyph</a> **glyphs,
906
906
                                             int *n_glyphs);</pre>
907
907
<p>
940
940
</div>
941
941
<hr>
942
942
<div class="refsect2" lang="en">
943
 
<a name="id3164806"></a><h3>
 
943
<a name="id2755093"></a><h3>
944
944
<a name="pango-ot-buffer-output"></a>pango_ot_buffer_output ()</h3>
945
 
<a class="indexterm" name="id3164822"></a><pre class="programlisting">void        pango_ot_buffer_output          (<a href="pango-OpenType-Font-Handling.html#PangoOTBuffer">PangoOTBuffer</a> *buffer,
 
945
<a class="indexterm" name="id2755109"></a><pre class="programlisting">void        pango_ot_buffer_output          (<a href="pango-OpenType-Font-Handling.html#PangoOTBuffer">PangoOTBuffer</a> *buffer,
946
946
                                             <a href="pango-Glyph-Storage.html#PangoGlyphString">PangoGlyphString</a> *glyphs);</pre>
947
947
<p>
948
948
Exports the glyphs in a <a href="pango-OpenType-Font-Handling.html#PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> into a <a href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>.  This is
971
971
</div>
972
972
<hr>
973
973
<div class="refsect2" lang="en">
974
 
<a name="id3164933"></a><h3>
 
974
<a name="id2755220"></a><h3>
975
975
<a name="pango-ot-ruleset-new"></a>pango_ot_ruleset_new ()</h3>
976
 
<a class="indexterm" name="id3164947"></a><pre class="programlisting"><a href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a>* pango_ot_ruleset_new        (<a href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info);</pre>
 
976
<a class="indexterm" name="id2755234"></a><pre class="programlisting"><a href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a>* pango_ot_ruleset_new        (<a href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a> *info);</pre>
977
977
<p>
978
978
Creates a new <a href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> for the given OpenType info.</p>
979
979
<p>
1000
1000
</div>
1001
1001
<hr>
1002
1002
<div class="refsect2" lang="en">
1003
 
<a name="id3165043"></a><h3>
 
1003
<a name="id2755330"></a><h3>
1004
1004
<a name="pango-ot-ruleset-add-feature"></a>pango_ot_ruleset_add_feature ()</h3>
1005
 
<a class="indexterm" name="id3165057"></a><pre class="programlisting">void        pango_ot_ruleset_add_feature    (<a href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a> *ruleset,
 
1005
<a class="indexterm" name="id2755344"></a><pre class="programlisting">void        pango_ot_ruleset_add_feature    (<a href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a> *ruleset,
1006
1006
                                             <a href="pango-OpenType-Font-Handling.html#PangoOTTableType">PangoOTTableType</a> table_type,
1007
1007
                                             <a
1008
1008
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1045
1045
</div>
1046
1046
<hr>
1047
1047
<div class="refsect2" lang="en">
1048
 
<a name="id3165196"></a><h3>
 
1048
<a name="id2755483"></a><h3>
1049
1049
<a name="pango-ot-ruleset-substitute"></a>pango_ot_ruleset_substitute ()</h3>
1050
 
<a class="indexterm" name="id3165211"></a><pre class="programlisting">void        pango_ot_ruleset_substitute     (<a href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a> *ruleset,
 
1050
<a class="indexterm" name="id2755498"></a><pre class="programlisting">void        pango_ot_ruleset_substitute     (<a href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a> *ruleset,
1051
1051
                                             <a href="pango-OpenType-Font-Handling.html#PangoOTBuffer">PangoOTBuffer</a> *buffer);</pre>
1052
1052
<p>
1053
1053
Performs the OpenType GSUB substitution on <em class="parameter"><code>buffer</code></em> using the features
1075
1075
</div>
1076
1076
<hr>
1077
1077
<div class="refsect2" lang="en">
1078
 
<a name="id3165314"></a><h3>
 
1078
<a name="id2755601"></a><h3>
1079
1079
<a name="pango-ot-ruleset-position"></a>pango_ot_ruleset_position ()</h3>
1080
 
<a class="indexterm" name="id3165331"></a><pre class="programlisting">void        pango_ot_ruleset_position       (<a href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a> *ruleset,
 
1080
<a class="indexterm" name="id2755618"></a><pre class="programlisting">void        pango_ot_ruleset_position       (<a href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a> *ruleset,
1081
1081
                                             <a href="pango-OpenType-Font-Handling.html#PangoOTBuffer">PangoOTBuffer</a> *buffer);</pre>
1082
1082
<p>
1083
1083
Performs the OpenType GPOS positioning on <em class="parameter"><code>buffer</code></em> using the features