summaryrefslogtreecommitdiff
path: root/docs/tmpl/opentype.sgml
blob: 9de20ae6e4853a12ce8158c6b55d14e1a6438ed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<!-- ##### SECTION Title ##### -->
OpenType Font Handling

<!-- ##### SECTION Short_Description ##### -->
Obtaining information from OpenType tables

<!-- ##### SECTION Long_Description ##### -->
<para>

</para>

<!-- ##### SECTION See_Also ##### -->
<para>

</para>

<!-- ##### TYPEDEF PangoOTTag ##### -->
<para>
The <type>PangoOTTag</type> typedef is used to represent TrueType and OpenType
four letter tags inside Pango. Use the <function>FT_MAKE_TAG()</function> macro
defined in the FreeType2 header <filename>freetype/freetype.h</filename> to 
create <type>PangoOTTag</type>s manually.
</para>


<!-- ##### STRUCT PangoOTInfo ##### -->
<para>
The <structname>PangoOTInfo</structname> struct contains the various 
tables associated with an OpenType font. It contains only private fields and
should only be accessed via the <function>pango_ot_info_*</function> functions
which are documented below. To obtain a <structname>PangoOTInfo</structname>,
use pango_ot_info_new().
</para>


<!-- ##### STRUCT PangoOTBuffer ##### -->
<para>

</para>


<!-- ##### STRUCT PangoOTGlyph ##### -->
<para>

</para>

@glyph: 
@properties: 
@cluster: 
@component: 
@ligID: 

<!-- ##### STRUCT PangoOTRuleset ##### -->
<para>
The <structname>PangoOTRuleSet</structname> structure holds a
set of features selected from the tables in an OpenType font.
(A feature is an operation such as adjusting glyph positioning
that should be applied to a text feature such as a certain
type of accent.) A <structname>PangoOTRuleSet</structname>
is created with pango_ot_ruleset_new(), features are addded
to it with pango_ot_ruleset_add_feature(), then it is
applied to a #PangoGlyphString with pango_ot_ruleset_shape().
</para>


<!-- ##### ENUM PangoOTTableType ##### -->
<para>
The <type>PangoOTTableType</type> enumeration values are used to
identify the various OpenType tables in the
<function>pango_ot_info_*</function> functions.
</para>

@PANGO_OT_TABLE_GSUB: The GSUB table.
@PANGO_OT_TABLE_GPOS: The GPOS table.

<!-- ##### FUNCTION pango_ot_info_get ##### -->
<para>

</para>

@face: 
@Returns: 
<!-- # Unused Parameters # -->
@font: 


<!-- ##### FUNCTION pango_ot_info_find_script ##### -->
<para>

</para>

@info: 
@table_type: 
@script_tag: 
@script_index: 
@Returns: 


<!-- ##### FUNCTION pango_ot_info_find_language ##### -->
<para>

</para>

@info: 
@table_type: 
@script_index: 
@language_tag: 
@language_index: 
@required_feature_index: 
@Returns: 


<!-- ##### FUNCTION pango_ot_info_find_feature ##### -->
<para>

</para>

@info: 
@table_type: 
@feature_tag: 
@script_index: 
@language_index: 
@feature_index: 
@Returns: 


<!-- ##### FUNCTION pango_ot_info_list_scripts ##### -->
<para>

</para>

@info: 
@table_type: 
@Returns: 


<!-- ##### FUNCTION pango_ot_info_list_languages ##### -->
<para>

</para>

@info: 
@table_type: 
@script_index: 
@language_tag: 
@Returns: 


<!-- ##### FUNCTION pango_ot_info_list_features ##### -->
<para>

</para>

@info: 
@table_type: 
@tag: 
@script_index: 
@language_index: 
@Returns: 


<!-- ##### FUNCTION pango_ot_buffer_new ##### -->
<para>

</para>

@font: 
@Returns: 


<!-- ##### FUNCTION pango_ot_buffer_destroy ##### -->
<para>

</para>

@buffer: 


<!-- ##### FUNCTION pango_ot_buffer_clear ##### -->
<para>

</para>

@buffer: 


<!-- ##### FUNCTION pango_ot_buffer_add_glyph ##### -->
<para>

</para>

@buffer: 
@glyph_index: 
@properties: 
@cluster: 


<!-- ##### FUNCTION pango_ot_buffer_set_rtl ##### -->
<para>

</para>

@buffer: 
@rtl: 


<!-- ##### FUNCTION pango_ot_buffer_set_zero_width_marks ##### -->
<para>

</para>

@buffer: 
@zero_width_marks: 


<!-- ##### FUNCTION pango_ot_buffer_get_glyphs ##### -->
<para>

</para>

@buffer: 
@glyphs: 
@n_glyphs: 


<!-- ##### FUNCTION pango_ot_buffer_output ##### -->
<para>

</para>

@buffer: 
@glyphs: 


<!-- ##### FUNCTION pango_ot_ruleset_new ##### -->
<para>

</para>

@info: 
@Returns: 


<!-- ##### FUNCTION pango_ot_ruleset_add_feature ##### -->
<para>

</para>

@ruleset: 
@table_type: 
@feature_index: 
@property_bit: 


<!-- ##### FUNCTION pango_ot_ruleset_substitute ##### -->
<para>

</para>

@ruleset: 
@buffer: 


<!-- ##### FUNCTION pango_ot_ruleset_position ##### -->
<para>

</para>

@ruleset: 
@buffer: