pango 1.0.3-x86-mingw32 → 1.1.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/pango/extconf.rb +3 -0
- data/ext/pango/rbpango.c +312 -12
- data/ext/pango/rbpango.h +33 -22
- data/ext/pango/rbpangoanalysis.c +98 -58
- data/ext/pango/rbpangoattribute.c +94 -85
- data/ext/pango/rbpangoattriterator.c +39 -28
- data/ext/pango/rbpangoattrlist.c +42 -32
- data/ext/pango/rbpangocairo.c +38 -172
- data/ext/pango/rbpangocairocontext.c +151 -0
- data/ext/pango/rbpangocolor.c +49 -38
- data/ext/pango/rbpangocontext.c +109 -102
- data/ext/pango/rbpangoconversions.h +111 -0
- data/ext/pango/rbpangocoverage.c +45 -37
- data/ext/pango/rbpangoengine.c +22 -12
- data/ext/pango/rbpangofont.c +52 -43
- data/ext/pango/rbpangofontdescription.c +102 -91
- data/ext/pango/rbpangofontface.c +32 -21
- data/ext/pango/rbpangofontfamily.c +31 -20
- data/ext/pango/rbpangofontmap.c +44 -36
- data/ext/pango/rbpangofontmetrics.c +41 -30
- data/ext/pango/rbpangofontset.c +32 -21
- data/ext/pango/rbpangofontsetsimple.c +34 -24
- data/ext/pango/rbpangoglyphinfo.c +48 -35
- data/ext/pango/rbpangoglyphitem.c +43 -33
- data/ext/pango/rbpangoglyphstring.c +59 -59
- data/ext/pango/rbpangogravity.c +34 -23
- data/ext/pango/rbpangoitem.c +43 -34
- data/ext/pango/rbpangolanguage.c +44 -34
- data/ext/pango/rbpangolayout.c +167 -160
- data/ext/pango/rbpangolayoutiter.c +70 -59
- data/ext/pango/rbpangolayoutline.c +106 -71
- data/ext/pango/rbpangologattr.c +42 -31
- data/ext/pango/rbpangomatrix.c +47 -35
- data/ext/pango/rbpangoprivate.h +53 -0
- data/ext/pango/rbpangorectangle.c +58 -49
- data/ext/pango/rbpangorenderer.c +81 -70
- data/ext/pango/rbpangoscript.c +37 -27
- data/ext/pango/rbpangoscriptiter.c +32 -22
- data/ext/pango/rbpangotabarray.c +48 -37
- data/lib/1.8/pango.so +0 -0
- data/lib/1.9/pango.so +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +1 -1
- data/vendor/local/include/pango-1.0/pango/pango-attributes.h +1 -1
- data/vendor/local/include/pango-1.0/pango/pango-context.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-font.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-language.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +6 -1
- data/vendor/local/include/pango-1.0/pango/pango-renderer.h +1 -1
- data/vendor/local/include/pango-1.0/pango/pango-script.h +6 -6
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +6 -6
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/pango-1.0.def +2 -0
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.def +1 -1
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- 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/manifest/{pango-dev_1.28.3-1_win32.mft → pango-dev_1.29.4-1_win32.mft} +5 -5
- data/vendor/local/manifest/{pango_1.28.3-1_win32.mft → pango_1.29.4-1_win32.mft} +2 -2
- data/vendor/local/share/doc/{pango-1.28.3 → pango-1.29.4}/COPYING +0 -0
- data/vendor/local/share/doc/{pango-dev-1.28.3 → pango-dev-1.29.4}/COPYING +0 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +9 -10
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +25 -27
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +19 -28
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +42 -60
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +97 -147
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +3 -5
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +8 -11
- data/vendor/local/share/gtk-doc/html/pango/index-1.30.html +38 -0
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +38 -40
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index.html +6 -5
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +71 -34
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +4 -66
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +52 -50
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +217 -278
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +40 -41
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +37 -49
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +481 -628
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +76 -118
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +302 -452
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +492 -517
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +134 -164
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +34 -45
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +244 -359
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +117 -122
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +112 -120
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +394 -523
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +269 -364
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +26 -40
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +72 -75
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +97 -145
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +114 -188
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +114 -176
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +42 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +106 -150
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +35 -35
- data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -3
- data/vendor/local/share/man/man1/pango-querymodules.1 +12 -3
- data/vendor/local/share/man/man1/pango-view.1 +2 -2
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.log +806 -0
- data/vendor/local/src/{tml/packaging/pango_1.28.3-1_win32.sh → dieterv/packaging/pango_1.29.4-1_win32.sh} +7 -7
- metadata +19 -19
- data/ChangeLog +0 -721
- data/ext/pango/rbpangoinits.c +0 -72
- data/ext/pango/rbpangomain.c +0 -202
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +0 -799
- data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.log +0 -950
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Coverage Maps</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.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-OpenType-Font-Handling.html" title="OpenType Font Handling">
|
10
10
|
<link rel="next" href="pango-Engines.html" title="Engines">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (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">
|
@@ -24,6 +24,8 @@
|
|
24
24
|
<a href="#pango-Coverage-Maps.synopsis" class="shortcut">Top</a>
|
25
25
|
|
|
26
26
|
<a href="#pango-Coverage-Maps.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#pango-Coverage-Maps.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
27
29
|
</td></tr>
|
28
30
|
</table>
|
29
31
|
<div class="refentry">
|
@@ -37,7 +39,7 @@
|
|
37
39
|
</tr></table></div>
|
38
40
|
<div class="refsynopsisdiv">
|
39
41
|
<a name="pango-Coverage-Maps.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis">enum <a class="link" href="pango-Coverage-Maps.html#PangoCoverageLevel" title="enum PangoCoverageLevel">PangoCoverageLevel</a>;
|
42
|
+
<a name="PangoCoverageLevel"></a><pre class="synopsis">enum <a class="link" href="pango-Coverage-Maps.html#PangoCoverageLevel-enum" title="enum PangoCoverageLevel">PangoCoverageLevel</a>;
|
41
43
|
#define <a class="link" href="pango-Coverage-Maps.html#PANGO-TYPE-COVERAGE-LEVEL:CAPS" title="PANGO_TYPE_COVERAGE_LEVEL">PANGO_TYPE_COVERAGE_LEVEL</a>
|
42
44
|
<a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage">PangoCoverage</a>;
|
43
45
|
|
@@ -45,21 +47,28 @@
|
|
45
47
|
<a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> * <a class="link" href="pango-Coverage-Maps.html#pango-coverage-ref" title="pango_coverage_ref ()">pango_coverage_ref</a> (<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> *coverage</code></em>);
|
46
48
|
<span class="returnvalue">void</span> <a class="link" href="pango-Coverage-Maps.html#pango-coverage-unref" title="pango_coverage_unref ()">pango_coverage_unref</a> (<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> *coverage</code></em>);
|
47
49
|
<a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> * <a class="link" href="pango-Coverage-Maps.html#pango-coverage-copy" title="pango_coverage_copy ()">pango_coverage_copy</a> (<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> *coverage</code></em>);
|
48
|
-
<a class="link" href="pango-Coverage-Maps.html#PangoCoverageLevel"
|
50
|
+
<a class="link" href="pango-Coverage-Maps.html#PangoCoverageLevel"><span class="returnvalue">PangoCoverageLevel</span></a> <a class="link" href="pango-Coverage-Maps.html#pango-coverage-get" title="pango_coverage_get ()">pango_coverage_get</a> (<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> *coverage</code></em>,
|
49
51
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>);
|
50
52
|
<span class="returnvalue">void</span> <a class="link" href="pango-Coverage-Maps.html#pango-coverage-max" title="pango_coverage_max ()">pango_coverage_max</a> (<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> *coverage</code></em>,
|
51
53
|
<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> *other</code></em>);
|
52
54
|
<span class="returnvalue">void</span> <a class="link" href="pango-Coverage-Maps.html#pango-coverage-set" title="pango_coverage_set ()">pango_coverage_set</a> (<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> *coverage</code></em>,
|
53
55
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
54
|
-
<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverageLevel"
|
56
|
+
<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverageLevel"><span class="type">PangoCoverageLevel</span></a> level</code></em>);
|
55
57
|
<span class="returnvalue">void</span> <a class="link" href="pango-Coverage-Maps.html#pango-coverage-to-bytes" title="pango_coverage_to_bytes ()">pango_coverage_to_bytes</a> (<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> *coverage</code></em>,
|
56
|
-
<em class="parameter"><code><span class="type">guchar</span> **bytes</code></em>,
|
58
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> **bytes</code></em>,
|
57
59
|
<em class="parameter"><code><span class="type">int</span> *n_bytes</code></em>);
|
58
|
-
<a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> * <a class="link" href="pango-Coverage-Maps.html#pango-coverage-from-bytes" title="pango_coverage_from_bytes ()">pango_coverage_from_bytes</a> (<em class="parameter"><code><span class="type">guchar</span> *bytes</code></em>,
|
60
|
+
<a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> * <a class="link" href="pango-Coverage-Maps.html#pango-coverage-from-bytes" title="pango_coverage_from_bytes ()">pango_coverage_from_bytes</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *bytes</code></em>,
|
59
61
|
<em class="parameter"><code><span class="type">int</span> n_bytes</code></em>);
|
60
62
|
</pre>
|
61
63
|
</div>
|
62
64
|
<div class="refsect1">
|
65
|
+
<a name="pango-Coverage-Maps.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
66
|
+
<pre class="synopsis">
|
67
|
+
GEnum
|
68
|
+
+----PangoCoverageLevel
|
69
|
+
</pre>
|
70
|
+
</div>
|
71
|
+
<div class="refsect1">
|
63
72
|
<a name="pango-Coverage-Maps.description"></a><h2>Description</h2>
|
64
73
|
<p>
|
65
74
|
It is often necessary in Pango to determine if a particular font can
|
@@ -71,7 +80,7 @@ to represent that information.
|
|
71
80
|
<div class="refsect1">
|
72
81
|
<a name="pango-Coverage-Maps.details"></a><h2>Details</h2>
|
73
82
|
<div class="refsect2">
|
74
|
-
<a name="PangoCoverageLevel"></a><h3>enum PangoCoverageLevel</h3>
|
83
|
+
<a name="PangoCoverageLevel-enum"></a><h3>enum PangoCoverageLevel</h3>
|
75
84
|
<pre class="programlisting">typedef enum {
|
76
85
|
PANGO_COVERAGE_NONE,
|
77
86
|
PANGO_COVERAGE_FALLBACK,
|
@@ -121,7 +130,7 @@ character point for a particular script.
|
|
121
130
|
<pre class="programlisting">#define PANGO_TYPE_COVERAGE_LEVEL (pango_coverage_level_get_type())
|
122
131
|
</pre>
|
123
132
|
<p>
|
124
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Coverage-Maps.html#PangoCoverageLevel"
|
133
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Coverage-Maps.html#PangoCoverageLevel"><span class="type">PangoCoverageLevel</span></a>.
|
125
134
|
</p>
|
126
135
|
</div>
|
127
136
|
<hr>
|
@@ -130,7 +139,7 @@ The <span class="type">GObject</span> type for <a class="link" href="pango-Cover
|
|
130
139
|
<pre class="programlisting">typedef struct _PangoCoverage PangoCoverage;</pre>
|
131
140
|
<p>
|
132
141
|
The <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> structure represents a map from Unicode characters
|
133
|
-
to <a class="link" href="pango-Coverage-Maps.html#PangoCoverageLevel"
|
142
|
+
to <a class="link" href="pango-Coverage-Maps.html#PangoCoverageLevel"><span class="type">PangoCoverageLevel</span></a>. It is an opaque structure with no public fields.
|
134
143
|
</p>
|
135
144
|
</div>
|
136
145
|
<hr>
|
@@ -144,11 +153,10 @@ Create a new <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title
|
|
144
153
|
<col align="left" valign="top">
|
145
154
|
<tbody><tr>
|
146
155
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
147
|
-
<td>
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
</td>
|
156
|
+
<td>the newly allocated <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a>,
|
157
|
+
initialized to <a class="link" href="pango-Coverage-Maps.html#PANGO-COVERAGE-NONE:CAPS"><code class="literal">PANGO_COVERAGE_NONE</code></a>
|
158
|
+
with a reference count of one, which
|
159
|
+
should be freed with <a class="link" href="pango-Coverage-Maps.html#pango-coverage-unref" title="pango_coverage_unref ()"><code class="function">pango_coverage_unref()</code></a>.</td>
|
152
160
|
</tr></tbody>
|
153
161
|
</table></div>
|
154
162
|
</div>
|
@@ -169,8 +177,7 @@ Increase the reference count on the <a class="link" href="pango-Coverage-Maps.ht
|
|
169
177
|
</tr>
|
170
178
|
<tr>
|
171
179
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
172
|
-
<td
|
173
|
-
</td>
|
180
|
+
<td><em class="parameter"><code>coverage</code></em></td>
|
174
181
|
</tr>
|
175
182
|
</tbody>
|
176
183
|
</table></div>
|
@@ -210,10 +217,9 @@ since we refcount the structure. File a bug if you use it.)
|
|
210
217
|
</tr>
|
211
218
|
<tr>
|
212
219
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
213
|
-
<td>
|
214
|
-
|
215
|
-
|
216
|
-
</td>
|
220
|
+
<td>the newly allocated <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a>,
|
221
|
+
with a reference count of one, which
|
222
|
+
should be freed with <a class="link" href="pango-Coverage-Maps.html#pango-coverage-unref" title="pango_coverage_unref ()"><code class="function">pango_coverage_unref()</code></a>.</td>
|
217
223
|
</tr>
|
218
224
|
</tbody>
|
219
225
|
</table></div>
|
@@ -221,7 +227,7 @@ since we refcount the structure. File a bug if you use it.)
|
|
221
227
|
<hr>
|
222
228
|
<div class="refsect2">
|
223
229
|
<a name="pango-coverage-get"></a><h3>pango_coverage_get ()</h3>
|
224
|
-
<pre class="programlisting"><a class="link" href="pango-Coverage-Maps.html#PangoCoverageLevel"
|
230
|
+
<pre class="programlisting"><a class="link" href="pango-Coverage-Maps.html#PangoCoverageLevel"><span class="returnvalue">PangoCoverageLevel</span></a> pango_coverage_get (<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> *coverage</code></em>,
|
225
231
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>);</pre>
|
226
232
|
<p>
|
227
233
|
Determine whether a particular index is covered by <em class="parameter"><code>coverage</code></em>
|
@@ -236,13 +242,11 @@ Determine whether a particular index is covered by <em class="parameter"><code>c
|
|
236
242
|
</tr>
|
237
243
|
<tr>
|
238
244
|
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
239
|
-
<td>the index to check
|
240
|
-
</td>
|
245
|
+
<td>the index to check</td>
|
241
246
|
</tr>
|
242
247
|
<tr>
|
243
248
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
244
|
-
<td>
|
245
|
-
</td>
|
249
|
+
<td>the coverage level of <em class="parameter"><code>coverage</code></em> for character <em class="parameter"><code>index_</code></em>.</td>
|
246
250
|
</tr>
|
247
251
|
</tbody>
|
248
252
|
</table></div>
|
@@ -278,7 +282,7 @@ the corresponding index in <em class="parameter"><code>other</code></em>.
|
|
278
282
|
<a name="pango-coverage-set"></a><h3>pango_coverage_set ()</h3>
|
279
283
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_coverage_set (<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> *coverage</code></em>,
|
280
284
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
281
|
-
<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverageLevel"
|
285
|
+
<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverageLevel"><span class="type">PangoCoverageLevel</span></a> level</code></em>);</pre>
|
282
286
|
<p>
|
283
287
|
Modify a particular index within <em class="parameter"><code>coverage</code></em>
|
284
288
|
</p>
|
@@ -292,8 +296,7 @@ Modify a particular index within <em class="parameter"><code>coverage</code></em
|
|
292
296
|
</tr>
|
293
297
|
<tr>
|
294
298
|
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
295
|
-
<td>the index to modify
|
296
|
-
</td>
|
299
|
+
<td>the index to modify</td>
|
297
300
|
</tr>
|
298
301
|
<tr>
|
299
302
|
<td><p><span class="term"><em class="parameter"><code>level</code></em> :</span></p></td>
|
@@ -307,7 +310,7 @@ Modify a particular index within <em class="parameter"><code>coverage</code></em
|
|
307
310
|
<div class="refsect2">
|
308
311
|
<a name="pango-coverage-to-bytes"></a><h3>pango_coverage_to_bytes ()</h3>
|
309
312
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_coverage_to_bytes (<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> *coverage</code></em>,
|
310
|
-
<em class="parameter"><code><span class="type">guchar</span> **bytes</code></em>,
|
313
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> **bytes</code></em>,
|
311
314
|
<em class="parameter"><code><span class="type">int</span> *n_bytes</code></em>);</pre>
|
312
315
|
<p>
|
313
316
|
Convert a <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> structure into a flat binary format
|
@@ -322,13 +325,11 @@ Convert a <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="P
|
|
322
325
|
</tr>
|
323
326
|
<tr>
|
324
327
|
<td><p><span class="term"><em class="parameter"><code>bytes</code></em> :</span></p></td>
|
325
|
-
<td>location to store result (must be freed with <code class="function">g_free()</code>)
|
326
|
-
</td>
|
328
|
+
<td>location to store result (must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>)</td>
|
327
329
|
</tr>
|
328
330
|
<tr>
|
329
331
|
<td><p><span class="term"><em class="parameter"><code>n_bytes</code></em> :</span></p></td>
|
330
|
-
<td>location to store size of result
|
331
|
-
</td>
|
332
|
+
<td>location to store size of result</td>
|
332
333
|
</tr>
|
333
334
|
</tbody>
|
334
335
|
</table></div>
|
@@ -336,7 +337,7 @@ Convert a <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="P
|
|
336
337
|
<hr>
|
337
338
|
<div class="refsect2">
|
338
339
|
<a name="pango-coverage-from-bytes"></a><h3>pango_coverage_from_bytes ()</h3>
|
339
|
-
<pre class="programlisting"><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> * pango_coverage_from_bytes (<em class="parameter"><code><span class="type">guchar</span> *bytes</code></em>,
|
340
|
+
<pre class="programlisting"><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> * pango_coverage_from_bytes (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *bytes</code></em>,
|
340
341
|
<em class="parameter"><code><span class="type">int</span> n_bytes</code></em>);</pre>
|
341
342
|
<p>
|
342
343
|
Convert data generated from <code class="function">pango_converage_to_bytes()</code> back
|
@@ -352,14 +353,12 @@ to a <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoC
|
|
352
353
|
</tr>
|
353
354
|
<tr>
|
354
355
|
<td><p><span class="term"><em class="parameter"><code>n_bytes</code></em> :</span></p></td>
|
355
|
-
<td>the size of <em class="parameter"><code>bytes</code></em> in bytes
|
356
|
-
</td>
|
356
|
+
<td>the size of <em class="parameter"><code>bytes</code></em> in bytes</td>
|
357
357
|
</tr>
|
358
358
|
<tr>
|
359
359
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
360
|
-
<td>
|
361
|
-
|
362
|
-
</td>
|
360
|
+
<td>a newly allocated <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
361
|
+
the data was invalid.</td>
|
363
362
|
</tr>
|
364
363
|
</tbody>
|
365
364
|
</table></div>
|
@@ -368,6 +367,6 @@ to a <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoC
|
|
368
367
|
</div>
|
369
368
|
<div class="footer">
|
370
369
|
<hr>
|
371
|
-
Generated by GTK-Doc V1.
|
370
|
+
Generated by GTK-Doc V1.18</div>
|
372
371
|
</body>
|
373
372
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Engines</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.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-Coverage-Maps.html" title="Coverage Maps">
|
10
10
|
<link rel="next" href="PangoEngineLang.html" title="PangoEngineLang">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (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">
|
@@ -46,7 +46,7 @@ struct <a class="link" href="pango-Engines.html#PangoEngineClass" t
|
|
46
46
|
#define <a class="link" href="pango-Engines.html#PANGO-RENDER-TYPE-NONE:CAPS" title="PANGO_RENDER_TYPE_NONE">PANGO_RENDER_TYPE_NONE</a>
|
47
47
|
<span class="returnvalue">void</span> <a class="link" href="pango-Engines.html#script-engine-list" title="script_engine_list ()">script_engine_list</a> (<em class="parameter"><code><a class="link" href="pango-Engines.html#PangoEngineInfo" title="struct PangoEngineInfo"><span class="type">PangoEngineInfo</span></a> **engines</code></em>,
|
48
48
|
<em class="parameter"><code><span class="type">int</span> *n_engines</code></em>);
|
49
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Engines.html#script-engine-init" title="script_engine_init ()">script_engine_init</a> (<em class="parameter"><code><span class="type">GTypeModule</span> *module</code></em>);
|
49
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Engines.html#script-engine-init" title="script_engine_init ()">script_engine_init</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/GTypeModule.html"><span class="type">GTypeModule</span></a> *module</code></em>);
|
50
50
|
<span class="returnvalue">void</span> <a class="link" href="pango-Engines.html#script-engine-exit" title="script_engine_exit ()">script_engine_exit</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
51
51
|
<a class="link" href="pango-Engines.html#PangoEngine"><span class="returnvalue">PangoEngine</span></a> * <a class="link" href="pango-Engines.html#script-engine-create" title="script_engine_create ()">script_engine_create</a> (<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);
|
52
52
|
</pre>
|
@@ -54,7 +54,7 @@ struct <a class="link" href="pango-Engines.html#PangoEngineClass" t
|
|
54
54
|
<div class="refsect1">
|
55
55
|
<a name="pango-Engines.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
56
56
|
<pre class="synopsis">
|
57
|
-
GObject
|
57
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
58
58
|
+----PangoEngine
|
59
59
|
+----<a class="link" href="PangoEngineLang.html" title="PangoEngineLang">PangoEngineLang</a>
|
60
60
|
+----<a class="link" href="PangoEngineShape.html" title="PangoEngineShape">PangoEngineShape</a>
|
@@ -100,29 +100,24 @@ engine. It contains the following fields:
|
|
100
100
|
<col align="left" valign="top">
|
101
101
|
<tbody>
|
102
102
|
<tr>
|
103
|
-
<td><p><span class="term">const <span class="type">gchar</span> *<em class="structfield"><code><a name="PangoEngineInfo.id"></a>id</code></em>;</span></p></td>
|
104
|
-
<td>a unique string ID for the engine
|
105
|
-
</td>
|
103
|
+
<td><p><span class="term">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="PangoEngineInfo.id"></a>id</code></em>;</span></p></td>
|
104
|
+
<td>a unique string ID for the engine.</td>
|
106
105
|
</tr>
|
107
106
|
<tr>
|
108
|
-
<td><p><span class="term">const <span class="type">gchar</span> *<em class="structfield"><code><a name="PangoEngineInfo.engine-type"></a>engine_type</code></em>;</span></p></td>
|
109
|
-
<td>a string identifying the engine type
|
110
|
-
</td>
|
107
|
+
<td><p><span class="term">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="PangoEngineInfo.engine-type"></a>engine_type</code></em>;</span></p></td>
|
108
|
+
<td>a string identifying the engine type.</td>
|
111
109
|
</tr>
|
112
110
|
<tr>
|
113
|
-
<td><p><span class="term">const <span class="type">gchar</span> *<em class="structfield"><code><a name="PangoEngineInfo.render-type"></a>render_type</code></em>;</span></p></td>
|
114
|
-
<td>a string identifying the render type
|
115
|
-
</td>
|
111
|
+
<td><p><span class="term">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="PangoEngineInfo.render-type"></a>render_type</code></em>;</span></p></td>
|
112
|
+
<td>a string identifying the render type.</td>
|
116
113
|
</tr>
|
117
114
|
<tr>
|
118
115
|
<td><p><span class="term"><a class="link" href="pango-Engines.html#PangoEngineScriptInfo" title="struct PangoEngineScriptInfo"><span class="type">PangoEngineScriptInfo</span></a> *<em class="structfield"><code><a name="PangoEngineInfo.scripts"></a>scripts</code></em>;</span></p></td>
|
119
|
-
<td>array of scripts this engine supports
|
120
|
-
</td>
|
116
|
+
<td>array of scripts this engine supports.</td>
|
121
117
|
</tr>
|
122
118
|
<tr>
|
123
|
-
<td><p><span class="term"><span class="type">gint</span> <em class="structfield"><code><a name="PangoEngineInfo.n-scripts"></a>n_scripts</code></em>;</span></p></td>
|
124
|
-
<td>number of items in <em class="parameter"><code>scripts</code></em
|
125
|
-
</td>
|
119
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="PangoEngineInfo.n-scripts"></a>n_scripts</code></em>;</span></p></td>
|
120
|
+
<td>number of items in <em class="parameter"><code>scripts</code></em>.</td>
|
126
121
|
</tr>
|
127
122
|
</tbody>
|
128
123
|
</table></div>
|
@@ -144,23 +139,21 @@ script.
|
|
144
139
|
<col align="left" valign="top">
|
145
140
|
<tbody>
|
146
141
|
<tr>
|
147
|
-
<td><p><span class="term"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
148
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"
|
149
|
-
|
150
|
-
</td>
|
142
|
+
<td><p><span class="term"><a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a> <em class="structfield"><code><a name="PangoEngineScriptInfo.script"></a>script</code></em>;</span></p></td>
|
143
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoScript"><span class="type">PangoScript</span></a>. The value <a class="link" href="pango-Scripts-and-Languages.html#PANGO-SCRIPT-COMMON:CAPS"><code class="literal">PANGO_SCRIPT_COMMON</code></a> has
|
144
|
+
the special meaning here of "all scripts"</td>
|
151
145
|
</tr>
|
152
146
|
<tr>
|
153
|
-
<td><p><span class="term">const <span class="type">gchar</span> *<em class="structfield"><code><a name="PangoEngineScriptInfo.langs"></a>langs</code></em>;</span></p></td>
|
147
|
+
<td><p><span class="term">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="PangoEngineScriptInfo.langs"></a>langs</code></em>;</span></p></td>
|
154
148
|
<td>a semicolon separated list of languages that this
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
</td>
|
149
|
+
engine handles for this script. This may be empty,
|
150
|
+
in which case the engine is saying that it is a
|
151
|
+
fallback choice for all languages for this range,
|
152
|
+
but should not be used if another engine
|
153
|
+
indicates that it is specific for the language for
|
154
|
+
a given code point. An entry in this list of "*"
|
155
|
+
indicates that this engine is specific to all
|
156
|
+
languages for this range.</td>
|
164
157
|
</tr>
|
165
158
|
</tbody>
|
166
159
|
</table></div>
|
@@ -215,13 +208,11 @@ function.
|
|
215
208
|
<tbody>
|
216
209
|
<tr>
|
217
210
|
<td><p><span class="term"><em class="parameter"><code>engines</code></em> :</span></p></td>
|
218
|
-
<td>location to store a pointer to an array of engines
|
219
|
-
</td>
|
211
|
+
<td>location to store a pointer to an array of engines.</td>
|
220
212
|
</tr>
|
221
213
|
<tr>
|
222
214
|
<td><p><span class="term"><em class="parameter"><code>n_engines</code></em> :</span></p></td>
|
223
|
-
<td>location to store the number of elements in <em class="parameter"><code>engines</code></em
|
224
|
-
</td>
|
215
|
+
<td>location to store the number of elements in <em class="parameter"><code>engines</code></em>.</td>
|
225
216
|
</tr>
|
226
217
|
</tbody>
|
227
218
|
</table></div>
|
@@ -229,7 +220,7 @@ function.
|
|
229
220
|
<hr>
|
230
221
|
<div class="refsect2">
|
231
222
|
<a name="script-engine-init"></a><h3>script_engine_init ()</h3>
|
232
|
-
<pre class="programlisting"><span class="returnvalue">void</span> script_engine_init (<em class="parameter"><code><span class="type">GTypeModule</span> *module</code></em>);</pre>
|
223
|
+
<pre class="programlisting"><span class="returnvalue">void</span> script_engine_init (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/GTypeModule.html"><span class="type">GTypeModule</span></a> *module</code></em>);</pre>
|
233
224
|
<p>
|
234
225
|
Function to be provided by a module to register any
|
235
226
|
GObject types in the module.
|
@@ -238,9 +229,8 @@ GObject types in the module.
|
|
238
229
|
<col align="left" valign="top">
|
239
230
|
<tbody><tr>
|
240
231
|
<td><p><span class="term"><em class="parameter"><code>module</code></em> :</span></p></td>
|
241
|
-
<td>a <span class="type">GTypeModule</span> structure used to associate any
|
242
|
-
|
243
|
-
</td>
|
232
|
+
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/GTypeModule.html"><span class="type">GTypeModule</span></a> structure used to associate any
|
233
|
+
GObject types created in this module with the module.</td>
|
244
234
|
</tr></tbody>
|
245
235
|
</table></div>
|
246
236
|
</div>
|
@@ -266,17 +256,15 @@ of one of the engines implemented by the module.
|
|
266
256
|
<tbody>
|
267
257
|
<tr>
|
268
258
|
<td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
|
269
|
-
<td>the ID of an engine as reported by script_engine_list
|
270
|
-
</td>
|
259
|
+
<td>the ID of an engine as reported by script_engine_list.</td>
|
271
260
|
</tr>
|
272
261
|
<tr>
|
273
262
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
274
|
-
<td>
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
</td>
|
263
|
+
<td>a newly created <a class="link" href="pango-Engines.html#PangoEngine"><span class="type">PangoEngine</span></a> of the specified
|
264
|
+
type, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurred. (In normal operation,
|
265
|
+
a module should not return <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. A <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> return is only
|
266
|
+
acceptable in the case where system misconfiguration or
|
267
|
+
bugs in the driver routine are encountered.)</td>
|
280
268
|
</tr>
|
281
269
|
</tbody>
|
282
270
|
</table></div>
|
@@ -285,6 +273,6 @@ of one of the engines implemented by the module.
|
|
285
273
|
</div>
|
286
274
|
<div class="footer">
|
287
275
|
<hr>
|
288
|
-
Generated by GTK-Doc V1.
|
276
|
+
Generated by GTK-Doc V1.18</div>
|
289
277
|
</body>
|
290
278
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Fonts</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
9
|
<link rel="prev" href="pango-Glyph-Storage.html" title="Glyph Storage">
|
10
10
|
<link rel="next" href="pango-Text-Attributes.html" title="Text Attributes">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -41,113 +41,112 @@
|
|
41
41
|
</tr></table></div>
|
42
42
|
<div class="refsynopsisdiv">
|
43
43
|
<a name="pango-Fonts.synopsis"></a><h2>Synopsis</h2>
|
44
|
-
<a name="PangoFont"></a><a name="PangoFontFamily"></a><a name="PangoFontFace"></a><a name="PangoFontMap"></a><a name="PangoFontset"></a><a name="PangoFontsetSimple"></a><pre class="synopsis"> <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription">PangoFontDescription</a>;
|
44
|
+
<a name="PangoFontDescription"></a><a name="PangoStyle"></a><a name="PangoWeight"></a><a name="PangoVariant"></a><a name="PangoStretch"></a><a name="PangoFontMask"></a><a name="PangoFontMetrics"></a><a name="PangoFont"></a><a name="PangoFontFamily"></a><a name="PangoFontFace"></a><a name="PangoFontMap"></a><a name="PangoFontset"></a><a name="PangoFontsetSimple"></a><pre class="synopsis"> <a class="link" href="pango-Fonts.html#PangoFontDescription-struct" title="PangoFontDescription">PangoFontDescription</a>;
|
45
45
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-DESCRIPTION:CAPS" title="PANGO_TYPE_FONT_DESCRIPTION">PANGO_TYPE_FONT_DESCRIPTION</a>
|
46
|
-
enum <a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle">PangoStyle</a>;
|
46
|
+
enum <a class="link" href="pango-Fonts.html#PangoStyle-enum" title="enum PangoStyle">PangoStyle</a>;
|
47
47
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-STYLE:CAPS" title="PANGO_TYPE_STYLE">PANGO_TYPE_STYLE</a>
|
48
|
-
enum <a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight">PangoWeight</a>;
|
48
|
+
enum <a class="link" href="pango-Fonts.html#PangoWeight-enum" title="enum PangoWeight">PangoWeight</a>;
|
49
49
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-WEIGHT:CAPS" title="PANGO_TYPE_WEIGHT">PANGO_TYPE_WEIGHT</a>
|
50
|
-
enum <a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant">PangoVariant</a>;
|
50
|
+
enum <a class="link" href="pango-Fonts.html#PangoVariant-enum" title="enum PangoVariant">PangoVariant</a>;
|
51
51
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-VARIANT:CAPS" title="PANGO_TYPE_VARIANT">PANGO_TYPE_VARIANT</a>
|
52
|
-
enum <a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch">PangoStretch</a>;
|
52
|
+
enum <a class="link" href="pango-Fonts.html#PangoStretch-enum" title="enum PangoStretch">PangoStretch</a>;
|
53
53
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-STRETCH:CAPS" title="PANGO_TYPE_STRETCH">PANGO_TYPE_STRETCH</a>
|
54
|
-
enum <a class="link" href="pango-Fonts.html#PangoFontMask" title="enum PangoFontMask">PangoFontMask</a>;
|
54
|
+
enum <a class="link" href="pango-Fonts.html#PangoFontMask-enum" title="enum PangoFontMask">PangoFontMask</a>;
|
55
55
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-MASK:CAPS" title="PANGO_TYPE_FONT_MASK">PANGO_TYPE_FONT_MASK</a>
|
56
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription"
|
57
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription"
|
58
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription"
|
59
|
-
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
60
|
-
<span class="returnvalue">guint</span> <a class="link" href="pango-Fonts.html#pango-font-description-hash" title="pango_font_description_hash ()">pango_font_description_hash</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
61
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Fonts.html#pango-font-description-equal" title="pango_font_description_equal ()">pango_font_description_equal</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
62
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
63
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()">pango_font_description_free</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
64
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-descriptions-free" title="pango_font_descriptions_free ()">pango_font_descriptions_free</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
56
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-description-new" title="pango_font_description_new ()">pango_font_description_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
57
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-description-copy" title="pango_font_description_copy ()">pango_font_description_copy</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
58
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-description-copy-static" title="pango_font_description_copy_static ()">pango_font_description_copy_static</a>
|
59
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
60
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-hash" title="pango_font_description_hash ()">pango_font_description_hash</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
61
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-equal" title="pango_font_description_equal ()">pango_font_description_equal</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc1</code></em>,
|
62
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc2</code></em>);
|
63
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()">pango_font_description_free</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
64
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-descriptions-free" title="pango_font_descriptions_free ()">pango_font_descriptions_free</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> **descs</code></em>,
|
65
65
|
<em class="parameter"><code><span class="type">int</span> n_descs</code></em>);
|
66
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-family" title="pango_font_description_set_family ()">pango_font_description_set_family</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
66
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-family" title="pango_font_description_set_family ()">pango_font_description_set_family</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
67
67
|
<em class="parameter"><code>const <span class="type">char</span> *family</code></em>);
|
68
68
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-family-static" title="pango_font_description_set_family_static ()">pango_font_description_set_family_static</a>
|
69
|
-
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
69
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
70
70
|
<em class="parameter"><code>const <span class="type">char</span> *family</code></em>);
|
71
|
-
const <span class="returnvalue">char</span> * <a class="link" href="pango-Fonts.html#pango-font-description-get-family" title="pango_font_description_get_family ()">pango_font_description_get_family</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
72
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-style" title="pango_font_description_set_style ()">pango_font_description_set_style</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
73
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle"
|
74
|
-
<a class="link" href="pango-Fonts.html#PangoStyle"
|
75
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-variant" title="pango_font_description_set_variant ()">pango_font_description_set_variant</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
76
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant"
|
77
|
-
<a class="link" href="pango-Fonts.html#PangoVariant"
|
78
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-weight" title="pango_font_description_set_weight ()">pango_font_description_set_weight</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
79
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight"
|
80
|
-
<a class="link" href="pango-Fonts.html#PangoWeight"
|
81
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-stretch" title="pango_font_description_set_stretch ()">pango_font_description_set_stretch</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
82
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch"
|
83
|
-
<a class="link" href="pango-Fonts.html#PangoStretch"
|
84
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()">pango_font_description_set_size</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
85
|
-
<em class="parameter"><code><span class="type">gint</span> size</code></em>);
|
86
|
-
<span class="returnvalue">gint</span> <a class="link" href="pango-Fonts.html#pango-font-description-get-size" title="pango_font_description_get_size ()">pango_font_description_get_size</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
71
|
+
const <span class="returnvalue">char</span> * <a class="link" href="pango-Fonts.html#pango-font-description-get-family" title="pango_font_description_get_family ()">pango_font_description_get_family</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
72
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-style" title="pango_font_description_set_style ()">pango_font_description_set_style</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
73
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a> style</code></em>);
|
74
|
+
<a class="link" href="pango-Fonts.html#PangoStyle"><span class="returnvalue">PangoStyle</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-style" title="pango_font_description_get_style ()">pango_font_description_get_style</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
75
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-variant" title="pango_font_description_set_variant ()">pango_font_description_set_variant</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
76
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a> variant</code></em>);
|
77
|
+
<a class="link" href="pango-Fonts.html#PangoVariant"><span class="returnvalue">PangoVariant</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-variant" title="pango_font_description_get_variant ()">pango_font_description_get_variant</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
78
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-weight" title="pango_font_description_set_weight ()">pango_font_description_set_weight</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
79
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight"><span class="type">PangoWeight</span></a> weight</code></em>);
|
80
|
+
<a class="link" href="pango-Fonts.html#PangoWeight"><span class="returnvalue">PangoWeight</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-weight" title="pango_font_description_get_weight ()">pango_font_description_get_weight</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
81
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-stretch" title="pango_font_description_set_stretch ()">pango_font_description_set_stretch</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
82
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a> stretch</code></em>);
|
83
|
+
<a class="link" href="pango-Fonts.html#PangoStretch"><span class="returnvalue">PangoStretch</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-stretch" title="pango_font_description_get_stretch ()">pango_font_description_get_stretch</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
84
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()">pango_font_description_set_size</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
85
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>);
|
86
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-size" title="pango_font_description_get_size ()">pango_font_description_get_size</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
87
87
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-absolute-size" title="pango_font_description_set_absolute_size ()">pango_font_description_set_absolute_size</a>
|
88
|
-
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
88
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
89
89
|
<em class="parameter"><code><span class="type">double</span> size</code></em>);
|
90
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Fonts.html#pango-font-description-get-size-is-absolute" title="pango_font_description_get_size_is_absolute ()">pango_font_description_get_size_is_absolute</a>
|
91
|
-
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
92
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-gravity" title="pango_font_description_set_gravity ()">pango_font_description_set_gravity</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
93
|
-
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity"
|
94
|
-
<a class="link" href="pango-Vertical-Text.html#PangoGravity"
|
95
|
-
<a class="link" href="pango-Fonts.html#PangoFontMask"
|
96
|
-
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
97
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-unset-fields" title="pango_font_description_unset_fields ()">pango_font_description_unset_fields</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
98
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMask"
|
99
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-merge" title="pango_font_description_merge ()">pango_font_description_merge</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
100
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
101
|
-
<em class="parameter"><code><span class="type">gboolean</span> replace_existing</code></em>);
|
102
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-merge-static" title="pango_font_description_merge_static ()">pango_font_description_merge_static</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
103
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
104
|
-
<em class="parameter"><code><span class="type">gboolean</span> replace_existing</code></em>);
|
105
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Fonts.html#pango-font-description-better-match" title="pango_font_description_better_match ()">pango_font_description_better_match</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
106
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
107
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
108
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription"
|
90
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-size-is-absolute" title="pango_font_description_get_size_is_absolute ()">pango_font_description_get_size_is_absolute</a>
|
91
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
92
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-gravity" title="pango_font_description_set_gravity ()">pango_font_description_set_gravity</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
93
|
+
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);
|
94
|
+
<a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="returnvalue">PangoGravity</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-gravity" title="pango_font_description_get_gravity ()">pango_font_description_get_gravity</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
95
|
+
<a class="link" href="pango-Fonts.html#PangoFontMask"><span class="returnvalue">PangoFontMask</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()">pango_font_description_get_set_fields</a>
|
96
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
97
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-unset-fields" title="pango_font_description_unset_fields ()">pango_font_description_unset_fields</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
98
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMask"><span class="type">PangoFontMask</span></a> to_unset</code></em>);
|
99
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-merge" title="pango_font_description_merge ()">pango_font_description_merge</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
100
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc_to_merge</code></em>,
|
101
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> replace_existing</code></em>);
|
102
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-merge-static" title="pango_font_description_merge_static ()">pango_font_description_merge_static</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
103
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc_to_merge</code></em>,
|
104
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> replace_existing</code></em>);
|
105
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-better-match" title="pango_font_description_better_match ()">pango_font_description_better_match</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
106
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *old_match</code></em>,
|
107
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *new_match</code></em>);
|
108
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-description-from-string" title="pango_font_description_from_string ()">pango_font_description_from_string</a>
|
109
109
|
(<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);
|
110
|
-
<span class="returnvalue">char</span> *
|
111
|
-
<span class="returnvalue">char</span> *
|
112
|
-
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
110
|
+
<span class="returnvalue">char</span> * <a class="link" href="pango-Fonts.html#pango-font-description-to-string" title="pango_font_description_to_string ()">pango_font_description_to_string</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
111
|
+
<span class="returnvalue">char</span> * <a class="link" href="pango-Fonts.html#pango-font-description-to-filename" title="pango_font_description_to_filename ()">pango_font_description_to_filename</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
113
112
|
|
114
|
-
struct <a class="link" href="pango-Fonts.html#PangoFontMetrics" title="struct PangoFontMetrics">PangoFontMetrics</a>;
|
113
|
+
struct <a class="link" href="pango-Fonts.html#PangoFontMetrics-struct" title="struct PangoFontMetrics">PangoFontMetrics</a>;
|
115
114
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-METRICS:CAPS" title="PANGO_TYPE_FONT_METRICS">PANGO_TYPE_FONT_METRICS</a>
|
116
|
-
<a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
117
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()">pango_font_metrics_unref</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
118
|
-
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-ascent" title="pango_font_metrics_get_ascent ()">pango_font_metrics_get_ascent</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
119
|
-
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-descent" title="pango_font_metrics_get_descent ()">pango_font_metrics_get_descent</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
115
|
+
<a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * <a class="link" href="pango-Fonts.html#pango-font-metrics-ref" title="pango_font_metrics_ref ()">pango_font_metrics_ref</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
116
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()">pango_font_metrics_unref</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
117
|
+
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-ascent" title="pango_font_metrics_get_ascent ()">pango_font_metrics_get_ascent</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
118
|
+
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-descent" title="pango_font_metrics_get_descent ()">pango_font_metrics_get_descent</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
120
119
|
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-char-width" title="pango_font_metrics_get_approximate_char_width ()">pango_font_metrics_get_approximate_char_width</a>
|
121
|
-
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
120
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
122
121
|
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-digit-width" title="pango_font_metrics_get_approximate_digit_width ()">pango_font_metrics_get_approximate_digit_width</a>
|
123
|
-
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
122
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
124
123
|
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-underline-thickness" title="pango_font_metrics_get_underline_thickness ()">pango_font_metrics_get_underline_thickness</a>
|
125
|
-
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
124
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
126
125
|
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-underline-position" title="pango_font_metrics_get_underline_position ()">pango_font_metrics_get_underline_position</a>
|
127
|
-
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
126
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
128
127
|
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-strikethrough-thickness" title="pango_font_metrics_get_strikethrough_thickness ()">pango_font_metrics_get_strikethrough_thickness</a>
|
129
|
-
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
128
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
130
129
|
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-font-metrics-get-strikethrough-position" title="pango_font_metrics_get_strikethrough_position ()">pango_font_metrics_get_strikethrough_position</a>
|
131
|
-
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
130
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);
|
132
131
|
|
133
132
|
<a class="link" href="pango-Fonts.html#PangoFont-struct" title="PangoFont">PangoFont</a>;
|
134
133
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT:CAPS" title="PANGO_TYPE_FONT">PANGO_TYPE_FONT</a>
|
135
134
|
#define <a class="link" href="pango-Fonts.html#PANGO-FONT:CAPS" title="PANGO_FONT()">PANGO_FONT</a> (object)
|
136
135
|
#define <a class="link" href="pango-Fonts.html#PANGO-IS-FONT:CAPS" title="PANGO_IS_FONT()">PANGO_IS_FONT</a> (object)
|
137
|
-
<a class="link" href="PangoEngineShape.html" title="PangoEngineShape"><span class="returnvalue">PangoEngineShape</span></a> *
|
138
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
139
|
-
<em class="parameter"><code><span class="type">guint32</span> ch</code></em>);
|
140
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription"
|
141
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription"
|
136
|
+
<a class="link" href="PangoEngineShape.html" title="PangoEngineShape"><span class="returnvalue">PangoEngineShape</span></a> * <a class="link" href="pango-Fonts.html#pango-font-find-shaper" title="pango_font_find_shaper ()">pango_font_find_shaper</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
137
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
138
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> ch</code></em>);
|
139
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-describe" title="pango_font_describe ()">pango_font_describe</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
140
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-describe-with-absolute-size" title="pango_font_describe_with_absolute_size ()">pango_font_describe_with_absolute_size</a>
|
142
141
|
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
143
|
-
<a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> *
|
144
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
142
|
+
<a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> * <a class="link" href="pango-Fonts.html#pango-font-get-coverage" title="pango_font_get_coverage ()">pango_font_get_coverage</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
143
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
145
144
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-get-glyph-extents" title="pango_font_get_glyph_extents ()">pango_font_get_glyph_extents</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
146
145
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> glyph</code></em>,
|
147
146
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
148
147
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);
|
149
|
-
<a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
150
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
148
|
+
<a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * <a class="link" href="pango-Fonts.html#pango-font-get-metrics" title="pango_font_get_metrics ()">pango_font_get_metrics</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
149
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
151
150
|
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * <a class="link" href="pango-Fonts.html#pango-font-get-font-map" title="pango_font_get_font_map ()">pango_font_get_font_map</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
152
151
|
|
153
152
|
struct <a class="link" href="pango-Fonts.html#PangoFontFamily-struct" title="struct PangoFontFamily">PangoFontFamily</a>;
|
@@ -155,7 +154,7 @@ struct <a class="link" href="pango-Fonts.html#PangoFontFamily-struc
|
|
155
154
|
#define <a class="link" href="pango-Fonts.html#PANGO-FONT-FAMILY:CAPS" title="PANGO_FONT_FAMILY()">PANGO_FONT_FAMILY</a> (object)
|
156
155
|
#define <a class="link" href="pango-Fonts.html#PANGO-IS-FONT-FAMILY:CAPS" title="PANGO_IS_FONT_FAMILY()">PANGO_IS_FONT_FAMILY</a> (object)
|
157
156
|
const <span class="returnvalue">char</span> * <a class="link" href="pango-Fonts.html#pango-font-family-get-name" title="pango_font_family_get_name ()">pango_font_family_get_name</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>);
|
158
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Fonts.html#pango-font-family-is-monospace" title="pango_font_family_is_monospace ()">pango_font_family_is_monospace</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>);
|
157
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="pango-Fonts.html#pango-font-family-is-monospace" title="pango_font_family_is_monospace ()">pango_font_family_is_monospace</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>);
|
159
158
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-family-list-faces" title="pango_font_family_list_faces ()">pango_font_family_list_faces</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>,
|
160
159
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> ***faces</code></em>,
|
161
160
|
<em class="parameter"><code><span class="type">int</span> *n_faces</code></em>);
|
@@ -168,8 +167,8 @@ const <span class="returnvalue">char</span> * <a class="link" href="pango
|
|
168
167
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-face-list-sizes" title="pango_font_face_list_sizes ()">pango_font_face_list_sizes</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>,
|
169
168
|
<em class="parameter"><code><span class="type">int</span> **sizes</code></em>,
|
170
169
|
<em class="parameter"><code><span class="type">int</span> *n_sizes</code></em>);
|
171
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription"
|
172
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Fonts.html#pango-font-face-is-synthesized" title="pango_font_face_is_synthesized ()">pango_font_face_is_synthesized</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);
|
170
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-face-describe" title="pango_font_face_describe ()">pango_font_face_describe</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);
|
171
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="pango-Fonts.html#pango-font-face-is-synthesized" title="pango_font_face_is_synthesized ()">pango_font_face_is_synthesized</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);
|
173
172
|
|
174
173
|
<a class="link" href="pango-Fonts.html#PangoFontMap-struct" title="PangoFontMap">PangoFontMap</a>;
|
175
174
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-MAP:CAPS" title="PANGO_TYPE_FONT_MAP">PANGO_TYPE_FONT_MAP</a>
|
@@ -182,11 +181,11 @@ struct <a class="link" href="pango-Fonts.html#PangoFontMapClass" ti
|
|
182
181
|
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-Fonts.html#pango-font-map-create-context" title="pango_font_map_create_context ()">pango_font_map_create_context</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>);
|
183
182
|
<a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * <a class="link" href="pango-Fonts.html#pango-font-map-load-font" title="pango_font_map_load_font ()">pango_font_map_load_font</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>,
|
184
183
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
185
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
184
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
186
185
|
<a class="link" href="pango-Fonts.html#PangoFontset"><span class="returnvalue">PangoFontset</span></a> * <a class="link" href="pango-Fonts.html#pango-font-map-load-fontset" title="pango_font_map_load_fontset ()">pango_font_map_load_fontset</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>,
|
187
186
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
188
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
189
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
187
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
188
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
190
189
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-map-list-families" title="pango_font_map_list_families ()">pango_font_map_list_families</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>,
|
191
190
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> ***families</code></em>,
|
192
191
|
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);
|
@@ -197,17 +196,17 @@ struct <a class="link" href="pango-Fonts.html#PangoFontset-struct"
|
|
197
196
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONTSET:CAPS" title="PANGO_TYPE_FONTSET">PANGO_TYPE_FONTSET</a>
|
198
197
|
struct <a class="link" href="pango-Fonts.html#PangoFontsetClass" title="struct PangoFontsetClass">PangoFontsetClass</a>;
|
199
198
|
<a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * <a class="link" href="pango-Fonts.html#pango-fontset-get-font" title="pango_fontset_get_font ()">pango_fontset_get_font</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
200
|
-
<em class="parameter"><code><span class="type">guint</span> wc</code></em>);
|
201
|
-
<a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
202
|
-
<span class="returnvalue">gboolean</span> (<a class="link" href="pango-Fonts.html#PangoFontsetForeachFunc" title="PangoFontsetForeachFunc ()">*PangoFontsetForeachFunc</a>) (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
199
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> wc</code></em>);
|
200
|
+
<a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * <a class="link" href="pango-Fonts.html#pango-fontset-get-metrics" title="pango_fontset_get_metrics ()">pango_fontset_get_metrics</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>);
|
201
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="pango-Fonts.html#PangoFontsetForeachFunc" title="PangoFontsetForeachFunc ()">*PangoFontsetForeachFunc</a>) (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
203
202
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
204
|
-
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
|
203
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
205
204
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-fontset-foreach" title="pango_fontset_foreach ()">pango_fontset_foreach</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
206
205
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetForeachFunc" title="PangoFontsetForeachFunc ()"><span class="type">PangoFontsetForeachFunc</span></a> func</code></em>,
|
207
|
-
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
|
206
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
208
207
|
<a class="link" href="pango-Fonts.html#PangoFontsetSimple-struct" title="PangoFontsetSimple">PangoFontsetSimple</a>;
|
209
208
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONTSET-SIMPLE:CAPS" title="PANGO_TYPE_FONTSET_SIMPLE">PANGO_TYPE_FONTSET_SIMPLE</a>
|
210
|
-
<a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="returnvalue">PangoFontsetSimple</span></a> *
|
209
|
+
<a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="returnvalue">PangoFontsetSimple</span></a> * <a class="link" href="pango-Fonts.html#pango-fontset-simple-new" title="pango_fontset_simple_new ()">pango_fontset_simple_new</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
211
210
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-fontset-simple-append" title="pango_fontset_simple_append ()">pango_fontset_simple_append</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> *fontset</code></em>,
|
212
211
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
213
212
|
<span class="returnvalue">int</span> <a class="link" href="pango-Fonts.html#pango-fontset-simple-size" title="pango_fontset_simple_size ()">pango_fontset_simple_size</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> *fontset</code></em>);
|
@@ -216,30 +215,58 @@ struct <a class="link" href="pango-Fonts.html#PangoFontsetClass" ti
|
|
216
215
|
<div class="refsect1">
|
217
216
|
<a name="pango-Fonts.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
218
217
|
<pre class="synopsis">
|
219
|
-
|
218
|
+
GBoxed
|
219
|
+
+----PangoFontDescription
|
220
|
+
</pre>
|
221
|
+
<pre class="synopsis">
|
222
|
+
GEnum
|
223
|
+
+----PangoStyle
|
224
|
+
</pre>
|
225
|
+
<pre class="synopsis">
|
226
|
+
GEnum
|
227
|
+
+----PangoWeight
|
228
|
+
</pre>
|
229
|
+
<pre class="synopsis">
|
230
|
+
GEnum
|
231
|
+
+----PangoVariant
|
232
|
+
</pre>
|
233
|
+
<pre class="synopsis">
|
234
|
+
GEnum
|
235
|
+
+----PangoStretch
|
236
|
+
</pre>
|
237
|
+
<pre class="synopsis">
|
238
|
+
GFlags
|
239
|
+
+----PangoFontMask
|
240
|
+
</pre>
|
241
|
+
<pre class="synopsis">
|
242
|
+
GBoxed
|
243
|
+
+----PangoFontMetrics
|
244
|
+
</pre>
|
245
|
+
<pre class="synopsis">
|
246
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
220
247
|
+----PangoFont
|
221
248
|
+----<a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a>
|
222
249
|
</pre>
|
223
250
|
<pre class="synopsis">
|
224
|
-
GObject
|
251
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
225
252
|
+----PangoFontFamily
|
226
253
|
</pre>
|
227
254
|
<pre class="synopsis">
|
228
|
-
GObject
|
255
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
229
256
|
+----PangoFontFace
|
230
257
|
</pre>
|
231
258
|
<pre class="synopsis">
|
232
|
-
GObject
|
259
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
233
260
|
+----PangoFontMap
|
234
261
|
+----<a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap">PangoFcFontMap</a>
|
235
262
|
</pre>
|
236
263
|
<pre class="synopsis">
|
237
|
-
GObject
|
264
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
238
265
|
+----PangoFontset
|
239
266
|
+----<a class="link" href="pango-Fonts.html#PangoFontsetSimple">PangoFontsetSimple</a>
|
240
267
|
</pre>
|
241
268
|
<pre class="synopsis">
|
242
|
-
GObject
|
269
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
243
270
|
+----<a class="link" href="pango-Fonts.html#PangoFontset">PangoFontset</a>
|
244
271
|
+----PangoFontsetSimple
|
245
272
|
</pre>
|
@@ -267,10 +294,10 @@ to load a font of a given description.
|
|
267
294
|
<div class="refsect1">
|
268
295
|
<a name="pango-Fonts.details"></a><h2>Details</h2>
|
269
296
|
<div class="refsect2">
|
270
|
-
<a name="PangoFontDescription"></a><h3>PangoFontDescription</h3>
|
297
|
+
<a name="PangoFontDescription-struct"></a><h3>PangoFontDescription</h3>
|
271
298
|
<pre class="programlisting">typedef struct _PangoFontDescription PangoFontDescription;</pre>
|
272
299
|
<p>
|
273
|
-
The <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
300
|
+
The <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure represents the description
|
274
301
|
of an ideal font. These structures are used both to list
|
275
302
|
what fonts are available on the system and also for specifying
|
276
303
|
the characteristics of a font to load.
|
@@ -282,12 +309,12 @@ the characteristics of a font to load.
|
|
282
309
|
<pre class="programlisting">#define PANGO_TYPE_FONT_DESCRIPTION (pango_font_description_get_type ())
|
283
310
|
</pre>
|
284
311
|
<p>
|
285
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
312
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.
|
286
313
|
</p>
|
287
314
|
</div>
|
288
315
|
<hr>
|
289
316
|
<div class="refsect2">
|
290
|
-
<a name="PangoStyle"></a><h3>enum PangoStyle</h3>
|
317
|
+
<a name="PangoStyle-enum"></a><h3>enum PangoStyle</h3>
|
291
318
|
<pre class="programlisting">typedef enum {
|
292
319
|
PANGO_STYLE_NORMAL,
|
293
320
|
PANGO_STYLE_OBLIQUE,
|
@@ -324,12 +351,12 @@ An enumeration specifying the various slant styles possible for a font.
|
|
324
351
|
<pre class="programlisting">#define PANGO_TYPE_STYLE (pango_style_get_type())
|
325
352
|
</pre>
|
326
353
|
<p>
|
327
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoStyle"
|
354
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a>.
|
328
355
|
</p>
|
329
356
|
</div>
|
330
357
|
<hr>
|
331
358
|
<div class="refsect2">
|
332
|
-
<a name="PangoWeight"></a><h3>enum PangoWeight</h3>
|
359
|
+
<a name="PangoWeight-enum"></a><h3>enum PangoWeight</h3>
|
333
360
|
<pre class="programlisting">typedef enum {
|
334
361
|
PANGO_WEIGHT_THIN = 100,
|
335
362
|
PANGO_WEIGHT_ULTRALIGHT = 200,
|
@@ -415,12 +442,12 @@ value ranging from 100 to 900, but there are some predefined values:
|
|
415
442
|
<pre class="programlisting">#define PANGO_TYPE_WEIGHT (pango_weight_get_type())
|
416
443
|
</pre>
|
417
444
|
<p>
|
418
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoWeight"
|
445
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoWeight"><span class="type">PangoWeight</span></a>.
|
419
446
|
</p>
|
420
447
|
</div>
|
421
448
|
<hr>
|
422
449
|
<div class="refsect2">
|
423
|
-
<a name="PangoVariant"></a><h3>enum PangoVariant</h3>
|
450
|
+
<a name="PangoVariant-enum"></a><h3>enum PangoVariant</h3>
|
424
451
|
<pre class="programlisting">typedef enum {
|
425
452
|
PANGO_VARIANT_NORMAL,
|
426
453
|
PANGO_VARIANT_SMALL_CAPS
|
@@ -452,12 +479,12 @@ An enumeration specifying capitalization variant of the font.
|
|
452
479
|
<pre class="programlisting">#define PANGO_TYPE_VARIANT (pango_variant_get_type())
|
453
480
|
</pre>
|
454
481
|
<p>
|
455
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoVariant"
|
482
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a>.
|
456
483
|
</p>
|
457
484
|
</div>
|
458
485
|
<hr>
|
459
486
|
<div class="refsect2">
|
460
|
-
<a name="PangoStretch"></a><h3>enum PangoStretch</h3>
|
487
|
+
<a name="PangoStretch-enum"></a><h3>enum PangoStretch</h3>
|
461
488
|
<pre class="programlisting">typedef enum {
|
462
489
|
PANGO_STRETCH_ULTRA_CONDENSED,
|
463
490
|
PANGO_STRETCH_EXTRA_CONDENSED,
|
@@ -531,12 +558,12 @@ within a family.
|
|
531
558
|
<pre class="programlisting">#define PANGO_TYPE_STRETCH (pango_stretch_get_type())
|
532
559
|
</pre>
|
533
560
|
<p>
|
534
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoStretch"
|
561
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a>.
|
535
562
|
</p>
|
536
563
|
</div>
|
537
564
|
<hr>
|
538
565
|
<div class="refsect2">
|
539
|
-
<a name="PangoFontMask"></a><h3>enum PangoFontMask</h3>
|
566
|
+
<a name="PangoFontMask-enum"></a><h3>enum PangoFontMask</h3>
|
540
567
|
<pre class="programlisting">typedef enum {
|
541
568
|
PANGO_FONT_MASK_FAMILY = 1 << 0,
|
542
569
|
PANGO_FONT_MASK_STYLE = 1 << 1,
|
@@ -548,8 +575,8 @@ The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts
|
|
548
575
|
} PangoFontMask;
|
549
576
|
</pre>
|
550
577
|
<p>
|
551
|
-
The bits in a <a class="link" href="pango-Fonts.html#PangoFontMask"
|
552
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription"
|
578
|
+
The bits in a <a class="link" href="pango-Fonts.html#PangoFontMask"><span class="type">PangoFontMask</span></a> correspond to fields in a
|
579
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> that have been set.
|
553
580
|
</p>
|
554
581
|
<div class="variablelist"><table border="0">
|
555
582
|
<col align="left" valign="top">
|
@@ -598,13 +625,13 @@ The bits in a <a class="link" href="pango-Fonts.html#PangoFontMask" title="enum
|
|
598
625
|
<pre class="programlisting">#define PANGO_TYPE_FONT_MASK (pango_font_mask_get_type())
|
599
626
|
</pre>
|
600
627
|
<p>
|
601
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontMask"
|
628
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontMask"><span class="type">PangoFontMask</span></a>.
|
602
629
|
</p>
|
603
630
|
</div>
|
604
631
|
<hr>
|
605
632
|
<div class="refsect2">
|
606
633
|
<a name="pango-font-description-new"></a><h3>pango_font_description_new ()</h3>
|
607
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
634
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_description_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
608
635
|
<p>
|
609
636
|
Creates a new font description structure with all fields unset.
|
610
637
|
</p>
|
@@ -612,33 +639,31 @@ Creates a new font description structure with all fields unset.
|
|
612
639
|
<col align="left" valign="top">
|
613
640
|
<tbody><tr>
|
614
641
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
615
|
-
<td>
|
616
|
-
|
617
|
-
</td>
|
642
|
+
<td>the newly allocated <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, which
|
643
|
+
should be freed using <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>.</td>
|
618
644
|
</tr></tbody>
|
619
645
|
</table></div>
|
620
646
|
</div>
|
621
647
|
<hr>
|
622
648
|
<div class="refsect2">
|
623
649
|
<a name="pango-font-description-copy"></a><h3>pango_font_description_copy ()</h3>
|
624
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
650
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_description_copy (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
625
651
|
<p>
|
626
|
-
Make a copy of a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
652
|
+
Make a copy of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.
|
627
653
|
</p>
|
628
654
|
<div class="variablelist"><table border="0">
|
629
655
|
<col align="left" valign="top">
|
630
656
|
<tbody>
|
631
657
|
<tr>
|
632
658
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
633
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
659
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
634
660
|
</td>
|
635
661
|
</tr>
|
636
662
|
<tr>
|
637
663
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
638
|
-
<td>
|
639
|
-
|
640
|
-
|
641
|
-
</td>
|
664
|
+
<td>the newly allocated <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, which should
|
665
|
+
be freed with <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
666
|
+
if <em class="parameter"><code>desc</code></em> was <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
642
667
|
</tr>
|
643
668
|
</tbody>
|
644
669
|
</table></div>
|
@@ -646,8 +671,8 @@ Make a copy of a <a class="link" href="pango-Fonts.html#PangoFontDescription" ti
|
|
646
671
|
<hr>
|
647
672
|
<div class="refsect2">
|
648
673
|
<a name="pango-font-description-copy-static"></a><h3>pango_font_description_copy_static ()</h3>
|
649
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
650
|
-
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
674
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_description_copy_static
|
675
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
651
676
|
<p>
|
652
677
|
Like <a class="link" href="pango-Fonts.html#pango-font-description-copy" title="pango_font_description_copy ()"><code class="function">pango_font_description_copy()</code></a>, but only a shallow copy is made
|
653
678
|
of the family name and other allocated fields. The result can only
|
@@ -659,15 +684,14 @@ when the copy is only needed temporarily.
|
|
659
684
|
<tbody>
|
660
685
|
<tr>
|
661
686
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
662
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
687
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
663
688
|
</td>
|
664
689
|
</tr>
|
665
690
|
<tr>
|
666
691
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
667
|
-
<td>
|
668
|
-
|
669
|
-
|
670
|
-
</td>
|
692
|
+
<td>the newly allocated <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, which should
|
693
|
+
be freed with <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
694
|
+
if <em class="parameter"><code>desc</code></em> was <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
671
695
|
</tr>
|
672
696
|
</tbody>
|
673
697
|
</table></div>
|
@@ -675,10 +699,10 @@ when the copy is only needed temporarily.
|
|
675
699
|
<hr>
|
676
700
|
<div class="refsect2">
|
677
701
|
<a name="pango-font-description-hash"></a><h3>pango_font_description_hash ()</h3>
|
678
|
-
<pre class="programlisting"><span class="returnvalue">guint</span> pango_font_description_hash (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
702
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> pango_font_description_hash (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
679
703
|
<p>
|
680
|
-
Computes a hash of a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
681
|
-
to be used, for example, as an argument to <code class="function">g_hash_table_new()</code>.
|
704
|
+
Computes a hash of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure suitable
|
705
|
+
to be used, for example, as an argument to <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#g-hash-table-new"><code class="function">g_hash_table_new()</code></a>.
|
682
706
|
The hash value is independent of <em class="parameter"><code>desc->mask</code></em>.
|
683
707
|
</p>
|
684
708
|
<div class="variablelist"><table border="0">
|
@@ -686,13 +710,12 @@ The hash value is independent of <em class="parameter"><code>desc->mask</code
|
|
686
710
|
<tbody>
|
687
711
|
<tr>
|
688
712
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
689
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
713
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
690
714
|
</td>
|
691
715
|
</tr>
|
692
716
|
<tr>
|
693
717
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
694
|
-
<td>
|
695
|
-
</td>
|
718
|
+
<td>the hash value.</td>
|
696
719
|
</tr>
|
697
720
|
</tbody>
|
698
721
|
</table></div>
|
@@ -700,33 +723,33 @@ The hash value is independent of <em class="parameter"><code>desc->mask</code
|
|
700
723
|
<hr>
|
701
724
|
<div class="refsect2">
|
702
725
|
<a name="pango-font-description-equal"></a><h3>pango_font_description_equal ()</h3>
|
703
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_font_description_equal (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
704
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
726
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_font_description_equal (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc1</code></em>,
|
727
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc2</code></em>);</pre>
|
705
728
|
<p>
|
706
729
|
Compares two font descriptions for equality. Two font descriptions
|
707
730
|
are considered equal if the fonts they describe are provably identical.
|
708
731
|
This means that their masks do not have to match, as long as other fields
|
709
732
|
are all the same. (Two font descriptions may result in identical fonts
|
710
|
-
being loaded, but still compare <code class="literal">FALSE</code>.)
|
733
|
+
being loaded, but still compare <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.)
|
711
734
|
</p>
|
712
735
|
<div class="variablelist"><table border="0">
|
713
736
|
<col align="left" valign="top">
|
714
737
|
<tbody>
|
715
738
|
<tr>
|
716
739
|
<td><p><span class="term"><em class="parameter"><code>desc1</code></em> :</span></p></td>
|
717
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
740
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
718
741
|
</td>
|
719
742
|
</tr>
|
720
743
|
<tr>
|
721
744
|
<td><p><span class="term"><em class="parameter"><code>desc2</code></em> :</span></p></td>
|
722
|
-
<td>another <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
745
|
+
<td>another <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
723
746
|
</td>
|
724
747
|
</tr>
|
725
748
|
<tr>
|
726
749
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
727
|
-
<td>
|
728
|
-
|
729
|
-
</td>
|
750
|
+
<td>
|
751
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the two font descriptions are identical,
|
752
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
730
753
|
</tr>
|
731
754
|
</tbody>
|
732
755
|
</table></div>
|
@@ -734,7 +757,7 @@ being loaded, but still compare <code class="literal">FALSE</code>.)
|
|
734
757
|
<hr>
|
735
758
|
<div class="refsect2">
|
736
759
|
<a name="pango-font-description-free"></a><h3>pango_font_description_free ()</h3>
|
737
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_free (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
760
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_free (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
738
761
|
<p>
|
739
762
|
Frees a font description.
|
740
763
|
</p>
|
@@ -742,7 +765,7 @@ Frees a font description.
|
|
742
765
|
<col align="left" valign="top">
|
743
766
|
<tbody><tr>
|
744
767
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
745
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
768
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
746
769
|
</td>
|
747
770
|
</tr></tbody>
|
748
771
|
</table></div>
|
@@ -750,7 +773,7 @@ Frees a font description.
|
|
750
773
|
<hr>
|
751
774
|
<div class="refsect2">
|
752
775
|
<a name="pango-font-descriptions-free"></a><h3>pango_font_descriptions_free ()</h3>
|
753
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_descriptions_free (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
776
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_descriptions_free (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> **descs</code></em>,
|
754
777
|
<em class="parameter"><code><span class="type">int</span> n_descs</code></em>);</pre>
|
755
778
|
<p>
|
756
779
|
Frees an array of font descriptions.
|
@@ -760,7 +783,8 @@ Frees an array of font descriptions.
|
|
760
783
|
<tbody>
|
761
784
|
<tr>
|
762
785
|
<td><p><span class="term"><em class="parameter"><code>descs</code></em> :</span></p></td>
|
763
|
-
<td>a pointer
|
786
|
+
<td>a pointer
|
787
|
+
to an array of <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>][<a href="http://foldoc.org/array"><span class="acronym">array</span></a> length=n_descs][<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
|
764
788
|
</td>
|
765
789
|
</tr>
|
766
790
|
<tr>
|
@@ -774,13 +798,13 @@ Frees an array of font descriptions.
|
|
774
798
|
<hr>
|
775
799
|
<div class="refsect2">
|
776
800
|
<a name="pango-font-description-set-family"></a><h3>pango_font_description_set_family ()</h3>
|
777
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_family (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
801
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_family (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
778
802
|
<em class="parameter"><code>const <span class="type">char</span> *family</code></em>);</pre>
|
779
803
|
<p>
|
780
804
|
Sets the family name field of a font description. The family
|
781
805
|
name represents a family of related font styles, and will
|
782
806
|
resolve to a particular <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>. In some uses of
|
783
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription"
|
807
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, it is also possible to use a comma
|
784
808
|
separated list of family names for this field.
|
785
809
|
</p>
|
786
810
|
<div class="variablelist"><table border="0">
|
@@ -788,13 +812,11 @@ separated list of family names for this field.
|
|
788
812
|
<tbody>
|
789
813
|
<tr>
|
790
814
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
791
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
792
|
-
</td>
|
815
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</td>
|
793
816
|
</tr>
|
794
817
|
<tr>
|
795
818
|
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
796
|
-
<td>a string representing the family name
|
797
|
-
</td>
|
819
|
+
<td>a string representing the family name.</td>
|
798
820
|
</tr>
|
799
821
|
</tbody>
|
800
822
|
</table></div>
|
@@ -803,7 +825,7 @@ separated list of family names for this field.
|
|
803
825
|
<div class="refsect2">
|
804
826
|
<a name="pango-font-description-set-family-static"></a><h3>pango_font_description_set_family_static ()</h3>
|
805
827
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_family_static
|
806
|
-
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
828
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
807
829
|
<em class="parameter"><code>const <span class="type">char</span> *family</code></em>);</pre>
|
808
830
|
<p>
|
809
831
|
Like <a class="link" href="pango-Fonts.html#pango-font-description-set-family" title="pango_font_description_set_family ()"><code class="function">pango_font_description_set_family()</code></a>, except that no
|
@@ -818,13 +840,12 @@ if <em class="parameter"><code>desc</code></em> is only needed temporarily.
|
|
818
840
|
<tbody>
|
819
841
|
<tr>
|
820
842
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
821
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
843
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
822
844
|
</td>
|
823
845
|
</tr>
|
824
846
|
<tr>
|
825
847
|
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
826
|
-
<td>a string representing the family name
|
827
|
-
</td>
|
848
|
+
<td>a string representing the family name.</td>
|
828
849
|
</tr>
|
829
850
|
</tbody>
|
830
851
|
</table></div>
|
@@ -832,7 +853,7 @@ if <em class="parameter"><code>desc</code></em> is only needed temporarily.
|
|
832
853
|
<hr>
|
833
854
|
<div class="refsect2">
|
834
855
|
<a name="pango-font-description-get-family"></a><h3>pango_font_description_get_family ()</h3>
|
835
|
-
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_font_description_get_family (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
856
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_font_description_get_family (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
836
857
|
<p>
|
837
858
|
Gets the family name field of a font description. See
|
838
859
|
<a class="link" href="pango-Fonts.html#pango-font-description-set-family" title="pango_font_description_set_family ()"><code class="function">pango_font_description_set_family()</code></a>.
|
@@ -842,15 +863,13 @@ Gets the family name field of a font description. See
|
|
842
863
|
<tbody>
|
843
864
|
<tr>
|
844
865
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
845
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
846
|
-
</td>
|
866
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</td>
|
847
867
|
</tr>
|
848
868
|
<tr>
|
849
869
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
850
|
-
<td>
|
851
|
-
|
852
|
-
|
853
|
-
</td>
|
870
|
+
<td>the family name field for the font description, or
|
871
|
+
<a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if not previously set. This has the same life-time
|
872
|
+
as the font description itself and should not be freed.</td>
|
854
873
|
</tr>
|
855
874
|
</tbody>
|
856
875
|
</table></div>
|
@@ -858,11 +877,11 @@ Gets the family name field of a font description. See
|
|
858
877
|
<hr>
|
859
878
|
<div class="refsect2">
|
860
879
|
<a name="pango-font-description-set-style"></a><h3>pango_font_description_set_style ()</h3>
|
861
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_style (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
862
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle"
|
880
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_style (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
881
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a> style</code></em>);</pre>
|
863
882
|
<p>
|
864
|
-
Sets the style field of a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
865
|
-
<a class="link" href="pango-Fonts.html#PangoStyle"
|
883
|
+
Sets the style field of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. The
|
884
|
+
<a class="link" href="pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a> enumeration describes whether the font is slanted and
|
866
885
|
the manner in which it is slanted; it can be either
|
867
886
|
<a class="link" href="pango-Fonts.html#PANGO-STYLE-NORMAL:CAPS"><span class="type">PANGO_STYLE_NORMAL</span></a>, <a class="link" href="pango-Fonts.html#PANGO-STYLE-ITALIC:CAPS"><span class="type">PANGO_STYLE_ITALIC</span></a>, or <a class="link" href="pango-Fonts.html#PANGO-STYLE-OBLIQUE:CAPS"><span class="type">PANGO_STYLE_OBLIQUE</span></a>.
|
868
887
|
Most fonts will either have a italic style or an oblique
|
@@ -875,13 +894,12 @@ if an exact match is not found.
|
|
875
894
|
<tbody>
|
876
895
|
<tr>
|
877
896
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
878
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
897
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
879
898
|
</td>
|
880
899
|
</tr>
|
881
900
|
<tr>
|
882
901
|
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
|
883
|
-
<td>the style for the font description
|
884
|
-
</td>
|
902
|
+
<td>the style for the font description</td>
|
885
903
|
</tr>
|
886
904
|
</tbody>
|
887
905
|
</table></div>
|
@@ -889,9 +907,9 @@ if an exact match is not found.
|
|
889
907
|
<hr>
|
890
908
|
<div class="refsect2">
|
891
909
|
<a name="pango-font-description-get-style"></a><h3>pango_font_description_get_style ()</h3>
|
892
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoStyle"
|
910
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoStyle"><span class="returnvalue">PangoStyle</span></a> pango_font_description_get_style (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
893
911
|
<p>
|
894
|
-
Gets the style field of a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
912
|
+
Gets the style field of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. See
|
895
913
|
<a class="link" href="pango-Fonts.html#pango-font-description-set-style" title="pango_font_description_set_style ()"><code class="function">pango_font_description_set_style()</code></a>.
|
896
914
|
</p>
|
897
915
|
<div class="variablelist"><table border="0">
|
@@ -899,15 +917,14 @@ Gets the style field of a <a class="link" href="pango-Fonts.html#PangoFontDescri
|
|
899
917
|
<tbody>
|
900
918
|
<tr>
|
901
919
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
902
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
920
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
903
921
|
</td>
|
904
922
|
</tr>
|
905
923
|
<tr>
|
906
924
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
907
|
-
<td>
|
908
|
-
|
909
|
-
|
910
|
-
</td>
|
925
|
+
<td>the style field for the font description.
|
926
|
+
Use <a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to find out if
|
927
|
+
the field was explicitly set or not.</td>
|
911
928
|
</tr>
|
912
929
|
</tbody>
|
913
930
|
</table></div>
|
@@ -915,10 +932,10 @@ Gets the style field of a <a class="link" href="pango-Fonts.html#PangoFontDescri
|
|
915
932
|
<hr>
|
916
933
|
<div class="refsect2">
|
917
934
|
<a name="pango-font-description-set-variant"></a><h3>pango_font_description_set_variant ()</h3>
|
918
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_variant (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
919
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant"
|
935
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_variant (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
936
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a> variant</code></em>);</pre>
|
920
937
|
<p>
|
921
|
-
Sets the variant field of a font description. The <a class="link" href="pango-Fonts.html#PangoVariant"
|
938
|
+
Sets the variant field of a font description. The <a class="link" href="pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a>
|
922
939
|
can either be <a class="link" href="pango-Fonts.html#PANGO-VARIANT-NORMAL:CAPS"><code class="literal">PANGO_VARIANT_NORMAL</code></a> or <a class="link" href="pango-Fonts.html#PANGO-VARIANT-SMALL-CAPS"><code class="literal">PANGO_VARIANT_SMALL_CAPS</code></a>.
|
923
940
|
</p>
|
924
941
|
<div class="variablelist"><table border="0">
|
@@ -926,13 +943,12 @@ can either be <a class="link" href="pango-Fonts.html#PANGO-VARIANT-NORMAL:CAPS">
|
|
926
943
|
<tbody>
|
927
944
|
<tr>
|
928
945
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
929
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
946
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
930
947
|
</td>
|
931
948
|
</tr>
|
932
949
|
<tr>
|
933
950
|
<td><p><span class="term"><em class="parameter"><code>variant</code></em> :</span></p></td>
|
934
|
-
<td>the variant type for the font description
|
935
|
-
</td>
|
951
|
+
<td>the variant type for the font description.</td>
|
936
952
|
</tr>
|
937
953
|
</tbody>
|
938
954
|
</table></div>
|
@@ -940,9 +956,9 @@ can either be <a class="link" href="pango-Fonts.html#PANGO-VARIANT-NORMAL:CAPS">
|
|
940
956
|
<hr>
|
941
957
|
<div class="refsect2">
|
942
958
|
<a name="pango-font-description-get-variant"></a><h3>pango_font_description_get_variant ()</h3>
|
943
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoVariant"
|
959
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoVariant"><span class="returnvalue">PangoVariant</span></a> pango_font_description_get_variant (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
944
960
|
<p>
|
945
|
-
Gets the variant field of a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
961
|
+
Gets the variant field of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. See
|
946
962
|
<a class="link" href="pango-Fonts.html#pango-font-description-set-variant" title="pango_font_description_set_variant ()"><code class="function">pango_font_description_set_variant()</code></a>.
|
947
963
|
</p>
|
948
964
|
<div class="variablelist"><table border="0">
|
@@ -950,15 +966,13 @@ Gets the variant field of a <a class="link" href="pango-Fonts.html#PangoFontDesc
|
|
950
966
|
<tbody>
|
951
967
|
<tr>
|
952
968
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
953
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
954
|
-
</td>
|
969
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</td>
|
955
970
|
</tr>
|
956
971
|
<tr>
|
957
972
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
958
|
-
<td>
|
959
|
-
|
960
|
-
|
961
|
-
</td>
|
973
|
+
<td>the variant field for the font description. Use
|
974
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to find out if
|
975
|
+
the field was explicitly set or not.</td>
|
962
976
|
</tr>
|
963
977
|
</tbody>
|
964
978
|
</table></div>
|
@@ -966,12 +980,12 @@ Gets the variant field of a <a class="link" href="pango-Fonts.html#PangoFontDesc
|
|
966
980
|
<hr>
|
967
981
|
<div class="refsect2">
|
968
982
|
<a name="pango-font-description-set-weight"></a><h3>pango_font_description_set_weight ()</h3>
|
969
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_weight (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
970
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight"
|
983
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_weight (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
984
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight"><span class="type">PangoWeight</span></a> weight</code></em>);</pre>
|
971
985
|
<p>
|
972
986
|
Sets the weight field of a font description. The weight field
|
973
987
|
specifies how bold or light the font should be. In addition
|
974
|
-
to the values of the <a class="link" href="pango-Fonts.html#PangoWeight"
|
988
|
+
to the values of the <a class="link" href="pango-Fonts.html#PangoWeight"><span class="type">PangoWeight</span></a> enumeration, other intermediate
|
975
989
|
numeric values are possible.
|
976
990
|
</p>
|
977
991
|
<div class="variablelist"><table border="0">
|
@@ -979,13 +993,12 @@ numeric values are possible.
|
|
979
993
|
<tbody>
|
980
994
|
<tr>
|
981
995
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
982
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
996
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
983
997
|
</td>
|
984
998
|
</tr>
|
985
999
|
<tr>
|
986
1000
|
<td><p><span class="term"><em class="parameter"><code>weight</code></em> :</span></p></td>
|
987
|
-
<td>the weight for the font description
|
988
|
-
</td>
|
1001
|
+
<td>the weight for the font description.</td>
|
989
1002
|
</tr>
|
990
1003
|
</tbody>
|
991
1004
|
</table></div>
|
@@ -993,7 +1006,7 @@ numeric values are possible.
|
|
993
1006
|
<hr>
|
994
1007
|
<div class="refsect2">
|
995
1008
|
<a name="pango-font-description-get-weight"></a><h3>pango_font_description_get_weight ()</h3>
|
996
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoWeight"
|
1009
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoWeight"><span class="returnvalue">PangoWeight</span></a> pango_font_description_get_weight (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
997
1010
|
<p>
|
998
1011
|
Gets the weight field of a font description. See
|
999
1012
|
<a class="link" href="pango-Fonts.html#pango-font-description-set-weight" title="pango_font_description_set_weight ()"><code class="function">pango_font_description_set_weight()</code></a>.
|
@@ -1003,15 +1016,14 @@ Gets the weight field of a font description. See
|
|
1003
1016
|
<tbody>
|
1004
1017
|
<tr>
|
1005
1018
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1006
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1019
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1007
1020
|
</td>
|
1008
1021
|
</tr>
|
1009
1022
|
<tr>
|
1010
1023
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1011
|
-
<td>
|
1012
|
-
|
1013
|
-
|
1014
|
-
</td>
|
1024
|
+
<td>the weight field for the font description. Use
|
1025
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to find out if
|
1026
|
+
the field was explicitly set or not.</td>
|
1015
1027
|
</tr>
|
1016
1028
|
</tbody>
|
1017
1029
|
</table></div>
|
@@ -1019,8 +1031,8 @@ Gets the weight field of a font description. See
|
|
1019
1031
|
<hr>
|
1020
1032
|
<div class="refsect2">
|
1021
1033
|
<a name="pango-font-description-set-stretch"></a><h3>pango_font_description_set_stretch ()</h3>
|
1022
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_stretch (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1023
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch"
|
1034
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_stretch (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1035
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a> stretch</code></em>);</pre>
|
1024
1036
|
<p>
|
1025
1037
|
Sets the stretch field of a font description. The stretch field
|
1026
1038
|
specifies how narrow or wide the font should be.
|
@@ -1030,13 +1042,12 @@ specifies how narrow or wide the font should be.
|
|
1030
1042
|
<tbody>
|
1031
1043
|
<tr>
|
1032
1044
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1033
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1045
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1034
1046
|
</td>
|
1035
1047
|
</tr>
|
1036
1048
|
<tr>
|
1037
1049
|
<td><p><span class="term"><em class="parameter"><code>stretch</code></em> :</span></p></td>
|
1038
|
-
<td>the stretch for the font description
|
1039
|
-
</td>
|
1050
|
+
<td>the stretch for the font description</td>
|
1040
1051
|
</tr>
|
1041
1052
|
</tbody>
|
1042
1053
|
</table></div>
|
@@ -1044,7 +1055,7 @@ specifies how narrow or wide the font should be.
|
|
1044
1055
|
<hr>
|
1045
1056
|
<div class="refsect2">
|
1046
1057
|
<a name="pango-font-description-get-stretch"></a><h3>pango_font_description_get_stretch ()</h3>
|
1047
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoStretch"
|
1058
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoStretch"><span class="returnvalue">PangoStretch</span></a> pango_font_description_get_stretch (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1048
1059
|
<p>
|
1049
1060
|
Gets the stretch field of a font description.
|
1050
1061
|
See <a class="link" href="pango-Fonts.html#pango-font-description-set-stretch" title="pango_font_description_set_stretch ()"><code class="function">pango_font_description_set_stretch()</code></a>.
|
@@ -1054,15 +1065,13 @@ See <a class="link" href="pango-Fonts.html#pango-font-description-set-stretch" t
|
|
1054
1065
|
<tbody>
|
1055
1066
|
<tr>
|
1056
1067
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1057
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1058
|
-
</td>
|
1068
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</td>
|
1059
1069
|
</tr>
|
1060
1070
|
<tr>
|
1061
1071
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1062
|
-
<td>
|
1063
|
-
|
1064
|
-
|
1065
|
-
</td>
|
1072
|
+
<td>the stretch field for the font description. Use
|
1073
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to find out if
|
1074
|
+
the field was explicitly set or not.</td>
|
1066
1075
|
</tr>
|
1067
1076
|
</tbody>
|
1068
1077
|
</table></div>
|
@@ -1070,8 +1079,8 @@ See <a class="link" href="pango-Fonts.html#pango-font-description-set-stretch" t
|
|
1070
1079
|
<hr>
|
1071
1080
|
<div class="refsect2">
|
1072
1081
|
<a name="pango-font-description-set-size"></a><h3>pango_font_description_set_size ()</h3>
|
1073
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_size (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1074
|
-
<em class="parameter"><code><span class="type">gint</span> size</code></em>);</pre>
|
1082
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_size (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1083
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>);</pre>
|
1075
1084
|
<p>
|
1076
1085
|
Sets the size field of a font description in fractional points. This is mutually
|
1077
1086
|
exclusive with <a class="link" href="pango-Fonts.html#pango-font-description-set-absolute-size" title="pango_font_description_set_absolute_size ()"><code class="function">pango_font_description_set_absolute_size()</code></a>.
|
@@ -1081,19 +1090,18 @@ exclusive with <a class="link" href="pango-Fonts.html#pango-font-description-set
|
|
1081
1090
|
<tbody>
|
1082
1091
|
<tr>
|
1083
1092
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1084
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1093
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1085
1094
|
</td>
|
1086
1095
|
</tr>
|
1087
1096
|
<tr>
|
1088
1097
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
1089
1098
|
<td>the size of the font in points, scaled by PANGO_SCALE. (That is,
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
</td>
|
1099
|
+
a <em class="parameter"><code>size</code></em> value of 10 * PANGO_SCALE is a 10 point font. The conversion
|
1100
|
+
factor between points and device units depends on system configuration
|
1101
|
+
and the output device. For screen display, a logical DPI of 96 is
|
1102
|
+
common, in which case a 10 point font corresponds to a 10 * (96 / 72) = 13.3
|
1103
|
+
pixel font. Use <a class="link" href="pango-Fonts.html#pango-font-description-set-absolute-size" title="pango_font_description_set_absolute_size ()"><code class="function">pango_font_description_set_absolute_size()</code></a> if you need
|
1104
|
+
a particular size in device units.</td>
|
1097
1105
|
</tr>
|
1098
1106
|
</tbody>
|
1099
1107
|
</table></div>
|
@@ -1101,7 +1109,7 @@ exclusive with <a class="link" href="pango-Fonts.html#pango-font-description-set
|
|
1101
1109
|
<hr>
|
1102
1110
|
<div class="refsect2">
|
1103
1111
|
<a name="pango-font-description-get-size"></a><h3>pango_font_description_get_size ()</h3>
|
1104
|
-
<pre class="programlisting"><span class="returnvalue">gint</span> pango_font_description_get_size (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1112
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> pango_font_description_get_size (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1105
1113
|
<p>
|
1106
1114
|
Gets the size field of a font description.
|
1107
1115
|
See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()"><code class="function">pango_font_description_set_size()</code></a>.
|
@@ -1111,18 +1119,17 @@ See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" titl
|
|
1111
1119
|
<tbody>
|
1112
1120
|
<tr>
|
1113
1121
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1114
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1122
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1115
1123
|
</td>
|
1116
1124
|
</tr>
|
1117
1125
|
<tr>
|
1118
1126
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1119
|
-
<td>
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
</td>
|
1127
|
+
<td>the size field for the font description in points or device units.
|
1128
|
+
You must call <a class="link" href="pango-Fonts.html#pango-font-description-get-size-is-absolute" title="pango_font_description_get_size_is_absolute ()"><code class="function">pango_font_description_get_size_is_absolute()</code></a>
|
1129
|
+
to find out which is the case. Returns 0 if the size field has not
|
1130
|
+
previously been set or it has been set to 0 explicitly.
|
1131
|
+
Use <a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to
|
1132
|
+
find out if the field was explicitly set or not.</td>
|
1126
1133
|
</tr>
|
1127
1134
|
</tbody>
|
1128
1135
|
</table></div>
|
@@ -1131,7 +1138,7 @@ See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" titl
|
|
1131
1138
|
<div class="refsect2">
|
1132
1139
|
<a name="pango-font-description-set-absolute-size"></a><h3>pango_font_description_set_absolute_size ()</h3>
|
1133
1140
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_absolute_size
|
1134
|
-
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1141
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1135
1142
|
<em class="parameter"><code><span class="type">double</span> size</code></em>);</pre>
|
1136
1143
|
<p>
|
1137
1144
|
Sets the size field of a font description, in device units. This is mutually
|
@@ -1143,15 +1150,14 @@ in points.
|
|
1143
1150
|
<tbody>
|
1144
1151
|
<tr>
|
1145
1152
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1146
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1153
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1147
1154
|
</td>
|
1148
1155
|
</tr>
|
1149
1156
|
<tr>
|
1150
1157
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
1151
1158
|
<td>the new size, in Pango units. There are <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> Pango units in one
|
1152
|
-
|
1153
|
-
|
1154
|
-
</td>
|
1159
|
+
device unit. For an output backend where a device unit is a pixel, a <em class="parameter"><code>size</code></em>
|
1160
|
+
value of 10 * PANGO_SCALE gives a 10 pixel font.</td>
|
1155
1161
|
</tr>
|
1156
1162
|
</tbody>
|
1157
1163
|
</table></div>
|
@@ -1160,8 +1166,8 @@ in points.
|
|
1160
1166
|
<hr>
|
1161
1167
|
<div class="refsect2">
|
1162
1168
|
<a name="pango-font-description-get-size-is-absolute"></a><h3>pango_font_description_get_size_is_absolute ()</h3>
|
1163
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_font_description_get_size_is_absolute
|
1164
|
-
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1169
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_font_description_get_size_is_absolute
|
1170
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1165
1171
|
<p>
|
1166
1172
|
Determines whether the size of the font is in points (not absolute) or device units (absolute).
|
1167
1173
|
See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()"><code class="function">pango_font_description_set_size()</code></a> and <a class="link" href="pango-Fonts.html#pango-font-description-set-absolute-size" title="pango_font_description_set_absolute_size ()"><code class="function">pango_font_description_set_absolute_size()</code></a>.
|
@@ -1171,16 +1177,14 @@ See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" titl
|
|
1171
1177
|
<tbody>
|
1172
1178
|
<tr>
|
1173
1179
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1174
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1180
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1175
1181
|
</td>
|
1176
1182
|
</tr>
|
1177
1183
|
<tr>
|
1178
1184
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1179
|
-
<td>
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
</td>
|
1185
|
+
<td>whether the size for the font description is in
|
1186
|
+
points or device units. Use <a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to
|
1187
|
+
find out if the size field of the font description was explicitly set or not.</td>
|
1184
1188
|
</tr>
|
1185
1189
|
</tbody>
|
1186
1190
|
</table></div>
|
@@ -1189,8 +1193,8 @@ See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" titl
|
|
1189
1193
|
<hr>
|
1190
1194
|
<div class="refsect2">
|
1191
1195
|
<a name="pango-font-description-set-gravity"></a><h3>pango_font_description_set_gravity ()</h3>
|
1192
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_gravity (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1193
|
-
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity"
|
1196
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_gravity (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1197
|
+
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);</pre>
|
1194
1198
|
<p>
|
1195
1199
|
Sets the gravity field of a font description. The gravity field
|
1196
1200
|
specifies how the glyphs should be rotated. If <em class="parameter"><code>gravity</code></em> is
|
@@ -1206,13 +1210,12 @@ be set on a <a class="link" href="pango-Text-Processing.html#PangoContext"><span
|
|
1206
1210
|
<tbody>
|
1207
1211
|
<tr>
|
1208
1212
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1209
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1213
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1210
1214
|
</td>
|
1211
1215
|
</tr>
|
1212
1216
|
<tr>
|
1213
1217
|
<td><p><span class="term"><em class="parameter"><code>gravity</code></em> :</span></p></td>
|
1214
|
-
<td>the gravity for the font description
|
1215
|
-
</td>
|
1218
|
+
<td>the gravity for the font description.</td>
|
1216
1219
|
</tr>
|
1217
1220
|
</tbody>
|
1218
1221
|
</table></div>
|
@@ -1221,7 +1224,7 @@ be set on a <a class="link" href="pango-Text-Processing.html#PangoContext"><span
|
|
1221
1224
|
<hr>
|
1222
1225
|
<div class="refsect2">
|
1223
1226
|
<a name="pango-font-description-get-gravity"></a><h3>pango_font_description_get_gravity ()</h3>
|
1224
|
-
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity"
|
1227
|
+
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="returnvalue">PangoGravity</span></a> pango_font_description_get_gravity (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1225
1228
|
<p>
|
1226
1229
|
Gets the gravity field of a font description. See
|
1227
1230
|
<a class="link" href="pango-Fonts.html#pango-font-description-set-gravity" title="pango_font_description_set_gravity ()"><code class="function">pango_font_description_set_gravity()</code></a>.
|
@@ -1231,16 +1234,14 @@ Gets the gravity field of a font description. See
|
|
1231
1234
|
<tbody>
|
1232
1235
|
<tr>
|
1233
1236
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1234
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1237
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1235
1238
|
</td>
|
1236
1239
|
</tr>
|
1237
1240
|
<tr>
|
1238
1241
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1239
|
-
<td>
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
</td>
|
1242
|
+
<td>the gravity field for the font description. Use
|
1243
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to find out if
|
1244
|
+
the field was explicitly set or not.</td>
|
1244
1245
|
</tr>
|
1245
1246
|
</tbody>
|
1246
1247
|
</table></div>
|
@@ -1249,8 +1250,8 @@ Gets the gravity field of a font description. See
|
|
1249
1250
|
<hr>
|
1250
1251
|
<div class="refsect2">
|
1251
1252
|
<a name="pango-font-description-get-set-fields"></a><h3>pango_font_description_get_set_fields ()</h3>
|
1252
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMask"
|
1253
|
-
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1253
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMask"><span class="returnvalue">PangoFontMask</span></a> pango_font_description_get_set_fields
|
1254
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1254
1255
|
<p>
|
1255
1256
|
Determines which fields in a font description have been set.
|
1256
1257
|
</p>
|
@@ -1259,14 +1260,13 @@ Determines which fields in a font description have been set.
|
|
1259
1260
|
<tbody>
|
1260
1261
|
<tr>
|
1261
1262
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1262
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1263
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1263
1264
|
</td>
|
1264
1265
|
</tr>
|
1265
1266
|
<tr>
|
1266
1267
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1267
|
-
<td>
|
1268
|
-
|
1269
|
-
</td>
|
1268
|
+
<td>a bitmask with bits set corresponding to the
|
1269
|
+
fields in <em class="parameter"><code>desc</code></em> that have been set.</td>
|
1270
1270
|
</tr>
|
1271
1271
|
</tbody>
|
1272
1272
|
</table></div>
|
@@ -1274,10 +1274,10 @@ Determines which fields in a font description have been set.
|
|
1274
1274
|
<hr>
|
1275
1275
|
<div class="refsect2">
|
1276
1276
|
<a name="pango-font-description-unset-fields"></a><h3>pango_font_description_unset_fields ()</h3>
|
1277
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_unset_fields (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1278
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMask"
|
1277
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_unset_fields (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1278
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMask"><span class="type">PangoFontMask</span></a> to_unset</code></em>);</pre>
|
1279
1279
|
<p>
|
1280
|
-
Unsets some of the fields in a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1280
|
+
Unsets some of the fields in a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. The unset
|
1281
1281
|
fields will get back to their default values.
|
1282
1282
|
</p>
|
1283
1283
|
<div class="variablelist"><table border="0">
|
@@ -1285,13 +1285,12 @@ fields will get back to their default values.
|
|
1285
1285
|
<tbody>
|
1286
1286
|
<tr>
|
1287
1287
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1288
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1288
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1289
1289
|
</td>
|
1290
1290
|
</tr>
|
1291
1291
|
<tr>
|
1292
1292
|
<td><p><span class="term"><em class="parameter"><code>to_unset</code></em> :</span></p></td>
|
1293
|
-
<td>bitmask of fields in the <em class="parameter"><code>desc</code></em> to unset
|
1294
|
-
</td>
|
1293
|
+
<td>bitmask of fields in the <em class="parameter"><code>desc</code></em> to unset.</td>
|
1295
1294
|
</tr>
|
1296
1295
|
</tbody>
|
1297
1296
|
</table></div>
|
@@ -1299,37 +1298,36 @@ fields will get back to their default values.
|
|
1299
1298
|
<hr>
|
1300
1299
|
<div class="refsect2">
|
1301
1300
|
<a name="pango-font-description-merge"></a><h3>pango_font_description_merge ()</h3>
|
1302
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_merge (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1303
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1304
|
-
<em class="parameter"><code><span class="type">gboolean</span> replace_existing</code></em>);</pre>
|
1301
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_merge (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1302
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc_to_merge</code></em>,
|
1303
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> replace_existing</code></em>);</pre>
|
1305
1304
|
<p>
|
1306
1305
|
Merges the fields that are set in <em class="parameter"><code>desc_to_merge</code></em> into the fields in
|
1307
|
-
<em class="parameter"><code>desc</code></em>. If <em class="parameter"><code>replace_existing</code></em> is <code class="literal">FALSE</code>, only fields in <em class="parameter"><code>desc</code></em> that
|
1308
|
-
are not already set are affected. If <code class="literal">TRUE</code>, then fields that are
|
1306
|
+
<em class="parameter"><code>desc</code></em>. If <em class="parameter"><code>replace_existing</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, only fields in <em class="parameter"><code>desc</code></em> that
|
1307
|
+
are not already set are affected. If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then fields that are
|
1309
1308
|
already set will be replaced as well.
|
1310
1309
|
</p>
|
1311
1310
|
<p>
|
1312
|
-
If <em class="parameter"><code>desc_to_merge</code></em> is <a href="/
|
1311
|
+
If <em class="parameter"><code>desc_to_merge</code></em> is <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, this function performs nothing.
|
1313
1312
|
</p>
|
1314
1313
|
<div class="variablelist"><table border="0">
|
1315
1314
|
<col align="left" valign="top">
|
1316
1315
|
<tbody>
|
1317
1316
|
<tr>
|
1318
1317
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1319
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1318
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1320
1319
|
</td>
|
1321
1320
|
</tr>
|
1322
1321
|
<tr>
|
1323
1322
|
<td><p><span class="term"><em class="parameter"><code>desc_to_merge</code></em> :</span></p></td>
|
1324
|
-
<td>the <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1323
|
+
<td>the <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> to merge from, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1325
1324
|
</td>
|
1326
1325
|
</tr>
|
1327
1326
|
<tr>
|
1328
1327
|
<td><p><span class="term"><em class="parameter"><code>replace_existing</code></em> :</span></p></td>
|
1329
|
-
<td>if <code class="literal">TRUE</code>, replace fields in <em class="parameter"><code>desc</code></em> with the
|
1330
|
-
|
1331
|
-
|
1332
|
-
</td>
|
1328
|
+
<td>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, replace fields in <em class="parameter"><code>desc</code></em> with the
|
1329
|
+
corresponding values from <em class="parameter"><code>desc_to_merge</code></em>, even if they
|
1330
|
+
are already exist.</td>
|
1333
1331
|
</tr>
|
1334
1332
|
</tbody>
|
1335
1333
|
</table></div>
|
@@ -1337,9 +1335,9 @@ If <em class="parameter"><code>desc_to_merge</code></em> is <a href="/gnome/usr/
|
|
1337
1335
|
<hr>
|
1338
1336
|
<div class="refsect2">
|
1339
1337
|
<a name="pango-font-description-merge-static"></a><h3>pango_font_description_merge_static ()</h3>
|
1340
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_merge_static (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1341
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1342
|
-
<em class="parameter"><code><span class="type">gboolean</span> replace_existing</code></em>);</pre>
|
1338
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_merge_static (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1339
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc_to_merge</code></em>,
|
1340
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> replace_existing</code></em>);</pre>
|
1343
1341
|
<p>
|
1344
1342
|
Like <a class="link" href="pango-Fonts.html#pango-font-description-merge" title="pango_font_description_merge ()"><code class="function">pango_font_description_merge()</code></a>, but only a shallow copy is made
|
1345
1343
|
of the family name and other allocated fields. <em class="parameter"><code>desc</code></em> can only be
|
@@ -1351,20 +1349,18 @@ to be used when the merged font description is only needed temporarily.
|
|
1351
1349
|
<tbody>
|
1352
1350
|
<tr>
|
1353
1351
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1354
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1352
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1355
1353
|
</td>
|
1356
1354
|
</tr>
|
1357
1355
|
<tr>
|
1358
1356
|
<td><p><span class="term"><em class="parameter"><code>desc_to_merge</code></em> :</span></p></td>
|
1359
|
-
<td>the <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1360
|
-
</td>
|
1357
|
+
<td>the <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> to merge from</td>
|
1361
1358
|
</tr>
|
1362
1359
|
<tr>
|
1363
1360
|
<td><p><span class="term"><em class="parameter"><code>replace_existing</code></em> :</span></p></td>
|
1364
|
-
<td>if <code class="literal">TRUE</code>, replace fields in <em class="parameter"><code>desc</code></em> with the
|
1365
|
-
|
1366
|
-
|
1367
|
-
</td>
|
1361
|
+
<td>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, replace fields in <em class="parameter"><code>desc</code></em> with the
|
1362
|
+
corresponding values from <em class="parameter"><code>desc_to_merge</code></em>, even if they
|
1363
|
+
are already exist.</td>
|
1368
1364
|
</tr>
|
1369
1365
|
</tbody>
|
1370
1366
|
</table></div>
|
@@ -1372,12 +1368,12 @@ to be used when the merged font description is only needed temporarily.
|
|
1372
1368
|
<hr>
|
1373
1369
|
<div class="refsect2">
|
1374
1370
|
<a name="pango-font-description-better-match"></a><h3>pango_font_description_better_match ()</h3>
|
1375
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_font_description_better_match (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1376
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1377
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1371
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_font_description_better_match (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1372
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *old_match</code></em>,
|
1373
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *new_match</code></em>);</pre>
|
1378
1374
|
<p>
|
1379
1375
|
Determines if the style attributes of <em class="parameter"><code>new_match</code></em> are a closer match
|
1380
|
-
for <em class="parameter"><code>desc</code></em> than those of <em class="parameter"><code>old_match</code></em> are, or if <em class="parameter"><code>old_match</code></em> is <a href="/
|
1376
|
+
for <em class="parameter"><code>desc</code></em> than those of <em class="parameter"><code>old_match</code></em> are, or if <em class="parameter"><code>old_match</code></em> is <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
1381
1377
|
determines if <em class="parameter"><code>new_match</code></em> is a match at all.
|
1382
1378
|
Approximate matching is done for
|
1383
1379
|
weight and style; other style attributes must match exactly.
|
@@ -1394,23 +1390,23 @@ Note that <em class="parameter"><code>old_match</code></em> must match <em class
|
|
1394
1390
|
<tbody>
|
1395
1391
|
<tr>
|
1396
1392
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1397
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1393
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1398
1394
|
</td>
|
1399
1395
|
</tr>
|
1400
1396
|
<tr>
|
1401
1397
|
<td><p><span class="term"><em class="parameter"><code>old_match</code></em> :</span></p></td>
|
1402
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1398
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
1403
1399
|
</td>
|
1404
1400
|
</tr>
|
1405
1401
|
<tr>
|
1406
1402
|
<td><p><span class="term"><em class="parameter"><code>new_match</code></em> :</span></p></td>
|
1407
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1403
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1408
1404
|
</td>
|
1409
1405
|
</tr>
|
1410
1406
|
<tr>
|
1411
1407
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1412
|
-
<td>
|
1413
|
-
</td>
|
1408
|
+
<td>
|
1409
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>new_match</code></em> is a better match</td>
|
1414
1410
|
</tr>
|
1415
1411
|
</tbody>
|
1416
1412
|
</table></div>
|
@@ -1418,7 +1414,7 @@ Note that <em class="parameter"><code>old_match</code></em> must match <em class
|
|
1418
1414
|
<hr>
|
1419
1415
|
<div class="refsect2">
|
1420
1416
|
<a name="pango-font-description-from-string"></a><h3>pango_font_description_from_string ()</h3>
|
1421
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1417
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_description_from_string
|
1422
1418
|
(<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre>
|
1423
1419
|
<p>
|
1424
1420
|
Creates a new font description from a string representation in the
|
@@ -1429,7 +1425,7 @@ describes one of style, variant, weight, stretch, or gravity, and SIZE
|
|
1429
1425
|
is a decimal number (size in points) or optionally followed by the
|
1430
1426
|
unit modifier "px" for absolute size. Any one of the options may
|
1431
1427
|
be absent. If FAMILY-LIST is absent, then the family_name field of
|
1432
|
-
the resulting font description will be initialized to <a href="/
|
1428
|
+
the resulting font description will be initialized to <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. If
|
1433
1429
|
STYLE-OPTIONS is missing, then all style options will be set to the
|
1434
1430
|
default values. If SIZE is missing, the size in the resulting font
|
1435
1431
|
description will be set to 0.
|
@@ -1439,13 +1435,11 @@ description will be set to 0.
|
|
1439
1435
|
<tbody>
|
1440
1436
|
<tr>
|
1441
1437
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
1442
|
-
<td>string representation of a font description
|
1443
|
-
</td>
|
1438
|
+
<td>string representation of a font description.</td>
|
1444
1439
|
</tr>
|
1445
1440
|
<tr>
|
1446
1441
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1447
|
-
<td>
|
1448
|
-
</td>
|
1442
|
+
<td>a new <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</td>
|
1449
1443
|
</tr>
|
1450
1444
|
</tbody>
|
1451
1445
|
</table></div>
|
@@ -1453,7 +1447,7 @@ description will be set to 0.
|
|
1453
1447
|
<hr>
|
1454
1448
|
<div class="refsect2">
|
1455
1449
|
<a name="pango-font-description-to-string"></a><h3>pango_font_description_to_string ()</h3>
|
1456
|
-
<pre class="programlisting"><span class="returnvalue">char</span> *
|
1450
|
+
<pre class="programlisting"><span class="returnvalue">char</span> * pango_font_description_to_string (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1457
1451
|
<p>
|
1458
1452
|
Creates a string representation of a font description. See
|
1459
1453
|
<a class="link" href="pango-Fonts.html#pango-font-description-from-string" title="pango_font_description_from_string ()"><code class="function">pango_font_description_from_string()</code></a> for a description of the
|
@@ -1466,13 +1460,12 @@ last word of the list is a valid style option.
|
|
1466
1460
|
<tbody>
|
1467
1461
|
<tr>
|
1468
1462
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1469
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1463
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1470
1464
|
</td>
|
1471
1465
|
</tr>
|
1472
1466
|
<tr>
|
1473
1467
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1474
|
-
<td>
|
1475
|
-
</td>
|
1468
|
+
<td>a new string that must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
|
1476
1469
|
</tr>
|
1477
1470
|
</tbody>
|
1478
1471
|
</table></div>
|
@@ -1480,8 +1473,7 @@ last word of the list is a valid style option.
|
|
1480
1473
|
<hr>
|
1481
1474
|
<div class="refsect2">
|
1482
1475
|
<a name="pango-font-description-to-filename"></a><h3>pango_font_description_to_filename ()</h3>
|
1483
|
-
<pre class="programlisting"><span class="returnvalue">char</span> *
|
1484
|
-
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1476
|
+
<pre class="programlisting"><span class="returnvalue">char</span> * pango_font_description_to_filename (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1485
1477
|
<p>
|
1486
1478
|
Creates a filename representation of a font description. The
|
1487
1479
|
filename is identical to the result from calling
|
@@ -1493,20 +1485,19 @@ characters that are untypical in filenames, and in lower case only.
|
|
1493
1485
|
<tbody>
|
1494
1486
|
<tr>
|
1495
1487
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1496
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1488
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
1497
1489
|
</td>
|
1498
1490
|
</tr>
|
1499
1491
|
<tr>
|
1500
1492
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1501
|
-
<td>
|
1502
|
-
</td>
|
1493
|
+
<td>a new string that must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
|
1503
1494
|
</tr>
|
1504
1495
|
</tbody>
|
1505
1496
|
</table></div>
|
1506
1497
|
</div>
|
1507
1498
|
<hr>
|
1508
1499
|
<div class="refsect2">
|
1509
|
-
<a name="PangoFontMetrics"></a><h3>struct PangoFontMetrics</h3>
|
1500
|
+
<a name="PangoFontMetrics-struct"></a><h3>struct PangoFontMetrics</h3>
|
1510
1501
|
<pre class="programlisting">struct PangoFontMetrics {
|
1511
1502
|
guint ref_count;
|
1512
1503
|
|
@@ -1521,71 +1512,12 @@ characters that are untypical in filenames, and in lower case only.
|
|
1521
1512
|
};
|
1522
1513
|
</pre>
|
1523
1514
|
<p>
|
1524
|
-
A <a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1515
|
+
A <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure holds the overall metric information
|
1525
1516
|
for a font (possibly restricted to a script). The fields of this
|
1526
1517
|
structure are private to implementations of a font backend. See
|
1527
1518
|
the documentation of the corresponding getters for documentation
|
1528
1519
|
of their meaning.
|
1529
1520
|
</p>
|
1530
|
-
<div class="variablelist"><table border="0">
|
1531
|
-
<col align="left" valign="top">
|
1532
|
-
<tbody>
|
1533
|
-
<tr>
|
1534
|
-
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoFontMetrics.ref-count"></a>ref_count</code></em>;</span></p></td>
|
1535
|
-
<td>reference count. Used internally. See <a class="link" href="pango-Fonts.html#pango-font-metrics-ref" title="pango_font_metrics_ref ()"><code class="function">pango_font_metrics_ref()</code></a>
|
1536
|
-
and <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()"><code class="function">pango_font_metrics_unref()</code></a>.
|
1537
|
-
</td>
|
1538
|
-
</tr>
|
1539
|
-
<tr>
|
1540
|
-
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoFontMetrics.ascent"></a>ascent</code></em>;</span></p></td>
|
1541
|
-
<td>the distance from the baseline to the highest point of the glyphs of
|
1542
|
-
the font. This is positive in practically all fonts.
|
1543
|
-
</td>
|
1544
|
-
</tr>
|
1545
|
-
<tr>
|
1546
|
-
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoFontMetrics.descent"></a>descent</code></em>;</span></p></td>
|
1547
|
-
<td>the distance from the baseline to the lowest point of the glyphs of
|
1548
|
-
the font. This is positive in practically all fonts.
|
1549
|
-
</td>
|
1550
|
-
</tr>
|
1551
|
-
<tr>
|
1552
|
-
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoFontMetrics.approximate-char-width"></a>approximate_char_width</code></em>;</span></p></td>
|
1553
|
-
<td>approximate average width of the regular glyphs of
|
1554
|
-
the font. Note that for this calculation, East Asian characters
|
1555
|
-
(those passing <code class="function">g_unichar_iswide()</code>) are counted as double-width.
|
1556
|
-
This produces a more uniform value for this measure across languages
|
1557
|
-
and results in more uniform and more expected UI sizes.
|
1558
|
-
</td>
|
1559
|
-
</tr>
|
1560
|
-
<tr>
|
1561
|
-
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoFontMetrics.approximate-digit-width"></a>approximate_digit_width</code></em>;</span></p></td>
|
1562
|
-
<td>approximate average width of the glyphs for digits
|
1563
|
-
of the font.
|
1564
|
-
</td>
|
1565
|
-
</tr>
|
1566
|
-
<tr>
|
1567
|
-
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoFontMetrics.underline-position"></a>underline_position</code></em>;</span></p></td>
|
1568
|
-
<td>position of the underline. This is normally negative.
|
1569
|
-
</td>
|
1570
|
-
</tr>
|
1571
|
-
<tr>
|
1572
|
-
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoFontMetrics.underline-thickness"></a>underline_thickness</code></em>;</span></p></td>
|
1573
|
-
<td>thickness of the underline.
|
1574
|
-
</td>
|
1575
|
-
</tr>
|
1576
|
-
<tr>
|
1577
|
-
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoFontMetrics.strikethrough-position"></a>strikethrough_position</code></em>;</span></p></td>
|
1578
|
-
<td>position of the strikethrough line. This is
|
1579
|
-
normally positive.
|
1580
|
-
</td>
|
1581
|
-
</tr>
|
1582
|
-
<tr>
|
1583
|
-
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PangoFontMetrics.strikethrough-thickness"></a>strikethrough_thickness</code></em>;</span></p></td>
|
1584
|
-
<td>thickness of the strikethrough line.
|
1585
|
-
</td>
|
1586
|
-
</tr>
|
1587
|
-
</tbody>
|
1588
|
-
</table></div>
|
1589
1521
|
</div>
|
1590
1522
|
<hr>
|
1591
1523
|
<div class="refsect2">
|
@@ -1593,13 +1525,13 @@ of their meaning.
|
|
1593
1525
|
<pre class="programlisting">#define PANGO_TYPE_FONT_METRICS (pango_font_metrics_get_type ())
|
1594
1526
|
</pre>
|
1595
1527
|
<p>
|
1596
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1528
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a>.
|
1597
1529
|
</p>
|
1598
1530
|
</div>
|
1599
1531
|
<hr>
|
1600
1532
|
<div class="refsect2">
|
1601
1533
|
<a name="pango-font-metrics-ref"></a><h3>pango_font_metrics_ref ()</h3>
|
1602
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1534
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * pango_font_metrics_ref (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1603
1535
|
<p>
|
1604
1536
|
Increase the reference count of a font metrics structure by one.
|
1605
1537
|
</p>
|
@@ -1608,13 +1540,12 @@ Increase the reference count of a font metrics structure by one.
|
|
1608
1540
|
<tbody>
|
1609
1541
|
<tr>
|
1610
1542
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1611
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1543
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1612
1544
|
</td>
|
1613
1545
|
</tr>
|
1614
1546
|
<tr>
|
1615
1547
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1616
|
-
<td
|
1617
|
-
</td>
|
1548
|
+
<td><em class="parameter"><code>metrics</code></em></td>
|
1618
1549
|
</tr>
|
1619
1550
|
</tbody>
|
1620
1551
|
</table></div>
|
@@ -1622,7 +1553,7 @@ Increase the reference count of a font metrics structure by one.
|
|
1622
1553
|
<hr>
|
1623
1554
|
<div class="refsect2">
|
1624
1555
|
<a name="pango-font-metrics-unref"></a><h3>pango_font_metrics_unref ()</h3>
|
1625
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_metrics_unref (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1556
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_metrics_unref (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1626
1557
|
<p>
|
1627
1558
|
Decrease the reference count of a font metrics structure by one. If
|
1628
1559
|
the result is zero, frees the structure and any associated
|
@@ -1632,7 +1563,7 @@ memory.
|
|
1632
1563
|
<col align="left" valign="top">
|
1633
1564
|
<tbody><tr>
|
1634
1565
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1635
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1566
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure, may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1636
1567
|
</td>
|
1637
1568
|
</tr></tbody>
|
1638
1569
|
</table></div>
|
@@ -1640,7 +1571,7 @@ memory.
|
|
1640
1571
|
<hr>
|
1641
1572
|
<div class="refsect2">
|
1642
1573
|
<a name="pango-font-metrics-get-ascent"></a><h3>pango_font_metrics_get_ascent ()</h3>
|
1643
|
-
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_ascent (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1574
|
+
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_ascent (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1644
1575
|
<p>
|
1645
1576
|
Gets the ascent from a font metrics structure. The ascent is
|
1646
1577
|
the distance from the baseline to the logical top of a line
|
@@ -1653,13 +1584,11 @@ where the ink will be.)
|
|
1653
1584
|
<tbody>
|
1654
1585
|
<tr>
|
1655
1586
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1656
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1657
|
-
</td>
|
1587
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure</td>
|
1658
1588
|
</tr>
|
1659
1589
|
<tr>
|
1660
1590
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1661
|
-
<td>
|
1662
|
-
</td>
|
1591
|
+
<td>the ascent, in Pango units.</td>
|
1663
1592
|
</tr>
|
1664
1593
|
</tbody>
|
1665
1594
|
</table></div>
|
@@ -1667,7 +1596,7 @@ where the ink will be.)
|
|
1667
1596
|
<hr>
|
1668
1597
|
<div class="refsect2">
|
1669
1598
|
<a name="pango-font-metrics-get-descent"></a><h3>pango_font_metrics_get_descent ()</h3>
|
1670
|
-
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_descent (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1599
|
+
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_descent (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1671
1600
|
<p>
|
1672
1601
|
Gets the descent from a font metrics structure. The descent is
|
1673
1602
|
the distance from the baseline to the logical bottom of a line
|
@@ -1680,13 +1609,11 @@ where the ink will be.)
|
|
1680
1609
|
<tbody>
|
1681
1610
|
<tr>
|
1682
1611
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1683
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1684
|
-
</td>
|
1612
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure</td>
|
1685
1613
|
</tr>
|
1686
1614
|
<tr>
|
1687
1615
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1688
|
-
<td>
|
1689
|
-
</td>
|
1616
|
+
<td>the descent, in Pango units.</td>
|
1690
1617
|
</tr>
|
1691
1618
|
</tbody>
|
1692
1619
|
</table></div>
|
@@ -1695,7 +1622,7 @@ where the ink will be.)
|
|
1695
1622
|
<div class="refsect2">
|
1696
1623
|
<a name="pango-font-metrics-get-approximate-char-width"></a><h3>pango_font_metrics_get_approximate_char_width ()</h3>
|
1697
1624
|
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_approximate_char_width
|
1698
|
-
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1625
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1699
1626
|
<p>
|
1700
1627
|
Gets the approximate character width for a font metrics structure.
|
1701
1628
|
This is merely a representative value useful, for example, for
|
@@ -1707,13 +1634,11 @@ text will be wider and narrower than this.
|
|
1707
1634
|
<tbody>
|
1708
1635
|
<tr>
|
1709
1636
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1710
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1711
|
-
</td>
|
1637
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure</td>
|
1712
1638
|
</tr>
|
1713
1639
|
<tr>
|
1714
1640
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1715
|
-
<td>
|
1716
|
-
</td>
|
1641
|
+
<td>the character width, in Pango units.</td>
|
1717
1642
|
</tr>
|
1718
1643
|
</tbody>
|
1719
1644
|
</table></div>
|
@@ -1722,7 +1647,7 @@ text will be wider and narrower than this.
|
|
1722
1647
|
<div class="refsect2">
|
1723
1648
|
<a name="pango-font-metrics-get-approximate-digit-width"></a><h3>pango_font_metrics_get_approximate_digit_width ()</h3>
|
1724
1649
|
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_approximate_digit_width
|
1725
|
-
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1650
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1726
1651
|
<p>
|
1727
1652
|
Gets the approximate digit width for a font metrics structure.
|
1728
1653
|
This is merely a representative value useful, for example, for
|
@@ -1736,13 +1661,11 @@ is generally somewhat more accurate than the result of
|
|
1736
1661
|
<tbody>
|
1737
1662
|
<tr>
|
1738
1663
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1739
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1740
|
-
</td>
|
1664
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure</td>
|
1741
1665
|
</tr>
|
1742
1666
|
<tr>
|
1743
1667
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1744
|
-
<td>
|
1745
|
-
</td>
|
1668
|
+
<td>the digit width, in Pango units.</td>
|
1746
1669
|
</tr>
|
1747
1670
|
</tbody>
|
1748
1671
|
</table></div>
|
@@ -1751,7 +1674,7 @@ is generally somewhat more accurate than the result of
|
|
1751
1674
|
<div class="refsect2">
|
1752
1675
|
<a name="pango-font-metrics-get-underline-thickness"></a><h3>pango_font_metrics_get_underline_thickness ()</h3>
|
1753
1676
|
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_underline_thickness
|
1754
|
-
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1677
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1755
1678
|
<p>
|
1756
1679
|
Gets the suggested thickness to draw for the underline.
|
1757
1680
|
</p>
|
@@ -1760,14 +1683,11 @@ Gets the suggested thickness to draw for the underline.
|
|
1760
1683
|
<tbody>
|
1761
1684
|
<tr>
|
1762
1685
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1763
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1764
|
-
</td>
|
1686
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure</td>
|
1765
1687
|
</tr>
|
1766
1688
|
<tr>
|
1767
1689
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1768
|
-
<td>
|
1769
|
-
|
1770
|
-
</td>
|
1690
|
+
<td>the suggested underline thickness, in Pango units.</td>
|
1771
1691
|
</tr>
|
1772
1692
|
</tbody>
|
1773
1693
|
</table></div>
|
@@ -1777,7 +1697,7 @@ Gets the suggested thickness to draw for the underline.
|
|
1777
1697
|
<div class="refsect2">
|
1778
1698
|
<a name="pango-font-metrics-get-underline-position"></a><h3>pango_font_metrics_get_underline_position ()</h3>
|
1779
1699
|
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_underline_position
|
1780
|
-
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1700
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1781
1701
|
<p>
|
1782
1702
|
Gets the suggested position to draw the underline.
|
1783
1703
|
The value returned is the distance <span class="emphasis"><em>above</em></span> the
|
@@ -1790,14 +1710,11 @@ negative.
|
|
1790
1710
|
<tbody>
|
1791
1711
|
<tr>
|
1792
1712
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1793
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1794
|
-
</td>
|
1713
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure</td>
|
1795
1714
|
</tr>
|
1796
1715
|
<tr>
|
1797
1716
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1798
|
-
<td>
|
1799
|
-
|
1800
|
-
</td>
|
1717
|
+
<td>the suggested underline position, in Pango units.</td>
|
1801
1718
|
</tr>
|
1802
1719
|
</tbody>
|
1803
1720
|
</table></div>
|
@@ -1807,7 +1724,7 @@ negative.
|
|
1807
1724
|
<div class="refsect2">
|
1808
1725
|
<a name="pango-font-metrics-get-strikethrough-thickness"></a><h3>pango_font_metrics_get_strikethrough_thickness ()</h3>
|
1809
1726
|
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_strikethrough_thickness
|
1810
|
-
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1727
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1811
1728
|
<p>
|
1812
1729
|
Gets the suggested thickness to draw for the strikethrough.
|
1813
1730
|
</p>
|
@@ -1816,14 +1733,11 @@ Gets the suggested thickness to draw for the strikethrough.
|
|
1816
1733
|
<tbody>
|
1817
1734
|
<tr>
|
1818
1735
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1819
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1820
|
-
</td>
|
1736
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure</td>
|
1821
1737
|
</tr>
|
1822
1738
|
<tr>
|
1823
1739
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1824
|
-
<td>
|
1825
|
-
|
1826
|
-
</td>
|
1740
|
+
<td>the suggested strikethrough thickness, in Pango units.</td>
|
1827
1741
|
</tr>
|
1828
1742
|
</tbody>
|
1829
1743
|
</table></div>
|
@@ -1833,7 +1747,7 @@ Gets the suggested thickness to draw for the strikethrough.
|
|
1833
1747
|
<div class="refsect2">
|
1834
1748
|
<a name="pango-font-metrics-get-strikethrough-position"></a><h3>pango_font_metrics_get_strikethrough_position ()</h3>
|
1835
1749
|
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_strikethrough_position
|
1836
|
-
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1750
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1837
1751
|
<p>
|
1838
1752
|
Gets the suggested position to draw the strikethrough.
|
1839
1753
|
The value returned is the distance <span class="emphasis"><em>above</em></span> the
|
@@ -1844,14 +1758,11 @@ baseline of the top of the strikethrough.
|
|
1844
1758
|
<tbody>
|
1845
1759
|
<tr>
|
1846
1760
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1847
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
1848
|
-
</td>
|
1761
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure</td>
|
1849
1762
|
</tr>
|
1850
1763
|
<tr>
|
1851
1764
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1852
|
-
<td>
|
1853
|
-
|
1854
|
-
</td>
|
1765
|
+
<td>the suggested strikethrough position, in Pango units.</td>
|
1855
1766
|
</tr>
|
1856
1767
|
</tbody>
|
1857
1768
|
</table></div>
|
@@ -1883,7 +1794,7 @@ which the implementation fills in.
|
|
1883
1794
|
<pre class="programlisting">#define PANGO_TYPE_FONT (pango_font_get_type ())
|
1884
1795
|
</pre>
|
1885
1796
|
<p>
|
1886
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
1797
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
1887
1798
|
</p>
|
1888
1799
|
</div>
|
1889
1800
|
<hr>
|
@@ -1892,14 +1803,13 @@ The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts
|
|
1892
1803
|
<pre class="programlisting">#define PANGO_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT, PangoFont))
|
1893
1804
|
</pre>
|
1894
1805
|
<p>
|
1895
|
-
Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
1806
|
+
Casts a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
1896
1807
|
</p>
|
1897
1808
|
<div class="variablelist"><table border="0">
|
1898
1809
|
<col align="left" valign="top">
|
1899
1810
|
<tbody><tr>
|
1900
1811
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
1901
|
-
<td>a <span class="type">GObject</span
|
1902
|
-
</td>
|
1812
|
+
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</td>
|
1903
1813
|
</tr></tbody>
|
1904
1814
|
</table></div>
|
1905
1815
|
</div>
|
@@ -1909,23 +1819,22 @@ Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts
|
|
1909
1819
|
<pre class="programlisting">#define PANGO_IS_FONT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT))
|
1910
1820
|
</pre>
|
1911
1821
|
<p>
|
1912
|
-
Returns <code class="literal">TRUE</code> if <em class="parameter"><code>object</code></em> is a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
1822
|
+
Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>object</code></em> is a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
1913
1823
|
</p>
|
1914
1824
|
<div class="variablelist"><table border="0">
|
1915
1825
|
<col align="left" valign="top">
|
1916
1826
|
<tbody><tr>
|
1917
1827
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
1918
|
-
<td>a <span class="type">GObject</span
|
1919
|
-
</td>
|
1828
|
+
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</td>
|
1920
1829
|
</tr></tbody>
|
1921
1830
|
</table></div>
|
1922
1831
|
</div>
|
1923
1832
|
<hr>
|
1924
1833
|
<div class="refsect2">
|
1925
1834
|
<a name="pango-font-find-shaper"></a><h3>pango_font_find_shaper ()</h3>
|
1926
|
-
<pre class="programlisting"><a class="link" href="PangoEngineShape.html" title="PangoEngineShape"><span class="returnvalue">PangoEngineShape</span></a> *
|
1927
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
1928
|
-
<em class="parameter"><code><span class="type">guint32</span> ch</code></em>);</pre>
|
1835
|
+
<pre class="programlisting"><a class="link" href="PangoEngineShape.html" title="PangoEngineShape"><span class="returnvalue">PangoEngineShape</span></a> * pango_font_find_shaper (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
1836
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
1837
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> ch</code></em>);</pre>
|
1929
1838
|
<p>
|
1930
1839
|
Finds the best matching shaper for a font for a particular
|
1931
1840
|
language tag and character point.
|
@@ -1940,18 +1849,15 @@ language tag and character point.
|
|
1940
1849
|
</tr>
|
1941
1850
|
<tr>
|
1942
1851
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
1943
|
-
<td>the language tag
|
1944
|
-
</td>
|
1852
|
+
<td>the language tag</td>
|
1945
1853
|
</tr>
|
1946
1854
|
<tr>
|
1947
1855
|
<td><p><span class="term"><em class="parameter"><code>ch</code></em> :</span></p></td>
|
1948
|
-
<td>a Unicode character
|
1949
|
-
</td>
|
1856
|
+
<td>a Unicode character.</td>
|
1950
1857
|
</tr>
|
1951
1858
|
<tr>
|
1952
1859
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1953
|
-
<td>
|
1954
|
-
</td>
|
1860
|
+
<td>the best matching shaper.</td>
|
1955
1861
|
</tr>
|
1956
1862
|
</tbody>
|
1957
1863
|
</table></div>
|
@@ -1959,7 +1865,7 @@ language tag and character point.
|
|
1959
1865
|
<hr>
|
1960
1866
|
<div class="refsect2">
|
1961
1867
|
<a name="pango-font-describe"></a><h3>pango_font_describe ()</h3>
|
1962
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1868
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_describe (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
1963
1869
|
<p>
|
1964
1870
|
Returns a description of the font, with font size set in points.
|
1965
1871
|
Use <a class="link" href="pango-Fonts.html#pango-font-describe-with-absolute-size" title="pango_font_describe_with_absolute_size ()"><code class="function">pango_font_describe_with_absolute_size()</code></a> if you want the font
|
@@ -1975,8 +1881,7 @@ size in device units.
|
|
1975
1881
|
</tr>
|
1976
1882
|
<tr>
|
1977
1883
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1978
|
-
<td>
|
1979
|
-
</td>
|
1884
|
+
<td>a newly-allocated <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> object.</td>
|
1980
1885
|
</tr>
|
1981
1886
|
</tbody>
|
1982
1887
|
</table></div>
|
@@ -1984,7 +1889,7 @@ size in device units.
|
|
1984
1889
|
<hr>
|
1985
1890
|
<div class="refsect2">
|
1986
1891
|
<a name="pango-font-describe-with-absolute-size"></a><h3>pango_font_describe_with_absolute_size ()</h3>
|
1987
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
1892
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_describe_with_absolute_size
|
1988
1893
|
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
1989
1894
|
<p>
|
1990
1895
|
Returns a description of the font, with absolute font size set
|
@@ -2001,9 +1906,7 @@ size in points.
|
|
2001
1906
|
</tr>
|
2002
1907
|
<tr>
|
2003
1908
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2004
|
-
<td>
|
2005
|
-
|
2006
|
-
</td>
|
1909
|
+
<td>a newly-allocated <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> object.</td>
|
2007
1910
|
</tr>
|
2008
1911
|
</tbody>
|
2009
1912
|
</table></div>
|
@@ -2012,8 +1915,8 @@ size in points.
|
|
2012
1915
|
<hr>
|
2013
1916
|
<div class="refsect2">
|
2014
1917
|
<a name="pango-font-get-coverage"></a><h3>pango_font_get_coverage ()</h3>
|
2015
|
-
<pre class="programlisting"><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> *
|
2016
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
1918
|
+
<pre class="programlisting"><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> * pango_font_get_coverage (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
1919
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
2017
1920
|
<p>
|
2018
1921
|
Computes the coverage map for a given font and language tag.
|
2019
1922
|
</p>
|
@@ -2027,13 +1930,11 @@ Computes the coverage map for a given font and language tag.
|
|
2027
1930
|
</tr>
|
2028
1931
|
<tr>
|
2029
1932
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
2030
|
-
<td>the language tag
|
2031
|
-
</td>
|
1933
|
+
<td>the language tag</td>
|
2032
1934
|
</tr>
|
2033
1935
|
<tr>
|
2034
1936
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2035
|
-
<td>
|
2036
|
-
</td>
|
1937
|
+
<td>a newly-allocated <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> object.</td>
|
2037
1938
|
</tr>
|
2038
1939
|
</tbody>
|
2039
1940
|
</table></div>
|
@@ -2055,7 +1956,7 @@ from the extents rectangle to more traditional font metrics. The units
|
|
2055
1956
|
of the rectangles are in 1/PANGO_SCALE of a device unit.
|
2056
1957
|
</p>
|
2057
1958
|
<p>
|
2058
|
-
If <em class="parameter"><code>font</code></em> is <a href="/
|
1959
|
+
If <em class="parameter"><code>font</code></em> is <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, this function gracefully sets some sane values in the
|
2059
1960
|
output variables and returns.
|
2060
1961
|
</p>
|
2061
1962
|
<div class="variablelist"><table border="0">
|
@@ -2068,19 +1969,18 @@ output variables and returns.
|
|
2068
1969
|
</tr>
|
2069
1970
|
<tr>
|
2070
1971
|
<td><p><span class="term"><em class="parameter"><code>glyph</code></em> :</span></p></td>
|
2071
|
-
<td>the glyph index
|
2072
|
-
</td>
|
1972
|
+
<td>the glyph index</td>
|
2073
1973
|
</tr>
|
2074
1974
|
<tr>
|
2075
1975
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
2076
|
-
<td>rectangle used to store the extents of the glyph
|
2077
|
-
|
1976
|
+
<td>rectangle used to store the extents of the glyph
|
1977
|
+
as drawn or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2078
1978
|
</td>
|
2079
1979
|
</tr>
|
2080
1980
|
<tr>
|
2081
1981
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
2082
|
-
<td>rectangle used to store the logical extents of
|
2083
|
-
|
1982
|
+
<td>rectangle used to store the logical extents of
|
1983
|
+
the glyph or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2084
1984
|
</td>
|
2085
1985
|
</tr>
|
2086
1986
|
</tbody>
|
@@ -2089,8 +1989,8 @@ output variables and returns.
|
|
2089
1989
|
<hr>
|
2090
1990
|
<div class="refsect2">
|
2091
1991
|
<a name="pango-font-get-metrics"></a><h3>pango_font_get_metrics ()</h3>
|
2092
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
2093
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
1992
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * pango_font_get_metrics (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
1993
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
2094
1994
|
<p>
|
2095
1995
|
Gets overall metric information for a font. Since the metrics may be
|
2096
1996
|
substantially different for different scripts, a language tag can
|
@@ -2098,7 +1998,7 @@ be provided to indicate that the metrics should be retrieved that
|
|
2098
1998
|
correspond to the script(s) used by that language.
|
2099
1999
|
</p>
|
2100
2000
|
<p>
|
2101
|
-
If <em class="parameter"><code>font</code></em> is <a href="/
|
2001
|
+
If <em class="parameter"><code>font</code></em> is <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, this function gracefully sets some sane values in the
|
2102
2002
|
output variables and returns.
|
2103
2003
|
</p>
|
2104
2004
|
<div class="variablelist"><table border="0">
|
@@ -2112,15 +2012,13 @@ output variables and returns.
|
|
2112
2012
|
<tr>
|
2113
2013
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
2114
2014
|
<td>language tag used to determine which script to get the metrics
|
2115
|
-
|
2116
|
-
font.
|
2015
|
+
for, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate to get the metrics for the entire font. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
|
2117
2016
|
</td>
|
2118
2017
|
</tr>
|
2119
2018
|
<tr>
|
2120
2019
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2121
|
-
<td>
|
2122
|
-
|
2123
|
-
</td>
|
2020
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> object. The caller must call <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()"><code class="function">pango_font_metrics_unref()</code></a>
|
2021
|
+
when finished using the object.</td>
|
2124
2022
|
</tr>
|
2125
2023
|
</tbody>
|
2126
2024
|
</table></div>
|
@@ -2136,7 +2034,7 @@ Gets the font map for which the font was created.
|
|
2136
2034
|
Note that the font maintains a <em class="firstterm">weak</em> reference
|
2137
2035
|
to the font map, so if all references to font map are dropped, the font
|
2138
2036
|
map will be finalized even if there are fonts created with the font
|
2139
|
-
map that are still alive. In that case this function will return <a href="/
|
2037
|
+
map that are still alive. In that case this function will return <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
2140
2038
|
It is the responsibility of the user to ensure that the font map is kept
|
2141
2039
|
alive. In most uses this is not an issue as a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> holds
|
2142
2040
|
a reference to the font map.
|
@@ -2146,13 +2044,13 @@ a reference to the font map.
|
|
2146
2044
|
<tbody>
|
2147
2045
|
<tr>
|
2148
2046
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
2149
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>, or <a href="/
|
2047
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2150
2048
|
</td>
|
2151
2049
|
</tr>
|
2152
2050
|
<tr>
|
2153
2051
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2154
|
-
<td>
|
2155
|
-
|
2052
|
+
<td>the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> for the font, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2053
|
+
if <em class="parameter"><code>font</code></em> is <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
|
2156
2054
|
</td>
|
2157
2055
|
</tr>
|
2158
2056
|
</tbody>
|
@@ -2175,7 +2073,7 @@ slant, weight, width and other aspects.
|
|
2175
2073
|
<pre class="programlisting">#define PANGO_TYPE_FONT_FAMILY (pango_font_family_get_type ())
|
2176
2074
|
</pre>
|
2177
2075
|
<p>
|
2178
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.
|
2076
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.
|
2179
2077
|
</p>
|
2180
2078
|
</div>
|
2181
2079
|
<hr>
|
@@ -2184,14 +2082,13 @@ The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts
|
|
2184
2082
|
<pre class="programlisting">#define PANGO_FONT_FAMILY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FAMILY, PangoFontFamily))
|
2185
2083
|
</pre>
|
2186
2084
|
<p>
|
2187
|
-
Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.
|
2085
|
+
Casts a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.
|
2188
2086
|
</p>
|
2189
2087
|
<div class="variablelist"><table border="0">
|
2190
2088
|
<col align="left" valign="top">
|
2191
2089
|
<tbody><tr>
|
2192
2090
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2193
|
-
<td>a <span class="type">GObject</span
|
2194
|
-
</td>
|
2091
|
+
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</td>
|
2195
2092
|
</tr></tbody>
|
2196
2093
|
</table></div>
|
2197
2094
|
</div>
|
@@ -2201,14 +2098,13 @@ Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts
|
|
2201
2098
|
<pre class="programlisting">#define PANGO_IS_FONT_FAMILY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_FAMILY))
|
2202
2099
|
</pre>
|
2203
2100
|
<p>
|
2204
|
-
Returns <code class="literal">TRUE</code> if <em class="parameter"><code>object</code></em> is a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.
|
2101
|
+
Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>object</code></em> is a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.
|
2205
2102
|
</p>
|
2206
2103
|
<div class="variablelist"><table border="0">
|
2207
2104
|
<col align="left" valign="top">
|
2208
2105
|
<tbody><tr>
|
2209
2106
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2210
|
-
<td>a <span class="type">GObject</span
|
2211
|
-
</td>
|
2107
|
+
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</td>
|
2212
2108
|
</tr></tbody>
|
2213
2109
|
</table></div>
|
2214
2110
|
</div>
|
@@ -2218,7 +2114,7 @@ Returns <code class="literal">TRUE</code> if <em class="parameter"><code>object<
|
|
2218
2114
|
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_font_family_get_name (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>);</pre>
|
2219
2115
|
<p>
|
2220
2116
|
Gets the name of the family. The name is unique among all
|
2221
|
-
fonts for the font backend and can be used in a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
2117
|
+
fonts for the font backend and can be used in a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>
|
2222
2118
|
to specify that a face from this family is desired.
|
2223
2119
|
</p>
|
2224
2120
|
<div class="variablelist"><table border="0">
|
@@ -2231,9 +2127,8 @@ to specify that a face from this family is desired.
|
|
2231
2127
|
</tr>
|
2232
2128
|
<tr>
|
2233
2129
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2234
|
-
<td>
|
2235
|
-
|
2236
|
-
</td>
|
2130
|
+
<td>the name of the family. This string is owned
|
2131
|
+
by the family object and must not be modified or freed.</td>
|
2237
2132
|
</tr>
|
2238
2133
|
</tbody>
|
2239
2134
|
</table></div>
|
@@ -2241,14 +2136,14 @@ to specify that a face from this family is desired.
|
|
2241
2136
|
<hr>
|
2242
2137
|
<div class="refsect2">
|
2243
2138
|
<a name="pango-font-family-is-monospace"></a><h3>pango_font_family_is_monospace ()</h3>
|
2244
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_font_family_is_monospace (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>);</pre>
|
2139
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_font_family_is_monospace (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>);</pre>
|
2245
2140
|
<p>
|
2246
2141
|
A monospace font is a font designed for text display where the the
|
2247
2142
|
characters form a regular grid. For Western languages this would
|
2248
2143
|
mean that the advance width of all characters are the same, but
|
2249
2144
|
this categorization also includes Asian fonts which include
|
2250
2145
|
double-width characters: characters that occupy two grid cells.
|
2251
|
-
<code class="function">g_unichar_iswide()</code> returns a result that indicates whether a
|
2146
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#g-unichar-iswide"><code class="function">g_unichar_iswide()</code></a> returns a result that indicates whether a
|
2252
2147
|
character is typically double-width in a monospace font.
|
2253
2148
|
</p>
|
2254
2149
|
<p>
|
@@ -2267,9 +2162,8 @@ by double-width characters.
|
|
2267
2162
|
</tr>
|
2268
2163
|
<tr>
|
2269
2164
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2270
|
-
<td>
|
2271
|
-
|
2272
|
-
</td>
|
2165
|
+
<td>
|
2166
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the family is monospace.</td>
|
2273
2167
|
</tr>
|
2274
2168
|
</tbody>
|
2275
2169
|
</table></div>
|
@@ -2297,13 +2191,13 @@ width and other aspects.
|
|
2297
2191
|
<tr>
|
2298
2192
|
<td><p><span class="term"><em class="parameter"><code>faces</code></em> :</span></p></td>
|
2299
2193
|
<td>location to store an array of pointers to <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>
|
2300
|
-
|
2301
|
-
|
2194
|
+
objects, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. This array should be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>
|
2195
|
+
when it is no longer needed. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>][<a href="http://foldoc.org/array"><span class="acronym">array</span></a> length=n_faces]</span>
|
2302
2196
|
</td>
|
2303
2197
|
</tr>
|
2304
2198
|
<tr>
|
2305
2199
|
<td><p><span class="term"><em class="parameter"><code>n_faces</code></em> :</span></p></td>
|
2306
|
-
<td>location to store number of elements in <em class="parameter"><code>faces</code></em>.
|
2200
|
+
<td>location to store number of elements in <em class="parameter"><code>faces</code></em>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
|
2307
2201
|
</td>
|
2308
2202
|
</tr>
|
2309
2203
|
</tbody>
|
@@ -2324,7 +2218,7 @@ the same family, slant, weight, width, but varying sizes.
|
|
2324
2218
|
<pre class="programlisting">#define PANGO_TYPE_FONT_FACE (pango_font_face_get_type ())
|
2325
2219
|
</pre>
|
2326
2220
|
<p>
|
2327
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.
|
2221
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.
|
2328
2222
|
</p>
|
2329
2223
|
</div>
|
2330
2224
|
<hr>
|
@@ -2333,14 +2227,13 @@ The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts
|
|
2333
2227
|
<pre class="programlisting">#define PANGO_FONT_FACE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FACE, PangoFontFace))
|
2334
2228
|
</pre>
|
2335
2229
|
<p>
|
2336
|
-
Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.
|
2230
|
+
Casts a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.
|
2337
2231
|
</p>
|
2338
2232
|
<div class="variablelist"><table border="0">
|
2339
2233
|
<col align="left" valign="top">
|
2340
2234
|
<tbody><tr>
|
2341
2235
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2342
|
-
<td>a <span class="type">GObject</span
|
2343
|
-
</td>
|
2236
|
+
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</td>
|
2344
2237
|
</tr></tbody>
|
2345
2238
|
</table></div>
|
2346
2239
|
</div>
|
@@ -2350,14 +2243,13 @@ Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts
|
|
2350
2243
|
<pre class="programlisting">#define PANGO_IS_FONT_FACE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_FACE))
|
2351
2244
|
</pre>
|
2352
2245
|
<p>
|
2353
|
-
Returns <code class="literal">TRUE</code> if <em class="parameter"><code>object</code></em> is a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.
|
2246
|
+
Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>object</code></em> is a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.
|
2354
2247
|
</p>
|
2355
2248
|
<div class="variablelist"><table border="0">
|
2356
2249
|
<col align="left" valign="top">
|
2357
2250
|
<tbody><tr>
|
2358
2251
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2359
|
-
<td>a <span class="type">GObject</span
|
2360
|
-
</td>
|
2252
|
+
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</td>
|
2361
2253
|
</tr></tbody>
|
2362
2254
|
</table></div>
|
2363
2255
|
</div>
|
@@ -2376,14 +2268,12 @@ for displaying to users.
|
|
2376
2268
|
<tbody>
|
2377
2269
|
<tr>
|
2378
2270
|
<td><p><span class="term"><em class="parameter"><code>face</code></em> :</span></p></td>
|
2379
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a
|
2380
|
-
</td>
|
2271
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.</td>
|
2381
2272
|
</tr>
|
2382
2273
|
<tr>
|
2383
2274
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2384
|
-
<td>
|
2385
|
-
|
2386
|
-
</td>
|
2275
|
+
<td>the face name for the face. This string is
|
2276
|
+
owned by the face object and must not be modified or freed.</td>
|
2387
2277
|
</tr>
|
2388
2278
|
</tbody>
|
2389
2279
|
</table></div>
|
@@ -2396,7 +2286,7 @@ for displaying to users.
|
|
2396
2286
|
<em class="parameter"><code><span class="type">int</span> *n_sizes</code></em>);</pre>
|
2397
2287
|
<p>
|
2398
2288
|
List the available sizes for a font. This is only applicable to bitmap
|
2399
|
-
fonts. For scalable fonts, stores <a href="/
|
2289
|
+
fonts. For scalable fonts, stores <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> at the location pointed to by
|
2400
2290
|
<em class="parameter"><code>sizes</code></em> and 0 at the location pointed to by <em class="parameter"><code>n_sizes</code></em>. The sizes returned
|
2401
2291
|
are in Pango units and are sorted in ascending order.
|
2402
2292
|
</p>
|
@@ -2405,14 +2295,12 @@ are in Pango units and are sorted in ascending order.
|
|
2405
2295
|
<tbody>
|
2406
2296
|
<tr>
|
2407
2297
|
<td><p><span class="term"><em class="parameter"><code>face</code></em> :</span></p></td>
|
2408
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a
|
2409
|
-
</td>
|
2298
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.</td>
|
2410
2299
|
</tr>
|
2411
2300
|
<tr>
|
2412
2301
|
<td><p><span class="term"><em class="parameter"><code>sizes</code></em> :</span></p></td>
|
2413
2302
|
<td>location to store a pointer to an array of int. This array
|
2414
|
-
|
2415
|
-
</td>
|
2303
|
+
should be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
|
2416
2304
|
</tr>
|
2417
2305
|
<tr>
|
2418
2306
|
<td><p><span class="term"><em class="parameter"><code>n_sizes</code></em> :</span></p></td>
|
@@ -2426,7 +2314,7 @@ are in Pango units and are sorted in ascending order.
|
|
2426
2314
|
<hr>
|
2427
2315
|
<div class="refsect2">
|
2428
2316
|
<a name="pango-font-face-describe"></a><h3>pango_font_face_describe ()</h3>
|
2429
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"
|
2317
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_font_face_describe (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);</pre>
|
2430
2318
|
<p>
|
2431
2319
|
Returns the family, style, variant, weight and stretch of
|
2432
2320
|
a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>. The size field of the resulting font description
|
@@ -2442,10 +2330,9 @@ will be unset.
|
|
2442
2330
|
</tr>
|
2443
2331
|
<tr>
|
2444
2332
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2445
|
-
<td>
|
2446
|
-
|
2447
|
-
|
2448
|
-
</td>
|
2333
|
+
<td>a newly-created <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure
|
2334
|
+
holding the description of the face. Use <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>
|
2335
|
+
to free the result.</td>
|
2449
2336
|
</tr>
|
2450
2337
|
</tbody>
|
2451
2338
|
</table></div>
|
@@ -2453,7 +2340,7 @@ will be unset.
|
|
2453
2340
|
<hr>
|
2454
2341
|
<div class="refsect2">
|
2455
2342
|
<a name="pango-font-face-is-synthesized"></a><h3>pango_font_face_is_synthesized ()</h3>
|
2456
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_font_face_is_synthesized (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);</pre>
|
2343
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_font_face_is_synthesized (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);</pre>
|
2457
2344
|
<p>
|
2458
2345
|
Returns whether a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> is synthesized by the underlying
|
2459
2346
|
font rendering engine from another face, perhaps by shearing, emboldening,
|
@@ -2469,9 +2356,7 @@ or lightening it.
|
|
2469
2356
|
</tr>
|
2470
2357
|
<tr>
|
2471
2358
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2472
|
-
<td>
|
2473
|
-
|
2474
|
-
</td>
|
2359
|
+
<td>whether <em class="parameter"><code>face</code></em> is synthesized.</td>
|
2475
2360
|
</tr>
|
2476
2361
|
</tbody>
|
2477
2362
|
</table></div>
|
@@ -2502,7 +2387,7 @@ fills in.
|
|
2502
2387
|
<pre class="programlisting">#define PANGO_TYPE_FONT_MAP (pango_font_map_get_type ())
|
2503
2388
|
</pre>
|
2504
2389
|
<p>
|
2505
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.
|
2390
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.
|
2506
2391
|
</p>
|
2507
2392
|
</div>
|
2508
2393
|
<hr>
|
@@ -2511,14 +2396,13 @@ The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts
|
|
2511
2396
|
<pre class="programlisting">#define PANGO_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_MAP, PangoFontMap))
|
2512
2397
|
</pre>
|
2513
2398
|
<p>
|
2514
|
-
Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.
|
2399
|
+
Casts a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.
|
2515
2400
|
</p>
|
2516
2401
|
<div class="variablelist"><table border="0">
|
2517
2402
|
<col align="left" valign="top">
|
2518
2403
|
<tbody><tr>
|
2519
2404
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2520
|
-
<td>a <span class="type">GObject</span
|
2521
|
-
</td>
|
2405
|
+
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</td>
|
2522
2406
|
</tr></tbody>
|
2523
2407
|
</table></div>
|
2524
2408
|
</div>
|
@@ -2528,14 +2412,13 @@ Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts
|
|
2528
2412
|
<pre class="programlisting">#define PANGO_IS_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_MAP))
|
2529
2413
|
</pre>
|
2530
2414
|
<p>
|
2531
|
-
Returns <code class="literal">TRUE</code> if <em class="parameter"><code>object</code></em> is a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.
|
2415
|
+
Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>object</code></em> is a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.
|
2532
2416
|
</p>
|
2533
2417
|
<div class="variablelist"><table border="0">
|
2534
2418
|
<col align="left" valign="top">
|
2535
2419
|
<tbody><tr>
|
2536
2420
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2537
|
-
<td>a <span class="type">GObject</span
|
2538
|
-
</td>
|
2421
|
+
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</td>
|
2539
2422
|
</tr></tbody>
|
2540
2423
|
</table></div>
|
2541
2424
|
</div>
|
@@ -2568,34 +2451,29 @@ a particular <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="t
|
|
2568
2451
|
<col align="left" valign="top">
|
2569
2452
|
<tbody>
|
2570
2453
|
<tr>
|
2571
|
-
<td><p><span class="term"><span class="type">GObjectClass</span> <em class="structfield"><code><a name="PangoFontMapClass.parent-class"></a>parent_class</code></em>;</span></p></td>
|
2572
|
-
<td>parent <span class="type">GObjectClass</span
|
2573
|
-
</td>
|
2454
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="PangoFontMapClass.parent-class"></a>parent_class</code></em>;</span></p></td>
|
2455
|
+
<td>parent <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a>.</td>
|
2574
2456
|
</tr>
|
2575
2457
|
<tr>
|
2576
2458
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoFontMapClass.load-font"></a>load_font</code></em> ()</span></p></td>
|
2577
2459
|
<td>a function to load a font with a given description. See
|
2578
|
-
|
2579
|
-
</td>
|
2460
|
+
<a class="link" href="pango-Fonts.html#pango-font-map-load-font" title="pango_font_map_load_font ()"><code class="function">pango_font_map_load_font()</code></a>.</td>
|
2580
2461
|
</tr>
|
2581
2462
|
<tr>
|
2582
2463
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoFontMapClass.list-families"></a>list_families</code></em> ()</span></p></td>
|
2583
2464
|
<td>A function to list available font families. See
|
2584
|
-
|
2585
|
-
</td>
|
2465
|
+
<a class="link" href="pango-Fonts.html#pango-font-map-list-families" title="pango_font_map_list_families ()"><code class="function">pango_font_map_list_families()</code></a>.</td>
|
2586
2466
|
</tr>
|
2587
2467
|
<tr>
|
2588
2468
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoFontMapClass.load-fontset"></a>load_fontset</code></em> ()</span></p></td>
|
2589
2469
|
<td>a function to load a fontset with a given given description
|
2590
|
-
|
2591
|
-
|
2592
|
-
</td>
|
2470
|
+
suitable for a particular language. See
|
2471
|
+
<a class="link" href="pango-Fonts.html#pango-font-map-load-fontset" title="pango_font_map_load_fontset ()"><code class="function">pango_font_map_load_fontset()</code></a>.</td>
|
2593
2472
|
</tr>
|
2594
2473
|
<tr>
|
2595
2474
|
<td><p><span class="term">const <span class="type">char</span> *<em class="structfield"><code><a name="PangoFontMapClass.shape-engine-type"></a>shape_engine_type</code></em>;</span></p></td>
|
2596
2475
|
<td>the type of rendering-system-dependent engines that
|
2597
|
-
|
2598
|
-
</td>
|
2476
|
+
can handle fonts of this fonts loaded with this fontmap.</td>
|
2599
2477
|
</tr>
|
2600
2478
|
</tbody>
|
2601
2479
|
</table></div>
|
@@ -2606,14 +2484,13 @@ a particular <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="t
|
|
2606
2484
|
<pre class="programlisting">#define PANGO_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FONT_MAP, PangoFontMapClass))
|
2607
2485
|
</pre>
|
2608
2486
|
<p>
|
2609
|
-
Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a>.
|
2487
|
+
Casts a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to a <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a>.
|
2610
2488
|
</p>
|
2611
2489
|
<div class="variablelist"><table border="0">
|
2612
2490
|
<col align="left" valign="top">
|
2613
2491
|
<tbody><tr>
|
2614
2492
|
<td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
|
2615
|
-
<td>a <span class="type">GObject</span
|
2616
|
-
</td>
|
2493
|
+
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</td>
|
2617
2494
|
</tr></tbody>
|
2618
2495
|
</table></div>
|
2619
2496
|
</div>
|
@@ -2623,14 +2500,13 @@ Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts
|
|
2623
2500
|
<pre class="programlisting">#define PANGO_IS_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FONT_MAP))
|
2624
2501
|
</pre>
|
2625
2502
|
<p>
|
2626
|
-
Returns <code class="literal">TRUE</code> if <em class="parameter"><code>klass</code></em> is a subtype of <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a>.
|
2503
|
+
Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>klass</code></em> is a subtype of <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a>.
|
2627
2504
|
</p>
|
2628
2505
|
<div class="variablelist"><table border="0">
|
2629
2506
|
<col align="left" valign="top">
|
2630
2507
|
<tbody><tr>
|
2631
2508
|
<td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
|
2632
|
-
<td>a <span class="type">GObject</span
|
2633
|
-
</td>
|
2509
|
+
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</td>
|
2634
2510
|
</tr></tbody>
|
2635
2511
|
</table></div>
|
2636
2512
|
</div>
|
@@ -2646,8 +2522,7 @@ Returns the type of a <a class="link" href="pango-Fonts.html#PangoFontMap"><span
|
|
2646
2522
|
<col align="left" valign="top">
|
2647
2523
|
<tbody><tr>
|
2648
2524
|
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
|
2649
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a
|
2650
|
-
</td>
|
2525
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.</td>
|
2651
2526
|
</tr></tbody>
|
2652
2527
|
</table></div>
|
2653
2528
|
</div>
|
@@ -2663,8 +2538,8 @@ to <a class="link" href="pango-Text-Processing.html#pango-context-new" title="pa
|
|
2663
2538
|
If you are using Pango as part of a higher-level system,
|
2664
2539
|
that system may have it's own way of create a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
|
2665
2540
|
For instance, the GTK+ toolkit has, among others,
|
2666
|
-
<code class="function">gdk_pango_context_get_for_screen()</code>, and
|
2667
|
-
<code class="function">gtk_widget_get_pango_context()</code>. Use those instead.
|
2541
|
+
<a href="http://library.gnome.org/devel/gdk/gdk3-Pango-Interaction.html#gdk-pango-context-get-for-screen"><code class="function">gdk_pango_context_get_for_screen()</code></a>, and
|
2542
|
+
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>. Use those instead.
|
2668
2543
|
</p>
|
2669
2544
|
<div class="variablelist"><table border="0">
|
2670
2545
|
<col align="left" valign="top">
|
@@ -2676,9 +2551,8 @@ For instance, the GTK+ toolkit has, among others,
|
|
2676
2551
|
</tr>
|
2677
2552
|
<tr>
|
2678
2553
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2679
|
-
<td>
|
2680
|
-
|
2681
|
-
|
2554
|
+
<td>the newly allocated <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>,
|
2555
|
+
which should be freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
|
2682
2556
|
</td>
|
2683
2557
|
</tr>
|
2684
2558
|
</tbody>
|
@@ -2690,7 +2564,7 @@ For instance, the GTK+ toolkit has, among others,
|
|
2690
2564
|
<a name="pango-font-map-load-font"></a><h3>pango_font_map_load_font ()</h3>
|
2691
2565
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * pango_font_map_load_font (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>,
|
2692
2566
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
2693
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
2567
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
2694
2568
|
<p>
|
2695
2569
|
Load the font in the fontmap that is the closest match for <em class="parameter"><code>desc</code></em>.
|
2696
2570
|
</p>
|
@@ -2704,17 +2578,16 @@ Load the font in the fontmap that is the closest match for <em class="parameter"
|
|
2704
2578
|
</tr>
|
2705
2579
|
<tr>
|
2706
2580
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
2707
|
-
<td>the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> the font will be used with
|
2708
|
-
</td>
|
2581
|
+
<td>the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> the font will be used with</td>
|
2709
2582
|
</tr>
|
2710
2583
|
<tr>
|
2711
2584
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
2712
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
2713
|
-
</td>
|
2585
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> describing the font to load</td>
|
2714
2586
|
</tr>
|
2715
2587
|
<tr>
|
2716
2588
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2717
|
-
<td>
|
2589
|
+
<td>the newly allocated <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> loaded,
|
2590
|
+
or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if no font matched. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
|
2718
2591
|
</td>
|
2719
2592
|
</tr>
|
2720
2593
|
</tbody>
|
@@ -2725,8 +2598,8 @@ Load the font in the fontmap that is the closest match for <em class="parameter"
|
|
2725
2598
|
<a name="pango-font-map-load-fontset"></a><h3>pango_font_map_load_fontset ()</h3>
|
2726
2599
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontset"><span class="returnvalue">PangoFontset</span></a> * pango_font_map_load_fontset (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>,
|
2727
2600
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
2728
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
2729
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
2601
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
2602
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
2730
2603
|
<p>
|
2731
2604
|
Load a set of fonts in the fontmap that can be used to render
|
2732
2605
|
a font matching <em class="parameter"><code>desc</code></em>.
|
@@ -2741,22 +2614,20 @@ a font matching <em class="parameter"><code>desc</code></em>.
|
|
2741
2614
|
</tr>
|
2742
2615
|
<tr>
|
2743
2616
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
2744
|
-
<td>the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> the font will be used with
|
2745
|
-
</td>
|
2617
|
+
<td>the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> the font will be used with</td>
|
2746
2618
|
</tr>
|
2747
2619
|
<tr>
|
2748
2620
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
2749
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"
|
2750
|
-
</td>
|
2621
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> describing the font to load</td>
|
2751
2622
|
</tr>
|
2752
2623
|
<tr>
|
2753
2624
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
2754
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
2755
|
-
</td>
|
2625
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> the fonts will be used for</td>
|
2756
2626
|
</tr>
|
2757
2627
|
<tr>
|
2758
2628
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2759
|
-
<td>
|
2629
|
+
<td>the newly allocated <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a>
|
2630
|
+
loaded, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if no font matched. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
|
2760
2631
|
</td>
|
2761
2632
|
</tr>
|
2762
2633
|
</tbody>
|
@@ -2782,12 +2653,12 @@ List all families for a fontmap.
|
|
2782
2653
|
<tr>
|
2783
2654
|
<td><p><span class="term"><em class="parameter"><code>families</code></em> :</span></p></td>
|
2784
2655
|
<td>location to store a pointer to an array of <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *.
|
2785
|
-
|
2656
|
+
This array should be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/array"><span class="acronym">array</span></a> length=n_families]</span>
|
2786
2657
|
</td>
|
2787
2658
|
</tr>
|
2788
2659
|
<tr>
|
2789
2660
|
<td><p><span class="term"><em class="parameter"><code>n_families</code></em> :</span></p></td>
|
2790
|
-
<td>location to store the number of elements in <em class="parameter"><code>families</code></em>
|
2661
|
+
<td>location to store the number of elements in <em class="parameter"><code>families</code></em>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
|
2791
2662
|
</td>
|
2792
2663
|
</tr>
|
2793
2664
|
</tbody>
|
@@ -2813,11 +2684,9 @@ See the <em class="structfield"><code>render_type</code></em> field of
|
|
2813
2684
|
</tr>
|
2814
2685
|
<tr>
|
2815
2686
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2816
|
-
<td>
|
2817
|
-
|
2818
|
-
|
2819
|
-
|
2820
|
-
</td>
|
2687
|
+
<td>the ID string for shape engines for
|
2688
|
+
this fontmap. Owned by Pango, should not be modified
|
2689
|
+
or freed.</td>
|
2821
2690
|
</tr>
|
2822
2691
|
</tbody>
|
2823
2692
|
</table></div>
|
@@ -2830,7 +2699,7 @@ See the <em class="structfield"><code>render_type</code></em> field of
|
|
2830
2699
|
<p>
|
2831
2700
|
A <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> represents a set of <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> to use
|
2832
2701
|
when rendering text. It is the result of resolving a
|
2833
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription"
|
2702
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> against a particular <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
|
2834
2703
|
It has operations for finding the component font for
|
2835
2704
|
a particular Unicode character, and for finding a composite
|
2836
2705
|
set of metrics for the entire fontset.
|
@@ -2842,7 +2711,7 @@ set of metrics for the entire fontset.
|
|
2842
2711
|
<pre class="programlisting">#define PANGO_TYPE_FONTSET (pango_fontset_get_type ())
|
2843
2712
|
</pre>
|
2844
2713
|
<p>
|
2845
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a>.
|
2714
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a>.
|
2846
2715
|
</p>
|
2847
2716
|
</div>
|
2848
2717
|
<hr>
|
@@ -2870,32 +2739,27 @@ a particular <a class="link" href="pango-Fonts.html#PangoFontset"><span class="t
|
|
2870
2739
|
<col align="left" valign="top">
|
2871
2740
|
<tbody>
|
2872
2741
|
<tr>
|
2873
|
-
<td><p><span class="term"><span class="type">GObjectClass</span> <em class="structfield"><code><a name="PangoFontsetClass.parent-class"></a>parent_class</code></em>;</span></p></td>
|
2874
|
-
<td>parent <span class="type">GObjectClass</span
|
2875
|
-
</td>
|
2742
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="PangoFontsetClass.parent-class"></a>parent_class</code></em>;</span></p></td>
|
2743
|
+
<td>parent <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a>.</td>
|
2876
2744
|
</tr>
|
2877
2745
|
<tr>
|
2878
2746
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoFontsetClass.get-font"></a>get_font</code></em> ()</span></p></td>
|
2879
|
-
<td>a function to get the font in the fontset that contains the
|
2880
|
-
|
2881
|
-
</td>
|
2747
|
+
<td>a function to get the font in the fontset that contains the
|
2748
|
+
best glyph for the given Unicode character; see <a class="link" href="pango-Fonts.html#pango-fontset-get-font" title="pango_fontset_get_font ()"><code class="function">pango_fontset_get_font()</code></a>.</td>
|
2882
2749
|
</tr>
|
2883
2750
|
<tr>
|
2884
2751
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoFontsetClass.get-metrics"></a>get_metrics</code></em> ()</span></p></td>
|
2885
|
-
<td>a function to get overall metric information for the fonts
|
2886
|
-
|
2887
|
-
</td>
|
2752
|
+
<td>a function to get overall metric information for the fonts
|
2753
|
+
in the fontset; see <a class="link" href="pango-Fonts.html#pango-fontset-get-metrics" title="pango_fontset_get_metrics ()"><code class="function">pango_fontset_get_metrics()</code></a>.</td>
|
2888
2754
|
</tr>
|
2889
2755
|
<tr>
|
2890
2756
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoFontsetClass.get-language"></a>get_language</code></em> ()</span></p></td>
|
2891
|
-
<td>a function to get the language of the fontset
|
2892
|
-
</td>
|
2757
|
+
<td>a function to get the language of the fontset.</td>
|
2893
2758
|
</tr>
|
2894
2759
|
<tr>
|
2895
2760
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoFontsetClass.foreach"></a>foreach</code></em> ()</span></p></td>
|
2896
2761
|
<td>a function to loop over the fonts in the fontset. See
|
2897
|
-
|
2898
|
-
</td>
|
2762
|
+
<a class="link" href="pango-Fonts.html#pango-fontset-foreach" title="pango_fontset_foreach ()"><code class="function">pango_fontset_foreach()</code></a>.</td>
|
2899
2763
|
</tr>
|
2900
2764
|
</tbody>
|
2901
2765
|
</table></div>
|
@@ -2904,7 +2768,7 @@ a particular <a class="link" href="pango-Fonts.html#PangoFontset"><span class="t
|
|
2904
2768
|
<div class="refsect2">
|
2905
2769
|
<a name="pango-fontset-get-font"></a><h3>pango_fontset_get_font ()</h3>
|
2906
2770
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * pango_fontset_get_font (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
2907
|
-
<em class="parameter"><code><span class="type">guint</span> wc</code></em>);</pre>
|
2771
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> wc</code></em>);</pre>
|
2908
2772
|
<p>
|
2909
2773
|
Returns the font in the fontset that contains the best glyph for the
|
2910
2774
|
Unicode character <em class="parameter"><code>wc</code></em>.
|
@@ -2919,13 +2783,12 @@ Unicode character <em class="parameter"><code>wc</code></em>.
|
|
2919
2783
|
</tr>
|
2920
2784
|
<tr>
|
2921
2785
|
<td><p><span class="term"><em class="parameter"><code>wc</code></em> :</span></p></td>
|
2922
|
-
<td>a Unicode character
|
2923
|
-
</td>
|
2786
|
+
<td>a Unicode character</td>
|
2924
2787
|
</tr>
|
2925
2788
|
<tr>
|
2926
2789
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2927
|
-
<td>
|
2928
|
-
|
2790
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>. The caller must call
|
2791
|
+
g_object_unref when finished with the font. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
|
2929
2792
|
</td>
|
2930
2793
|
</tr>
|
2931
2794
|
</tbody>
|
@@ -2934,7 +2797,7 @@ Unicode character <em class="parameter"><code>wc</code></em>.
|
|
2934
2797
|
<hr>
|
2935
2798
|
<div class="refsect2">
|
2936
2799
|
<a name="pango-fontset-get-metrics"></a><h3>pango_fontset_get_metrics ()</h3>
|
2937
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics"
|
2800
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * pango_fontset_get_metrics (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>);</pre>
|
2938
2801
|
<p>
|
2939
2802
|
Get overall metric information for the fonts in the fontset.
|
2940
2803
|
</p>
|
@@ -2948,9 +2811,8 @@ Get overall metric information for the fonts in the fontset.
|
|
2948
2811
|
</tr>
|
2949
2812
|
<tr>
|
2950
2813
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2951
|
-
<td>
|
2952
|
-
|
2953
|
-
</td>
|
2814
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> object. The caller must call <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()"><code class="function">pango_font_metrics_unref()</code></a>
|
2815
|
+
when finished using the object.</td>
|
2954
2816
|
</tr>
|
2955
2817
|
</tbody>
|
2956
2818
|
</table></div>
|
@@ -2958,9 +2820,9 @@ Get overall metric information for the fonts in the fontset.
|
|
2958
2820
|
<hr>
|
2959
2821
|
<div class="refsect2">
|
2960
2822
|
<a name="PangoFontsetForeachFunc"></a><h3>PangoFontsetForeachFunc ()</h3>
|
2961
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> (*PangoFontsetForeachFunc) (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
2823
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (*PangoFontsetForeachFunc) (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
2962
2824
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
2963
|
-
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
2825
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
2964
2826
|
<p>
|
2965
2827
|
A callback function used by <a class="link" href="pango-Fonts.html#pango-fontset-foreach" title="pango_fontset_foreach ()"><code class="function">pango_fontset_foreach()</code></a> when enumerating
|
2966
2828
|
the fonts in a fontset.
|
@@ -2980,14 +2842,11 @@ the fonts in a fontset.
|
|
2980
2842
|
</tr>
|
2981
2843
|
<tr>
|
2982
2844
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
2983
|
-
<td>callback data
|
2984
|
-
</td>
|
2845
|
+
<td>callback data</td>
|
2985
2846
|
</tr>
|
2986
2847
|
<tr>
|
2987
2848
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2988
|
-
<td>
|
2989
|
-
|
2990
|
-
</td>
|
2849
|
+
<td>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, stop iteration and return immediately.</td>
|
2991
2850
|
</tr>
|
2992
2851
|
</tbody>
|
2993
2852
|
</table></div>
|
@@ -2998,10 +2857,10 @@ the fonts in a fontset.
|
|
2998
2857
|
<a name="pango-fontset-foreach"></a><h3>pango_fontset_foreach ()</h3>
|
2999
2858
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_fontset_foreach (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
3000
2859
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetForeachFunc" title="PangoFontsetForeachFunc ()"><span class="type">PangoFontsetForeachFunc</span></a> func</code></em>,
|
3001
|
-
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
2860
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
3002
2861
|
<p>
|
3003
2862
|
Iterates through all the fonts in a fontset, calling <em class="parameter"><code>func</code></em> for
|
3004
|
-
each one. If <em class="parameter"><code>func</code></em> returns <code class="literal">TRUE</code>, that stops the iteration.
|
2863
|
+
each one. If <em class="parameter"><code>func</code></em> returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, that stops the iteration.
|
3005
2864
|
</p>
|
3006
2865
|
<div class="variablelist"><table border="0">
|
3007
2866
|
<col align="left" valign="top">
|
@@ -3013,12 +2872,12 @@ each one. If <em class="parameter"><code>func</code></em> returns <code class="l
|
|
3013
2872
|
</tr>
|
3014
2873
|
<tr>
|
3015
2874
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
3016
|
-
<td>Callback function
|
2875
|
+
<td>Callback function. <span class="annotation">[<a href="http://foldoc.org/closure"><span class="acronym">closure</span></a> data][<a href="http://foldoc.org/scope%20call"><span class="acronym">scope call</span></a>]</span>
|
3017
2876
|
</td>
|
3018
2877
|
</tr>
|
3019
2878
|
<tr>
|
3020
2879
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
3021
|
-
<td>data to pass to the callback function
|
2880
|
+
<td>data to pass to the callback function. <span class="annotation">[<a href="http://foldoc.org/closure"><span class="acronym">closure</span></a>]</span>
|
3022
2881
|
</td>
|
3023
2882
|
</tr>
|
3024
2883
|
</tbody>
|
@@ -3042,13 +2901,13 @@ which the creator provides when constructing the
|
|
3042
2901
|
<pre class="programlisting">#define PANGO_TYPE_FONTSET_SIMPLE (pango_fontset_simple_get_type ())
|
3043
2902
|
</pre>
|
3044
2903
|
<p>
|
3045
|
-
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>.
|
2904
|
+
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>.
|
3046
2905
|
</p>
|
3047
2906
|
</div>
|
3048
2907
|
<hr>
|
3049
2908
|
<div class="refsect2">
|
3050
2909
|
<a name="pango-fontset-simple-new"></a><h3>pango_fontset_simple_new ()</h3>
|
3051
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="returnvalue">PangoFontsetSimple</span></a> *
|
2910
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="returnvalue">PangoFontsetSimple</span></a> * pango_fontset_simple_new (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
3052
2911
|
<p>
|
3053
2912
|
Creates a new <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> for the given language.
|
3054
2913
|
</p>
|
@@ -3057,14 +2916,12 @@ Creates a new <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span c
|
|
3057
2916
|
<tbody>
|
3058
2917
|
<tr>
|
3059
2918
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
3060
|
-
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"
|
3061
|
-
</td>
|
2919
|
+
<td>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> tag</td>
|
3062
2920
|
</tr>
|
3063
2921
|
<tr>
|
3064
2922
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3065
|
-
<td>
|
3066
|
-
|
3067
|
-
</td>
|
2923
|
+
<td>the newly allocated <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>, which should
|
2924
|
+
be freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</td>
|
3068
2925
|
</tr>
|
3069
2926
|
</tbody>
|
3070
2927
|
</table></div>
|
@@ -3082,13 +2939,11 @@ Adds a font to the fontset.
|
|
3082
2939
|
<tbody>
|
3083
2940
|
<tr>
|
3084
2941
|
<td><p><span class="term"><em class="parameter"><code>fontset</code></em> :</span></p></td>
|
3085
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a
|
3086
|
-
</td>
|
2942
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>.</td>
|
3087
2943
|
</tr>
|
3088
2944
|
<tr>
|
3089
2945
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
3090
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a
|
3091
|
-
</td>
|
2946
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</td>
|
3092
2947
|
</tr>
|
3093
2948
|
</tbody>
|
3094
2949
|
</table></div>
|
@@ -3105,13 +2960,11 @@ Returns the number of fonts in the fontset.
|
|
3105
2960
|
<tbody>
|
3106
2961
|
<tr>
|
3107
2962
|
<td><p><span class="term"><em class="parameter"><code>fontset</code></em> :</span></p></td>
|
3108
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a
|
3109
|
-
</td>
|
2963
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>.</td>
|
3110
2964
|
</tr>
|
3111
2965
|
<tr>
|
3112
2966
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3113
|
-
<td>
|
3114
|
-
</td>
|
2967
|
+
<td>the size of <em class="parameter"><code>fontset</code></em>.</td>
|
3115
2968
|
</tr>
|
3116
2969
|
</tbody>
|
3117
2970
|
</table></div>
|
@@ -3120,6 +2973,6 @@ Returns the number of fonts in the fontset.
|
|
3120
2973
|
</div>
|
3121
2974
|
<div class="footer">
|
3122
2975
|
<hr>
|
3123
|
-
Generated by GTK-Doc V1.
|
2976
|
+
Generated by GTK-Doc V1.18</div>
|
3124
2977
|
</body>
|
3125
2978
|
</html>
|