pango 2.1.0-x86-mingw32 → 2.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/ext/pango/rbpangocairo.c +7 -1
- data/lib/1.9/pango.so +0 -0
- data/lib/2.0/pango.so +0 -0
- data/lib/2.1/pango.so +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/include/harfbuzz/hb-common.h +7 -1
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +0 -5
- data/vendor/local/include/harfbuzz/hb-ot-shape.h +54 -0
- data/vendor/local/include/harfbuzz/hb-ot.h +1 -8
- data/vendor/local/include/harfbuzz/hb-version.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +2 -2
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +1 -1
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +1 -1
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +1 -1
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +1 -1
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +9 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +1 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +1 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +18 -31
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +18 -31
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +17 -25
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +25 -39
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +44 -78
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +41 -75
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +23 -26
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +19 -22
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +15 -18
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +17 -20
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +33 -36
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +17 -20
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +21 -24
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +19 -22
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +25 -28
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +15 -18
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +13 -16
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +10 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +10 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +15 -18
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +13 -16
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +10 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +23 -26
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +23 -26
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +19 -22
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +162 -26
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +51 -54
- data/vendor/local/share/gtk-doc/html/pango/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +25 -40
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +118 -169
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +15 -21
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +24 -39
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +24 -39
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +125 -240
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +46 -74
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +95 -189
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +137 -265
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +38 -66
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +20 -31
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +207 -143
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +47 -86
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +26 -43
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +106 -203
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +66 -122
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +29 -47
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +33 -57
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +49 -79
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +53 -90
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +34 -34
- data/vendor/local/share/gtk-doc/html/pango/pango.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/pango/tools.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/up.png +0 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -1
- metadata +8 -4
@@ -2,30 +2,27 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>CoreText Fonts</title>
|
5
|
+
<title>Pango Reference Manual: CoreText Fonts</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="rendering.html" title="Rendering with Pango">
|
9
9
|
<link rel="prev" href="pango-Cairo-Rendering.html" title="Cairo Rendering">
|
10
10
|
<link rel="next" href="lowlevel.html" title="Low Level Functionality">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<td><a accesskey="u" href="rendering.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">Pango Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="lowlevel.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#pango-CoreText-Fonts.synopsis" class="shortcut">Top</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
|
16
|
+
<td width="100%" align="left">
|
17
|
+
<a href="#" class="shortcut">Top</a>
|
25
18
|
|
|
26
19
|
<a href="#pango-CoreText-Fonts.description" class="shortcut">Description</a>
|
27
|
-
</td
|
28
|
-
|
20
|
+
</td>
|
21
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
|
+
<td><a accesskey="u" href="rendering.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
23
|
+
<td><a accesskey="p" href="pango-Cairo-Rendering.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
+
<td><a accesskey="n" href="lowlevel.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
25
|
+
</tr></table>
|
29
26
|
<div class="refentry">
|
30
27
|
<a name="pango-CoreText-Fonts"></a><div class="titlepage"></div>
|
31
28
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -45,8 +42,7 @@
|
|
45
42
|
<a name="pango-CoreText-Fonts.description"></a><h2>Description</h2>
|
46
43
|
<p>
|
47
44
|
The macros and functions in this section are used to access fonts natively on
|
48
|
-
OS X using the CoreText text rendering subsystem
|
49
|
-
</p>
|
45
|
+
OS X using the CoreText text rendering subsystem.</p>
|
50
46
|
</div>
|
51
47
|
<div class="refsect1">
|
52
48
|
<a name="pango-CoreText-Fonts.details"></a><h2>Details</h2>
|
@@ -56,16 +52,14 @@ OS X using the CoreText text rendering subsystem.
|
|
56
52
|
</pre>
|
57
53
|
<p>
|
58
54
|
A string constant identifying the CoreText renderer. The associated quark (see
|
59
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html#g-quark-from-string"><code class="function">g_quark_from_string()</code></a>) is used to identify the renderer in <a class="link" href="pango-Modules.html#pango-find-map" title="pango_find_map ()"><code class="function">pango_find_map()</code></a
|
60
|
-
</p>
|
55
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html#g-quark-from-string"><code class="function">g_quark_from_string()</code></a>) is used to identify the renderer in <a class="link" href="pango-Modules.html#pango-find-map" title="pango_find_map ()"><code class="function">pango_find_map()</code></a>.</p>
|
61
56
|
</div>
|
62
57
|
<hr>
|
63
58
|
<div class="refsect2">
|
64
59
|
<a name="pango-core-text-font-get-ctfont"></a><h3>pango_core_text_font_get_ctfont ()</h3>
|
65
60
|
<pre class="programlisting"><span class="returnvalue">CTFontRef</span> pango_core_text_font_get_ctfont (<em class="parameter"><code><span class="type">PangoCoreTextFont</span> *font</code></em>);</pre>
|
66
61
|
<p>
|
67
|
-
Returns the CTFontRef of a font
|
68
|
-
</p>
|
62
|
+
Returns the CTFontRef of a font.</p>
|
69
63
|
<div class="variablelist"><table border="0" class="variablelist">
|
70
64
|
<colgroup>
|
71
65
|
<col align="left" valign="top">
|
@@ -89,6 +83,6 @@ Returns the CTFontRef of a font.
|
|
89
83
|
</div>
|
90
84
|
<div class="footer">
|
91
85
|
<hr>
|
92
|
-
Generated by GTK-Doc V1.19</div>
|
86
|
+
Generated by GTK-Doc V1.19.1</div>
|
93
87
|
</body>
|
94
88
|
</html>
|
@@ -2,32 +2,29 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Coverage Maps</title>
|
5
|
+
<title>Pango Reference Manual: Coverage Maps</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="lowlevel.html" title="Low Level Functionality">
|
9
9
|
<link rel="prev" href="pango-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.19 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">Pango Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="pango-Engines.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#pango-Coverage-Maps.synopsis" class="shortcut">Top</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
|
16
|
+
<td width="100%" align="left">
|
17
|
+
<a href="#" class="shortcut">Top</a>
|
25
18
|
|
|
26
19
|
<a href="#pango-Coverage-Maps.description" class="shortcut">Description</a>
|
27
20
|
|
|
28
21
|
<a href="#pango-Coverage-Maps.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
-
</td
|
30
|
-
|
22
|
+
</td>
|
23
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
|
+
<td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
25
|
+
<td><a accesskey="p" href="pango-OpenType-Font-Handling.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
26
|
+
<td><a accesskey="n" href="pango-Engines.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
27
|
+
</tr></table>
|
31
28
|
<div class="refentry">
|
32
29
|
<a name="pango-Coverage-Maps"></a><div class="titlepage"></div>
|
33
30
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -74,8 +71,7 @@
|
|
74
71
|
It is often necessary in Pango to determine if a particular font can
|
75
72
|
represent a particular character, and also how well it can represent
|
76
73
|
that character. The <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> is a data structure that is used
|
77
|
-
to represent that information
|
78
|
-
</p>
|
74
|
+
to represent that information.</p>
|
79
75
|
</div>
|
80
76
|
<div class="refsect1">
|
81
77
|
<a name="pango-Coverage-Maps.details"></a><h2>Details</h2>
|
@@ -90,8 +86,7 @@ to represent that information.
|
|
90
86
|
</pre>
|
91
87
|
<p>
|
92
88
|
Used to indicate how well a font can represent a particular Unicode
|
93
|
-
character point for a particular script
|
94
|
-
</p>
|
89
|
+
character point for a particular script.</p>
|
95
90
|
<div class="variablelist"><table border="0" class="variablelist">
|
96
91
|
<colgroup>
|
97
92
|
<col align="left" valign="top">
|
@@ -138,16 +133,14 @@ the current script.
|
|
138
133
|
<pre class="programlisting">typedef struct _PangoCoverage PangoCoverage;</pre>
|
139
134
|
<p>
|
140
135
|
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
|
141
|
-
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
|
142
|
-
</p>
|
136
|
+
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.</p>
|
143
137
|
</div>
|
144
138
|
<hr>
|
145
139
|
<div class="refsect2">
|
146
140
|
<a name="pango-coverage-new"></a><h3>pango_coverage_new ()</h3>
|
147
141
|
<pre class="programlisting"><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> * pango_coverage_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
148
142
|
<p>
|
149
|
-
Create a new <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a>
|
150
|
-
</p>
|
143
|
+
Create a new <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a></p>
|
151
144
|
<div class="variablelist"><table border="0" class="variablelist">
|
152
145
|
<colgroup>
|
153
146
|
<col align="left" valign="top">
|
@@ -167,8 +160,7 @@ should be freed with <a class="link" href="pango-Coverage-Maps.html#pango-covera
|
|
167
160
|
<a name="pango-coverage-ref"></a><h3>pango_coverage_ref ()</h3>
|
168
161
|
<pre class="programlisting"><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> * pango_coverage_ref (<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> *coverage</code></em>);</pre>
|
169
162
|
<p>
|
170
|
-
Increase the reference count on the <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> by one
|
171
|
-
</p>
|
163
|
+
Increase the reference count on the <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> by one</p>
|
172
164
|
<div class="variablelist"><table border="0" class="variablelist">
|
173
165
|
<colgroup>
|
174
166
|
<col align="left" valign="top">
|
@@ -193,8 +185,7 @@ Increase the reference count on the <a class="link" href="pango-Coverage-Maps.ht
|
|
193
185
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_coverage_unref (<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> *coverage</code></em>);</pre>
|
194
186
|
<p>
|
195
187
|
Decrease the reference count on the <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> by one.
|
196
|
-
If the result is zero, free the coverage and all associated memory
|
197
|
-
</p>
|
188
|
+
If the result is zero, free the coverage and all associated memory.</p>
|
198
189
|
<div class="variablelist"><table border="0" class="variablelist">
|
199
190
|
<colgroup>
|
200
191
|
<col align="left" valign="top">
|
@@ -213,8 +204,7 @@ If the result is zero, free the coverage and all associated memory.
|
|
213
204
|
<pre class="programlisting"><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> * pango_coverage_copy (<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> *coverage</code></em>);</pre>
|
214
205
|
<p>
|
215
206
|
Copy an existing <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a>. (This function may now be unnecessary
|
216
|
-
since we refcount the structure. File a bug if you use it.)
|
217
|
-
</p>
|
207
|
+
since we refcount the structure. File a bug if you use it.)</p>
|
218
208
|
<div class="variablelist"><table border="0" class="variablelist">
|
219
209
|
<colgroup>
|
220
210
|
<col align="left" valign="top">
|
@@ -242,8 +232,7 @@ with <a class="link" href="pango-Coverage-Maps.html#pango-coverage-unref" title=
|
|
242
232
|
<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>,
|
243
233
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>);</pre>
|
244
234
|
<p>
|
245
|
-
Determine whether a particular index is covered by <em class="parameter"><code>coverage</code></em>
|
246
|
-
</p>
|
235
|
+
Determine whether a particular index is covered by <em class="parameter"><code>coverage</code></em></p>
|
247
236
|
<div class="variablelist"><table border="0" class="variablelist">
|
248
237
|
<colgroup>
|
249
238
|
<col align="left" valign="top">
|
@@ -274,8 +263,7 @@ Determine whether a particular index is covered by <em class="parameter"><code>c
|
|
274
263
|
<p>
|
275
264
|
Set the coverage for each index in <em class="parameter"><code>coverage</code></em> to be the max (better)
|
276
265
|
value of the current coverage for the index and the coverage for
|
277
|
-
the corresponding index in <em class="parameter"><code>other</code></em
|
278
|
-
</p>
|
266
|
+
the corresponding index in <em class="parameter"><code>other</code></em>.</p>
|
279
267
|
<div class="variablelist"><table border="0" class="variablelist">
|
280
268
|
<colgroup>
|
281
269
|
<col align="left" valign="top">
|
@@ -302,8 +290,7 @@ the corresponding index in <em class="parameter"><code>other</code></em>.
|
|
302
290
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
303
291
|
<em class="parameter"><code><a class="link" href="pango-Coverage-Maps.html#PangoCoverageLevel"><span class="type">PangoCoverageLevel</span></a> level</code></em>);</pre>
|
304
292
|
<p>
|
305
|
-
Modify a particular index within <em class="parameter"><code>coverage</code></em>
|
306
|
-
</p>
|
293
|
+
Modify a particular index within <em class="parameter"><code>coverage</code></em></p>
|
307
294
|
<div class="variablelist"><table border="0" class="variablelist">
|
308
295
|
<colgroup>
|
309
296
|
<col align="left" valign="top">
|
@@ -334,8 +321,7 @@ Modify a particular index within <em class="parameter"><code>coverage</code></em
|
|
334
321
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> **bytes</code></em>,
|
335
322
|
<em class="parameter"><code><span class="type">int</span> *n_bytes</code></em>);</pre>
|
336
323
|
<p>
|
337
|
-
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
|
338
|
-
</p>
|
324
|
+
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</p>
|
339
325
|
<div class="variablelist"><table border="0" class="variablelist">
|
340
326
|
<colgroup>
|
341
327
|
<col align="left" valign="top">
|
@@ -367,8 +353,7 @@ Convert a <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="P
|
|
367
353
|
<em class="parameter"><code><span class="type">int</span> n_bytes</code></em>);</pre>
|
368
354
|
<p>
|
369
355
|
Convert data generated from <a class="link" href="pango-Coverage-Maps.html#pango-coverage-to-bytes" title="pango_coverage_to_bytes ()"><code class="function">pango_coverage_to_bytes()</code></a> back
|
370
|
-
to a <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a>
|
371
|
-
</p>
|
356
|
+
to a <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a></p>
|
372
357
|
<div class="variablelist"><table border="0" class="variablelist">
|
373
358
|
<colgroup>
|
374
359
|
<col align="left" valign="top">
|
@@ -398,6 +383,6 @@ representing a <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" tit
|
|
398
383
|
</div>
|
399
384
|
<div class="footer">
|
400
385
|
<hr>
|
401
|
-
Generated by GTK-Doc V1.19</div>
|
386
|
+
Generated by GTK-Doc V1.19.1</div>
|
402
387
|
</body>
|
403
388
|
</html>
|
@@ -2,32 +2,29 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Engines</title>
|
5
|
+
<title>Pango Reference Manual: Engines</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="lowlevel.html" title="Low Level Functionality">
|
9
9
|
<link rel="prev" href="pango-Coverage-Maps.html" title="Coverage Maps">
|
10
10
|
<link rel="next" href="PangoEngineLang.html" title="PangoEngineLang">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">Pango Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="PangoEngineLang.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#pango-Engines.synopsis" class="shortcut">Top</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
|
16
|
+
<td width="100%" align="left">
|
17
|
+
<a href="#" class="shortcut">Top</a>
|
25
18
|
|
|
26
19
|
<a href="#pango-Engines.description" class="shortcut">Description</a>
|
27
20
|
|
|
28
21
|
<a href="#pango-Engines.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
-
</td
|
30
|
-
|
22
|
+
</td>
|
23
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
|
+
<td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
25
|
+
<td><a accesskey="p" href="pango-Coverage-Maps.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
26
|
+
<td><a accesskey="n" href="PangoEngineLang.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
27
|
+
</tr></table>
|
31
28
|
<div class="refentry">
|
32
29
|
<a name="pango-Engines"></a><div class="titlepage"></div>
|
33
30
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -68,16 +65,14 @@ and render-system-specific components are provided by loadable
|
|
68
65
|
modules. Each loadable module supplies one or more
|
69
66
|
<em class="firstterm">engines</em>. Each <em class="firstterm">engine</em>
|
70
67
|
has an associated <em class="firstterm">engine type</em> and
|
71
|
-
<em class="firstterm">render type</em>. These two types are represented by strings
|
72
|
-
</p>
|
68
|
+
<em class="firstterm">render type</em>. These two types are represented by strings.</p>
|
73
69
|
<p>
|
74
70
|
Each dynamically-loaded module exports several functions which provide
|
75
71
|
the public API. These functions are <a class="link" href="pango-Engines.html#script-engine-list" title="script_engine_list ()"><code class="function">script_engine_list()</code></a>,
|
76
72
|
<a class="link" href="pango-Engines.html#script-engine-init" title="script_engine_init ()"><code class="function">script_engine_init()</code></a> and script_engine_exit, and
|
77
73
|
<a class="link" href="pango-Engines.html#script-engine-create" title="script_engine_create ()"><code class="function">script_engine_create()</code></a>. The latter three functions are used when
|
78
74
|
creating engines from the module at run time, while the first
|
79
|
-
function is used when building a catalog of all available modules
|
80
|
-
</p>
|
75
|
+
function is used when building a catalog of all available modules.</p>
|
81
76
|
</div>
|
82
77
|
<div class="refsect1">
|
83
78
|
<a name="pango-Engines.details"></a><h2>Details</h2>
|
@@ -93,8 +88,7 @@ function is used when building a catalog of all available modules.
|
|
93
88
|
</pre>
|
94
89
|
<p>
|
95
90
|
The <a class="link" href="pango-Engines.html#PangoEngineInfo" title="struct PangoEngineInfo"><span class="type">PangoEngineInfo</span></a> structure contains information about a particular
|
96
|
-
engine. It contains the following fields
|
97
|
-
</p>
|
91
|
+
engine. It contains the following fields:</p>
|
98
92
|
<div class="variablelist"><table border="0" class="variablelist">
|
99
93
|
<colgroup>
|
100
94
|
<col align="left" valign="top">
|
@@ -134,8 +128,7 @@ engine. It contains the following fields:
|
|
134
128
|
</pre>
|
135
129
|
<p>
|
136
130
|
The <a class="link" href="pango-Engines.html#PangoEngineScriptInfo" title="struct PangoEngineScriptInfo"><span class="type">PangoEngineScriptInfo</span></a> structure contains
|
137
|
-
information about how the shaper covers a particular script
|
138
|
-
</p>
|
131
|
+
information about how the shaper covers a particular script.</p>
|
139
132
|
<div class="variablelist"><table border="0" class="variablelist">
|
140
133
|
<colgroup>
|
141
134
|
<col align="left" valign="top">
|
@@ -168,8 +161,7 @@ languages for this range.</td>
|
|
168
161
|
<pre class="programlisting">struct PangoEngine;</pre>
|
169
162
|
<p>
|
170
163
|
<a class="link" href="pango-Engines.html#PangoEngine"><span class="type">PangoEngine</span></a> is the base class for all types of language and
|
171
|
-
script specific engines. It has no functionality by itself
|
172
|
-
</p>
|
164
|
+
script specific engines. It has no functionality by itself.</p>
|
173
165
|
</div>
|
174
166
|
<hr>
|
175
167
|
<div class="refsect2">
|
@@ -178,8 +170,7 @@ script specific engines. It has no functionality by itself.
|
|
178
170
|
};
|
179
171
|
</pre>
|
180
172
|
<p>
|
181
|
-
Class structure for <a class="link" href="pango-Engines.html#PangoEngine"><span class="type">PangoEngine</span></a>
|
182
|
-
</p>
|
173
|
+
Class structure for <a class="link" href="pango-Engines.html#PangoEngine"><span class="type">PangoEngine</span></a></p>
|
183
174
|
</div>
|
184
175
|
<hr>
|
185
176
|
<div class="refsect2">
|
@@ -188,8 +179,7 @@ Class structure for <a class="link" href="pango-Engines.html#PangoEngine"><span
|
|
188
179
|
</pre>
|
189
180
|
<p>
|
190
181
|
A string constant defining the render type
|
191
|
-
for engines that are not rendering-system specific
|
192
|
-
</p>
|
182
|
+
for engines that are not rendering-system specific.</p>
|
193
183
|
</div>
|
194
184
|
<hr>
|
195
185
|
<div class="refsect2">
|
@@ -200,12 +190,10 @@ for engines that are not rendering-system specific.
|
|
200
190
|
Function to be provided by a module to list the engines that the
|
201
191
|
module supplies. The function stores a pointer to an array
|
202
192
|
of <a class="link" href="pango-Engines.html#PangoEngineInfo" title="struct PangoEngineInfo"><span class="type">PangoEngineInfo</span></a> structures and the length of that array in
|
203
|
-
the given location
|
204
|
-
</p>
|
193
|
+
the given location.</p>
|
205
194
|
<p>
|
206
195
|
Note that <a class="link" href="pango-Engines.html#script-engine-init" title="script_engine_init ()"><code class="function">script_engine_init()</code></a> will not be called before this
|
207
|
-
function
|
208
|
-
</p>
|
196
|
+
function.</p>
|
209
197
|
<div class="variablelist"><table border="0" class="variablelist">
|
210
198
|
<colgroup>
|
211
199
|
<col align="left" valign="top">
|
@@ -229,8 +217,7 @@ function.
|
|
229
217
|
<pre class="programlisting"><span class="returnvalue">void</span> script_engine_init (<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html"><span class="type">GTypeModule</span></a> *module</code></em>);</pre>
|
230
218
|
<p>
|
231
219
|
Function to be provided by a module to register any
|
232
|
-
GObject types in the module
|
233
|
-
</p>
|
220
|
+
GObject types in the module.</p>
|
234
221
|
<div class="variablelist"><table border="0" class="variablelist">
|
235
222
|
<colgroup>
|
236
223
|
<col align="left" valign="top">
|
@@ -249,8 +236,7 @@ GObject types created in this module with the module.</td>
|
|
249
236
|
<pre class="programlisting"><span class="returnvalue">void</span> script_engine_exit (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
250
237
|
<p>
|
251
238
|
Function to be provided by the module that is called
|
252
|
-
when the module is unloading. Frequently does nothing
|
253
|
-
</p>
|
239
|
+
when the module is unloading. Frequently does nothing.</p>
|
254
240
|
</div>
|
255
241
|
<hr>
|
256
242
|
<div class="refsect2">
|
@@ -258,8 +244,7 @@ when the module is unloading. Frequently does nothing.
|
|
258
244
|
<pre class="programlisting"><a class="link" href="pango-Engines.html#PangoEngine"><span class="returnvalue">PangoEngine</span></a> * script_engine_create (<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
|
259
245
|
<p>
|
260
246
|
Function to be provided by the module to create an instance
|
261
|
-
of one of the engines implemented by the module
|
262
|
-
</p>
|
247
|
+
of one of the engines implemented by the module.</p>
|
263
248
|
<div class="variablelist"><table border="0" class="variablelist">
|
264
249
|
<colgroup>
|
265
250
|
<col align="left" valign="top">
|
@@ -285,6 +270,6 @@ bugs in the driver routine are encountered.)</td>
|
|
285
270
|
</div>
|
286
271
|
<div class="footer">
|
287
272
|
<hr>
|
288
|
-
Generated by GTK-Doc V1.19</div>
|
273
|
+
Generated by GTK-Doc V1.19.1</div>
|
289
274
|
</body>
|
290
275
|
</html>
|
@@ -2,34 +2,31 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Fonts</title>
|
5
|
+
<title>Pango Reference Manual: Fonts</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="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.19 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<td><a accesskey="u" href="pango.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">Pango Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="pango-Text-Attributes.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#pango-Fonts.synopsis" class="shortcut">Top</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
|
16
|
+
<td width="100%" align="left">
|
17
|
+
<a href="#" class="shortcut">Top</a>
|
25
18
|
|
|
26
19
|
<a href="#pango-Fonts.description" class="shortcut">Description</a>
|
27
20
|
|
|
28
21
|
<a href="#pango-Fonts.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
22
|
|
|
30
23
|
<a href="#pango-Fonts.derived-interfaces" class="shortcut">Known Derived Interfaces</a>
|
31
|
-
</td
|
32
|
-
|
24
|
+
</td>
|
25
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
26
|
+
<td><a accesskey="u" href="pango.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
27
|
+
<td><a accesskey="p" href="pango-Glyph-Storage.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
28
|
+
<td><a accesskey="n" href="pango-Text-Attributes.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
29
|
+
</tr></table>
|
33
30
|
<div class="refentry">
|
34
31
|
<a name="pango-Fonts"></a><div class="titlepage"></div>
|
35
32
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -290,8 +287,7 @@ particular rendering architecture can supply an
|
|
290
287
|
implementation of fonts. The <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> structure
|
291
288
|
represents an abstract rendering-system-independent font.
|
292
289
|
Pango provides routines to list available fonts, and
|
293
|
-
to load a font of a given description
|
294
|
-
</p>
|
290
|
+
to load a font of a given description.</p>
|
295
291
|
</div>
|
296
292
|
<div class="refsect1">
|
297
293
|
<a name="pango-Fonts.details"></a><h2>Details</h2>
|
@@ -302,8 +298,7 @@ to load a font of a given description.
|
|
302
298
|
The <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure represents the description
|
303
299
|
of an ideal font. These structures are used both to list
|
304
300
|
what fonts are available on the system and also for specifying
|
305
|
-
the characteristics of a font to load
|
306
|
-
</p>
|
301
|
+
the characteristics of a font to load.</p>
|
307
302
|
</div>
|
308
303
|
<hr>
|
309
304
|
<div class="refsect2">
|
@@ -311,8 +306,7 @@ the characteristics of a font to load.
|
|
311
306
|
<pre class="programlisting">#define PANGO_TYPE_FONT_DESCRIPTION (pango_font_description_get_type ())
|
312
307
|
</pre>
|
313
308
|
<p>
|
314
|
-
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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
|
315
|
-
</p>
|
309
|
+
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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>.</p>
|
316
310
|
</div>
|
317
311
|
<hr>
|
318
312
|
<div class="refsect2">
|
@@ -324,8 +318,7 @@ The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-
|
|
324
318
|
} PangoStyle;
|
325
319
|
</pre>
|
326
320
|
<p>
|
327
|
-
An enumeration specifying the various slant styles possible for a font
|
328
|
-
</p>
|
321
|
+
An enumeration specifying the various slant styles possible for a font.</p>
|
329
322
|
<div class="variablelist"><table border="0" class="variablelist">
|
330
323
|
<colgroup>
|
331
324
|
<col align="left" valign="top">
|
@@ -375,8 +368,7 @@ An enumeration specifying the various slant styles possible for a font.
|
|
375
368
|
</pre>
|
376
369
|
<p>
|
377
370
|
An enumeration specifying the weight (boldness) of a font. This is a numerical
|
378
|
-
value ranging from 100 to 900, but there are some predefined values
|
379
|
-
</p>
|
371
|
+
value ranging from 100 to 900, but there are some predefined values:</p>
|
380
372
|
<div class="variablelist"><table border="0" class="variablelist">
|
381
373
|
<colgroup>
|
382
374
|
<col align="left" valign="top">
|
@@ -456,8 +448,7 @@ value ranging from 100 to 900, but there are some predefined values:
|
|
456
448
|
} PangoVariant;
|
457
449
|
</pre>
|
458
450
|
<p>
|
459
|
-
An enumeration specifying capitalization variant of the font
|
460
|
-
</p>
|
451
|
+
An enumeration specifying capitalization variant of the font.</p>
|
461
452
|
<div class="variablelist"><table border="0" class="variablelist">
|
462
453
|
<colgroup>
|
463
454
|
<col align="left" valign="top">
|
@@ -501,8 +492,7 @@ replaced by smaller variants of the capital characters.
|
|
501
492
|
</pre>
|
502
493
|
<p>
|
503
494
|
An enumeration specifying the width of the font relative to other designs
|
504
|
-
within a family
|
505
|
-
</p>
|
495
|
+
within a family.</p>
|
506
496
|
<div class="variablelist"><table border="0" class="variablelist">
|
507
497
|
<colgroup>
|
508
498
|
<col align="left" valign="top">
|
@@ -578,8 +568,7 @@ within a family.
|
|
578
568
|
</pre>
|
579
569
|
<p>
|
580
570
|
The bits in a <a class="link" href="pango-Fonts.html#PangoFontMask"><span class="type">PangoFontMask</span></a> correspond to fields in a
|
581
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> that have been set
|
582
|
-
</p>
|
571
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> that have been set.</p>
|
583
572
|
<div class="variablelist"><table border="0" class="variablelist">
|
584
573
|
<colgroup>
|
585
574
|
<col align="left" valign="top">
|
@@ -635,8 +624,7 @@ The bits in a <a class="link" href="pango-Fonts.html#PangoFontMask"><span class=
|
|
635
624
|
<a name="pango-font-description-new"></a><h3>pango_font_description_new ()</h3>
|
636
625
|
<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>
|
637
626
|
<p>
|
638
|
-
Creates a new font description structure with all fields unset
|
639
|
-
</p>
|
627
|
+
Creates a new font description structure with all fields unset.</p>
|
640
628
|
<div class="variablelist"><table border="0" class="variablelist">
|
641
629
|
<colgroup>
|
642
630
|
<col align="left" valign="top">
|
@@ -654,8 +642,7 @@ should be freed using <a class="link" href="pango-Fonts.html#pango-font-descript
|
|
654
642
|
<a name="pango-font-description-copy"></a><h3>pango_font_description_copy ()</h3>
|
655
643
|
<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>
|
656
644
|
<p>
|
657
|
-
Make a copy of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a
|
658
|
-
</p>
|
645
|
+
Make a copy of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</p>
|
659
646
|
<div class="variablelist"><table border="0" class="variablelist">
|
660
647
|
<colgroup>
|
661
648
|
<col align="left" valign="top">
|
@@ -685,8 +672,7 @@ if <em class="parameter"><code>desc</code></em> was <a href="/home/kou/work/ruby
|
|
685
672
|
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
|
686
673
|
of the family name and other allocated fields. The result can only
|
687
674
|
be used until <em class="parameter"><code>desc</code></em> is modified or freed. This is meant to be used
|
688
|
-
when the copy is only needed temporarily
|
689
|
-
</p>
|
675
|
+
when the copy is only needed temporarily.</p>
|
690
676
|
<div class="variablelist"><table border="0" class="variablelist">
|
691
677
|
<colgroup>
|
692
678
|
<col align="left" valign="top">
|
@@ -714,8 +700,7 @@ if <em class="parameter"><code>desc</code></em> was <a href="/home/kou/work/ruby
|
|
714
700
|
<p>
|
715
701
|
Computes a hash of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure suitable
|
716
702
|
to be used, for example, as an argument to <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html#g-hash-table-new"><code class="function">g_hash_table_new()</code></a>.
|
717
|
-
The hash value is independent of <em class="parameter"><code>desc->mask</code></em
|
718
|
-
</p>
|
703
|
+
The hash value is independent of <em class="parameter"><code>desc->mask</code></em>.</p>
|
719
704
|
<div class="variablelist"><table border="0" class="variablelist">
|
720
705
|
<colgroup>
|
721
706
|
<col align="left" valign="top">
|
@@ -744,8 +729,7 @@ Compares two font descriptions for equality. Two font descriptions
|
|
744
729
|
are considered equal if the fonts they describe are provably identical.
|
745
730
|
This means that their masks do not have to match, as long as other fields
|
746
731
|
are all the same. (Two font descriptions may result in identical fonts
|
747
|
-
being loaded, but still compare <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.)
|
748
|
-
</p>
|
732
|
+
being loaded, but still compare <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.)</p>
|
749
733
|
<div class="variablelist"><table border="0" class="variablelist">
|
750
734
|
<colgroup>
|
751
735
|
<col align="left" valign="top">
|
@@ -776,8 +760,7 @@ being loaded, but still compare <a href="/home/kou/work/ruby/ruby-gnome2.win32/g
|
|
776
760
|
<a name="pango-font-description-free"></a><h3>pango_font_description_free ()</h3>
|
777
761
|
<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>
|
778
762
|
<p>
|
779
|
-
Frees a font description
|
780
|
-
</p>
|
763
|
+
Frees a font description.</p>
|
781
764
|
<div class="variablelist"><table border="0" class="variablelist">
|
782
765
|
<colgroup>
|
783
766
|
<col align="left" valign="top">
|
@@ -796,8 +779,7 @@ Frees a font description.
|
|
796
779
|
<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>,
|
797
780
|
<em class="parameter"><code><span class="type">int</span> n_descs</code></em>);</pre>
|
798
781
|
<p>
|
799
|
-
Frees an array of font descriptions
|
800
|
-
</p>
|
782
|
+
Frees an array of font descriptions.</p>
|
801
783
|
<div class="variablelist"><table border="0" class="variablelist">
|
802
784
|
<colgroup>
|
803
785
|
<col align="left" valign="top">
|
@@ -828,8 +810,7 @@ Sets the family name field of a font description. The family
|
|
828
810
|
name represents a family of related font styles, and will
|
829
811
|
resolve to a particular <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>. In some uses of
|
830
812
|
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, it is also possible to use a comma
|
831
|
-
separated list of family names for this field
|
832
|
-
</p>
|
813
|
+
separated list of family names for this field.</p>
|
833
814
|
<div class="variablelist"><table border="0" class="variablelist">
|
834
815
|
<colgroup>
|
835
816
|
<col align="left" valign="top">
|
@@ -859,8 +840,7 @@ copy of <em class="parameter"><code>family</code></em> is made. The caller must
|
|
859
840
|
string passed in stays around until <em class="parameter"><code>desc</code></em> has been freed
|
860
841
|
or the name is set again. This function can be used if
|
861
842
|
<em class="parameter"><code>family</code></em> is a static string such as a C string literal, or
|
862
|
-
if <em class="parameter"><code>desc</code></em> is only needed temporarily
|
863
|
-
</p>
|
843
|
+
if <em class="parameter"><code>desc</code></em> is only needed temporarily.</p>
|
864
844
|
<div class="variablelist"><table border="0" class="variablelist">
|
865
845
|
<colgroup>
|
866
846
|
<col align="left" valign="top">
|
@@ -885,8 +865,7 @@ if <em class="parameter"><code>desc</code></em> is only needed temporarily.
|
|
885
865
|
<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>
|
886
866
|
<p>
|
887
867
|
Gets the family name field of a font description. See
|
888
|
-
<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
|
889
|
-
</p>
|
868
|
+
<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>.</p>
|
890
869
|
<div class="variablelist"><table border="0" class="variablelist">
|
891
870
|
<colgroup>
|
892
871
|
<col align="left" valign="top">
|
@@ -919,8 +898,7 @@ the manner in which it is slanted; it can be either
|
|
919
898
|
Most fonts will either have a italic style or an oblique
|
920
899
|
style, but not both, and font matching in Pango will
|
921
900
|
match italic specifications with oblique fonts and vice-versa
|
922
|
-
if an exact match is not found
|
923
|
-
</p>
|
901
|
+
if an exact match is not found.</p>
|
924
902
|
<div class="variablelist"><table border="0" class="variablelist">
|
925
903
|
<colgroup>
|
926
904
|
<col align="left" valign="top">
|
@@ -945,8 +923,7 @@ if an exact match is not found.
|
|
945
923
|
<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>
|
946
924
|
<p>
|
947
925
|
Gets the style field of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. See
|
948
|
-
<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
|
949
|
-
</p>
|
926
|
+
<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>.</p>
|
950
927
|
<div class="variablelist"><table border="0" class="variablelist">
|
951
928
|
<colgroup>
|
952
929
|
<col align="left" valign="top">
|
@@ -974,8 +951,7 @@ the field was explicitly set or not.</td>
|
|
974
951
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a> variant</code></em>);</pre>
|
975
952
|
<p>
|
976
953
|
Sets the variant field of a font description. The <a class="link" href="pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a>
|
977
|
-
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
|
978
|
-
</p>
|
954
|
+
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>.</p>
|
979
955
|
<div class="variablelist"><table border="0" class="variablelist">
|
980
956
|
<colgroup>
|
981
957
|
<col align="left" valign="top">
|
@@ -1000,8 +976,7 @@ can either be <a class="link" href="pango-Fonts.html#PANGO-VARIANT-NORMAL:CAPS">
|
|
1000
976
|
<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>
|
1001
977
|
<p>
|
1002
978
|
Gets the variant field of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. See
|
1003
|
-
<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
|
1004
|
-
</p>
|
979
|
+
<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>.</p>
|
1005
980
|
<div class="variablelist"><table border="0" class="variablelist">
|
1006
981
|
<colgroup>
|
1007
982
|
<col align="left" valign="top">
|
@@ -1030,8 +1005,7 @@ the field was explicitly set or not.</td>
|
|
1030
1005
|
Sets the weight field of a font description. The weight field
|
1031
1006
|
specifies how bold or light the font should be. In addition
|
1032
1007
|
to the values of the <a class="link" href="pango-Fonts.html#PangoWeight"><span class="type">PangoWeight</span></a> enumeration, other intermediate
|
1033
|
-
numeric values are possible
|
1034
|
-
</p>
|
1008
|
+
numeric values are possible.</p>
|
1035
1009
|
<div class="variablelist"><table border="0" class="variablelist">
|
1036
1010
|
<colgroup>
|
1037
1011
|
<col align="left" valign="top">
|
@@ -1056,8 +1030,7 @@ numeric values are possible.
|
|
1056
1030
|
<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>
|
1057
1031
|
<p>
|
1058
1032
|
Gets the weight field of a font description. See
|
1059
|
-
<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
|
1060
|
-
</p>
|
1033
|
+
<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>.</p>
|
1061
1034
|
<div class="variablelist"><table border="0" class="variablelist">
|
1062
1035
|
<colgroup>
|
1063
1036
|
<col align="left" valign="top">
|
@@ -1085,8 +1058,7 @@ the field was explicitly set or not.</td>
|
|
1085
1058
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a> stretch</code></em>);</pre>
|
1086
1059
|
<p>
|
1087
1060
|
Sets the stretch field of a font description. The stretch field
|
1088
|
-
specifies how narrow or wide the font should be
|
1089
|
-
</p>
|
1061
|
+
specifies how narrow or wide the font should be.</p>
|
1090
1062
|
<div class="variablelist"><table border="0" class="variablelist">
|
1091
1063
|
<colgroup>
|
1092
1064
|
<col align="left" valign="top">
|
@@ -1111,8 +1083,7 @@ specifies how narrow or wide the font should be.
|
|
1111
1083
|
<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>
|
1112
1084
|
<p>
|
1113
1085
|
Gets the stretch field of a font description.
|
1114
|
-
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
|
1115
|
-
</p>
|
1086
|
+
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>.</p>
|
1116
1087
|
<div class="variablelist"><table border="0" class="variablelist">
|
1117
1088
|
<colgroup>
|
1118
1089
|
<col align="left" valign="top">
|
@@ -1139,8 +1110,7 @@ the field was explicitly set or not.</td>
|
|
1139
1110
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>);</pre>
|
1140
1111
|
<p>
|
1141
1112
|
Sets the size field of a font description in fractional points. This is mutually
|
1142
|
-
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
|
1143
|
-
</p>
|
1113
|
+
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>.</p>
|
1144
1114
|
<div class="variablelist"><table border="0" class="variablelist">
|
1145
1115
|
<colgroup>
|
1146
1116
|
<col align="left" valign="top">
|
@@ -1171,8 +1141,7 @@ a particular size in device units.</td>
|
|
1171
1141
|
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/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>
|
1172
1142
|
<p>
|
1173
1143
|
Gets the size field of a font description.
|
1174
|
-
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
|
1175
|
-
</p>
|
1144
|
+
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>.</p>
|
1176
1145
|
<div class="variablelist"><table border="0" class="variablelist">
|
1177
1146
|
<colgroup>
|
1178
1147
|
<col align="left" valign="top">
|
@@ -1205,8 +1174,7 @@ find out if the field was explicitly set or not.</td>
|
|
1205
1174
|
<p>
|
1206
1175
|
Sets the size field of a font description, in device units. This is mutually
|
1207
1176
|
exclusive with <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> which sets the font size
|
1208
|
-
in points
|
1209
|
-
</p>
|
1177
|
+
in points.</p>
|
1210
1178
|
<div class="variablelist"><table border="0" class="variablelist">
|
1211
1179
|
<colgroup>
|
1212
1180
|
<col align="left" valign="top">
|
@@ -1235,8 +1203,7 @@ value of 10 * PANGO_SCALE gives a 10 pixel font.</td>
|
|
1235
1203
|
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1236
1204
|
<p>
|
1237
1205
|
Determines whether the size of the font is in points (not absolute) or device units (absolute).
|
1238
|
-
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
|
1239
|
-
</p>
|
1206
|
+
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>.</p>
|
1240
1207
|
<div class="variablelist"><table border="0" class="variablelist">
|
1241
1208
|
<colgroup>
|
1242
1209
|
<col align="left" valign="top">
|
@@ -1267,12 +1234,10 @@ find out if the size field of the font description was explicitly set or not.</t
|
|
1267
1234
|
Sets the gravity field of a font description. The gravity field
|
1268
1235
|
specifies how the glyphs should be rotated. If <em class="parameter"><code>gravity</code></em> is
|
1269
1236
|
<a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a>, this actually unsets the gravity mask on
|
1270
|
-
the font description
|
1271
|
-
</p>
|
1237
|
+
the font description.</p>
|
1272
1238
|
<p>
|
1273
1239
|
This function is seldom useful to the user. Gravity should normally
|
1274
|
-
be set on a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a
|
1275
|
-
</p>
|
1240
|
+
be set on a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</p>
|
1276
1241
|
<div class="variablelist"><table border="0" class="variablelist">
|
1277
1242
|
<colgroup>
|
1278
1243
|
<col align="left" valign="top">
|
@@ -1298,8 +1263,7 @@ be set on a <a class="link" href="pango-Text-Processing.html#PangoContext"><span
|
|
1298
1263
|
<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>
|
1299
1264
|
<p>
|
1300
1265
|
Gets the gravity field of a font description. See
|
1301
|
-
<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
|
1302
|
-
</p>
|
1266
|
+
<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>.</p>
|
1303
1267
|
<div class="variablelist"><table border="0" class="variablelist">
|
1304
1268
|
<colgroup>
|
1305
1269
|
<col align="left" valign="top">
|
@@ -1327,8 +1291,7 @@ the field was explicitly set or not.</td>
|
|
1327
1291
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMask"><span class="returnvalue">PangoFontMask</span></a> pango_font_description_get_set_fields
|
1328
1292
|
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1329
1293
|
<p>
|
1330
|
-
Determines which fields in a font description have been set
|
1331
|
-
</p>
|
1294
|
+
Determines which fields in a font description have been set.</p>
|
1332
1295
|
<div class="variablelist"><table border="0" class="variablelist">
|
1333
1296
|
<colgroup>
|
1334
1297
|
<col align="left" valign="top">
|
@@ -1355,8 +1318,7 @@ fields in <em class="parameter"><code>desc</code></em> that have been set.</td>
|
|
1355
1318
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMask"><span class="type">PangoFontMask</span></a> to_unset</code></em>);</pre>
|
1356
1319
|
<p>
|
1357
1320
|
Unsets some of the fields in a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. The unset
|
1358
|
-
fields will get back to their default values
|
1359
|
-
</p>
|
1321
|
+
fields will get back to their default values.</p>
|
1360
1322
|
<div class="variablelist"><table border="0" class="variablelist">
|
1361
1323
|
<colgroup>
|
1362
1324
|
<col align="left" valign="top">
|
@@ -1385,11 +1347,9 @@ fields will get back to their default values.
|
|
1385
1347
|
Merges the fields that are set in <em class="parameter"><code>desc_to_merge</code></em> into the fields in
|
1386
1348
|
<em class="parameter"><code>desc</code></em>. If <em class="parameter"><code>replace_existing</code></em> is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, only fields in <em class="parameter"><code>desc</code></em> that
|
1387
1349
|
are not already set are affected. If <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then fields that are
|
1388
|
-
already set will be replaced as well
|
1389
|
-
</p>
|
1350
|
+
already set will be replaced as well.</p>
|
1390
1351
|
<p>
|
1391
|
-
If <em class="parameter"><code>desc_to_merge</code></em> is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, this function performs nothing
|
1392
|
-
</p>
|
1352
|
+
If <em class="parameter"><code>desc_to_merge</code></em> is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, this function performs nothing.</p>
|
1393
1353
|
<div class="variablelist"><table border="0" class="variablelist">
|
1394
1354
|
<colgroup>
|
1395
1355
|
<col align="left" valign="top">
|
@@ -1425,8 +1385,7 @@ are already exist.</td>
|
|
1425
1385
|
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
|
1426
1386
|
of the family name and other allocated fields. <em class="parameter"><code>desc</code></em> can only be
|
1427
1387
|
used until <em class="parameter"><code>desc_to_merge</code></em> is modified or freed. This is meant
|
1428
|
-
to be used when the merged font description is only needed temporarily
|
1429
|
-
</p>
|
1388
|
+
to be used when the merged font description is only needed temporarily.</p>
|
1430
1389
|
<div class="variablelist"><table border="0" class="variablelist">
|
1431
1390
|
<colgroup>
|
1432
1391
|
<col align="left" valign="top">
|
@@ -1466,11 +1425,9 @@ weight and style; other style attributes must match exactly.
|
|
1466
1425
|
Style attributes are all attributes other than family and size-related
|
1467
1426
|
attributes. Approximate matching for style considers PANGO_STYLE_OBLIQUE
|
1468
1427
|
and PANGO_STYLE_ITALIC as matches, but not as good a match as when the
|
1469
|
-
styles are equal
|
1470
|
-
</p>
|
1428
|
+
styles are equal.</p>
|
1471
1429
|
<p>
|
1472
|
-
Note that <em class="parameter"><code>old_match</code></em> must match <em class="parameter"><code>desc</code></em
|
1473
|
-
</p>
|
1430
|
+
Note that <em class="parameter"><code>old_match</code></em> must match <em class="parameter"><code>desc</code></em>.</p>
|
1474
1431
|
<div class="variablelist"><table border="0" class="variablelist">
|
1475
1432
|
<colgroup>
|
1476
1433
|
<col align="left" valign="top">
|
@@ -1517,8 +1474,7 @@ be absent. If FAMILY-LIST is absent, then the family_name field of
|
|
1517
1474
|
the resulting font description will be initialized to <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. If
|
1518
1475
|
STYLE-OPTIONS is missing, then all style options will be set to the
|
1519
1476
|
default values. If SIZE is missing, the size in the resulting font
|
1520
|
-
description will be set to 0
|
1521
|
-
</p>
|
1477
|
+
description will be set to 0.</p>
|
1522
1478
|
<div class="variablelist"><table border="0" class="variablelist">
|
1523
1479
|
<colgroup>
|
1524
1480
|
<col align="left" valign="top">
|
@@ -1545,8 +1501,7 @@ Creates a string representation of a font description. See
|
|
1545
1501
|
<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
|
1546
1502
|
format of the string representation. The family list in the
|
1547
1503
|
string description will only have a terminating comma if the
|
1548
|
-
last word of the list is a valid style option
|
1549
|
-
</p>
|
1504
|
+
last word of the list is a valid style option.</p>
|
1550
1505
|
<div class="variablelist"><table border="0" class="variablelist">
|
1551
1506
|
<colgroup>
|
1552
1507
|
<col align="left" valign="top">
|
@@ -1573,8 +1528,7 @@ last word of the list is a valid style option.
|
|
1573
1528
|
Creates a filename representation of a font description. The
|
1574
1529
|
filename is identical to the result from calling
|
1575
1530
|
<a class="link" href="pango-Fonts.html#pango-font-description-to-string" title="pango_font_description_to_string ()"><code class="function">pango_font_description_to_string()</code></a>, but with underscores instead of
|
1576
|
-
characters that are untypical in filenames, and in lower case only
|
1577
|
-
</p>
|
1531
|
+
characters that are untypical in filenames, and in lower case only.</p>
|
1578
1532
|
<div class="variablelist"><table border="0" class="variablelist">
|
1579
1533
|
<colgroup>
|
1580
1534
|
<col align="left" valign="top">
|
@@ -1614,8 +1568,7 @@ A <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">Pa
|
|
1614
1568
|
for a font (possibly restricted to a script). The fields of this
|
1615
1569
|
structure are private to implementations of a font backend. See
|
1616
1570
|
the documentation of the corresponding getters for documentation
|
1617
|
-
of their meaning
|
1618
|
-
</p>
|
1571
|
+
of their meaning.</p>
|
1619
1572
|
</div>
|
1620
1573
|
<hr>
|
1621
1574
|
<div class="refsect2">
|
@@ -1623,16 +1576,14 @@ of their meaning.
|
|
1623
1576
|
<pre class="programlisting">#define PANGO_TYPE_FONT_METRICS (pango_font_metrics_get_type ())
|
1624
1577
|
</pre>
|
1625
1578
|
<p>
|
1626
|
-
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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
|
1627
|
-
</p>
|
1579
|
+
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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>.</p>
|
1628
1580
|
</div>
|
1629
1581
|
<hr>
|
1630
1582
|
<div class="refsect2">
|
1631
1583
|
<a name="pango-font-metrics-ref"></a><h3>pango_font_metrics_ref ()</h3>
|
1632
1584
|
<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>
|
1633
1585
|
<p>
|
1634
|
-
Increase the reference count of a font metrics structure by one
|
1635
|
-
</p>
|
1586
|
+
Increase the reference count of a font metrics structure by one.</p>
|
1636
1587
|
<div class="variablelist"><table border="0" class="variablelist">
|
1637
1588
|
<colgroup>
|
1638
1589
|
<col align="left" valign="top">
|
@@ -1658,8 +1609,7 @@ Increase the reference count of a font metrics structure by one.
|
|
1658
1609
|
<p>
|
1659
1610
|
Decrease the reference count of a font metrics structure by one. If
|
1660
1611
|
the result is zero, frees the structure and any associated
|
1661
|
-
memory
|
1662
|
-
</p>
|
1612
|
+
memory.</p>
|
1663
1613
|
<div class="variablelist"><table border="0" class="variablelist">
|
1664
1614
|
<colgroup>
|
1665
1615
|
<col align="left" valign="top">
|
@@ -1681,8 +1631,7 @@ Gets the ascent from a font metrics structure. The ascent is
|
|
1681
1631
|
the distance from the baseline to the logical top of a line
|
1682
1632
|
of text. (The logical top may be above or below the top of the
|
1683
1633
|
actual drawn ink. It is necessary to lay out the text to figure
|
1684
|
-
where the ink will be.)
|
1685
|
-
</p>
|
1634
|
+
where the ink will be.)</p>
|
1686
1635
|
<div class="variablelist"><table border="0" class="variablelist">
|
1687
1636
|
<colgroup>
|
1688
1637
|
<col align="left" valign="top">
|
@@ -1709,8 +1658,7 @@ Gets the descent from a font metrics structure. The descent is
|
|
1709
1658
|
the distance from the baseline to the logical bottom of a line
|
1710
1659
|
of text. (The logical bottom may be above or below the bottom of the
|
1711
1660
|
actual drawn ink. It is necessary to lay out the text to figure
|
1712
|
-
where the ink will be.)
|
1713
|
-
</p>
|
1661
|
+
where the ink will be.)</p>
|
1714
1662
|
<div class="variablelist"><table border="0" class="variablelist">
|
1715
1663
|
<colgroup>
|
1716
1664
|
<col align="left" valign="top">
|
@@ -1737,8 +1685,7 @@ where the ink will be.)
|
|
1737
1685
|
Gets the approximate character width for a font metrics structure.
|
1738
1686
|
This is merely a representative value useful, for example, for
|
1739
1687
|
determining the initial size for a window. Actual characters in
|
1740
|
-
text will be wider and narrower than this
|
1741
|
-
</p>
|
1688
|
+
text will be wider and narrower than this.</p>
|
1742
1689
|
<div class="variablelist"><table border="0" class="variablelist">
|
1743
1690
|
<colgroup>
|
1744
1691
|
<col align="left" valign="top">
|
@@ -1767,8 +1714,7 @@ This is merely a representative value useful, for example, for
|
|
1767
1714
|
determining the initial size for a window. Actual digits in
|
1768
1715
|
text can be wider or narrower than this, though this value
|
1769
1716
|
is generally somewhat more accurate than the result of
|
1770
|
-
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-char-width" title="pango_font_metrics_get_approximate_char_width ()"><code class="function">pango_font_metrics_get_approximate_char_width()</code></a> for digits
|
1771
|
-
</p>
|
1717
|
+
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-char-width" title="pango_font_metrics_get_approximate_char_width ()"><code class="function">pango_font_metrics_get_approximate_char_width()</code></a> for digits.</p>
|
1772
1718
|
<div class="variablelist"><table border="0" class="variablelist">
|
1773
1719
|
<colgroup>
|
1774
1720
|
<col align="left" valign="top">
|
@@ -1792,8 +1738,7 @@ is generally somewhat more accurate than the result of
|
|
1792
1738
|
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_underline_thickness
|
1793
1739
|
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1794
1740
|
<p>
|
1795
|
-
Gets the suggested thickness to draw for the underline
|
1796
|
-
</p>
|
1741
|
+
Gets the suggested thickness to draw for the underline.</p>
|
1797
1742
|
<div class="variablelist"><table border="0" class="variablelist">
|
1798
1743
|
<colgroup>
|
1799
1744
|
<col align="left" valign="top">
|
@@ -1822,8 +1767,7 @@ Gets the suggested position to draw the underline.
|
|
1822
1767
|
The value returned is the distance <span class="emphasis"><em>above</em></span> the
|
1823
1768
|
baseline of the top of the underline. Since most fonts have
|
1824
1769
|
underline positions beneath the baseline, this value is typically
|
1825
|
-
negative
|
1826
|
-
</p>
|
1770
|
+
negative.</p>
|
1827
1771
|
<div class="variablelist"><table border="0" class="variablelist">
|
1828
1772
|
<colgroup>
|
1829
1773
|
<col align="left" valign="top">
|
@@ -1848,8 +1792,7 @@ negative.
|
|
1848
1792
|
<pre class="programlisting"><span class="returnvalue">int</span> pango_font_metrics_get_strikethrough_thickness
|
1849
1793
|
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1850
1794
|
<p>
|
1851
|
-
Gets the suggested thickness to draw for the strikethrough
|
1852
|
-
</p>
|
1795
|
+
Gets the suggested thickness to draw for the strikethrough.</p>
|
1853
1796
|
<div class="variablelist"><table border="0" class="variablelist">
|
1854
1797
|
<colgroup>
|
1855
1798
|
<col align="left" valign="top">
|
@@ -1876,8 +1819,7 @@ Gets the suggested thickness to draw for the strikethrough.
|
|
1876
1819
|
<p>
|
1877
1820
|
Gets the suggested position to draw the strikethrough.
|
1878
1821
|
The value returned is the distance <span class="emphasis"><em>above</em></span> the
|
1879
|
-
baseline of the top of the strikethrough
|
1880
|
-
</p>
|
1822
|
+
baseline of the top of the strikethrough.</p>
|
1881
1823
|
<div class="variablelist"><table border="0" class="variablelist">
|
1882
1824
|
<colgroup>
|
1883
1825
|
<col align="left" valign="top">
|
@@ -1909,12 +1851,10 @@ a larger structure that contains a nested
|
|
1909
1851
|
<a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>, fill in the <em class="structfield"><code>klass</code></em> member of
|
1910
1852
|
the nested <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> with a pointer to
|
1911
1853
|
a appropriate <span class="type">PangoFontClass</span>, then call
|
1912
|
-
<code class="function">pango_font_init()</code> on the structure
|
1913
|
-
</p>
|
1854
|
+
<code class="function">pango_font_init()</code> on the structure.</p>
|
1914
1855
|
<p>
|
1915
1856
|
The <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> structure contains one member
|
1916
|
-
which the implementation fills in
|
1917
|
-
</p>
|
1857
|
+
which the implementation fills in.</p>
|
1918
1858
|
</div>
|
1919
1859
|
<hr>
|
1920
1860
|
<div class="refsect2">
|
@@ -1922,8 +1862,7 @@ which the implementation fills in.
|
|
1922
1862
|
<pre class="programlisting">#define PANGO_TYPE_FONT (pango_font_get_type ())
|
1923
1863
|
</pre>
|
1924
1864
|
<p>
|
1925
|
-
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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
|
1926
|
-
</p>
|
1865
|
+
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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>.</p>
|
1927
1866
|
</div>
|
1928
1867
|
<hr>
|
1929
1868
|
<div class="refsect2">
|
@@ -1931,8 +1870,7 @@ The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-
|
|
1931
1870
|
<pre class="programlisting">#define PANGO_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT, PangoFont))
|
1932
1871
|
</pre>
|
1933
1872
|
<p>
|
1934
|
-
Casts a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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
|
1935
|
-
</p>
|
1873
|
+
Casts a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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>.</p>
|
1936
1874
|
<div class="variablelist"><table border="0" class="variablelist">
|
1937
1875
|
<colgroup>
|
1938
1876
|
<col align="left" valign="top">
|
@@ -1975,8 +1913,7 @@ Casts a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/
|
|
1975
1913
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> ch</code></em>);</pre>
|
1976
1914
|
<p>
|
1977
1915
|
Finds the best matching shaper for a font for a particular
|
1978
|
-
language tag and character point
|
1979
|
-
</p>
|
1916
|
+
language tag and character point.</p>
|
1980
1917
|
<div class="variablelist"><table border="0" class="variablelist">
|
1981
1918
|
<colgroup>
|
1982
1919
|
<col align="left" valign="top">
|
@@ -2010,8 +1947,7 @@ language tag and character point.
|
|
2010
1947
|
<p>
|
2011
1948
|
Returns a description of the font, with font size set in points.
|
2012
1949
|
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
|
2013
|
-
size in device units
|
2014
|
-
</p>
|
1950
|
+
size in device units.</p>
|
2015
1951
|
<div class="variablelist"><table border="0" class="variablelist">
|
2016
1952
|
<colgroup>
|
2017
1953
|
<col align="left" valign="top">
|
@@ -2038,8 +1974,7 @@ size in device units.
|
|
2038
1974
|
<p>
|
2039
1975
|
Returns a description of the font, with absolute font size set
|
2040
1976
|
(in device units). Use <a class="link" href="pango-Fonts.html#pango-font-describe" title="pango_font_describe ()"><code class="function">pango_font_describe()</code></a> if you want the font
|
2041
|
-
size in points
|
2042
|
-
</p>
|
1977
|
+
size in points.</p>
|
2043
1978
|
<div class="variablelist"><table border="0" class="variablelist">
|
2044
1979
|
<colgroup>
|
2045
1980
|
<col align="left" valign="top">
|
@@ -2065,8 +2000,7 @@ size in points.
|
|
2065
2000
|
<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>,
|
2066
2001
|
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
2067
2002
|
<p>
|
2068
|
-
Computes the coverage map for a given font and language tag
|
2069
|
-
</p>
|
2003
|
+
Computes the coverage map for a given font and language tag.</p>
|
2070
2004
|
<div class="variablelist"><table border="0" class="variablelist">
|
2071
2005
|
<colgroup>
|
2072
2006
|
<col align="left" valign="top">
|
@@ -2105,12 +2039,10 @@ base line and horizontal origin of the character with increasing
|
|
2105
2039
|
coordinates extending to the right and down. The macros <a class="link" href="pango-Glyph-Storage.html#PANGO-ASCENT:CAPS" title="PANGO_ASCENT()"><code class="function">PANGO_ASCENT()</code></a>,
|
2106
2040
|
<a class="link" href="pango-Glyph-Storage.html#PANGO-DESCENT:CAPS" title="PANGO_DESCENT()"><code class="function">PANGO_DESCENT()</code></a>, <a class="link" href="pango-Glyph-Storage.html#PANGO-LBEARING:CAPS" title="PANGO_LBEARING()"><code class="function">PANGO_LBEARING()</code></a>, and <a class="link" href="pango-Glyph-Storage.html#PANGO-RBEARING:CAPS" title="PANGO_RBEARING()"><code class="function">PANGO_RBEARING()</code></a> can be used to convert
|
2107
2041
|
from the extents rectangle to more traditional font metrics. The units
|
2108
|
-
of the rectangles are in 1/PANGO_SCALE of a device unit
|
2109
|
-
</p>
|
2042
|
+
of the rectangles are in 1/PANGO_SCALE of a device unit.</p>
|
2110
2043
|
<p>
|
2111
2044
|
If <em class="parameter"><code>font</code></em> is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, this function gracefully sets some sane values in the
|
2112
|
-
output variables and returns
|
2113
|
-
</p>
|
2045
|
+
output variables and returns.</p>
|
2114
2046
|
<div class="variablelist"><table border="0" class="variablelist">
|
2115
2047
|
<colgroup>
|
2116
2048
|
<col align="left" valign="top">
|
@@ -2150,12 +2082,10 @@ the glyph or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/s
|
|
2150
2082
|
Gets overall metric information for a font. Since the metrics may be
|
2151
2083
|
substantially different for different scripts, a language tag can
|
2152
2084
|
be provided to indicate that the metrics should be retrieved that
|
2153
|
-
correspond to the script(s) used by that language
|
2154
|
-
</p>
|
2085
|
+
correspond to the script(s) used by that language.</p>
|
2155
2086
|
<p>
|
2156
2087
|
If <em class="parameter"><code>font</code></em> is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, this function gracefully sets some sane values in the
|
2157
|
-
output variables and returns
|
2158
|
-
</p>
|
2088
|
+
output variables and returns.</p>
|
2159
2089
|
<div class="variablelist"><table border="0" class="variablelist">
|
2160
2090
|
<colgroup>
|
2161
2091
|
<col align="left" valign="top">
|
@@ -2186,8 +2116,7 @@ when finished using the object.</td>
|
|
2186
2116
|
<a name="pango-font-get-font-map"></a><h3>pango_font_get_font_map ()</h3>
|
2187
2117
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * pango_font_get_font_map (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
2188
2118
|
<p>
|
2189
|
-
Gets the font map for which the font was created
|
2190
|
-
</p>
|
2119
|
+
Gets the font map for which the font was created.</p>
|
2191
2120
|
<p>
|
2192
2121
|
Note that the font maintains a <em class="firstterm">weak</em> reference
|
2193
2122
|
to the font map, so if all references to font map are dropped, the font
|
@@ -2195,8 +2124,7 @@ map will be finalized even if there are fonts created with the font
|
|
2195
2124
|
map that are still alive. In that case this function will return <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
2196
2125
|
It is the responsibility of the user to ensure that the font map is kept
|
2197
2126
|
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
|
2198
|
-
a reference to the font map
|
2199
|
-
</p>
|
2127
|
+
a reference to the font map.</p>
|
2200
2128
|
<div class="variablelist"><table border="0" class="variablelist">
|
2201
2129
|
<colgroup>
|
2202
2130
|
<col align="left" valign="top">
|
@@ -2225,8 +2153,7 @@ if <em class="parameter"><code>font</code></em> is <a href="/home/kou/work/ruby/
|
|
2225
2153
|
<p>
|
2226
2154
|
The <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> structure is used to represent a family of related
|
2227
2155
|
font faces. The faces in a family share a common design, but differ in
|
2228
|
-
slant, weight, width and other aspects
|
2229
|
-
</p>
|
2156
|
+
slant, weight, width and other aspects.</p>
|
2230
2157
|
</div>
|
2231
2158
|
<hr>
|
2232
2159
|
<div class="refsect2">
|
@@ -2234,8 +2161,7 @@ slant, weight, width and other aspects.
|
|
2234
2161
|
<pre class="programlisting">#define PANGO_TYPE_FONT_FAMILY (pango_font_family_get_type ())
|
2235
2162
|
</pre>
|
2236
2163
|
<p>
|
2237
|
-
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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
|
2238
|
-
</p>
|
2164
|
+
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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>.</p>
|
2239
2165
|
</div>
|
2240
2166
|
<hr>
|
2241
2167
|
<div class="refsect2">
|
@@ -2243,8 +2169,7 @@ The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-
|
|
2243
2169
|
<pre class="programlisting">#define PANGO_FONT_FAMILY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FAMILY, PangoFontFamily))
|
2244
2170
|
</pre>
|
2245
2171
|
<p>
|
2246
|
-
Casts a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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
|
2247
|
-
</p>
|
2172
|
+
Casts a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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>.</p>
|
2248
2173
|
<div class="variablelist"><table border="0" class="variablelist">
|
2249
2174
|
<colgroup>
|
2250
2175
|
<col align="left" valign="top">
|
@@ -2286,8 +2211,7 @@ Casts a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/
|
|
2286
2211
|
<p>
|
2287
2212
|
Gets the name of the family. The name is unique among all
|
2288
2213
|
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>
|
2289
|
-
to specify that a face from this family is desired
|
2290
|
-
</p>
|
2214
|
+
to specify that a face from this family is desired.</p>
|
2291
2215
|
<div class="variablelist"><table border="0" class="variablelist">
|
2292
2216
|
<colgroup>
|
2293
2217
|
<col align="left" valign="top">
|
@@ -2318,14 +2242,12 @@ mean that the advance width of all characters are the same, but
|
|
2318
2242
|
this categorization also includes Asian fonts which include
|
2319
2243
|
double-width characters: characters that occupy two grid cells.
|
2320
2244
|
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#g-unichar-iswide"><code class="function">g_unichar_iswide()</code></a> returns a result that indicates whether a
|
2321
|
-
character is typically double-width in a monospace font
|
2322
|
-
</p>
|
2245
|
+
character is typically double-width in a monospace font.</p>
|
2323
2246
|
<p>
|
2324
2247
|
The best way to find out the grid-cell size is to call
|
2325
2248
|
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-digit-width" title="pango_font_metrics_get_approximate_digit_width ()"><code class="function">pango_font_metrics_get_approximate_digit_width()</code></a>, since the results
|
2326
2249
|
of <a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-char-width" title="pango_font_metrics_get_approximate_char_width ()"><code class="function">pango_font_metrics_get_approximate_char_width()</code></a> may be affected
|
2327
|
-
by double-width characters
|
2328
|
-
</p>
|
2250
|
+
by double-width characters.</p>
|
2329
2251
|
<div class="variablelist"><table border="0" class="variablelist">
|
2330
2252
|
<colgroup>
|
2331
2253
|
<col align="left" valign="top">
|
@@ -2355,8 +2277,7 @@ by double-width characters.
|
|
2355
2277
|
<p>
|
2356
2278
|
Lists the different font faces that make up <em class="parameter"><code>family</code></em>. The faces
|
2357
2279
|
in a family share a common design, but differ in slant, weight,
|
2358
|
-
width and other aspects
|
2359
|
-
</p>
|
2280
|
+
width and other aspects.</p>
|
2360
2281
|
<div class="variablelist"><table border="0" class="variablelist">
|
2361
2282
|
<colgroup>
|
2362
2283
|
<col align="left" valign="top">
|
@@ -2389,8 +2310,7 @@ longer needed. <span class="annotation">[<acronym title="Parameter for returning
|
|
2389
2310
|
<pre class="programlisting">struct PangoFontFace;</pre>
|
2390
2311
|
<p>
|
2391
2312
|
The <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> structure is used to represent a group of fonts with
|
2392
|
-
the same family, slant, weight, width, but varying sizes
|
2393
|
-
</p>
|
2313
|
+
the same family, slant, weight, width, but varying sizes.</p>
|
2394
2314
|
</div>
|
2395
2315
|
<hr>
|
2396
2316
|
<div class="refsect2">
|
@@ -2398,8 +2318,7 @@ the same family, slant, weight, width, but varying sizes.
|
|
2398
2318
|
<pre class="programlisting">#define PANGO_TYPE_FONT_FACE (pango_font_face_get_type ())
|
2399
2319
|
</pre>
|
2400
2320
|
<p>
|
2401
|
-
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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
|
2402
|
-
</p>
|
2321
|
+
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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>.</p>
|
2403
2322
|
</div>
|
2404
2323
|
<hr>
|
2405
2324
|
<div class="refsect2">
|
@@ -2407,8 +2326,7 @@ The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-
|
|
2407
2326
|
<pre class="programlisting">#define PANGO_FONT_FACE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FACE, PangoFontFace))
|
2408
2327
|
</pre>
|
2409
2328
|
<p>
|
2410
|
-
Casts a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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
|
2411
|
-
</p>
|
2329
|
+
Casts a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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>.</p>
|
2412
2330
|
<div class="variablelist"><table border="0" class="variablelist">
|
2413
2331
|
<colgroup>
|
2414
2332
|
<col align="left" valign="top">
|
@@ -2451,8 +2369,7 @@ Casts a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/
|
|
2451
2369
|
Gets a name representing the style of this face among the
|
2452
2370
|
different faces in the <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> for the face. This
|
2453
2371
|
name is unique among all faces in the family and is suitable
|
2454
|
-
for displaying to users
|
2455
|
-
</p>
|
2372
|
+
for displaying to users.</p>
|
2456
2373
|
<div class="variablelist"><table border="0" class="variablelist">
|
2457
2374
|
<colgroup>
|
2458
2375
|
<col align="left" valign="top">
|
@@ -2481,8 +2398,7 @@ owned by the face object and must not be modified or freed.</td>
|
|
2481
2398
|
List the available sizes for a font. This is only applicable to bitmap
|
2482
2399
|
fonts. For scalable fonts, stores <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> at the location pointed to by
|
2483
2400
|
<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
|
2484
|
-
are in Pango units and are sorted in ascending order
|
2485
|
-
</p>
|
2401
|
+
are in Pango units and are sorted in ascending order.</p>
|
2486
2402
|
<div class="variablelist"><table border="0" class="variablelist">
|
2487
2403
|
<colgroup>
|
2488
2404
|
<col align="left" valign="top">
|
@@ -2516,8 +2432,7 @@ to an array of int. This array should be freed with
|
|
2516
2432
|
<p>
|
2517
2433
|
Returns the family, style, variant, weight and stretch of
|
2518
2434
|
a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>. The size field of the resulting font description
|
2519
|
-
will be unset
|
2520
|
-
</p>
|
2435
|
+
will be unset.</p>
|
2521
2436
|
<div class="variablelist"><table border="0" class="variablelist">
|
2522
2437
|
<colgroup>
|
2523
2438
|
<col align="left" valign="top">
|
@@ -2545,8 +2460,7 @@ to free the result.</td>
|
|
2545
2460
|
<p>
|
2546
2461
|
Returns whether a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> is synthesized by the underlying
|
2547
2462
|
font rendering engine from another face, perhaps by shearing, emboldening,
|
2548
|
-
or lightening it
|
2549
|
-
</p>
|
2463
|
+
or lightening it.</p>
|
2550
2464
|
<div class="variablelist"><table border="0" class="variablelist">
|
2551
2465
|
<colgroup>
|
2552
2466
|
<col align="left" valign="top">
|
@@ -2578,12 +2492,10 @@ create an implementation of a <a class="link" href="pango-Fonts.html#PangoFontMa
|
|
2578
2492
|
specific code should allocate a larger structure that contains a nested
|
2579
2493
|
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>, fill in the <em class="structfield"><code>klass</code></em> member of the nested <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> with a
|
2580
2494
|
pointer to a appropriate <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a>, then call
|
2581
|
-
<code class="function">pango_font_map_init()</code> on the structure
|
2582
|
-
</p>
|
2495
|
+
<code class="function">pango_font_map_init()</code> on the structure.</p>
|
2583
2496
|
<p>
|
2584
2497
|
The <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> structure contains one member which the implementation
|
2585
|
-
fills in
|
2586
|
-
</p>
|
2498
|
+
fills in.</p>
|
2587
2499
|
</div>
|
2588
2500
|
<hr>
|
2589
2501
|
<div class="refsect2">
|
@@ -2591,8 +2503,7 @@ fills in.
|
|
2591
2503
|
<pre class="programlisting">#define PANGO_TYPE_FONT_MAP (pango_font_map_get_type ())
|
2592
2504
|
</pre>
|
2593
2505
|
<p>
|
2594
|
-
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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
|
2595
|
-
</p>
|
2506
|
+
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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>.</p>
|
2596
2507
|
</div>
|
2597
2508
|
<hr>
|
2598
2509
|
<div class="refsect2">
|
@@ -2600,8 +2511,7 @@ The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-
|
|
2600
2511
|
<pre class="programlisting">#define PANGO_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_MAP, PangoFontMap))
|
2601
2512
|
</pre>
|
2602
2513
|
<p>
|
2603
|
-
Casts a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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
|
2604
|
-
</p>
|
2514
|
+
Casts a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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>.</p>
|
2605
2515
|
<div class="variablelist"><table border="0" class="variablelist">
|
2606
2516
|
<colgroup>
|
2607
2517
|
<col align="left" valign="top">
|
@@ -2662,8 +2572,7 @@ Casts a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/
|
|
2662
2572
|
</pre>
|
2663
2573
|
<p>
|
2664
2574
|
The <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a> structure holds the virtual functions for
|
2665
|
-
a particular <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> implementation
|
2666
|
-
</p>
|
2575
|
+
a particular <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> implementation.</p>
|
2667
2576
|
<div class="variablelist"><table border="0" class="variablelist">
|
2668
2577
|
<colgroup>
|
2669
2578
|
<col align="left" valign="top">
|
@@ -2713,8 +2622,7 @@ See <a class="link" href="pango-Fonts.html#pango-font-map-get-serial" title="pan
|
|
2713
2622
|
<pre class="programlisting">#define PANGO_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FONT_MAP, PangoFontMapClass))
|
2714
2623
|
</pre>
|
2715
2624
|
<p>
|
2716
|
-
Casts a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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
|
2717
|
-
</p>
|
2625
|
+
Casts a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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>.</p>
|
2718
2626
|
<div class="variablelist"><table border="0" class="variablelist">
|
2719
2627
|
<colgroup>
|
2720
2628
|
<col align="left" valign="top">
|
@@ -2778,15 +2686,13 @@ Casts a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/
|
|
2778
2686
|
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * pango_font_map_create_context (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>);</pre>
|
2779
2687
|
<p>
|
2780
2688
|
Creates a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> connected to <em class="parameter"><code>fontmap</code></em>. This is equivalent
|
2781
|
-
to <a class="link" href="pango-Text-Processing.html#pango-context-new" title="pango_context_new ()"><code class="function">pango_context_new()</code></a> followed by <a class="link" href="pango-Text-Processing.html#pango-context-set-font-map" title="pango_context_set_font_map ()"><code class="function">pango_context_set_font_map()</code></a
|
2782
|
-
</p>
|
2689
|
+
to <a class="link" href="pango-Text-Processing.html#pango-context-new" title="pango_context_new ()"><code class="function">pango_context_new()</code></a> followed by <a class="link" href="pango-Text-Processing.html#pango-context-set-font-map" title="pango_context_set_font_map ()"><code class="function">pango_context_set_font_map()</code></a>.</p>
|
2783
2690
|
<p>
|
2784
2691
|
If you are using Pango as part of a higher-level system,
|
2785
2692
|
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>.
|
2786
2693
|
For instance, the GTK+ toolkit has, among others,
|
2787
|
-
<a href="http://
|
2788
|
-
<a href="http://
|
2789
|
-
</p>
|
2694
|
+
<a href="http://library.gnome.org/devel/gdk3/gdk2-Pango-Interaction.html#gdk-pango-context-get-for-screen"><code class="function">gdk_pango_context_get_for_screen()</code></a>, and
|
2695
|
+
<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.</p>
|
2790
2696
|
<div class="variablelist"><table border="0" class="variablelist">
|
2791
2697
|
<colgroup>
|
2792
2698
|
<col align="left" valign="top">
|
@@ -2815,8 +2721,7 @@ which should be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/
|
|
2815
2721
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
2816
2722
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
2817
2723
|
<p>
|
2818
|
-
Load the font in the fontmap that is the closest match for <em class="parameter"><code>desc</code></em
|
2819
|
-
</p>
|
2724
|
+
Load the font in the fontmap that is the closest match for <em class="parameter"><code>desc</code></em>.</p>
|
2820
2725
|
<div class="variablelist"><table border="0" class="variablelist">
|
2821
2726
|
<colgroup>
|
2822
2727
|
<col align="left" valign="top">
|
@@ -2854,8 +2759,7 @@ or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-d
|
|
2854
2759
|
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
2855
2760
|
<p>
|
2856
2761
|
Load a set of fonts in the fontmap that can be used to render
|
2857
|
-
a font matching <em class="parameter"><code>desc</code></em
|
2858
|
-
</p>
|
2762
|
+
a font matching <em class="parameter"><code>desc</code></em>.</p>
|
2859
2763
|
<div class="variablelist"><table border="0" class="variablelist">
|
2860
2764
|
<colgroup>
|
2861
2765
|
<col align="left" valign="top">
|
@@ -2895,8 +2799,7 @@ loaded, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/sha
|
|
2895
2799
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> ***families</code></em>,
|
2896
2800
|
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);</pre>
|
2897
2801
|
<p>
|
2898
|
-
List all families for a fontmap
|
2899
|
-
</p>
|
2802
|
+
List all families for a fontmap.</p>
|
2900
2803
|
<div class="variablelist"><table border="0" class="variablelist">
|
2901
2804
|
<colgroup>
|
2902
2805
|
<col align="left" valign="top">
|
@@ -2930,8 +2833,7 @@ This array should be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/g
|
|
2930
2833
|
<p>
|
2931
2834
|
Returns the render ID for shape engines for this fontmap.
|
2932
2835
|
See the <em class="structfield"><code>render_type</code></em> field of
|
2933
|
-
<a class="link" href="pango-Engines.html#PangoEngineInfo" title="struct PangoEngineInfo"><span class="type">PangoEngineInfo</span></a
|
2934
|
-
</p>
|
2836
|
+
<a class="link" href="pango-Engines.html#PangoEngineInfo" title="struct PangoEngineInfo"><span class="type">PangoEngineInfo</span></a>.</p>
|
2935
2837
|
<div class="variablelist"><table border="0" class="variablelist">
|
2936
2838
|
<colgroup>
|
2937
2839
|
<col align="left" valign="top">
|
@@ -2962,16 +2864,13 @@ Returns the current serial number of <em class="parameter"><code>fontmap</code><
|
|
2962
2864
|
initialized to an small number larger than zero when a new fontmap
|
2963
2865
|
is created and is increased whenever the fontmap is changed. It may
|
2964
2866
|
wrap, but will never have the value 0. Since it can wrap, never compare
|
2965
|
-
it with "less than", always use "not equals"
|
2966
|
-
</p>
|
2867
|
+
it with "less than", always use "not equals".</p>
|
2967
2868
|
<p>
|
2968
2869
|
The fontmap can only be changed using backend-specific API, like changing
|
2969
|
-
fontmap resolution
|
2970
|
-
</p>
|
2870
|
+
fontmap resolution.</p>
|
2971
2871
|
<p>
|
2972
2872
|
This can be used to automatically detect changes to a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>, like
|
2973
|
-
in <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a
|
2974
|
-
</p>
|
2873
|
+
in <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</p>
|
2975
2874
|
<div class="variablelist"><table border="0" class="variablelist">
|
2976
2875
|
<colgroup>
|
2977
2876
|
<col align="left" valign="top">
|
@@ -2997,14 +2896,12 @@ in <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="t
|
|
2997
2896
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_map_changed (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>);</pre>
|
2998
2897
|
<p>
|
2999
2898
|
Forces a change in the context, which will cause any <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>
|
3000
|
-
using this fontmap to change
|
3001
|
-
</p>
|
2899
|
+
using this fontmap to change.</p>
|
3002
2900
|
<p>
|
3003
2901
|
This function is only useful when implementing a new backend
|
3004
2902
|
for Pango, something applications won't do. Backends should
|
3005
2903
|
call this function if they have attached extra data to the context
|
3006
|
-
and such data is changed
|
3007
|
-
</p>
|
2904
|
+
and such data is changed.</p>
|
3008
2905
|
<div class="variablelist"><table border="0" class="variablelist">
|
3009
2906
|
<colgroup>
|
3010
2907
|
<col align="left" valign="top">
|
@@ -3028,8 +2925,7 @@ when rendering text. It is the result of resolving a
|
|
3028
2925
|
<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>.
|
3029
2926
|
It has operations for finding the component font for
|
3030
2927
|
a particular Unicode character, and for finding a composite
|
3031
|
-
set of metrics for the entire fontset
|
3032
|
-
</p>
|
2928
|
+
set of metrics for the entire fontset.</p>
|
3033
2929
|
</div>
|
3034
2930
|
<hr>
|
3035
2931
|
<div class="refsect2">
|
@@ -3037,8 +2933,7 @@ set of metrics for the entire fontset.
|
|
3037
2933
|
<pre class="programlisting">#define PANGO_TYPE_FONTSET (pango_fontset_get_type ())
|
3038
2934
|
</pre>
|
3039
2935
|
<p>
|
3040
|
-
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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
|
3041
|
-
</p>
|
2936
|
+
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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>.</p>
|
3042
2937
|
</div>
|
3043
2938
|
<hr>
|
3044
2939
|
<div class="refsect2">
|
@@ -3059,8 +2954,7 @@ The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-
|
|
3059
2954
|
</pre>
|
3060
2955
|
<p>
|
3061
2956
|
The <a class="link" href="pango-Fonts.html#PangoFontsetClass" title="struct PangoFontsetClass"><span class="type">PangoFontsetClass</span></a> structure holds the virtual functions for
|
3062
|
-
a particular <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> implementation
|
3063
|
-
</p>
|
2957
|
+
a particular <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> implementation.</p>
|
3064
2958
|
<div class="variablelist"><table border="0" class="variablelist">
|
3065
2959
|
<colgroup>
|
3066
2960
|
<col align="left" valign="top">
|
@@ -3100,8 +2994,7 @@ in the fontset; see <a class="link" href="pango-Fonts.html#pango-fontset-get-met
|
|
3100
2994
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> wc</code></em>);</pre>
|
3101
2995
|
<p>
|
3102
2996
|
Returns the font in the fontset that contains the best glyph for the
|
3103
|
-
Unicode character <em class="parameter"><code>wc</code></em
|
3104
|
-
</p>
|
2997
|
+
Unicode character <em class="parameter"><code>wc</code></em>.</p>
|
3105
2998
|
<div class="variablelist"><table border="0" class="variablelist">
|
3106
2999
|
<colgroup>
|
3107
3000
|
<col align="left" valign="top">
|
@@ -3131,8 +3024,7 @@ g_object_unref when finished with the font. <span class="annotation">[<acronym t
|
|
3131
3024
|
<a name="pango-fontset-get-metrics"></a><h3>pango_fontset_get_metrics ()</h3>
|
3132
3025
|
<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>
|
3133
3026
|
<p>
|
3134
|
-
Get overall metric information for the fonts in the fontset
|
3135
|
-
</p>
|
3027
|
+
Get overall metric information for the fonts in the fontset.</p>
|
3136
3028
|
<div class="variablelist"><table border="0" class="variablelist">
|
3137
3029
|
<colgroup>
|
3138
3030
|
<col align="left" valign="top">
|
@@ -3160,8 +3052,7 @@ when finished using the object.</td>
|
|
3160
3052
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
3161
3053
|
<p>
|
3162
3054
|
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
|
3163
|
-
the fonts in a fontset
|
3164
|
-
</p>
|
3055
|
+
the fonts in a fontset.</p>
|
3165
3056
|
<div class="variablelist"><table border="0" class="variablelist">
|
3166
3057
|
<colgroup>
|
3167
3058
|
<col align="left" valign="top">
|
@@ -3198,8 +3089,7 @@ the fonts in a fontset.
|
|
3198
3089
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
3199
3090
|
<p>
|
3200
3091
|
Iterates through all the fonts in a fontset, calling <em class="parameter"><code>func</code></em> for
|
3201
|
-
each one. If <em class="parameter"><code>func</code></em> returns <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, that stops the iteration
|
3202
|
-
</p>
|
3092
|
+
each one. If <em class="parameter"><code>func</code></em> returns <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, that stops the iteration.</p>
|
3203
3093
|
<div class="variablelist"><table border="0" class="variablelist">
|
3204
3094
|
<colgroup>
|
3205
3095
|
<col align="left" valign="top">
|
@@ -3233,8 +3123,7 @@ each one. If <em class="parameter"><code>func</code></em> returns <a href="/home
|
|
3233
3123
|
<a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> is a implementation of the abstract
|
3234
3124
|
<a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> base class in terms of an array of fonts,
|
3235
3125
|
which the creator provides when constructing the
|
3236
|
-
<a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a
|
3237
|
-
</p>
|
3126
|
+
<a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>.</p>
|
3238
3127
|
</div>
|
3239
3128
|
<hr>
|
3240
3129
|
<div class="refsect2">
|
@@ -3242,16 +3131,14 @@ which the creator provides when constructing the
|
|
3242
3131
|
<pre class="programlisting">#define PANGO_TYPE_FONTSET_SIMPLE (pango_fontset_simple_get_type ())
|
3243
3132
|
</pre>
|
3244
3133
|
<p>
|
3245
|
-
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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
|
3246
|
-
</p>
|
3134
|
+
The <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/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>.</p>
|
3247
3135
|
</div>
|
3248
3136
|
<hr>
|
3249
3137
|
<div class="refsect2">
|
3250
3138
|
<a name="pango-fontset-simple-new"></a><h3>pango_fontset_simple_new ()</h3>
|
3251
3139
|
<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>
|
3252
3140
|
<p>
|
3253
|
-
Creates a new <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> for the given language
|
3254
|
-
</p>
|
3141
|
+
Creates a new <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> for the given language.</p>
|
3255
3142
|
<div class="variablelist"><table border="0" class="variablelist">
|
3256
3143
|
<colgroup>
|
3257
3144
|
<col align="left" valign="top">
|
@@ -3276,8 +3163,7 @@ be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/
|
|
3276
3163
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_fontset_simple_append (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> *fontset</code></em>,
|
3277
3164
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
3278
3165
|
<p>
|
3279
|
-
Adds a font to the fontset
|
3280
|
-
</p>
|
3166
|
+
Adds a font to the fontset.</p>
|
3281
3167
|
<div class="variablelist"><table border="0" class="variablelist">
|
3282
3168
|
<colgroup>
|
3283
3169
|
<col align="left" valign="top">
|
@@ -3300,8 +3186,7 @@ Adds a font to the fontset.
|
|
3300
3186
|
<a name="pango-fontset-simple-size"></a><h3>pango_fontset_simple_size ()</h3>
|
3301
3187
|
<pre class="programlisting"><span class="returnvalue">int</span> pango_fontset_simple_size (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> *fontset</code></em>);</pre>
|
3302
3188
|
<p>
|
3303
|
-
Returns the number of fonts in the fontset
|
3304
|
-
</p>
|
3189
|
+
Returns the number of fonts in the fontset.</p>
|
3305
3190
|
<div class="variablelist"><table border="0" class="variablelist">
|
3306
3191
|
<colgroup>
|
3307
3192
|
<col align="left" valign="top">
|
@@ -3323,6 +3208,6 @@ Returns the number of fonts in the fontset.
|
|
3323
3208
|
</div>
|
3324
3209
|
<div class="footer">
|
3325
3210
|
<hr>
|
3326
|
-
Generated by GTK-Doc V1.19</div>
|
3211
|
+
Generated by GTK-Doc V1.19.1</div>
|
3327
3212
|
</body>
|
3328
3213
|
</html>
|