pango 2.1.0-x86-mingw32 → 2.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/ext/pango/rbpangocairo.c +7 -1
- data/lib/1.9/pango.so +0 -0
- data/lib/2.0/pango.so +0 -0
- data/lib/2.1/pango.so +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/include/harfbuzz/hb-common.h +7 -1
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +0 -5
- data/vendor/local/include/harfbuzz/hb-ot-shape.h +54 -0
- data/vendor/local/include/harfbuzz/hb-ot.h +1 -8
- data/vendor/local/include/harfbuzz/hb-version.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +2 -2
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +1 -1
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +1 -1
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +1 -1
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +1 -1
- 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-basic-fc.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -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-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/pkgconfig/harfbuzz.pc +1 -1
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +9 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +1 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +1 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +18 -31
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +18 -31
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +17 -25
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +25 -39
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +44 -78
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +41 -75
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +23 -26
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +19 -22
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +15 -18
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +17 -20
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +33 -36
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +17 -20
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +21 -24
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +19 -22
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +25 -28
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +15 -18
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +13 -16
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +10 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +10 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +15 -18
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +13 -16
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +10 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +23 -26
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +23 -26
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +19 -22
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +162 -26
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +51 -54
- data/vendor/local/share/gtk-doc/html/pango/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +25 -40
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +118 -169
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +15 -21
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +24 -39
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +24 -39
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +125 -240
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +46 -74
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +95 -189
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +137 -265
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +38 -66
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +20 -31
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +207 -143
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +47 -86
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +26 -43
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +106 -203
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +66 -122
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +29 -47
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +33 -57
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +49 -79
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +53 -90
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +34 -34
- data/vendor/local/share/gtk-doc/html/pango/pango.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/pango/tools.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/up.png +0 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -1
- metadata +8 -4
@@ -2,30 +2,27 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Miscellaneous Utilities</title>
|
5
|
+
<title>Pango Reference Manual: Miscellaneous Utilities</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="lowlevel.html" title="Low Level Functionality">
|
9
9
|
<link rel="prev" href="pango-Modules.html" title="Modules">
|
10
10
|
<link rel="next" href="pango-Version-Checking.html" title="Version Checking">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.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">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">Pango Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="pango-Version-Checking.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#pango-Miscellaneous-Utilities.synopsis" class="shortcut">Top</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
|
16
|
+
<td width="100%" align="left">
|
17
|
+
<a href="#" class="shortcut">Top</a>
|
25
18
|
|
|
26
19
|
<a href="#pango-Miscellaneous-Utilities.description" class="shortcut">Description</a>
|
27
|
-
</td
|
28
|
-
|
20
|
+
</td>
|
21
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
|
+
<td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
23
|
+
<td><a accesskey="p" href="pango-Modules.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
+
<td><a accesskey="n" href="pango-Version-Checking.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
25
|
+
</tr></table>
|
29
26
|
<div class="refentry">
|
30
27
|
<a name="pango-Miscellaneous-Utilities"></a><div class="titlepage"></div>
|
31
28
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -84,8 +81,7 @@ const <span class="returnvalue">char</span> * <a class="link" href="pango
|
|
84
81
|
<a name="pango-Miscellaneous-Utilities.description"></a><h2>Description</h2>
|
85
82
|
<p>
|
86
83
|
The functions and utilities in this section are mostly used from Pango
|
87
|
-
backends and modules, but may be useful for other purposes too
|
88
|
-
</p>
|
84
|
+
backends and modules, but may be useful for other purposes too.</p>
|
89
85
|
</div>
|
90
86
|
<div class="refsect1">
|
91
87
|
<a name="pango-Miscellaneous-Utilities.details"></a><h2>Details</h2>
|
@@ -94,8 +90,7 @@ backends and modules, but may be useful for other purposes too.
|
|
94
90
|
<pre class="programlisting"><span class="returnvalue">char</span> ** pango_split_file_list (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre>
|
95
91
|
<p>
|
96
92
|
Splits a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"><code class="literal">G_SEARCHPATH_SEPARATOR</code></a>-separated list of files, stripping
|
97
|
-
white space and substituting ~/ with $HOME
|
98
|
-
</p>
|
93
|
+
white space and substituting ~/ with $HOME/.</p>
|
99
94
|
<div class="variablelist"><table border="0" class="variablelist">
|
100
95
|
<colgroup>
|
101
96
|
<col align="left" valign="top">
|
@@ -120,8 +115,7 @@ strings to be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/ve
|
|
120
115
|
<a name="pango-trim-string"></a><h3>pango_trim_string ()</h3>
|
121
116
|
<pre class="programlisting"><span class="returnvalue">char</span> * pango_trim_string (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre>
|
122
117
|
<p>
|
123
|
-
Trims leading and trailing whitespace from a string
|
124
|
-
</p>
|
118
|
+
Trims leading and trailing whitespace from a string.</p>
|
125
119
|
<div class="variablelist"><table border="0" class="variablelist">
|
126
120
|
<colgroup>
|
127
121
|
<col align="left" valign="top">
|
@@ -152,8 +146,7 @@ is not written into the buffer. Text after a '#' character is treated as
|
|
152
146
|
a comment and skipped. '\' can be used to escape a # character.
|
153
147
|
'\' proceeding a line delimiter combines adjacent lines. A '\' proceeding
|
154
148
|
any other character is ignored and written into the output buffer
|
155
|
-
unmodified
|
156
|
-
</p>
|
149
|
+
unmodified.</p>
|
157
150
|
<div class="variablelist"><table border="0" class="variablelist">
|
158
151
|
<colgroup>
|
159
152
|
<col align="left" valign="top">
|
@@ -184,8 +177,7 @@ a line number counter which doesn't combine lines with '\')</td>
|
|
184
177
|
<a name="pango-skip-space"></a><h3>pango_skip_space ()</h3>
|
185
178
|
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_skip_space (<em class="parameter"><code>const <span class="type">char</span> **pos</code></em>);</pre>
|
186
179
|
<p>
|
187
|
-
Skips 0 or more characters of white space
|
188
|
-
</p>
|
180
|
+
Skips 0 or more characters of white space.</p>
|
189
181
|
<div class="variablelist"><table border="0" class="variablelist">
|
190
182
|
<colgroup>
|
191
183
|
<col align="left" valign="top">
|
@@ -214,8 +206,7 @@ the position at a '\0' character.</td>
|
|
214
206
|
<p>
|
215
207
|
Scans a word into a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Strings.html#GString"><span class="type">GString</span></a> buffer. A word consists
|
216
208
|
of [A-Za-z_] followed by zero or more [A-Za-z_0-9]
|
217
|
-
Leading white space is skipped
|
218
|
-
</p>
|
209
|
+
Leading white space is skipped.</p>
|
219
210
|
<div class="variablelist"><table border="0" class="variablelist">
|
220
211
|
<colgroup>
|
221
212
|
<col align="left" valign="top">
|
@@ -249,8 +240,7 @@ Leading white space is skipped.
|
|
249
240
|
Scans a string into a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Strings.html#GString"><span class="type">GString</span></a> buffer. The string may either
|
250
241
|
be a sequence of non-white-space characters, or a quoted
|
251
242
|
string with '"'. Instead a quoted string, '\"' represents
|
252
|
-
a literal quote. Leading white space outside of quotes is skipped
|
253
|
-
</p>
|
243
|
+
a literal quote. Leading white space outside of quotes is skipped.</p>
|
254
244
|
<div class="variablelist"><table border="0" class="variablelist">
|
255
245
|
<colgroup>
|
256
246
|
<col align="left" valign="top">
|
@@ -282,8 +272,7 @@ a literal quote. Leading white space outside of quotes is skipped.
|
|
282
272
|
<em class="parameter"><code><span class="type">int</span> *out</code></em>);</pre>
|
283
273
|
<p>
|
284
274
|
Scans an integer.
|
285
|
-
Leading white space is skipped
|
286
|
-
</p>
|
275
|
+
Leading white space is skipped.</p>
|
287
276
|
<div class="variablelist"><table border="0" class="variablelist">
|
288
277
|
<colgroup>
|
289
278
|
<col align="left" valign="top">
|
@@ -315,8 +304,7 @@ Leading white space is skipped.
|
|
315
304
|
<p>
|
316
305
|
Looks up a key in the Pango config database
|
317
306
|
(pseudo-win.ini style, read from $sysconfdir/pango/pangorc,
|
318
|
-
$XDG_CONFIG_HOME/pango/pangorc, and getenv (PANGO_RC_FILE).)
|
319
|
-
</p>
|
307
|
+
$XDG_CONFIG_HOME/pango/pangorc, and getenv (PANGO_RC_FILE).)</p>
|
320
308
|
<div class="variablelist"><table border="0" class="variablelist">
|
321
309
|
<colgroup>
|
322
310
|
<col align="left" valign="top">
|
@@ -341,8 +329,7 @@ newly-allocated string and must be freed with <a href="/home/kou/work/ruby/ruby-
|
|
341
329
|
<pre class="programlisting"><span class="returnvalue">char</span> * pango_config_key_get_system (<em class="parameter"><code>const <span class="type">char</span> *key</code></em>);</pre>
|
342
330
|
<p>
|
343
331
|
Looks up a key, consulting only the Pango system config database
|
344
|
-
in $sysconfdir/pango/pangorc
|
345
|
-
</p>
|
332
|
+
in $sysconfdir/pango/pangorc.</p>
|
346
333
|
<div class="variablelist"><table border="0" class="variablelist">
|
347
334
|
<colgroup>
|
348
335
|
<col align="left" valign="top">
|
@@ -367,15 +354,14 @@ newly-allocated string and must be freed with <a href="/home/kou/work/ruby/ruby-
|
|
367
354
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_lookup_aliases (<em class="parameter"><code>const <span class="type">char</span> *fontname</code></em>,
|
368
355
|
<em class="parameter"><code><span class="type">char</span> ***families</code></em>,
|
369
356
|
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);</pre>
|
370
|
-
<div class="warning"
|
357
|
+
<div class="warning">
|
371
358
|
<h3 class="title">Warning</h3>
|
372
359
|
<p><code class="literal">pango_lookup_aliases</code> has been deprecated since version 1.32 and should not be used in newly-written code. This function is not thread-safe.</p>
|
373
360
|
</div>
|
374
361
|
<p>
|
375
362
|
Look up all user defined aliases for the alias <em class="parameter"><code>fontname</code></em>.
|
376
363
|
The resulting font family names will be stored in <em class="parameter"><code>families</code></em>,
|
377
|
-
and the number of families in <em class="parameter"><code>n_families</code></em
|
378
|
-
</p>
|
364
|
+
and the number of families in <em class="parameter"><code>n_families</code></em>.</p>
|
379
365
|
<div class="variablelist"><table border="0" class="variablelist">
|
380
366
|
<colgroup>
|
381
367
|
<col align="left" valign="top">
|
@@ -409,8 +395,7 @@ this array is owned by pango and should not be freed. <span class="annotation">[
|
|
409
395
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> warn</code></em>,
|
410
396
|
<em class="parameter"><code><span class="type">char</span> **possible_values</code></em>);</pre>
|
411
397
|
<p>
|
412
|
-
Parses an enum type and stores the result in <em class="parameter"><code>value</code></em
|
413
|
-
</p>
|
398
|
+
Parses an enum type and stores the result in <em class="parameter"><code>value</code></em>.</p>
|
414
399
|
<p>
|
415
400
|
If <em class="parameter"><code>str</code></em> does not match the nick name of any of the possible values for the
|
416
401
|
enum and is not an integer, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned, a warning is issued
|
@@ -418,8 +403,7 @@ if <em class="parameter"><code>warn</code></em> is <a href="/home/kou/work/ruby/
|
|
418
403
|
string representing the list of possible values is stored in
|
419
404
|
<em class="parameter"><code>possible_values</code></em>. The list is slash-separated, eg.
|
420
405
|
"none/start/middle/end". If failed and <em class="parameter"><code>possible_values</code></em> is not <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
421
|
-
returned string should be freed using <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a
|
422
|
-
</p>
|
406
|
+
returned string should be freed using <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
423
407
|
<div class="variablelist"><table border="0" class="variablelist">
|
424
408
|
<colgroup>
|
425
409
|
<col align="left" valign="top">
|
@@ -467,8 +451,7 @@ returned string should be freed using <a href="/home/kou/work/ruby/ruby-gnome2.w
|
|
467
451
|
<p>
|
468
452
|
Parses a font style. The allowed values are "normal",
|
469
453
|
"italic" and "oblique", case variations being
|
470
|
-
ignored
|
471
|
-
</p>
|
454
|
+
ignored.</p>
|
472
455
|
<div class="variablelist"><table border="0" class="variablelist">
|
473
456
|
<colgroup>
|
474
457
|
<col align="left" valign="top">
|
@@ -506,8 +489,7 @@ in. <span class="annotation">[<acronym title="Out parameter, where caller must a
|
|
506
489
|
<p>
|
507
490
|
Parses a font variant. The allowed values are "normal"
|
508
491
|
and "smallcaps" or "small_caps", case variations being
|
509
|
-
ignored
|
510
|
-
</p>
|
492
|
+
ignored.</p>
|
511
493
|
<div class="variablelist"><table border="0" class="variablelist">
|
512
494
|
<colgroup>
|
513
495
|
<col align="left" valign="top">
|
@@ -545,8 +527,7 @@ result in. <span class="annotation">[<acronym title="Out parameter, where caller
|
|
545
527
|
<p>
|
546
528
|
Parses a font weight. The allowed values are "heavy",
|
547
529
|
"ultrabold", "bold", "normal", "light", "ultraleight"
|
548
|
-
and integers. Case variations are ignored
|
549
|
-
</p>
|
530
|
+
and integers. Case variations are ignored.</p>
|
550
531
|
<div class="variablelist"><table border="0" class="variablelist">
|
551
532
|
<colgroup>
|
552
533
|
<col align="left" valign="top">
|
@@ -586,8 +567,7 @@ Parses a font stretch. The allowed values are
|
|
586
567
|
"ultra_condensed", "extra_condensed", "condensed",
|
587
568
|
"semi_condensed", "normal", "semi_expanded", "expanded",
|
588
569
|
"extra_expanded" and "ultra_expanded". Case variations are
|
589
|
-
ignored and the '_' characters may be omitted
|
590
|
-
</p>
|
570
|
+
ignored and the '_' characters may be omitted.</p>
|
591
571
|
<div class="variablelist"><table border="0" class="variablelist">
|
592
572
|
<colgroup>
|
593
573
|
<col align="left" valign="top">
|
@@ -624,8 +604,7 @@ result in. <span class="annotation">[<acronym title="Out parameter, where caller
|
|
624
604
|
On Unix, returns the name of the "pango" subdirectory of SYSCONFDIR
|
625
605
|
(which is set at compile time). On Windows, returns the etc\pango
|
626
606
|
subdirectory of the Pango installation directory (which is deduced
|
627
|
-
at run time from the DLL's location)
|
628
|
-
</p>
|
607
|
+
at run time from the DLL's location).</p>
|
629
608
|
<div class="variablelist"><table border="0" class="variablelist">
|
630
609
|
<colgroup>
|
631
610
|
<col align="left" valign="top">
|
@@ -646,8 +625,7 @@ not be freed.</td>
|
|
646
625
|
On Unix, returns the name of the "pango" subdirectory of LIBDIR
|
647
626
|
(which is set at compile time). On Windows, returns the lib\pango
|
648
627
|
subdirectory of the Pango installation directory (which is deduced
|
649
|
-
at run time from the DLL's location)
|
650
|
-
</p>
|
628
|
+
at run time from the DLL's location).</p>
|
651
629
|
<div class="variablelist"><table border="0" class="variablelist">
|
652
630
|
<colgroup>
|
653
631
|
<col align="left" valign="top">
|
@@ -668,15 +646,12 @@ not be freed.</td>
|
|
668
646
|
<em class="parameter"><code><a class="link" href="pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a> *pbase_dir</code></em>);</pre>
|
669
647
|
<p>
|
670
648
|
This will return the bidirectional embedding levels of the input paragraph
|
671
|
-
as defined by the Unicode Bidirectional Algorithm available at
|
672
|
-
</p>
|
649
|
+
as defined by the Unicode Bidirectional Algorithm available at:</p>
|
673
650
|
<p>
|
674
|
-
http://www.unicode.org/reports/tr9
|
675
|
-
</p>
|
651
|
+
http://www.unicode.org/reports/tr9/</p>
|
676
652
|
<p>
|
677
653
|
If the input base direction is a weak direction, the direction of the
|
678
|
-
characters in the text will determine the final resolved direction
|
679
|
-
</p>
|
654
|
+
characters in the text will determine the final resolved direction.</p>
|
680
655
|
<div class="variablelist"><table border="0" class="variablelist">
|
681
656
|
<colgroup>
|
682
657
|
<col align="left" valign="top">
|
@@ -714,8 +689,7 @@ Checks <em class="parameter"><code>ch</code></em> to see if it is a character th
|
|
714
689
|
normally rendered on the screen. This includes all Unicode characters
|
715
690
|
with "ZERO WIDTH" in their name, as well as <em class="firstterm">bidi</em> formatting characters, and
|
716
691
|
a few other ones. This is totally different from <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#g-unichar-iszerowidth"><code class="function">g_unichar_iszerowidth()</code></a>
|
717
|
-
and is at best misnamed
|
718
|
-
</p>
|
692
|
+
and is at best misnamed.</p>
|
719
693
|
<div class="variablelist"><table border="0" class="variablelist">
|
720
694
|
<colgroup>
|
721
695
|
<col align="left" valign="top">
|
@@ -744,13 +718,11 @@ and is at best misnamed.
|
|
744
718
|
Quantizes the thickness and position of a line, typically an
|
745
719
|
underline or strikethrough, to whole device pixels, that is integer
|
746
720
|
multiples of <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a>. The purpose of this function is to avoid
|
747
|
-
such lines looking blurry
|
748
|
-
</p>
|
721
|
+
such lines looking blurry.</p>
|
749
722
|
<p>
|
750
723
|
Care is taken to make sure <em class="parameter"><code>thickness</code></em> is at least one pixel when this
|
751
724
|
function returns, but returned <em class="parameter"><code>position</code></em> may become zero as a result
|
752
|
-
of rounding
|
753
|
-
</p>
|
725
|
+
of rounding.</p>
|
754
726
|
<div class="variablelist"><table border="0" class="variablelist">
|
755
727
|
<colgroup>
|
756
728
|
<col align="left" valign="top">
|
@@ -775,6 +747,6 @@ of rounding.
|
|
775
747
|
</div>
|
776
748
|
<div class="footer">
|
777
749
|
<hr>
|
778
|
-
Generated by GTK-Doc V1.19</div>
|
750
|
+
Generated by GTK-Doc V1.19.1</div>
|
779
751
|
</body>
|
780
752
|
</html>
|
@@ -2,30 +2,27 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Modules</title>
|
5
|
+
<title>Pango Reference Manual: Modules</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="lowlevel.html" title="Low Level Functionality">
|
9
9
|
<link rel="prev" href="PangoEngineShape.html" title="PangoEngineShape">
|
10
10
|
<link rel="next" href="pango-Miscellaneous-Utilities.html" title="Miscellaneous Utilities">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.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">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">Pango Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="pango-Miscellaneous-Utilities.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#pango-Modules.synopsis" class="shortcut">Top</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
|
16
|
+
<td width="100%" align="left">
|
17
|
+
<a href="#" class="shortcut">Top</a>
|
25
18
|
|
|
26
19
|
<a href="#pango-Modules.description" class="shortcut">Description</a>
|
27
|
-
</td
|
28
|
-
|
20
|
+
</td>
|
21
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
|
+
<td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
23
|
+
<td><a accesskey="p" href="PangoEngineShape.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
+
<td><a accesskey="n" href="pango-Miscellaneous-Utilities.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
25
|
+
</tr></table>
|
29
26
|
<div class="refentry">
|
30
27
|
<a name="pango-Modules"></a><div class="titlepage"></div>
|
31
28
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -56,8 +53,7 @@
|
|
56
53
|
<a name="pango-Modules.description"></a><h2>Description</h2>
|
57
54
|
<p>
|
58
55
|
Functions and macros in this section are used to support loading dynamic
|
59
|
-
modules that add engines to Pango at run time
|
60
|
-
</p>
|
56
|
+
modules that add engines to Pango at run time.</p>
|
61
57
|
</div>
|
62
58
|
<div class="refsect1">
|
63
59
|
<a name="pango-Modules.details"></a><h2>Details</h2>
|
@@ -74,8 +70,7 @@ modules that add engines to Pango at run time.
|
|
74
70
|
<p>
|
75
71
|
The <a class="link" href="pango-Modules.html#PangoIncludedModule" title="struct PangoIncludedModule"><span class="type">PangoIncludedModule</span></a> structure for a statically linked module
|
76
72
|
contains the functions that would otherwise be loaded from a dynamically
|
77
|
-
loaded module
|
78
|
-
</p>
|
73
|
+
loaded module.</p>
|
79
74
|
<div class="variablelist"><table border="0" class="variablelist">
|
80
75
|
<colgroup>
|
81
76
|
<col align="left" valign="top">
|
@@ -107,8 +102,7 @@ loaded module.
|
|
107
102
|
<pre class="programlisting">typedef struct _PangoMap PangoMap;</pre>
|
108
103
|
<p>
|
109
104
|
A <a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="type">PangoMap</span></a> structure can be used to determine the engine to
|
110
|
-
use for each character
|
111
|
-
</p>
|
105
|
+
use for each character.</p>
|
112
106
|
</div>
|
113
107
|
<hr>
|
114
108
|
<div class="refsect2">
|
@@ -117,8 +111,7 @@ use for each character.
|
|
117
111
|
<p>
|
118
112
|
A <a class="link" href="pango-Modules.html#PangoMapEntry" title="PangoMapEntry"><span class="type">PangoMapEntry</span></a> contains information about the engine that should be used
|
119
113
|
for the codepoint to which this entry belongs and also whether the engine
|
120
|
-
matches the language tag for this entry's map exactly or just approximately
|
121
|
-
</p>
|
114
|
+
matches the language tag for this entry's map exactly or just approximately.</p>
|
122
115
|
</div>
|
123
116
|
<hr>
|
124
117
|
<div class="refsect2">
|
@@ -129,8 +122,7 @@ matches the language tag for this entry's map exactly or just approximately.
|
|
129
122
|
<p>
|
130
123
|
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
|
131
124
|
type. The resulting map can be used to determine the engine
|
132
|
-
for each character
|
133
|
-
</p>
|
125
|
+
for each character.</p>
|
134
126
|
<div class="variablelist"><table border="0" class="variablelist">
|
135
127
|
<colgroup>
|
136
128
|
<col align="left" valign="top">
|
@@ -162,8 +154,7 @@ for each character.
|
|
162
154
|
<pre class="programlisting"><a class="link" href="pango-Engines.html#PangoEngine"><span class="returnvalue">PangoEngine</span></a> * pango_map_get_engine (<em class="parameter"><code><a class="link" href="pango-Modules.html#PangoMap" title="PangoMap"><span class="type">PangoMap</span></a> *map</code></em>,
|
163
155
|
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>);</pre>
|
164
156
|
<p>
|
165
|
-
Returns the best engine listed in the map for a given script
|
166
|
-
</p>
|
157
|
+
Returns the best engine listed in the map for a given script</p>
|
167
158
|
<div class="variablelist"><table border="0" class="variablelist">
|
168
159
|
<colgroup>
|
169
160
|
<col align="left" valign="top">
|
@@ -202,8 +193,7 @@ returned is arbitrary.</td>
|
|
202
193
|
Finds engines in the map that handle the given script. The returned
|
203
194
|
lists should be freed with g_slist_free, but the engines in the
|
204
195
|
lists are owned by GLib and will be kept around permanently, so
|
205
|
-
they should not be unref'ed
|
206
|
-
</p>
|
196
|
+
they should not be unref'ed.</p>
|
207
197
|
<div class="variablelist"><table border="0" class="variablelist">
|
208
198
|
<colgroup>
|
209
199
|
<col align="left" valign="top">
|
@@ -242,8 +232,7 @@ handle this script.</td>
|
|
242
232
|
Registers a statically linked module with Pango. The
|
243
233
|
<a class="link" href="pango-Modules.html#PangoIncludedModule" title="struct PangoIncludedModule"><span class="type">PangoIncludedModule</span></a> structure that is passed in contains the
|
244
234
|
functions that would otherwise be loaded from a dynamically loaded
|
245
|
-
module
|
246
|
-
</p>
|
235
|
+
module.</p>
|
247
236
|
<div class="variablelist"><table border="0" class="variablelist">
|
248
237
|
<colgroup>
|
249
238
|
<col align="left" valign="top">
|
@@ -260,6 +249,6 @@ module.
|
|
260
249
|
</div>
|
261
250
|
<div class="footer">
|
262
251
|
<hr>
|
263
|
-
Generated by GTK-Doc V1.19</div>
|
252
|
+
Generated by GTK-Doc V1.19.1</div>
|
264
253
|
</body>
|
265
254
|
</html>
|
@@ -2,32 +2,29 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>OpenType Font Handling</title>
|
5
|
+
<title>Pango Reference Manual: OpenType Font Handling</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="lowlevel.html" title="Low Level Functionality">
|
9
9
|
<link rel="prev" href="PangoFcDecoder.html" title="PangoFcDecoder">
|
10
10
|
<link rel="next" href="pango-Coverage-Maps.html" title="Coverage Maps">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.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">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">Pango Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="pango-Coverage-Maps.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#pango-OpenType-Font-Handling.synopsis" class="shortcut">Top</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
|
16
|
+
<td width="100%" align="left">
|
17
|
+
<a href="#" class="shortcut">Top</a>
|
25
18
|
|
|
26
19
|
<a href="#pango-OpenType-Font-Handling.description" class="shortcut">Description</a>
|
27
20
|
|
|
28
21
|
<a href="#pango-OpenType-Font-Handling.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
-
</td
|
30
|
-
|
22
|
+
</td>
|
23
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
|
+
<td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
25
|
+
<td><a accesskey="p" href="PangoFcDecoder.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
26
|
+
<td><a accesskey="n" href="pango-Coverage-Maps.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
27
|
+
</tr></table>
|
31
28
|
<div class="refentry">
|
32
29
|
<a name="pango-OpenType-Font-Handling"></a><div class="titlepage"></div>
|
33
30
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -164,8 +161,7 @@ const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><s
|
|
164
161
|
<p>
|
165
162
|
Functions and macros in this section are used to implement the OpenType Layout
|
166
163
|
features and algorithms. These are mostly useful when writing Fontconfig-based
|
167
|
-
shaping engines
|
168
|
-
</p>
|
164
|
+
shaping engines</p>
|
169
165
|
</div>
|
170
166
|
<div class="refsect1">
|
171
167
|
<a name="pango-OpenType-Font-Handling.details"></a><h2>Details</h2>
|
@@ -176,8 +172,7 @@ shaping engines
|
|
176
172
|
<p>
|
177
173
|
The <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> typedef is used to represent TrueType and OpenType
|
178
174
|
four letter tags inside Pango. Use <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>
|
179
|
-
or <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-MAKE-FROM-STRING:CAPS" title="PANGO_OT_TAG_MAKE_FROM_STRING()"><code class="function">PANGO_OT_TAG_MAKE_FROM_STRING()</code></a> macros to create <span class="type">PangoOTTag</span>s manually
|
180
|
-
</p>
|
175
|
+
or <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-MAKE-FROM-STRING:CAPS" title="PANGO_OT_TAG_MAKE_FROM_STRING()"><code class="function">PANGO_OT_TAG_MAKE_FROM_STRING()</code></a> macros to create <span class="type">PangoOTTag</span>s manually.</p>
|
181
176
|
</div>
|
182
177
|
<hr>
|
183
178
|
<div class="refsect2">
|
@@ -188,8 +183,7 @@ The <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span c
|
|
188
183
|
tables associated with an OpenType font. It contains only private fields and
|
189
184
|
should only be accessed via the <code class="function">pango_ot_info_*</code> functions
|
190
185
|
which are documented below. To obtain a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a>,
|
191
|
-
use <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-get" title="pango_ot_info_get ()"><code class="function">pango_ot_info_get()</code></a
|
192
|
-
</p>
|
186
|
+
use <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-get" title="pango_ot_info_get ()"><code class="function">pango_ot_info_get()</code></a>.</p>
|
193
187
|
</div>
|
194
188
|
<hr>
|
195
189
|
<div class="refsect2">
|
@@ -200,8 +194,7 @@ The <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title
|
|
200
194
|
with a <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a>, suitable for OpenType layout processing. It contains
|
201
195
|
only private fields and should only be accessed via the
|
202
196
|
<code class="function">pango_ot_buffer_*</code> functions which are documented below.
|
203
|
-
To obtain a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>, use <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-new" title="pango_ot_buffer_new ()"><code class="function">pango_ot_buffer_new()</code></a
|
204
|
-
</p>
|
197
|
+
To obtain a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>, use <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-buffer-new" title="pango_ot_buffer_new ()"><code class="function">pango_ot_buffer_new()</code></a>.</p>
|
205
198
|
</div>
|
206
199
|
<hr>
|
207
200
|
<div class="refsect2">
|
@@ -219,8 +212,7 @@ To obtain a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffe
|
|
219
212
|
<p>
|
220
213
|
The <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTGlyph" title="struct PangoOTGlyph"><span class="type">PangoOTGlyph</span></a> structure represents a single glyph together with
|
221
214
|
information used for OpenType layout processing of the glyph.
|
222
|
-
It contains the following fields
|
223
|
-
</p>
|
215
|
+
It contains the following fields.</p>
|
224
216
|
<div class="variablelist"><table border="0" class="variablelist">
|
225
217
|
<colgroup>
|
226
218
|
<col align="left" valign="top">
|
@@ -267,8 +259,7 @@ that should be applied to a text feature such as a certain
|
|
267
259
|
type of accent.) A <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a>
|
268
260
|
is created with <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-new" title="pango_ot_ruleset_new ()"><code class="function">pango_ot_ruleset_new()</code></a>, features are added
|
269
261
|
to it with <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-add-feature" title="pango_ot_ruleset_add_feature ()"><code class="function">pango_ot_ruleset_add_feature()</code></a>, then it is
|
270
|
-
applied to a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> with <code class="function">pango_ot_ruleset_shape()</code
|
271
|
-
</p>
|
262
|
+
applied to a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> with <code class="function">pango_ot_ruleset_shape()</code>.</p>
|
272
263
|
</div>
|
273
264
|
<hr>
|
274
265
|
<div class="refsect2">
|
@@ -290,8 +281,7 @@ to build a complete <a class="link" href="pango-OpenType-Font-Handling.html#Pang
|
|
290
281
|
The main use of this struct is to act as the key for a per-font
|
291
282
|
hash of rulesets. The user populates a ruleset description and
|
292
283
|
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>
|
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
|
294
|
-
</p>
|
284
|
+
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>.</p>
|
295
285
|
<div class="variablelist"><table border="0" class="variablelist">
|
296
286
|
<colgroup>
|
297
287
|
<col align="left" valign="top">
|
@@ -347,8 +337,7 @@ the life of function calls taking this struct.</td>
|
|
347
337
|
<p>
|
348
338
|
The <span class="type">PangoOTTableType</span> enumeration values are used to
|
349
339
|
identify the various OpenType tables in the
|
350
|
-
<code class="function">pango_ot_info_*</code> functions
|
351
|
-
</p>
|
340
|
+
<code class="function">pango_ot_info_*</code> functions.</p>
|
352
341
|
<div class="variablelist"><table border="0" class="variablelist">
|
353
342
|
<colgroup>
|
354
343
|
<col align="left" valign="top">
|
@@ -379,8 +368,7 @@ identify the various OpenType tables in the
|
|
379
368
|
<p>
|
380
369
|
The <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTFeatureMap" title="struct PangoOTFeatureMap"><span class="type">PangoOTFeatureMap</span></a> typedef is used to represent an OpenType
|
381
370
|
feature with the property bit associated with it. The feature tag is
|
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
|
383
|
-
</p>
|
371
|
+
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.</p>
|
384
372
|
<div class="variablelist"><table border="0" class="variablelist">
|
385
373
|
<colgroup>
|
386
374
|
<col align="left" valign="top">
|
@@ -407,8 +395,7 @@ represented as a char array instead of a <a class="link" href="pango-OpenType-Fo
|
|
407
395
|
</pre>
|
408
396
|
<p>
|
409
397
|
Creates a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> from four characters. This is similar and
|
410
|
-
compatible with the <code class="function"><code class="function">FT_MAKE_TAG()</code></code> macro from FreeType
|
411
|
-
</p>
|
398
|
+
compatible with the <code class="function"><code class="function">FT_MAKE_TAG()</code></code> macro from FreeType.</p>
|
412
399
|
<div class="variablelist"><table border="0" class="variablelist">
|
413
400
|
<colgroup>
|
414
401
|
<col align="left" valign="top">
|
@@ -443,8 +430,7 @@ Creates a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" ti
|
|
443
430
|
four characters long (pad with space characters if needed), and need
|
444
431
|
not be nul-terminated. This is a convenience wrapper around
|
445
432
|
<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
|
446
|
-
example, as a switch expression, as it dereferences pointers
|
447
|
-
</p>
|
433
|
+
example, as a switch expression, as it dereferences pointers.</p>
|
448
434
|
<div class="variablelist"><table border="0" class="variablelist">
|
449
435
|
<colgroup>
|
450
436
|
<col align="left" valign="top">
|
@@ -463,8 +449,7 @@ example, as a switch expression, as it dereferences pointers.
|
|
463
449
|
</pre>
|
464
450
|
<p>
|
465
451
|
This is used as the property bit 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> when a
|
466
|
-
feature should be applied to all glyphs
|
467
|
-
</p>
|
452
|
+
feature should be applied to all glyphs.</p>
|
468
453
|
<p class="since">Since 1.16</p>
|
469
454
|
</div>
|
470
455
|
<hr>
|
@@ -476,8 +461,7 @@ feature should be applied to all glyphs.
|
|
476
461
|
This is used as a feature index that represent no feature, that is, should be
|
477
462
|
skipped. It may be returned as feature index by <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>
|
478
463
|
if the feature is not found, and <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> function
|
479
|
-
automatically skips this value, so no special handling is required by the user
|
480
|
-
</p>
|
464
|
+
automatically skips this value, so no special handling is required by the user.</p>
|
481
465
|
<p class="since">Since 1.18</p>
|
482
466
|
</div>
|
483
467
|
<hr>
|
@@ -491,8 +475,7 @@ requested script was not found, and a default ('DFLT') script was not found
|
|
491
475
|
either. It may be returned as script index by <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-script" title="pango_ot_info_find_script ()"><code class="function">pango_ot_info_find_script()</code></a>
|
492
476
|
if the script or a default script are not found, all other functions
|
493
477
|
taking a script index essentially return if the input script index is
|
494
|
-
this value, so no special handling is required by the user
|
495
|
-
</p>
|
478
|
+
this value, so no special handling is required by the user.</p>
|
496
479
|
<p class="since">Since 1.18</p>
|
497
480
|
</div>
|
498
481
|
<hr>
|
@@ -502,16 +485,14 @@ this value, so no special handling is required by the user.
|
|
502
485
|
</pre>
|
503
486
|
<p>
|
504
487
|
This is used as the language index in <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> when
|
505
|
-
the default language system of the script is desired
|
506
|
-
</p>
|
488
|
+
the default language system of the script is desired.</p>
|
507
489
|
<p>
|
508
490
|
It is also returned by <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> if the requested language
|
509
491
|
is not found, or the requested language tag was PANGO_OT_TAG_DEFAULT_LANGUAGE.
|
510
492
|
The end result is that one can always call <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-language" title="pango_ot_tag_from_language ()"><code class="function">pango_ot_tag_from_language()</code></a>
|
511
493
|
followed by <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> and pass the result to
|
512
494
|
<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> without having to worry about falling back to
|
513
|
-
default language system explicitly
|
514
|
-
</p>
|
495
|
+
default language system explicitly.</p>
|
515
496
|
<p class="since">Since 1.16</p>
|
516
497
|
</div>
|
517
498
|
<hr>
|
@@ -524,8 +505,7 @@ This is a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" ti
|
|
524
505
|
returned as language tag by <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-tag-from-language" title="pango_ot_tag_from_language ()"><code class="function">pango_ot_tag_from_language()</code></a> if the requested
|
525
506
|
language is not found. It is safe to pass this value to
|
526
507
|
<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> as that function falls back to returning default
|
527
|
-
language-system if the requested language tag is not found
|
528
|
-
</p>
|
508
|
+
language-system if the requested language tag is not found.</p>
|
529
509
|
<p class="since">Since 1.18</p>
|
530
510
|
</div>
|
531
511
|
<hr>
|
@@ -536,17 +516,19 @@ language-system if the requested language tag is not found.
|
|
536
516
|
<p>
|
537
517
|
This is a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> representing the special script tag 'DFLT'. It is
|
538
518
|
returned as script tag by <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> if the requested script
|
539
|
-
is not found
|
540
|
-
</p>
|
519
|
+
is not found.</p>
|
541
520
|
<p class="since">Since 1.18</p>
|
542
521
|
</div>
|
543
522
|
<hr>
|
544
523
|
<div class="refsect2">
|
545
524
|
<a name="pango-ot-info-get"></a><h3>pango_ot_info_get ()</h3>
|
546
525
|
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="returnvalue">PangoOTInfo</span></a> * pango_ot_info_get (<em class="parameter"><code><span class="type">FT_Face</span> face</code></em>);</pre>
|
526
|
+
<div class="warning">
|
527
|
+
<h3 class="title">Warning</h3>
|
528
|
+
<p><code class="literal">pango_ot_info_get</code> is deprecated and should not be used in newly-written code.</p>
|
529
|
+
</div>
|
547
530
|
<p>
|
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
|
549
|
-
</p>
|
531
|
+
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.</p>
|
550
532
|
<div class="variablelist"><table border="0" class="variablelist">
|
551
533
|
<colgroup>
|
552
534
|
<col align="left" valign="top">
|
@@ -573,18 +555,20 @@ the same lifetime as <em class="parameter"><code>face</code></em>.</td>
|
|
573
555
|
<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>,
|
574
556
|
<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>,
|
575
557
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *script_index</code></em>);</pre>
|
558
|
+
<div class="warning">
|
559
|
+
<h3 class="title">Warning</h3>
|
560
|
+
<p><code class="literal">pango_ot_info_find_script</code> is deprecated and should not be used in newly-written code.</p>
|
561
|
+
</div>
|
576
562
|
<p>
|
577
563
|
Finds the index of a script. If not found, tries to find the 'DFLT'
|
578
564
|
and then 'dflt' scripts and return the index of that in <em class="parameter"><code>script_index</code></em>.
|
579
565
|
If none of those is found either, <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-NO-SCRIPT:CAPS" title="PANGO_OT_NO_SCRIPT"><code class="literal">PANGO_OT_NO_SCRIPT</code></a> is placed in
|
580
|
-
<em class="parameter"><code>script_index</code></em
|
581
|
-
</p>
|
566
|
+
<em class="parameter"><code>script_index</code></em>.</p>
|
582
567
|
<p>
|
583
568
|
All other functions taking an input script_index parameter know
|
584
569
|
how to handle <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-NO-SCRIPT:CAPS" title="PANGO_OT_NO_SCRIPT"><code class="literal">PANGO_OT_NO_SCRIPT</code></a>, so one can ignore the return
|
585
570
|
value of this function completely and proceed, to enjoy the automatic
|
586
|
-
fallback to the 'DFLT'/'dflt' script
|
587
|
-
</p>
|
571
|
+
fallback to the 'DFLT'/'dflt' script.</p>
|
588
572
|
<div class="variablelist"><table border="0" class="variablelist">
|
589
573
|
<colgroup>
|
590
574
|
<col align="left" valign="top">
|
@@ -624,6 +608,10 @@ fallback to the 'DFLT'/'dflt' script.
|
|
624
608
|
<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>,
|
625
609
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *language_index</code></em>,
|
626
610
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *required_feature_index</code></em>);</pre>
|
611
|
+
<div class="warning">
|
612
|
+
<h3 class="title">Warning</h3>
|
613
|
+
<p><code class="literal">pango_ot_info_find_language</code> is deprecated and should not be used in newly-written code.</p>
|
614
|
+
</div>
|
627
615
|
<p>
|
628
616
|
Finds the index of a language and its required feature index.
|
629
617
|
If the language is not found, sets <em class="parameter"><code>language_index</code></em> to
|
@@ -632,8 +620,7 @@ system is returned in required_feature_index. For best compatibility with
|
|
632
620
|
some fonts, also searches the language system tag 'dflt' before falling
|
633
621
|
back to the default language system, but that is transparent to the user.
|
634
622
|
The user can simply ignore the return value of this function to
|
635
|
-
automatically fall back to the default language system
|
636
|
-
</p>
|
623
|
+
automatically fall back to the default language system.</p>
|
637
624
|
<div class="variablelist"><table border="0" class="variablelist">
|
638
625
|
<colgroup>
|
639
626
|
<col align="left" valign="top">
|
@@ -682,18 +669,20 @@ the language, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/loc
|
|
682
669
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> script_index</code></em>,
|
683
670
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> language_index</code></em>,
|
684
671
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *feature_index</code></em>);</pre>
|
672
|
+
<div class="warning">
|
673
|
+
<h3 class="title">Warning</h3>
|
674
|
+
<p><code class="literal">pango_ot_info_find_feature</code> is deprecated and should not be used in newly-written code.</p>
|
675
|
+
</div>
|
685
676
|
<p>
|
686
677
|
Finds the index of a feature. If the feature is not found, sets
|
687
678
|
<em class="parameter"><code>feature_index</code></em> to PANGO_OT_NO_FEATURE, which is safe to pass to
|
688
|
-
<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> and similar functions
|
689
|
-
</p>
|
679
|
+
<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> and similar functions.</p>
|
690
680
|
<p>
|
691
681
|
In the future, this may set <em class="parameter"><code>feature_index</code></em> to an special value that if used
|
692
682
|
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
|
693
683
|
requested feature based on Unicode properties and data. However, this
|
694
684
|
function will still return <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> in those cases. So, users may want to
|
695
|
-
ignore the return value of this function in certain cases
|
696
|
-
</p>
|
685
|
+
ignore the return value of this function in certain cases.</p>
|
697
686
|
<div class="variablelist"><table border="0" class="variablelist">
|
698
687
|
<colgroup>
|
699
688
|
<col align="left" valign="top">
|
@@ -738,9 +727,12 @@ or <a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-DEFAULT-LANG
|
|
738
727
|
<a name="pango-ot-info-list-scripts"></a><h3>pango_ot_info_list_scripts ()</h3>
|
739
728
|
<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_scripts (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
740
729
|
<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>);</pre>
|
730
|
+
<div class="warning">
|
731
|
+
<h3 class="title">Warning</h3>
|
732
|
+
<p><code class="literal">pango_ot_info_list_scripts</code> is deprecated and should not be used in newly-written code.</p>
|
733
|
+
</div>
|
741
734
|
<p>
|
742
|
-
Obtains the list of available scripts
|
743
|
-
</p>
|
735
|
+
Obtains the list of available scripts.</p>
|
744
736
|
<div class="variablelist"><table border="0" class="variablelist">
|
745
737
|
<colgroup>
|
746
738
|
<col align="left" valign="top">
|
@@ -770,9 +762,12 @@ available scripts. Should be freed using <a href="/home/kou/work/ruby/ruby-gnom
|
|
770
762
|
<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>,
|
771
763
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> script_index</code></em>,
|
772
764
|
<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>
|
765
|
+
<div class="warning">
|
766
|
+
<h3 class="title">Warning</h3>
|
767
|
+
<p><code class="literal">pango_ot_info_list_languages</code> is deprecated and should not be used in newly-written code.</p>
|
768
|
+
</div>
|
773
769
|
<p>
|
774
|
-
Obtains the list of available languages for a given script
|
775
|
-
</p>
|
770
|
+
Obtains the list of available languages for a given script.</p>
|
776
771
|
<div class="variablelist"><table border="0" class="variablelist">
|
777
772
|
<colgroup>
|
778
773
|
<col align="left" valign="top">
|
@@ -811,9 +806,12 @@ available languages. Should be freed using <a href="/home/kou/work/ruby/ruby-gn
|
|
811
806
|
<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>,
|
812
807
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> script_index</code></em>,
|
813
808
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> language_index</code></em>);</pre>
|
809
|
+
<div class="warning">
|
810
|
+
<h3 class="title">Warning</h3>
|
811
|
+
<p><code class="literal">pango_ot_info_list_features</code> is deprecated and should not be used in newly-written code.</p>
|
812
|
+
</div>
|
814
813
|
<p>
|
815
|
-
Obtains the list of features for the given language of the given script
|
816
|
-
</p>
|
814
|
+
Obtains the list of features for the given language of the given script.</p>
|
817
815
|
<div class="variablelist"><table border="0" class="variablelist">
|
818
816
|
<colgroup>
|
819
817
|
<col align="left" valign="top">
|
@@ -854,9 +852,12 @@ available features. Should be freed using <a href="/home/kou/work/ruby/ruby-gno
|
|
854
852
|
<div class="refsect2">
|
855
853
|
<a name="pango-ot-buffer-new"></a><h3>pango_ot_buffer_new ()</h3>
|
856
854
|
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="returnvalue">PangoOTBuffer</span></a> * pango_ot_buffer_new (<em class="parameter"><code><a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> *font</code></em>);</pre>
|
855
|
+
<div class="warning">
|
856
|
+
<h3 class="title">Warning</h3>
|
857
|
+
<p><code class="literal">pango_ot_buffer_new</code> is deprecated and should not be used in newly-written code.</p>
|
858
|
+
</div>
|
857
859
|
<p>
|
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
|
859
|
-
</p>
|
860
|
+
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.</p>
|
860
861
|
<div class="variablelist"><table border="0" class="variablelist">
|
861
862
|
<colgroup>
|
862
863
|
<col align="left" valign="top">
|
@@ -881,9 +882,12 @@ be freed with <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-b
|
|
881
882
|
<div class="refsect2">
|
882
883
|
<a name="pango-ot-buffer-destroy"></a><h3>pango_ot_buffer_destroy ()</h3>
|
883
884
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_destroy (<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>);</pre>
|
885
|
+
<div class="warning">
|
886
|
+
<h3 class="title">Warning</h3>
|
887
|
+
<p><code class="literal">pango_ot_buffer_destroy</code> is deprecated and should not be used in newly-written code.</p>
|
888
|
+
</div>
|
884
889
|
<p>
|
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
|
886
|
-
</p>
|
890
|
+
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.</p>
|
887
891
|
<div class="variablelist"><table border="0" class="variablelist">
|
888
892
|
<colgroup>
|
889
893
|
<col align="left" valign="top">
|
@@ -901,9 +905,12 @@ Destroys a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer
|
|
901
905
|
<div class="refsect2">
|
902
906
|
<a name="pango-ot-buffer-clear"></a><h3>pango_ot_buffer_clear ()</h3>
|
903
907
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_clear (<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>);</pre>
|
908
|
+
<div class="warning">
|
909
|
+
<h3 class="title">Warning</h3>
|
910
|
+
<p><code class="literal">pango_ot_buffer_clear</code> is deprecated and should not be used in newly-written code.</p>
|
911
|
+
</div>
|
904
912
|
<p>
|
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
|
906
|
-
</p>
|
913
|
+
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.</p>
|
907
914
|
<div class="variablelist"><table border="0" class="variablelist">
|
908
915
|
<colgroup>
|
909
916
|
<col align="left" valign="top">
|
@@ -924,10 +931,13 @@ Empties a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer"
|
|
924
931
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> glyph</code></em>,
|
925
932
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> properties</code></em>,
|
926
933
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> cluster</code></em>);</pre>
|
934
|
+
<div class="warning">
|
935
|
+
<h3 class="title">Warning</h3>
|
936
|
+
<p><code class="literal">pango_ot_buffer_add_glyph</code> is deprecated and should not be used in newly-written code.</p>
|
937
|
+
</div>
|
927
938
|
<p>
|
928
939
|
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
|
929
|
-
features should be applied on this glyph. See <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
|
930
|
-
</p>
|
940
|
+
features should be applied on this glyph. See <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>.</p>
|
931
941
|
<div class="variablelist"><table border="0" class="variablelist">
|
932
942
|
<colgroup>
|
933
943
|
<col align="left" valign="top">
|
@@ -961,10 +971,13 @@ features should be applied on this glyph. See <a class="link" href="pango-OpenT
|
|
961
971
|
<a name="pango-ot-buffer-set-rtl"></a><h3>pango_ot_buffer_set_rtl ()</h3>
|
962
972
|
<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>,
|
963
973
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> rtl</code></em>);</pre>
|
974
|
+
<div class="warning">
|
975
|
+
<h3 class="title">Warning</h3>
|
976
|
+
<p><code class="literal">pango_ot_buffer_set_rtl</code> is deprecated and should not be used in newly-written code.</p>
|
977
|
+
</div>
|
964
978
|
<p>
|
965
979
|
Sets whether glyphs will be rendered right-to-left. This setting
|
966
|
-
is needed for proper horizontal positioning of right-to-left scripts
|
967
|
-
</p>
|
980
|
+
is needed for proper horizontal positioning of right-to-left scripts.</p>
|
968
981
|
<div class="variablelist"><table border="0" class="variablelist">
|
969
982
|
<colgroup>
|
970
983
|
<col align="left" valign="top">
|
@@ -991,12 +1004,15 @@ is needed for proper horizontal positioning of right-to-left scripts.
|
|
991
1004
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_set_zero_width_marks
|
992
1005
|
(<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>,
|
993
1006
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> zero_width_marks</code></em>);</pre>
|
1007
|
+
<div class="warning">
|
1008
|
+
<h3 class="title">Warning</h3>
|
1009
|
+
<p><code class="literal">pango_ot_buffer_set_zero_width_marks</code> is deprecated and should not be used in newly-written code.</p>
|
1010
|
+
</div>
|
994
1011
|
<p>
|
995
1012
|
Sets whether characters with a mark class should be forced to zero width.
|
996
1013
|
This setting is needed for proper positioning of Arabic accents,
|
997
1014
|
but will produce incorrect results with standard OpenType Indic
|
998
|
-
fonts
|
999
|
-
</p>
|
1015
|
+
fonts.</p>
|
1000
1016
|
<div class="variablelist"><table border="0" class="variablelist">
|
1001
1017
|
<colgroup>
|
1002
1018
|
<col align="left" valign="top">
|
@@ -1024,11 +1040,14 @@ be forced to zero width.</td>
|
|
1024
1040
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_get_glyphs (<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>,
|
1025
1041
|
<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>,
|
1026
1042
|
<em class="parameter"><code><span class="type">int</span> *n_glyphs</code></em>);</pre>
|
1043
|
+
<div class="warning">
|
1044
|
+
<h3 class="title">Warning</h3>
|
1045
|
+
<p><code class="literal">pango_ot_buffer_get_glyphs</code> is deprecated and should not be used in newly-written code.</p>
|
1046
|
+
</div>
|
1027
1047
|
<p>
|
1028
1048
|
Gets the glyph array contained in a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a>. The glyphs are
|
1029
1049
|
owned by the buffer and should not be freed, and are only valid as long
|
1030
|
-
as buffer is not modified
|
1031
|
-
</p>
|
1050
|
+
as buffer is not modified.</p>
|
1032
1051
|
<div class="variablelist"><table border="0" class="variablelist">
|
1033
1052
|
<colgroup>
|
1034
1053
|
<col align="left" valign="top">
|
@@ -1059,11 +1078,14 @@ as buffer is not modified.
|
|
1059
1078
|
<a name="pango-ot-buffer-output"></a><h3>pango_ot_buffer_output ()</h3>
|
1060
1079
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_buffer_output (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> *buffer</code></em>,
|
1061
1080
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
|
1081
|
+
<div class="warning">
|
1082
|
+
<h3 class="title">Warning</h3>
|
1083
|
+
<p><code class="literal">pango_ot_buffer_output</code> is deprecated and should not be used in newly-written code.</p>
|
1084
|
+
</div>
|
1062
1085
|
<p>
|
1063
1086
|
Exports the glyphs in a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTBuffer" title="PangoOTBuffer"><span class="type">PangoOTBuffer</span></a> into a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>. This is
|
1064
1087
|
typically used after the OpenType layout processing is over, to convert the
|
1065
|
-
resulting glyphs into a generic Pango glyph string
|
1066
|
-
</p>
|
1088
|
+
resulting glyphs into a generic Pango glyph string.</p>
|
1067
1089
|
<div class="variablelist"><table border="0" class="variablelist">
|
1068
1090
|
<colgroup>
|
1069
1091
|
<col align="left" valign="top">
|
@@ -1090,16 +1112,18 @@ resulting glyphs into a generic Pango glyph string.
|
|
1090
1112
|
<pre class="programlisting">const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * pango_ot_ruleset_get_for_description
|
1091
1113
|
(<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
1092
1114
|
<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>
|
1115
|
+
<div class="warning">
|
1116
|
+
<h3 class="title">Warning</h3>
|
1117
|
+
<p><code class="literal">pango_ot_ruleset_get_for_description</code> is deprecated and should not be used in newly-written code.</p>
|
1118
|
+
</div>
|
1093
1119
|
<p>
|
1094
1120
|
Returns a ruleset for the given OpenType info and ruleset
|
1095
1121
|
description. Rulesets are created on demand using
|
1096
1122
|
<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>.
|
1097
|
-
The returned ruleset should not be modified or destroyed
|
1098
|
-
</p>
|
1123
|
+
The returned ruleset should not be modified or destroyed.</p>
|
1099
1124
|
<p>
|
1100
1125
|
The static feature map members of <em class="parameter"><code>desc</code></em> should be alive as
|
1101
|
-
long as <em class="parameter"><code>info</code></em> is
|
1102
|
-
</p>
|
1126
|
+
long as <em class="parameter"><code>info</code></em> is.</p>
|
1103
1127
|
<div class="variablelist"><table border="0" class="variablelist">
|
1104
1128
|
<colgroup>
|
1105
1129
|
<col align="left" valign="top">
|
@@ -1127,9 +1151,12 @@ the same lifetime as <em class="parameter"><code>info</code></em>.</td>
|
|
1127
1151
|
<div class="refsect2">
|
1128
1152
|
<a name="pango-ot-ruleset-new"></a><h3>pango_ot_ruleset_new ()</h3>
|
1129
1153
|
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * pango_ot_ruleset_new (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>);</pre>
|
1154
|
+
<div class="warning">
|
1155
|
+
<h3 class="title">Warning</h3>
|
1156
|
+
<p><code class="literal">pango_ot_ruleset_new</code> is deprecated and should not be used in newly-written code.</p>
|
1157
|
+
</div>
|
1130
1158
|
<p>
|
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
|
1132
|
-
</p>
|
1159
|
+
Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> for the given OpenType info.</p>
|
1133
1160
|
<div class="variablelist"><table border="0" class="variablelist">
|
1134
1161
|
<colgroup>
|
1135
1162
|
<col align="left" valign="top">
|
@@ -1154,18 +1181,20 @@ should be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor
|
|
1154
1181
|
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * pango_ot_ruleset_new_for (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
1155
1182
|
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>,
|
1156
1183
|
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
1184
|
+
<div class="warning">
|
1185
|
+
<h3 class="title">Warning</h3>
|
1186
|
+
<p><code class="literal">pango_ot_ruleset_new_for</code> is deprecated and should not be used in newly-written code.</p>
|
1187
|
+
</div>
|
1157
1188
|
<p>
|
1158
1189
|
Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> for the given OpenType info, script, and
|
1159
|
-
language
|
1160
|
-
</p>
|
1190
|
+
language.</p>
|
1161
1191
|
<p>
|
1162
1192
|
This function is part of a convenience scheme that highly simplifies
|
1163
1193
|
using a <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> to represent features for a specific pair of script
|
1164
1194
|
and language. So one can use this function passing in the script and
|
1165
1195
|
language of interest, and later try to add features to the ruleset by just
|
1166
1196
|
specifying the feature name or tag, without having to deal with finding
|
1167
|
-
script, language, or feature indices manually
|
1168
|
-
</p>
|
1197
|
+
script, language, or feature indices manually.</p>
|
1169
1198
|
<p>
|
1170
1199
|
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:
|
1171
1200
|
</p>
|
@@ -1193,12 +1222,9 @@ In excess to what <a class="link" href="pango-OpenType-Font-Handling.html#pango-
|
|
1193
1222
|
</li>
|
1194
1223
|
</ul></div>
|
1195
1224
|
<p>
|
1196
|
-
</p>
|
1197
|
-
<p>
|
1198
1225
|
Because of the way return values of <a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-info-find-script" title="pango_ot_info_find_script ()"><code class="function">pango_ot_info_find_script()</code></a> and
|
1199
1226
|
<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
|
1200
|
-
finds and uses the 'DFLT' script and the default language-system
|
1201
|
-
</p>
|
1227
|
+
finds and uses the 'DFLT' script and the default language-system.</p>
|
1202
1228
|
<div class="variablelist"><table border="0" class="variablelist">
|
1203
1229
|
<colgroup>
|
1204
1230
|
<col align="left" valign="top">
|
@@ -1232,19 +1258,20 @@ should be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor
|
|
1232
1258
|
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="returnvalue">PangoOTRuleset</span></a> * pango_ot_ruleset_new_from_description
|
1233
1259
|
(<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo"><span class="type">PangoOTInfo</span></a> *info</code></em>,
|
1234
1260
|
<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>
|
1261
|
+
<div class="warning">
|
1262
|
+
<h3 class="title">Warning</h3>
|
1263
|
+
<p><code class="literal">pango_ot_ruleset_new_from_description</code> is deprecated and should not be used in newly-written code.</p>
|
1264
|
+
</div>
|
1235
1265
|
<p>
|
1236
1266
|
Creates a new <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> for the given OpenType infor and
|
1237
|
-
matching the given ruleset description
|
1238
|
-
</p>
|
1267
|
+
matching the given ruleset description.</p>
|
1239
1268
|
<p>
|
1240
1269
|
This is a convenience function that calls <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> and
|
1241
1270
|
adds the static GSUB/GPOS features to the resulting ruleset, followed by
|
1242
|
-
adding other features to both GSUB and GPOS
|
1243
|
-
</p>
|
1271
|
+
adding other features to both GSUB and GPOS.</p>
|
1244
1272
|
<p>
|
1245
1273
|
The static feature map members of <em class="parameter"><code>desc</code></em> should be alive as
|
1246
|
-
long as <em class="parameter"><code>info</code></em> is
|
1247
|
-
</p>
|
1274
|
+
long as <em class="parameter"><code>info</code></em> is.</p>
|
1248
1275
|
<div class="variablelist"><table border="0" class="variablelist">
|
1249
1276
|
<colgroup>
|
1250
1277
|
<col align="left" valign="top">
|
@@ -1275,9 +1302,12 @@ should be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor
|
|
1275
1302
|
<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>,
|
1276
1303
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> feature_index</code></em>,
|
1277
1304
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> property_bit</code></em>);</pre>
|
1305
|
+
<div class="warning">
|
1306
|
+
<h3 class="title">Warning</h3>
|
1307
|
+
<p><code class="literal">pango_ot_ruleset_add_feature</code> is deprecated and should not be used in newly-written code.</p>
|
1308
|
+
</div>
|
1278
1309
|
<p>
|
1279
|
-
Adds a feature to the ruleset
|
1280
|
-
</p>
|
1310
|
+
Adds a feature to the ruleset.</p>
|
1281
1311
|
<div class="variablelist"><table border="0" class="variablelist">
|
1282
1312
|
<colgroup>
|
1283
1313
|
<col align="left" valign="top">
|
@@ -1312,16 +1342,18 @@ the glyphs that this feature should be applied to, or
|
|
1312
1342
|
<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>,
|
1313
1343
|
<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>,
|
1314
1344
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> property_bit</code></em>);</pre>
|
1345
|
+
<div class="warning">
|
1346
|
+
<h3 class="title">Warning</h3>
|
1347
|
+
<p><code class="literal">pango_ot_ruleset_maybe_add_feature</code> is deprecated and should not be used in newly-written code.</p>
|
1348
|
+
</div>
|
1315
1349
|
<p>
|
1316
1350
|
This is a convenience function that first tries to find the feature
|
1317
1351
|
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
|
1318
1352
|
passed to <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>,
|
1319
|
-
and if the feature is found, adds it to the ruleset
|
1320
|
-
</p>
|
1353
|
+
and if the feature is found, adds it to the ruleset.</p>
|
1321
1354
|
<p>
|
1322
1355
|
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
|
1323
|
-
does nothing
|
1324
|
-
</p>
|
1356
|
+
does nothing.</p>
|
1325
1357
|
<div class="variablelist"><table border="0" class="variablelist">
|
1326
1358
|
<colgroup>
|
1327
1359
|
<col align="left" valign="top">
|
@@ -1363,12 +1395,15 @@ the glyphs that this feature should be applied to, or
|
|
1363
1395
|
<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>,
|
1364
1396
|
<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>,
|
1365
1397
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_features</code></em>);</pre>
|
1398
|
+
<div class="warning">
|
1399
|
+
<h3 class="title">Warning</h3>
|
1400
|
+
<p><code class="literal">pango_ot_ruleset_maybe_add_features</code> is deprecated and should not be used in newly-written code.</p>
|
1401
|
+
</div>
|
1366
1402
|
<p>
|
1367
1403
|
This is a convenience function that
|
1368
1404
|
for each feature in the feature map array <em class="parameter"><code>features</code></em>
|
1369
1405
|
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>
|
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
|
1371
|
-
</p>
|
1406
|
+
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.</p>
|
1372
1407
|
<div class="variablelist"><table border="0" class="variablelist">
|
1373
1408
|
<colgroup>
|
1374
1409
|
<col align="left" valign="top">
|
@@ -1406,9 +1441,12 @@ and added to <em class="parameter"><code>ruleset</code></em>.</td>
|
|
1406
1441
|
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> pango_ot_ruleset_get_feature_count (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
1407
1442
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_gsub_features</code></em>,
|
1408
1443
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_gpos_features</code></em>);</pre>
|
1444
|
+
<div class="warning">
|
1445
|
+
<h3 class="title">Warning</h3>
|
1446
|
+
<p><code class="literal">pango_ot_ruleset_get_feature_count</code> is deprecated and should not be used in newly-written code.</p>
|
1447
|
+
</div>
|
1409
1448
|
<p>
|
1410
|
-
Gets the number of GSUB and GPOS features in the ruleset
|
1411
|
-
</p>
|
1449
|
+
Gets the number of GSUB and GPOS features in the ruleset.</p>
|
1412
1450
|
<div class="variablelist"><table border="0" class="variablelist">
|
1413
1451
|
<colgroup>
|
1414
1452
|
<col align="left" valign="top">
|
@@ -1440,10 +1478,13 @@ Gets the number of GSUB and GPOS features in the ruleset.
|
|
1440
1478
|
<a name="pango-ot-ruleset-substitute"></a><h3>pango_ot_ruleset_substitute ()</h3>
|
1441
1479
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_ruleset_substitute (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
1442
1480
|
<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>);</pre>
|
1481
|
+
<div class="warning">
|
1482
|
+
<h3 class="title">Warning</h3>
|
1483
|
+
<p><code class="literal">pango_ot_ruleset_substitute</code> is deprecated and should not be used in newly-written code.</p>
|
1484
|
+
</div>
|
1443
1485
|
<p>
|
1444
1486
|
Performs the OpenType GSUB substitution on <em class="parameter"><code>buffer</code></em> using the features
|
1445
|
-
in <em class="parameter"><code>ruleset</code></em>
|
1446
|
-
</p>
|
1487
|
+
in <em class="parameter"><code>ruleset</code></em></p>
|
1447
1488
|
<div class="variablelist"><table border="0" class="variablelist">
|
1448
1489
|
<colgroup>
|
1449
1490
|
<col align="left" valign="top">
|
@@ -1467,10 +1508,13 @@ in <em class="parameter"><code>ruleset</code></em>
|
|
1467
1508
|
<a name="pango-ot-ruleset-position"></a><h3>pango_ot_ruleset_position ()</h3>
|
1468
1509
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_ruleset_position (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset"><span class="type">PangoOTRuleset</span></a> *ruleset</code></em>,
|
1469
1510
|
<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>);</pre>
|
1511
|
+
<div class="warning">
|
1512
|
+
<h3 class="title">Warning</h3>
|
1513
|
+
<p><code class="literal">pango_ot_ruleset_position</code> is deprecated and should not be used in newly-written code.</p>
|
1514
|
+
</div>
|
1470
1515
|
<p>
|
1471
1516
|
Performs the OpenType GPOS positioning on <em class="parameter"><code>buffer</code></em> using the features
|
1472
|
-
in <em class="parameter"><code>ruleset</code></em>
|
1473
|
-
</p>
|
1517
|
+
in <em class="parameter"><code>ruleset</code></em></p>
|
1474
1518
|
<div class="variablelist"><table border="0" class="variablelist">
|
1475
1519
|
<colgroup>
|
1476
1520
|
<col align="left" valign="top">
|
@@ -1494,12 +1538,15 @@ in <em class="parameter"><code>ruleset</code></em>
|
|
1494
1538
|
<a name="pango-ot-ruleset-description-copy"></a><h3>pango_ot_ruleset_description_copy ()</h3>
|
1495
1539
|
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="returnvalue">PangoOTRulesetDescription</span></a> * pango_ot_ruleset_description_copy
|
1496
1540
|
(<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>
|
1541
|
+
<div class="warning">
|
1542
|
+
<h3 class="title">Warning</h3>
|
1543
|
+
<p><code class="literal">pango_ot_ruleset_description_copy</code> is deprecated and should not be used in newly-written code.</p>
|
1544
|
+
</div>
|
1497
1545
|
<p>
|
1498
1546
|
Creates a copy of <em class="parameter"><code>desc</code></em>, which should be freed with
|
1499
1547
|
<a class="link" href="pango-OpenType-Font-Handling.html#pango-ot-ruleset-description-free" title="pango_ot_ruleset_description_free ()"><code class="function">pango_ot_ruleset_description_free()</code></a>. Primarily used internally
|
1500
1548
|
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
|
1501
|
-
ruleset descriptions
|
1502
|
-
</p>
|
1549
|
+
ruleset descriptions.</p>
|
1503
1550
|
<div class="variablelist"><table border="0" class="variablelist">
|
1504
1551
|
<colgroup>
|
1505
1552
|
<col align="left" valign="top">
|
@@ -1524,6 +1571,10 @@ should be freed with <a class="link" href="pango-OpenType-Font-Handling.html#pan
|
|
1524
1571
|
<a name="pango-ot-ruleset-description-equal"></a><h3>pango_ot_ruleset_description_equal ()</h3>
|
1525
1572
|
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_ot_ruleset_description_equal (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc1</code></em>,
|
1526
1573
|
<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>
|
1574
|
+
<div class="warning">
|
1575
|
+
<h3 class="title">Warning</h3>
|
1576
|
+
<p><code class="literal">pango_ot_ruleset_description_equal</code> is deprecated and should not be used in newly-written code.</p>
|
1577
|
+
</div>
|
1527
1578
|
<p>
|
1528
1579
|
Compares two ruleset descriptions for equality.
|
1529
1580
|
Two ruleset descriptions are considered equal if the rulesets
|
@@ -1532,8 +1583,7 @@ script, language, and all feature sets should be equal. For static feature
|
|
1532
1583
|
sets, the array addresses are compared directly, while for other
|
1533
1584
|
features, the list of features is compared one by one.
|
1534
1585
|
(Two ruleset descriptions may result in identical rulesets
|
1535
|
-
being created, but still compare <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.)
|
1536
|
-
</p>
|
1586
|
+
being created, but still compare <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.)</p>
|
1537
1587
|
<div class="variablelist"><table border="0" class="variablelist">
|
1538
1588
|
<colgroup>
|
1539
1589
|
<col align="left" valign="top">
|
@@ -1562,10 +1612,13 @@ being created, but still compare <a href="/home/kou/work/ruby/ruby-gnome2.win32/
|
|
1562
1612
|
<div class="refsect2">
|
1563
1613
|
<a name="pango-ot-ruleset-description-free"></a><h3>pango_ot_ruleset_description_free ()</h3>
|
1564
1614
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ot_ruleset_description_free (<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>);</pre>
|
1615
|
+
<div class="warning">
|
1616
|
+
<h3 class="title">Warning</h3>
|
1617
|
+
<p><code class="literal">pango_ot_ruleset_description_free</code> is deprecated and should not be used in newly-written code.</p>
|
1618
|
+
</div>
|
1565
1619
|
<p>
|
1566
1620
|
Frees a ruleset description allocated by
|
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
|
1568
|
-
</p>
|
1621
|
+
<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>.</p>
|
1569
1622
|
<div class="variablelist"><table border="0" class="variablelist">
|
1570
1623
|
<colgroup>
|
1571
1624
|
<col align="left" valign="top">
|
@@ -1583,10 +1636,13 @@ Frees a ruleset description allocated by
|
|
1583
1636
|
<div class="refsect2">
|
1584
1637
|
<a name="pango-ot-ruleset-description-hash"></a><h3>pango_ot_ruleset_description_hash ()</h3>
|
1585
1638
|
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> pango_ot_ruleset_description_hash (<em class="parameter"><code>const <a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRulesetDescription" title="struct PangoOTRulesetDescription"><span class="type">PangoOTRulesetDescription</span></a> *desc</code></em>);</pre>
|
1639
|
+
<div class="warning">
|
1640
|
+
<h3 class="title">Warning</h3>
|
1641
|
+
<p><code class="literal">pango_ot_ruleset_description_hash</code> is deprecated and should not be used in newly-written code.</p>
|
1642
|
+
</div>
|
1586
1643
|
<p>
|
1587
1644
|
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
|
1588
|
-
to be used, for example, as an argument to <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html#g-hash-table-new"><code class="function">g_hash_table_new()</code></a
|
1589
|
-
</p>
|
1645
|
+
to be used, for example, as an argument to <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html#g-hash-table-new"><code class="function">g_hash_table_new()</code></a>.</p>
|
1590
1646
|
<div class="variablelist"><table border="0" class="variablelist">
|
1591
1647
|
<colgroup>
|
1592
1648
|
<col align="left" valign="top">
|
@@ -1609,9 +1665,12 @@ to be used, for example, as an argument to <a href="/home/kou/work/ruby/ruby-gno
|
|
1609
1665
|
<div class="refsect2">
|
1610
1666
|
<a name="pango-ot-tag-from-language"></a><h3>pango_ot_tag_from_language ()</h3>
|
1611
1667
|
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> pango_ot_tag_from_language (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
1668
|
+
<div class="warning">
|
1669
|
+
<h3 class="title">Warning</h3>
|
1670
|
+
<p><code class="literal">pango_ot_tag_from_language</code> is deprecated and should not be used in newly-written code.</p>
|
1671
|
+
</div>
|
1612
1672
|
<p>
|
1613
|
-
Finds the OpenType language-system tag best describing <em class="parameter"><code>language</code></em
|
1614
|
-
</p>
|
1673
|
+
Finds the OpenType language-system tag best describing <em class="parameter"><code>language</code></em>.</p>
|
1615
1674
|
<div class="variablelist"><table border="0" class="variablelist">
|
1616
1675
|
<colgroup>
|
1617
1676
|
<col align="left" valign="top">
|
@@ -1638,20 +1697,21 @@ is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-d
|
|
1638
1697
|
<div class="refsect2">
|
1639
1698
|
<a name="pango-ot-tag-from-script"></a><h3>pango_ot_tag_from_script ()</h3>
|
1640
1699
|
<pre class="programlisting"><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="returnvalue">PangoOTTag</span></a> pango_ot_tag_from_script (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> script</code></em>);</pre>
|
1700
|
+
<div class="warning">
|
1701
|
+
<h3 class="title">Warning</h3>
|
1702
|
+
<p><code class="literal">pango_ot_tag_from_script</code> is deprecated and should not be used in newly-written code.</p>
|
1703
|
+
</div>
|
1641
1704
|
<p>
|
1642
|
-
Finds the OpenType script tag corresponding to <em class="parameter"><code>script</code></em
|
1643
|
-
</p>
|
1705
|
+
Finds the OpenType script tag corresponding to <em class="parameter"><code>script</code></em>.</p>
|
1644
1706
|
<p>
|
1645
1707
|
The <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-COMMON:CAPS"><code class="literal">PANGO_SCRIPT_COMMON</code></a>, <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-INHERITED:CAPS"><code class="literal">PANGO_SCRIPT_INHERITED</code></a>, and
|
1646
1708
|
<a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-UNKNOWN:CAPS"><code class="literal">PANGO_SCRIPT_UNKNOWN</code></a> scripts are mapped to the OpenType
|
1647
1709
|
'DFLT' script tag that is also defined as
|
1648
|
-
<a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-DEFAULT-SCRIPT:CAPS" title="PANGO_OT_TAG_DEFAULT_SCRIPT"><code class="literal">PANGO_OT_TAG_DEFAULT_SCRIPT</code></a
|
1649
|
-
</p>
|
1710
|
+
<a class="link" href="pango-OpenType-Font-Handling.html#PANGO-OT-TAG-DEFAULT-SCRIPT:CAPS" title="PANGO_OT_TAG_DEFAULT_SCRIPT"><code class="literal">PANGO_OT_TAG_DEFAULT_SCRIPT</code></a>.</p>
|
1650
1711
|
<p>
|
1651
1712
|
Note that multiple <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> values may map to the same
|
1652
1713
|
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>
|
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'
|
1654
|
-
</p>
|
1714
|
+
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'.</p>
|
1655
1715
|
<div class="variablelist"><table border="0" class="variablelist">
|
1656
1716
|
<colgroup>
|
1657
1717
|
<col align="left" valign="top">
|
@@ -1677,9 +1737,12 @@ and <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-KATAKANA
|
|
1677
1737
|
<div class="refsect2">
|
1678
1738
|
<a name="pango-ot-tag-to-language"></a><h3>pango_ot_tag_to_language ()</h3>
|
1679
1739
|
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * pango_ot_tag_to_language (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> language_tag</code></em>);</pre>
|
1740
|
+
<div class="warning">
|
1741
|
+
<h3 class="title">Warning</h3>
|
1742
|
+
<p><code class="literal">pango_ot_tag_to_language</code> is deprecated and should not be used in newly-written code.</p>
|
1743
|
+
</div>
|
1680
1744
|
<p>
|
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
|
1682
|
-
</p>
|
1745
|
+
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>.</p>
|
1683
1746
|
<div class="variablelist"><table border="0" class="variablelist">
|
1684
1747
|
<colgroup>
|
1685
1748
|
<col align="left" valign="top">
|
@@ -1704,12 +1767,14 @@ Finds a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><s
|
|
1704
1767
|
<div class="refsect2">
|
1705
1768
|
<a name="pango-ot-tag-to-script"></a><h3>pango_ot_tag_to_script ()</h3>
|
1706
1769
|
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="returnvalue">PangoScript</span></a> pango_ot_tag_to_script (<em class="parameter"><code><a class="link" href="pango-OpenType-Font-Handling.html#PangoOTTag" title="PangoOTTag"><span class="type">PangoOTTag</span></a> script_tag</code></em>);</pre>
|
1770
|
+
<div class="warning">
|
1771
|
+
<h3 class="title">Warning</h3>
|
1772
|
+
<p><code class="literal">pango_ot_tag_to_script</code> is deprecated and should not be used in newly-written code.</p>
|
1773
|
+
</div>
|
1707
1774
|
<p>
|
1708
|
-
Finds the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> corresponding to <em class="parameter"><code>script_tag</code></em
|
1709
|
-
</p>
|
1775
|
+
Finds the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> corresponding to <em class="parameter"><code>script_tag</code></em>.</p>
|
1710
1776
|
<p>
|
1711
|
-
The 'DFLT' script tag is mapped to <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-COMMON:CAPS"><code class="literal">PANGO_SCRIPT_COMMON</code></a
|
1712
|
-
</p>
|
1777
|
+
The 'DFLT' script tag is mapped to <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-COMMON:CAPS"><code class="literal">PANGO_SCRIPT_COMMON</code></a>.</p>
|
1713
1778
|
<p>
|
1714
1779
|
Note that an OpenType script tag may correspond to multiple
|
1715
1780
|
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> values. In such cases, the <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> value
|
@@ -1717,8 +1782,7 @@ with the smallest value is returned.
|
|
1717
1782
|
In particular, <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-HIRAGANA:CAPS"><code class="literal">PANGO_SCRIPT_HIRAGANA</code></a>
|
1718
1783
|
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'.
|
1719
1784
|
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
|
1720
|
-
'kana'
|
1721
|
-
</p>
|
1785
|
+
'kana'.</p>
|
1722
1786
|
<div class="variablelist"><table border="0" class="variablelist">
|
1723
1787
|
<colgroup>
|
1724
1788
|
<col align="left" valign="top">
|
@@ -1743,6 +1807,6 @@ This function will return <a class="link" href="pango-Scripts-and-Languages.html
|
|
1743
1807
|
</div>
|
1744
1808
|
<div class="footer">
|
1745
1809
|
<hr>
|
1746
|
-
Generated by GTK-Doc V1.19</div>
|
1810
|
+
Generated by GTK-Doc V1.19.1</div>
|
1747
1811
|
</body>
|
1748
1812
|
</html>
|