pango 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +12 -1
- data/lib/1.8/pango.so +0 -0
- data/lib/1.9/pango.so +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +14 -1
- data/vendor/local/include/pango-1.0/pango/pango-attributes.h +27 -2
- data/vendor/local/include/pango-1.0/pango/pango-bidi-type.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pango-context.h +2 -1
- data/vendor/local/include/pango-1.0/pango/pango-engine.h +7 -5
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +47 -38
- data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +4 -2
- data/vendor/local/include/pango-1.0/pango/pango-fontset.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-glyph.h +7 -0
- data/vendor/local/include/pango-1.0/pango/pango-gravity.h +14 -0
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +2 -1
- data/vendor/local/include/pango-1.0/pango/pango-matrix.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-script.h +15 -1
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +2 -0
- data/vendor/local/include/pango-1.0/pango/pangocairo.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pangowin32.h +2 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +41 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +41 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +41 -0
- 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-arabic-lang.la +41 -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-basic-win32.la +41 -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/pango/1.8.0/modules/pango-indic-lang.la +41 -0
- data/vendor/local/lib/pkgconfig/pango.pc +5 -4
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +17 -11
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +23 -15
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +18 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +56 -28
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +103 -49
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +32 -20
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +96 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +140 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +54 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +69 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +229 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +157 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +127 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +99 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +129 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +91 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +51 -0
- data/vendor/local/share/gtk-doc/html/pango/{index-1.28.html → api-index-1-28.html} +9 -9
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +42 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +46 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +206 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +170 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +176 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +150 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2965 -0
- data/vendor/local/share/gtk-doc/html/pango/index.html +25 -26
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +36 -37
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +8 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +42 -24
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +222 -123
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +94 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +61 -26
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +34 -19
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +536 -228
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +90 -36
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +291 -130
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +564 -256
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +206 -110
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +32 -17
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +261 -144
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +175 -65
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +89 -52
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +602 -258
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +359 -114
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +27 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +65 -16
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +117 -48
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +127 -61
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +12 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +99 -38
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +77 -17
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +45 -52
- data/vendor/local/share/gtk-doc/html/pango/pango.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +7 -10
- data/vendor/local/share/gtk-doc/html/pango/tools.html +6 -6
- data/vendor/local/share/license/pango/AUTHORS +2 -0
- data/vendor/local/share/{doc/pango-1.29.4 → license/pango}/COPYING +0 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +67 -16
- data/vendor/local/share/man/man1/pango-view.1 +4 -4
- metadata +43 -50
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/include/pango-1.0/pango/pango-ot.h +0 -197
- data/vendor/local/include/pango-1.0/pango/pangofc-decoder.h +0 -110
- data/vendor/local/include/pango-1.0/pango/pangofc-font.h +0 -151
- data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +0 -270
- data/vendor/local/include/pango-1.0/pango/pangoft2.h +0 -112
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/pango-1.0.def +0 -397
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.def +0 -34
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.def +0 -85
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.def +0 -30
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/pangoft2.pc +0 -11
- data/vendor/local/manifest/pango-dev_1.29.4-1_win32.mft +0 -116
- data/vendor/local/manifest/pango_1.29.4-1_win32.mft +0 -8
- data/vendor/local/share/doc/pango-dev-1.29.4/COPYING +0 -482
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +0 -81
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +0 -41
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +0 -47
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +0 -115
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +0 -91
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +0 -73
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +0 -59
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +0 -71
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +0 -59
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +0 -39
- data/vendor/local/share/gtk-doc/html/pango/index-1.30.html +0 -38
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +0 -111
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +0 -91
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +0 -99
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +0 -1514
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +0 -137
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +0 -57
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +0 -1023
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.log +0 -806
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.sh +0 -56
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Fonts</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
|
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.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.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">
|
@@ -57,8 +57,8 @@ enum <a class="link" href="pango-Fonts.html#PangoFontMask-enum" t
|
|
57
57
|
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-description-copy" title="pango_font_description_copy ()">pango_font_description_copy</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
58
58
|
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-description-copy-static" title="pango_font_description_copy_static ()">pango_font_description_copy_static</a>
|
59
59
|
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
60
|
-
<
|
61
|
-
<
|
60
|
+
<span class="returnvalue">guint</span> <a class="link" href="pango-Fonts.html#pango-font-description-hash" title="pango_font_description_hash ()">pango_font_description_hash</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
61
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Fonts.html#pango-font-description-equal" title="pango_font_description_equal ()">pango_font_description_equal</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc1</code></em>,
|
62
62
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc2</code></em>);
|
63
63
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()">pango_font_description_free</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
64
64
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-descriptions-free" title="pango_font_descriptions_free ()">pango_font_descriptions_free</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> **descs</code></em>,
|
@@ -82,12 +82,12 @@ const <span class="returnvalue">char</span> * <a class="link" href="pango
|
|
82
82
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a> stretch</code></em>);
|
83
83
|
<a class="link" href="pango-Fonts.html#PangoStretch"><span class="returnvalue">PangoStretch</span></a> <a class="link" href="pango-Fonts.html#pango-font-description-get-stretch" title="pango_font_description_get_stretch ()">pango_font_description_get_stretch</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
84
84
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()">pango_font_description_set_size</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
85
|
-
<em class="parameter"><code><
|
86
|
-
<
|
85
|
+
<em class="parameter"><code><span class="type">gint</span> size</code></em>);
|
86
|
+
<span class="returnvalue">gint</span> <a class="link" href="pango-Fonts.html#pango-font-description-get-size" title="pango_font_description_get_size ()">pango_font_description_get_size</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
87
87
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-absolute-size" title="pango_font_description_set_absolute_size ()">pango_font_description_set_absolute_size</a>
|
88
88
|
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
89
89
|
<em class="parameter"><code><span class="type">double</span> size</code></em>);
|
90
|
-
<
|
90
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Fonts.html#pango-font-description-get-size-is-absolute" title="pango_font_description_get_size_is_absolute ()">pango_font_description_get_size_is_absolute</a>
|
91
91
|
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
92
92
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-set-gravity" title="pango_font_description_set_gravity ()">pango_font_description_set_gravity</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
93
93
|
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);
|
@@ -98,11 +98,11 @@ const <span class="returnvalue">char</span> * <a class="link" href="pango
|
|
98
98
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMask"><span class="type">PangoFontMask</span></a> to_unset</code></em>);
|
99
99
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-merge" title="pango_font_description_merge ()">pango_font_description_merge</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
100
100
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc_to_merge</code></em>,
|
101
|
-
<em class="parameter"><code><
|
101
|
+
<em class="parameter"><code><span class="type">gboolean</span> replace_existing</code></em>);
|
102
102
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-description-merge-static" title="pango_font_description_merge_static ()">pango_font_description_merge_static</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
103
103
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc_to_merge</code></em>,
|
104
|
-
<em class="parameter"><code><
|
105
|
-
<
|
104
|
+
<em class="parameter"><code><span class="type">gboolean</span> replace_existing</code></em>);
|
105
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Fonts.html#pango-font-description-better-match" title="pango_font_description_better_match ()">pango_font_description_better_match</a> (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
106
106
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *old_match</code></em>,
|
107
107
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *new_match</code></em>);
|
108
108
|
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-description-from-string" title="pango_font_description_from_string ()">pango_font_description_from_string</a>
|
@@ -135,7 +135,7 @@ struct <a class="link" href="pango-Fonts.html#PangoFontMetrics-stru
|
|
135
135
|
#define <a class="link" href="pango-Fonts.html#PANGO-IS-FONT:CAPS" title="PANGO_IS_FONT()">PANGO_IS_FONT</a> (object)
|
136
136
|
<a class="link" href="PangoEngineShape.html" title="PangoEngineShape"><span class="returnvalue">PangoEngineShape</span></a> * <a class="link" href="pango-Fonts.html#pango-font-find-shaper" title="pango_font_find_shaper ()">pango_font_find_shaper</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
137
137
|
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
138
|
-
<em class="parameter"><code><
|
138
|
+
<em class="parameter"><code><span class="type">guint32</span> ch</code></em>);
|
139
139
|
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-describe" title="pango_font_describe ()">pango_font_describe</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
140
140
|
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-describe-with-absolute-size" title="pango_font_describe_with_absolute_size ()">pango_font_describe_with_absolute_size</a>
|
141
141
|
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
@@ -154,7 +154,7 @@ struct <a class="link" href="pango-Fonts.html#PangoFontFamily-struc
|
|
154
154
|
#define <a class="link" href="pango-Fonts.html#PANGO-FONT-FAMILY:CAPS" title="PANGO_FONT_FAMILY()">PANGO_FONT_FAMILY</a> (object)
|
155
155
|
#define <a class="link" href="pango-Fonts.html#PANGO-IS-FONT-FAMILY:CAPS" title="PANGO_IS_FONT_FAMILY()">PANGO_IS_FONT_FAMILY</a> (object)
|
156
156
|
const <span class="returnvalue">char</span> * <a class="link" href="pango-Fonts.html#pango-font-family-get-name" title="pango_font_family_get_name ()">pango_font_family_get_name</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>);
|
157
|
-
<
|
157
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Fonts.html#pango-font-family-is-monospace" title="pango_font_family_is_monospace ()">pango_font_family_is_monospace</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>);
|
158
158
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-font-family-list-faces" title="pango_font_family_list_faces ()">pango_font_family_list_faces</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>,
|
159
159
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> ***faces</code></em>,
|
160
160
|
<em class="parameter"><code><span class="type">int</span> *n_faces</code></em>);
|
@@ -168,7 +168,7 @@ const <span class="returnvalue">char</span> * <a class="link" href="pango
|
|
168
168
|
<em class="parameter"><code><span class="type">int</span> **sizes</code></em>,
|
169
169
|
<em class="parameter"><code><span class="type">int</span> *n_sizes</code></em>);
|
170
170
|
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Fonts.html#pango-font-face-describe" title="pango_font_face_describe ()">pango_font_face_describe</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);
|
171
|
-
<
|
171
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Fonts.html#pango-font-face-is-synthesized" title="pango_font_face_is_synthesized ()">pango_font_face_is_synthesized</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);
|
172
172
|
|
173
173
|
<a class="link" href="pango-Fonts.html#PangoFontMap-struct" title="PangoFontMap">PangoFontMap</a>;
|
174
174
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-MAP:CAPS" title="PANGO_TYPE_FONT_MAP">PANGO_TYPE_FONT_MAP</a>
|
@@ -191,19 +191,20 @@ struct <a class="link" href="pango-Fonts.html#PangoFontMapClass" ti
|
|
191
191
|
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);
|
192
192
|
const <span class="returnvalue">char</span> * <a class="link" href="pango-Fonts.html#pango-font-map-get-shape-engine-type" title="pango_font_map_get_shape_engine_type ()">pango_font_map_get_shape_engine_type</a>
|
193
193
|
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>);
|
194
|
+
<span class="returnvalue">guint</span> <a class="link" href="pango-Fonts.html#pango-font-map-get-serial" title="pango_font_map_get_serial ()">pango_font_map_get_serial</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>);
|
194
195
|
|
195
196
|
struct <a class="link" href="pango-Fonts.html#PangoFontset-struct" title="struct PangoFontset">PangoFontset</a>;
|
196
197
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONTSET:CAPS" title="PANGO_TYPE_FONTSET">PANGO_TYPE_FONTSET</a>
|
197
198
|
struct <a class="link" href="pango-Fonts.html#PangoFontsetClass" title="struct PangoFontsetClass">PangoFontsetClass</a>;
|
198
199
|
<a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * <a class="link" href="pango-Fonts.html#pango-fontset-get-font" title="pango_fontset_get_font ()">pango_fontset_get_font</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
199
|
-
<em class="parameter"><code><
|
200
|
+
<em class="parameter"><code><span class="type">guint</span> wc</code></em>);
|
200
201
|
<a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * <a class="link" href="pango-Fonts.html#pango-fontset-get-metrics" title="pango_fontset_get_metrics ()">pango_fontset_get_metrics</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>);
|
201
|
-
<
|
202
|
+
<span class="returnvalue">gboolean</span> (<a class="link" href="pango-Fonts.html#PangoFontsetForeachFunc" title="PangoFontsetForeachFunc ()">*PangoFontsetForeachFunc</a>) (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
202
203
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
203
|
-
<em class="parameter"><code><
|
204
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
|
204
205
|
<span class="returnvalue">void</span> <a class="link" href="pango-Fonts.html#pango-fontset-foreach" title="pango_fontset_foreach ()">pango_fontset_foreach</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
205
206
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetForeachFunc" title="PangoFontsetForeachFunc ()"><span class="type">PangoFontsetForeachFunc</span></a> func</code></em>,
|
206
|
-
<em class="parameter"><code><
|
207
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
|
207
208
|
<a class="link" href="pango-Fonts.html#PangoFontsetSimple-struct" title="PangoFontsetSimple">PangoFontsetSimple</a>;
|
208
209
|
#define <a class="link" href="pango-Fonts.html#PANGO-TYPE-FONTSET-SIMPLE:CAPS" title="PANGO_TYPE_FONTSET_SIMPLE">PANGO_TYPE_FONTSET_SIMPLE</a>
|
209
210
|
<a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="returnvalue">PangoFontsetSimple</span></a> * <a class="link" href="pango-Fonts.html#pango-fontset-simple-new" title="pango_fontset_simple_new ()">pango_fontset_simple_new</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
@@ -243,30 +244,30 @@ struct <a class="link" href="pango-Fonts.html#PangoFontsetClass" ti
|
|
243
244
|
+----PangoFontMetrics
|
244
245
|
</pre>
|
245
246
|
<pre class="synopsis">
|
246
|
-
|
247
|
+
GObject
|
247
248
|
+----PangoFont
|
248
249
|
+----<a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a>
|
249
250
|
</pre>
|
250
251
|
<pre class="synopsis">
|
251
|
-
|
252
|
+
GObject
|
252
253
|
+----PangoFontFamily
|
253
254
|
</pre>
|
254
255
|
<pre class="synopsis">
|
255
|
-
|
256
|
+
GObject
|
256
257
|
+----PangoFontFace
|
257
258
|
</pre>
|
258
259
|
<pre class="synopsis">
|
259
|
-
|
260
|
+
GObject
|
260
261
|
+----PangoFontMap
|
261
262
|
+----<a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap">PangoFcFontMap</a>
|
262
263
|
</pre>
|
263
264
|
<pre class="synopsis">
|
264
|
-
|
265
|
+
GObject
|
265
266
|
+----PangoFontset
|
266
267
|
+----<a class="link" href="pango-Fonts.html#PangoFontsetSimple">PangoFontsetSimple</a>
|
267
268
|
</pre>
|
268
269
|
<pre class="synopsis">
|
269
|
-
|
270
|
+
GObject
|
270
271
|
+----<a class="link" href="pango-Fonts.html#PangoFontset">PangoFontset</a>
|
271
272
|
+----PangoFontsetSimple
|
272
273
|
</pre>
|
@@ -309,7 +310,7 @@ the characteristics of a font to load.
|
|
309
310
|
<pre class="programlisting">#define PANGO_TYPE_FONT_DESCRIPTION (pango_font_description_get_type ())
|
310
311
|
</pre>
|
311
312
|
<p>
|
312
|
-
The <
|
313
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.
|
313
314
|
</p>
|
314
315
|
</div>
|
315
316
|
<hr>
|
@@ -324,8 +325,11 @@ The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Ob
|
|
324
325
|
<p>
|
325
326
|
An enumeration specifying the various slant styles possible for a font.
|
326
327
|
</p>
|
327
|
-
<div class="variablelist"><table border="0">
|
328
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
329
|
+
<colgroup>
|
328
330
|
<col align="left" valign="top">
|
331
|
+
<col>
|
332
|
+
</colgroup>
|
329
333
|
<tbody>
|
330
334
|
<tr>
|
331
335
|
<td><p><a name="PANGO-STYLE-NORMAL:CAPS"></a><span class="term"><code class="literal">PANGO_STYLE_NORMAL</code></span></p></td>
|
@@ -348,10 +352,10 @@ An enumeration specifying the various slant styles possible for a font.
|
|
348
352
|
<hr>
|
349
353
|
<div class="refsect2">
|
350
354
|
<a name="PANGO-TYPE-STYLE:CAPS"></a><h3>PANGO_TYPE_STYLE</h3>
|
351
|
-
<pre class="programlisting">#define PANGO_TYPE_STYLE (pango_style_get_type())
|
355
|
+
<pre class="programlisting">#define PANGO_TYPE_STYLE (pango_style_get_type ())
|
352
356
|
</pre>
|
353
357
|
<p>
|
354
|
-
The <
|
358
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a>.
|
355
359
|
</p>
|
356
360
|
</div>
|
357
361
|
<hr>
|
@@ -375,8 +379,11 @@ The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Ob
|
|
375
379
|
An enumeration specifying the weight (boldness) of a font. This is a numerical
|
376
380
|
value ranging from 100 to 900, but there are some predefined values:
|
377
381
|
</p>
|
378
|
-
<div class="variablelist"><table border="0">
|
382
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
383
|
+
<colgroup>
|
379
384
|
<col align="left" valign="top">
|
385
|
+
<col>
|
386
|
+
</colgroup>
|
380
387
|
<tbody>
|
381
388
|
<tr>
|
382
389
|
<td><p><a name="PANGO-WEIGHT-THIN:CAPS"></a><span class="term"><code class="literal">PANGO_WEIGHT_THIN</code></span></p></td>
|
@@ -439,10 +446,10 @@ value ranging from 100 to 900, but there are some predefined values:
|
|
439
446
|
<hr>
|
440
447
|
<div class="refsect2">
|
441
448
|
<a name="PANGO-TYPE-WEIGHT:CAPS"></a><h3>PANGO_TYPE_WEIGHT</h3>
|
442
|
-
<pre class="programlisting">#define PANGO_TYPE_WEIGHT (pango_weight_get_type())
|
449
|
+
<pre class="programlisting">#define PANGO_TYPE_WEIGHT (pango_weight_get_type ())
|
443
450
|
</pre>
|
444
451
|
<p>
|
445
|
-
The <
|
452
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoWeight"><span class="type">PangoWeight</span></a>.
|
446
453
|
</p>
|
447
454
|
</div>
|
448
455
|
<hr>
|
@@ -456,8 +463,11 @@ The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Ob
|
|
456
463
|
<p>
|
457
464
|
An enumeration specifying capitalization variant of the font.
|
458
465
|
</p>
|
459
|
-
<div class="variablelist"><table border="0">
|
466
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
467
|
+
<colgroup>
|
460
468
|
<col align="left" valign="top">
|
469
|
+
<col>
|
470
|
+
</colgroup>
|
461
471
|
<tbody>
|
462
472
|
<tr>
|
463
473
|
<td><p><a name="PANGO-VARIANT-NORMAL:CAPS"></a><span class="term"><code class="literal">PANGO_VARIANT_NORMAL</code></span></p></td>
|
@@ -476,10 +486,10 @@ An enumeration specifying capitalization variant of the font.
|
|
476
486
|
<hr>
|
477
487
|
<div class="refsect2">
|
478
488
|
<a name="PANGO-TYPE-VARIANT:CAPS"></a><h3>PANGO_TYPE_VARIANT</h3>
|
479
|
-
<pre class="programlisting">#define PANGO_TYPE_VARIANT (pango_variant_get_type())
|
489
|
+
<pre class="programlisting">#define PANGO_TYPE_VARIANT (pango_variant_get_type ())
|
480
490
|
</pre>
|
481
491
|
<p>
|
482
|
-
The <
|
492
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a>.
|
483
493
|
</p>
|
484
494
|
</div>
|
485
495
|
<hr>
|
@@ -501,8 +511,11 @@ The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Ob
|
|
501
511
|
An enumeration specifying the width of the font relative to other designs
|
502
512
|
within a family.
|
503
513
|
</p>
|
504
|
-
<div class="variablelist"><table border="0">
|
514
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
515
|
+
<colgroup>
|
505
516
|
<col align="left" valign="top">
|
517
|
+
<col>
|
518
|
+
</colgroup>
|
506
519
|
<tbody>
|
507
520
|
<tr>
|
508
521
|
<td><p><a name="PANGO-STRETCH-ULTRA-CONDENSED:CAPS"></a><span class="term"><code class="literal">PANGO_STRETCH_ULTRA_CONDENSED</code></span></p></td>
|
@@ -555,10 +568,10 @@ within a family.
|
|
555
568
|
<hr>
|
556
569
|
<div class="refsect2">
|
557
570
|
<a name="PANGO-TYPE-STRETCH:CAPS"></a><h3>PANGO_TYPE_STRETCH</h3>
|
558
|
-
<pre class="programlisting">#define PANGO_TYPE_STRETCH (pango_stretch_get_type())
|
571
|
+
<pre class="programlisting">#define PANGO_TYPE_STRETCH (pango_stretch_get_type ())
|
559
572
|
</pre>
|
560
573
|
<p>
|
561
|
-
The <
|
574
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoStretch"><span class="type">PangoStretch</span></a>.
|
562
575
|
</p>
|
563
576
|
</div>
|
564
577
|
<hr>
|
@@ -578,8 +591,11 @@ The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Ob
|
|
578
591
|
The bits in a <a class="link" href="pango-Fonts.html#PangoFontMask"><span class="type">PangoFontMask</span></a> correspond to fields in a
|
579
592
|
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> that have been set.
|
580
593
|
</p>
|
581
|
-
<div class="variablelist"><table border="0">
|
594
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
595
|
+
<colgroup>
|
582
596
|
<col align="left" valign="top">
|
597
|
+
<col>
|
598
|
+
</colgroup>
|
583
599
|
<tbody>
|
584
600
|
<tr>
|
585
601
|
<td><p><a name="PANGO-FONT-MASK-FAMILY:CAPS"></a><span class="term"><code class="literal">PANGO_FONT_MASK_FAMILY</code></span></p></td>
|
@@ -622,10 +638,10 @@ The bits in a <a class="link" href="pango-Fonts.html#PangoFontMask"><span class=
|
|
622
638
|
<hr>
|
623
639
|
<div class="refsect2">
|
624
640
|
<a name="PANGO-TYPE-FONT-MASK:CAPS"></a><h3>PANGO_TYPE_FONT_MASK</h3>
|
625
|
-
<pre class="programlisting">#define PANGO_TYPE_FONT_MASK (pango_font_mask_get_type())
|
641
|
+
<pre class="programlisting">#define PANGO_TYPE_FONT_MASK (pango_font_mask_get_type ())
|
626
642
|
</pre>
|
627
643
|
<p>
|
628
|
-
The <
|
644
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontMask"><span class="type">PangoFontMask</span></a>.
|
629
645
|
</p>
|
630
646
|
</div>
|
631
647
|
<hr>
|
@@ -635,8 +651,11 @@ The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Ob
|
|
635
651
|
<p>
|
636
652
|
Creates a new font description structure with all fields unset.
|
637
653
|
</p>
|
638
|
-
<div class="variablelist"><table border="0">
|
654
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
655
|
+
<colgroup>
|
639
656
|
<col align="left" valign="top">
|
657
|
+
<col>
|
658
|
+
</colgroup>
|
640
659
|
<tbody><tr>
|
641
660
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
642
661
|
<td>the newly allocated <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, which
|
@@ -651,19 +670,22 @@ should be freed using <a class="link" href="pango-Fonts.html#pango-font-descript
|
|
651
670
|
<p>
|
652
671
|
Make a copy of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.
|
653
672
|
</p>
|
654
|
-
<div class="variablelist"><table border="0">
|
673
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
674
|
+
<colgroup>
|
655
675
|
<col align="left" valign="top">
|
676
|
+
<col>
|
677
|
+
</colgroup>
|
656
678
|
<tbody>
|
657
679
|
<tr>
|
658
680
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
659
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="/
|
681
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
660
682
|
</td>
|
661
683
|
</tr>
|
662
684
|
<tr>
|
663
685
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
664
686
|
<td>the newly allocated <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, which should
|
665
|
-
be freed with <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>, or <a href="/
|
666
|
-
if <em class="parameter"><code>desc</code></em> was <a href="/
|
687
|
+
be freed with <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
688
|
+
if <em class="parameter"><code>desc</code></em> was <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
|
667
689
|
</tr>
|
668
690
|
</tbody>
|
669
691
|
</table></div>
|
@@ -679,19 +701,22 @@ of the family name and other allocated fields. The result can only
|
|
679
701
|
be used until <em class="parameter"><code>desc</code></em> is modified or freed. This is meant to be used
|
680
702
|
when the copy is only needed temporarily.
|
681
703
|
</p>
|
682
|
-
<div class="variablelist"><table border="0">
|
704
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
705
|
+
<colgroup>
|
683
706
|
<col align="left" valign="top">
|
707
|
+
<col>
|
708
|
+
</colgroup>
|
684
709
|
<tbody>
|
685
710
|
<tr>
|
686
711
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
687
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="/
|
712
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
688
713
|
</td>
|
689
714
|
</tr>
|
690
715
|
<tr>
|
691
716
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
692
717
|
<td>the newly allocated <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, which should
|
693
|
-
be freed with <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>, or <a href="/
|
694
|
-
if <em class="parameter"><code>desc</code></em> was <a href="/
|
718
|
+
be freed with <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
719
|
+
if <em class="parameter"><code>desc</code></em> was <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
|
695
720
|
</tr>
|
696
721
|
</tbody>
|
697
722
|
</table></div>
|
@@ -699,14 +724,17 @@ if <em class="parameter"><code>desc</code></em> was <a href="/usr/share/gtk-doc/
|
|
699
724
|
<hr>
|
700
725
|
<div class="refsect2">
|
701
726
|
<a name="pango-font-description-hash"></a><h3>pango_font_description_hash ()</h3>
|
702
|
-
<pre class="programlisting"><
|
727
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> pango_font_description_hash (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
703
728
|
<p>
|
704
729
|
Computes a hash of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure suitable
|
705
|
-
to be used, for example, as an argument to <
|
730
|
+
to be used, for example, as an argument to <code class="function">g_hash_table_new()</code>.
|
706
731
|
The hash value is independent of <em class="parameter"><code>desc->mask</code></em>.
|
707
732
|
</p>
|
708
|
-
<div class="variablelist"><table border="0">
|
733
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
734
|
+
<colgroup>
|
709
735
|
<col align="left" valign="top">
|
736
|
+
<col>
|
737
|
+
</colgroup>
|
710
738
|
<tbody>
|
711
739
|
<tr>
|
712
740
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -723,17 +751,20 @@ The hash value is independent of <em class="parameter"><code>desc->mask</code
|
|
723
751
|
<hr>
|
724
752
|
<div class="refsect2">
|
725
753
|
<a name="pango-font-description-equal"></a><h3>pango_font_description_equal ()</h3>
|
726
|
-
<pre class="programlisting"><
|
754
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_font_description_equal (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc1</code></em>,
|
727
755
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc2</code></em>);</pre>
|
728
756
|
<p>
|
729
757
|
Compares two font descriptions for equality. Two font descriptions
|
730
758
|
are considered equal if the fonts they describe are provably identical.
|
731
759
|
This means that their masks do not have to match, as long as other fields
|
732
760
|
are all the same. (Two font descriptions may result in identical fonts
|
733
|
-
being loaded, but still compare <
|
761
|
+
being loaded, but still compare <code class="literal">FALSE</code>.)
|
734
762
|
</p>
|
735
|
-
<div class="variablelist"><table border="0">
|
763
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
764
|
+
<colgroup>
|
736
765
|
<col align="left" valign="top">
|
766
|
+
<col>
|
767
|
+
</colgroup>
|
737
768
|
<tbody>
|
738
769
|
<tr>
|
739
770
|
<td><p><span class="term"><em class="parameter"><code>desc1</code></em> :</span></p></td>
|
@@ -748,8 +779,8 @@ being loaded, but still compare <a href="http://library.gnome.org/devel/glib/uns
|
|
748
779
|
<tr>
|
749
780
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
750
781
|
<td>
|
751
|
-
<
|
752
|
-
<
|
782
|
+
<code class="literal">TRUE</code> if the two font descriptions are identical,
|
783
|
+
<code class="literal">FALSE</code> otherwise.</td>
|
753
784
|
</tr>
|
754
785
|
</tbody>
|
755
786
|
</table></div>
|
@@ -761,11 +792,14 @@ being loaded, but still compare <a href="http://library.gnome.org/devel/glib/uns
|
|
761
792
|
<p>
|
762
793
|
Frees a font description.
|
763
794
|
</p>
|
764
|
-
<div class="variablelist"><table border="0">
|
795
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
796
|
+
<colgroup>
|
765
797
|
<col align="left" valign="top">
|
798
|
+
<col>
|
799
|
+
</colgroup>
|
766
800
|
<tbody><tr>
|
767
801
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
768
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="/
|
802
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
769
803
|
</td>
|
770
804
|
</tr></tbody>
|
771
805
|
</table></div>
|
@@ -778,13 +812,16 @@ Frees a font description.
|
|
778
812
|
<p>
|
779
813
|
Frees an array of font descriptions.
|
780
814
|
</p>
|
781
|
-
<div class="variablelist"><table border="0">
|
815
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
816
|
+
<colgroup>
|
782
817
|
<col align="left" valign="top">
|
818
|
+
<col>
|
819
|
+
</colgroup>
|
783
820
|
<tbody>
|
784
821
|
<tr>
|
785
822
|
<td><p><span class="term"><em class="parameter"><code>descs</code></em> :</span></p></td>
|
786
823
|
<td>a pointer
|
787
|
-
to an array of <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="/
|
824
|
+
to an array of <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_descs][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
788
825
|
</td>
|
789
826
|
</tr>
|
790
827
|
<tr>
|
@@ -807,8 +844,11 @@ resolve to a particular <a class="link" href="pango-Fonts.html#PangoFontFamily">
|
|
807
844
|
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, it is also possible to use a comma
|
808
845
|
separated list of family names for this field.
|
809
846
|
</p>
|
810
|
-
<div class="variablelist"><table border="0">
|
847
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
848
|
+
<colgroup>
|
811
849
|
<col align="left" valign="top">
|
850
|
+
<col>
|
851
|
+
</colgroup>
|
812
852
|
<tbody>
|
813
853
|
<tr>
|
814
854
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -835,8 +875,11 @@ or the name is set again. This function can be used if
|
|
835
875
|
<em class="parameter"><code>family</code></em> is a static string such as a C string literal, or
|
836
876
|
if <em class="parameter"><code>desc</code></em> is only needed temporarily.
|
837
877
|
</p>
|
838
|
-
<div class="variablelist"><table border="0">
|
878
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
879
|
+
<colgroup>
|
839
880
|
<col align="left" valign="top">
|
881
|
+
<col>
|
882
|
+
</colgroup>
|
840
883
|
<tbody>
|
841
884
|
<tr>
|
842
885
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -858,8 +901,11 @@ if <em class="parameter"><code>desc</code></em> is only needed temporarily.
|
|
858
901
|
Gets the family name field of a font description. See
|
859
902
|
<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>.
|
860
903
|
</p>
|
861
|
-
<div class="variablelist"><table border="0">
|
904
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
905
|
+
<colgroup>
|
862
906
|
<col align="left" valign="top">
|
907
|
+
<col>
|
908
|
+
</colgroup>
|
863
909
|
<tbody>
|
864
910
|
<tr>
|
865
911
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -868,7 +914,7 @@ Gets the family name field of a font description. See
|
|
868
914
|
<tr>
|
869
915
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
870
916
|
<td>the family name field for the font description, or
|
871
|
-
<a href="/
|
917
|
+
<a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if not previously set. This has the same life-time
|
872
918
|
as the font description itself and should not be freed.</td>
|
873
919
|
</tr>
|
874
920
|
</tbody>
|
@@ -889,8 +935,11 @@ style, but not both, and font matching in Pango will
|
|
889
935
|
match italic specifications with oblique fonts and vice-versa
|
890
936
|
if an exact match is not found.
|
891
937
|
</p>
|
892
|
-
<div class="variablelist"><table border="0">
|
938
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
939
|
+
<colgroup>
|
893
940
|
<col align="left" valign="top">
|
941
|
+
<col>
|
942
|
+
</colgroup>
|
894
943
|
<tbody>
|
895
944
|
<tr>
|
896
945
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -912,8 +961,11 @@ if an exact match is not found.
|
|
912
961
|
Gets the style field of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. See
|
913
962
|
<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>.
|
914
963
|
</p>
|
915
|
-
<div class="variablelist"><table border="0">
|
964
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
965
|
+
<colgroup>
|
916
966
|
<col align="left" valign="top">
|
967
|
+
<col>
|
968
|
+
</colgroup>
|
917
969
|
<tbody>
|
918
970
|
<tr>
|
919
971
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -938,8 +990,11 @@ the field was explicitly set or not.</td>
|
|
938
990
|
Sets the variant field of a font description. The <a class="link" href="pango-Fonts.html#PangoVariant"><span class="type">PangoVariant</span></a>
|
939
991
|
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>.
|
940
992
|
</p>
|
941
|
-
<div class="variablelist"><table border="0">
|
993
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
994
|
+
<colgroup>
|
942
995
|
<col align="left" valign="top">
|
996
|
+
<col>
|
997
|
+
</colgroup>
|
943
998
|
<tbody>
|
944
999
|
<tr>
|
945
1000
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -961,8 +1016,11 @@ can either be <a class="link" href="pango-Fonts.html#PANGO-VARIANT-NORMAL:CAPS">
|
|
961
1016
|
Gets the variant field of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. See
|
962
1017
|
<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>.
|
963
1018
|
</p>
|
964
|
-
<div class="variablelist"><table border="0">
|
1019
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1020
|
+
<colgroup>
|
965
1021
|
<col align="left" valign="top">
|
1022
|
+
<col>
|
1023
|
+
</colgroup>
|
966
1024
|
<tbody>
|
967
1025
|
<tr>
|
968
1026
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -988,8 +1046,11 @@ specifies how bold or light the font should be. In addition
|
|
988
1046
|
to the values of the <a class="link" href="pango-Fonts.html#PangoWeight"><span class="type">PangoWeight</span></a> enumeration, other intermediate
|
989
1047
|
numeric values are possible.
|
990
1048
|
</p>
|
991
|
-
<div class="variablelist"><table border="0">
|
1049
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1050
|
+
<colgroup>
|
992
1051
|
<col align="left" valign="top">
|
1052
|
+
<col>
|
1053
|
+
</colgroup>
|
993
1054
|
<tbody>
|
994
1055
|
<tr>
|
995
1056
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1011,8 +1072,11 @@ numeric values are possible.
|
|
1011
1072
|
Gets the weight field of a font description. See
|
1012
1073
|
<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>.
|
1013
1074
|
</p>
|
1014
|
-
<div class="variablelist"><table border="0">
|
1075
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1076
|
+
<colgroup>
|
1015
1077
|
<col align="left" valign="top">
|
1078
|
+
<col>
|
1079
|
+
</colgroup>
|
1016
1080
|
<tbody>
|
1017
1081
|
<tr>
|
1018
1082
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1037,8 +1101,11 @@ the field was explicitly set or not.</td>
|
|
1037
1101
|
Sets the stretch field of a font description. The stretch field
|
1038
1102
|
specifies how narrow or wide the font should be.
|
1039
1103
|
</p>
|
1040
|
-
<div class="variablelist"><table border="0">
|
1104
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1105
|
+
<colgroup>
|
1041
1106
|
<col align="left" valign="top">
|
1107
|
+
<col>
|
1108
|
+
</colgroup>
|
1042
1109
|
<tbody>
|
1043
1110
|
<tr>
|
1044
1111
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1060,8 +1127,11 @@ specifies how narrow or wide the font should be.
|
|
1060
1127
|
Gets the stretch field of a font description.
|
1061
1128
|
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>.
|
1062
1129
|
</p>
|
1063
|
-
<div class="variablelist"><table border="0">
|
1130
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1131
|
+
<colgroup>
|
1064
1132
|
<col align="left" valign="top">
|
1133
|
+
<col>
|
1134
|
+
</colgroup>
|
1065
1135
|
<tbody>
|
1066
1136
|
<tr>
|
1067
1137
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1080,13 +1150,16 @@ the field was explicitly set or not.</td>
|
|
1080
1150
|
<div class="refsect2">
|
1081
1151
|
<a name="pango-font-description-set-size"></a><h3>pango_font_description_set_size ()</h3>
|
1082
1152
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_set_size (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1083
|
-
<em class="parameter"><code><
|
1153
|
+
<em class="parameter"><code><span class="type">gint</span> size</code></em>);</pre>
|
1084
1154
|
<p>
|
1085
1155
|
Sets the size field of a font description in fractional points. This is mutually
|
1086
1156
|
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>.
|
1087
1157
|
</p>
|
1088
|
-
<div class="variablelist"><table border="0">
|
1158
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1159
|
+
<colgroup>
|
1089
1160
|
<col align="left" valign="top">
|
1161
|
+
<col>
|
1162
|
+
</colgroup>
|
1090
1163
|
<tbody>
|
1091
1164
|
<tr>
|
1092
1165
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1109,13 +1182,16 @@ a particular size in device units.</td>
|
|
1109
1182
|
<hr>
|
1110
1183
|
<div class="refsect2">
|
1111
1184
|
<a name="pango-font-description-get-size"></a><h3>pango_font_description_get_size ()</h3>
|
1112
|
-
<pre class="programlisting"><
|
1185
|
+
<pre class="programlisting"><span class="returnvalue">gint</span> pango_font_description_get_size (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1113
1186
|
<p>
|
1114
1187
|
Gets the size field of a font description.
|
1115
1188
|
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>.
|
1116
1189
|
</p>
|
1117
|
-
<div class="variablelist"><table border="0">
|
1190
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1191
|
+
<colgroup>
|
1118
1192
|
<col align="left" valign="top">
|
1193
|
+
<col>
|
1194
|
+
</colgroup>
|
1119
1195
|
<tbody>
|
1120
1196
|
<tr>
|
1121
1197
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1145,8 +1221,11 @@ Sets the size field of a font description, in device units. This is mutually
|
|
1145
1221
|
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
|
1146
1222
|
in points.
|
1147
1223
|
</p>
|
1148
|
-
<div class="variablelist"><table border="0">
|
1224
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1225
|
+
<colgroup>
|
1149
1226
|
<col align="left" valign="top">
|
1227
|
+
<col>
|
1228
|
+
</colgroup>
|
1150
1229
|
<tbody>
|
1151
1230
|
<tr>
|
1152
1231
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1166,14 +1245,17 @@ value of 10 * PANGO_SCALE gives a 10 pixel font.</td>
|
|
1166
1245
|
<hr>
|
1167
1246
|
<div class="refsect2">
|
1168
1247
|
<a name="pango-font-description-get-size-is-absolute"></a><h3>pango_font_description_get_size_is_absolute ()</h3>
|
1169
|
-
<pre class="programlisting"><
|
1248
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_font_description_get_size_is_absolute
|
1170
1249
|
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1171
1250
|
<p>
|
1172
1251
|
Determines whether the size of the font is in points (not absolute) or device units (absolute).
|
1173
1252
|
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>.
|
1174
1253
|
</p>
|
1175
|
-
<div class="variablelist"><table border="0">
|
1254
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1255
|
+
<colgroup>
|
1176
1256
|
<col align="left" valign="top">
|
1257
|
+
<col>
|
1258
|
+
</colgroup>
|
1177
1259
|
<tbody>
|
1178
1260
|
<tr>
|
1179
1261
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1205,8 +1287,11 @@ the font description.
|
|
1205
1287
|
This function is seldom useful to the user. Gravity should normally
|
1206
1288
|
be set on a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
|
1207
1289
|
</p>
|
1208
|
-
<div class="variablelist"><table border="0">
|
1290
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1291
|
+
<colgroup>
|
1209
1292
|
<col align="left" valign="top">
|
1293
|
+
<col>
|
1294
|
+
</colgroup>
|
1210
1295
|
<tbody>
|
1211
1296
|
<tr>
|
1212
1297
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1229,8 +1314,11 @@ be set on a <a class="link" href="pango-Text-Processing.html#PangoContext"><span
|
|
1229
1314
|
Gets the gravity field of a font description. See
|
1230
1315
|
<a class="link" href="pango-Fonts.html#pango-font-description-set-gravity" title="pango_font_description_set_gravity ()"><code class="function">pango_font_description_set_gravity()</code></a>.
|
1231
1316
|
</p>
|
1232
|
-
<div class="variablelist"><table border="0">
|
1317
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1318
|
+
<colgroup>
|
1233
1319
|
<col align="left" valign="top">
|
1320
|
+
<col>
|
1321
|
+
</colgroup>
|
1234
1322
|
<tbody>
|
1235
1323
|
<tr>
|
1236
1324
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1255,8 +1343,11 @@ the field was explicitly set or not.</td>
|
|
1255
1343
|
<p>
|
1256
1344
|
Determines which fields in a font description have been set.
|
1257
1345
|
</p>
|
1258
|
-
<div class="variablelist"><table border="0">
|
1346
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1347
|
+
<colgroup>
|
1259
1348
|
<col align="left" valign="top">
|
1349
|
+
<col>
|
1350
|
+
</colgroup>
|
1260
1351
|
<tbody>
|
1261
1352
|
<tr>
|
1262
1353
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1280,8 +1371,11 @@ fields in <em class="parameter"><code>desc</code></em> that have been set.</td>
|
|
1280
1371
|
Unsets some of the fields in a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. The unset
|
1281
1372
|
fields will get back to their default values.
|
1282
1373
|
</p>
|
1283
|
-
<div class="variablelist"><table border="0">
|
1374
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1375
|
+
<colgroup>
|
1284
1376
|
<col align="left" valign="top">
|
1377
|
+
<col>
|
1378
|
+
</colgroup>
|
1285
1379
|
<tbody>
|
1286
1380
|
<tr>
|
1287
1381
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1300,18 +1394,21 @@ fields will get back to their default values.
|
|
1300
1394
|
<a name="pango-font-description-merge"></a><h3>pango_font_description_merge ()</h3>
|
1301
1395
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_merge (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1302
1396
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc_to_merge</code></em>,
|
1303
|
-
<em class="parameter"><code><
|
1397
|
+
<em class="parameter"><code><span class="type">gboolean</span> replace_existing</code></em>);</pre>
|
1304
1398
|
<p>
|
1305
1399
|
Merges the fields that are set in <em class="parameter"><code>desc_to_merge</code></em> into the fields in
|
1306
|
-
<em class="parameter"><code>desc</code></em>. If <em class="parameter"><code>replace_existing</code></em> is <
|
1307
|
-
are not already set are affected. If <
|
1400
|
+
<em class="parameter"><code>desc</code></em>. If <em class="parameter"><code>replace_existing</code></em> is <code class="literal">FALSE</code>, only fields in <em class="parameter"><code>desc</code></em> that
|
1401
|
+
are not already set are affected. If <code class="literal">TRUE</code>, then fields that are
|
1308
1402
|
already set will be replaced as well.
|
1309
1403
|
</p>
|
1310
1404
|
<p>
|
1311
|
-
If <em class="parameter"><code>desc_to_merge</code></em> is <a href="/
|
1405
|
+
If <em class="parameter"><code>desc_to_merge</code></em> is <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, this function performs nothing.
|
1312
1406
|
</p>
|
1313
|
-
<div class="variablelist"><table border="0">
|
1407
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1408
|
+
<colgroup>
|
1314
1409
|
<col align="left" valign="top">
|
1410
|
+
<col>
|
1411
|
+
</colgroup>
|
1315
1412
|
<tbody>
|
1316
1413
|
<tr>
|
1317
1414
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1320,12 +1417,12 @@ If <em class="parameter"><code>desc_to_merge</code></em> is <a href="/usr/share/
|
|
1320
1417
|
</tr>
|
1321
1418
|
<tr>
|
1322
1419
|
<td><p><span class="term"><em class="parameter"><code>desc_to_merge</code></em> :</span></p></td>
|
1323
|
-
<td>the <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> to merge from, or <a href="/
|
1420
|
+
<td>the <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> to merge from, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1324
1421
|
</td>
|
1325
1422
|
</tr>
|
1326
1423
|
<tr>
|
1327
1424
|
<td><p><span class="term"><em class="parameter"><code>replace_existing</code></em> :</span></p></td>
|
1328
|
-
<td>if <
|
1425
|
+
<td>if <code class="literal">TRUE</code>, replace fields in <em class="parameter"><code>desc</code></em> with the
|
1329
1426
|
corresponding values from <em class="parameter"><code>desc_to_merge</code></em>, even if they
|
1330
1427
|
are already exist.</td>
|
1331
1428
|
</tr>
|
@@ -1337,15 +1434,18 @@ are already exist.</td>
|
|
1337
1434
|
<a name="pango-font-description-merge-static"></a><h3>pango_font_description_merge_static ()</h3>
|
1338
1435
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_font_description_merge_static (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1339
1436
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc_to_merge</code></em>,
|
1340
|
-
<em class="parameter"><code><
|
1437
|
+
<em class="parameter"><code><span class="type">gboolean</span> replace_existing</code></em>);</pre>
|
1341
1438
|
<p>
|
1342
1439
|
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
|
1343
1440
|
of the family name and other allocated fields. <em class="parameter"><code>desc</code></em> can only be
|
1344
1441
|
used until <em class="parameter"><code>desc_to_merge</code></em> is modified or freed. This is meant
|
1345
1442
|
to be used when the merged font description is only needed temporarily.
|
1346
1443
|
</p>
|
1347
|
-
<div class="variablelist"><table border="0">
|
1444
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1445
|
+
<colgroup>
|
1348
1446
|
<col align="left" valign="top">
|
1447
|
+
<col>
|
1448
|
+
</colgroup>
|
1349
1449
|
<tbody>
|
1350
1450
|
<tr>
|
1351
1451
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1358,7 +1458,7 @@ to be used when the merged font description is only needed temporarily.
|
|
1358
1458
|
</tr>
|
1359
1459
|
<tr>
|
1360
1460
|
<td><p><span class="term"><em class="parameter"><code>replace_existing</code></em> :</span></p></td>
|
1361
|
-
<td>if <
|
1461
|
+
<td>if <code class="literal">TRUE</code>, replace fields in <em class="parameter"><code>desc</code></em> with the
|
1362
1462
|
corresponding values from <em class="parameter"><code>desc_to_merge</code></em>, even if they
|
1363
1463
|
are already exist.</td>
|
1364
1464
|
</tr>
|
@@ -1368,12 +1468,12 @@ are already exist.</td>
|
|
1368
1468
|
<hr>
|
1369
1469
|
<div class="refsect2">
|
1370
1470
|
<a name="pango-font-description-better-match"></a><h3>pango_font_description_better_match ()</h3>
|
1371
|
-
<pre class="programlisting"><
|
1471
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_font_description_better_match (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1372
1472
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *old_match</code></em>,
|
1373
1473
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *new_match</code></em>);</pre>
|
1374
1474
|
<p>
|
1375
1475
|
Determines if the style attributes of <em class="parameter"><code>new_match</code></em> are a closer match
|
1376
|
-
for <em class="parameter"><code>desc</code></em> than those of <em class="parameter"><code>old_match</code></em> are, or if <em class="parameter"><code>old_match</code></em> is <a href="/
|
1476
|
+
for <em class="parameter"><code>desc</code></em> than those of <em class="parameter"><code>old_match</code></em> are, or if <em class="parameter"><code>old_match</code></em> is <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>,
|
1377
1477
|
determines if <em class="parameter"><code>new_match</code></em> is a match at all.
|
1378
1478
|
Approximate matching is done for
|
1379
1479
|
weight and style; other style attributes must match exactly.
|
@@ -1385,8 +1485,11 @@ styles are equal.
|
|
1385
1485
|
<p>
|
1386
1486
|
Note that <em class="parameter"><code>old_match</code></em> must match <em class="parameter"><code>desc</code></em>.
|
1387
1487
|
</p>
|
1388
|
-
<div class="variablelist"><table border="0">
|
1488
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1489
|
+
<colgroup>
|
1389
1490
|
<col align="left" valign="top">
|
1491
|
+
<col>
|
1492
|
+
</colgroup>
|
1390
1493
|
<tbody>
|
1391
1494
|
<tr>
|
1392
1495
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1395,7 +1498,7 @@ Note that <em class="parameter"><code>old_match</code></em> must match <em class
|
|
1395
1498
|
</tr>
|
1396
1499
|
<tr>
|
1397
1500
|
<td><p><span class="term"><em class="parameter"><code>old_match</code></em> :</span></p></td>
|
1398
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, or <a href="/
|
1501
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1399
1502
|
</td>
|
1400
1503
|
</tr>
|
1401
1504
|
<tr>
|
@@ -1406,7 +1509,7 @@ Note that <em class="parameter"><code>old_match</code></em> must match <em class
|
|
1406
1509
|
<tr>
|
1407
1510
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1408
1511
|
<td>
|
1409
|
-
<
|
1512
|
+
<code class="literal">TRUE</code> if <em class="parameter"><code>new_match</code></em> is a better match</td>
|
1410
1513
|
</tr>
|
1411
1514
|
</tbody>
|
1412
1515
|
</table></div>
|
@@ -1425,13 +1528,16 @@ describes one of style, variant, weight, stretch, or gravity, and SIZE
|
|
1425
1528
|
is a decimal number (size in points) or optionally followed by the
|
1426
1529
|
unit modifier "px" for absolute size. Any one of the options may
|
1427
1530
|
be absent. If FAMILY-LIST is absent, then the family_name field of
|
1428
|
-
the resulting font description will be initialized to <a href="/
|
1531
|
+
the resulting font description will be initialized to <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. If
|
1429
1532
|
STYLE-OPTIONS is missing, then all style options will be set to the
|
1430
1533
|
default values. If SIZE is missing, the size in the resulting font
|
1431
1534
|
description will be set to 0.
|
1432
1535
|
</p>
|
1433
|
-
<div class="variablelist"><table border="0">
|
1536
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1537
|
+
<colgroup>
|
1434
1538
|
<col align="left" valign="top">
|
1539
|
+
<col>
|
1540
|
+
</colgroup>
|
1435
1541
|
<tbody>
|
1436
1542
|
<tr>
|
1437
1543
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
@@ -1455,8 +1561,11 @@ format of the string representation. The family list in the
|
|
1455
1561
|
string description will only have a terminating comma if the
|
1456
1562
|
last word of the list is a valid style option.
|
1457
1563
|
</p>
|
1458
|
-
<div class="variablelist"><table border="0">
|
1564
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1565
|
+
<colgroup>
|
1459
1566
|
<col align="left" valign="top">
|
1567
|
+
<col>
|
1568
|
+
</colgroup>
|
1460
1569
|
<tbody>
|
1461
1570
|
<tr>
|
1462
1571
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1465,7 +1574,7 @@ last word of the list is a valid style option.
|
|
1465
1574
|
</tr>
|
1466
1575
|
<tr>
|
1467
1576
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1468
|
-
<td>a new string that must be freed with <
|
1577
|
+
<td>a new string that must be freed with <code class="function">g_free()</code>.</td>
|
1469
1578
|
</tr>
|
1470
1579
|
</tbody>
|
1471
1580
|
</table></div>
|
@@ -1480,8 +1589,11 @@ filename is identical to the result from calling
|
|
1480
1589
|
<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
|
1481
1590
|
characters that are untypical in filenames, and in lower case only.
|
1482
1591
|
</p>
|
1483
|
-
<div class="variablelist"><table border="0">
|
1592
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1593
|
+
<colgroup>
|
1484
1594
|
<col align="left" valign="top">
|
1595
|
+
<col>
|
1596
|
+
</colgroup>
|
1485
1597
|
<tbody>
|
1486
1598
|
<tr>
|
1487
1599
|
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
@@ -1490,7 +1602,7 @@ characters that are untypical in filenames, and in lower case only.
|
|
1490
1602
|
</tr>
|
1491
1603
|
<tr>
|
1492
1604
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1493
|
-
<td>a new string that must be freed with <
|
1605
|
+
<td>a new string that must be freed with <code class="function">g_free()</code>.</td>
|
1494
1606
|
</tr>
|
1495
1607
|
</tbody>
|
1496
1608
|
</table></div>
|
@@ -1525,7 +1637,7 @@ of their meaning.
|
|
1525
1637
|
<pre class="programlisting">#define PANGO_TYPE_FONT_METRICS (pango_font_metrics_get_type ())
|
1526
1638
|
</pre>
|
1527
1639
|
<p>
|
1528
|
-
The <
|
1640
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a>.
|
1529
1641
|
</p>
|
1530
1642
|
</div>
|
1531
1643
|
<hr>
|
@@ -1535,12 +1647,15 @@ The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Ob
|
|
1535
1647
|
<p>
|
1536
1648
|
Increase the reference count of a font metrics structure by one.
|
1537
1649
|
</p>
|
1538
|
-
<div class="variablelist"><table border="0">
|
1650
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1651
|
+
<colgroup>
|
1539
1652
|
<col align="left" valign="top">
|
1653
|
+
<col>
|
1654
|
+
</colgroup>
|
1540
1655
|
<tbody>
|
1541
1656
|
<tr>
|
1542
1657
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1543
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure, may be <a href="/
|
1658
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1544
1659
|
</td>
|
1545
1660
|
</tr>
|
1546
1661
|
<tr>
|
@@ -1559,11 +1674,14 @@ Decrease the reference count of a font metrics structure by one. If
|
|
1559
1674
|
the result is zero, frees the structure and any associated
|
1560
1675
|
memory.
|
1561
1676
|
</p>
|
1562
|
-
<div class="variablelist"><table border="0">
|
1677
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1678
|
+
<colgroup>
|
1563
1679
|
<col align="left" valign="top">
|
1680
|
+
<col>
|
1681
|
+
</colgroup>
|
1564
1682
|
<tbody><tr>
|
1565
1683
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
1566
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure, may be <a href="/
|
1684
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure, may be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1567
1685
|
</td>
|
1568
1686
|
</tr></tbody>
|
1569
1687
|
</table></div>
|
@@ -1579,8 +1697,11 @@ of text. (The logical top may be above or below the top of the
|
|
1579
1697
|
actual drawn ink. It is necessary to lay out the text to figure
|
1580
1698
|
where the ink will be.)
|
1581
1699
|
</p>
|
1582
|
-
<div class="variablelist"><table border="0">
|
1700
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1701
|
+
<colgroup>
|
1583
1702
|
<col align="left" valign="top">
|
1703
|
+
<col>
|
1704
|
+
</colgroup>
|
1584
1705
|
<tbody>
|
1585
1706
|
<tr>
|
1586
1707
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
@@ -1604,8 +1725,11 @@ of text. (The logical bottom may be above or below the bottom of the
|
|
1604
1725
|
actual drawn ink. It is necessary to lay out the text to figure
|
1605
1726
|
where the ink will be.)
|
1606
1727
|
</p>
|
1607
|
-
<div class="variablelist"><table border="0">
|
1728
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1729
|
+
<colgroup>
|
1608
1730
|
<col align="left" valign="top">
|
1731
|
+
<col>
|
1732
|
+
</colgroup>
|
1609
1733
|
<tbody>
|
1610
1734
|
<tr>
|
1611
1735
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
@@ -1629,8 +1753,11 @@ This is merely a representative value useful, for example, for
|
|
1629
1753
|
determining the initial size for a window. Actual characters in
|
1630
1754
|
text will be wider and narrower than this.
|
1631
1755
|
</p>
|
1632
|
-
<div class="variablelist"><table border="0">
|
1756
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1757
|
+
<colgroup>
|
1633
1758
|
<col align="left" valign="top">
|
1759
|
+
<col>
|
1760
|
+
</colgroup>
|
1634
1761
|
<tbody>
|
1635
1762
|
<tr>
|
1636
1763
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
@@ -1656,8 +1783,11 @@ text can be wider or narrower than this, though this value
|
|
1656
1783
|
is generally somewhat more accurate than the result of
|
1657
1784
|
<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.
|
1658
1785
|
</p>
|
1659
|
-
<div class="variablelist"><table border="0">
|
1786
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1787
|
+
<colgroup>
|
1660
1788
|
<col align="left" valign="top">
|
1789
|
+
<col>
|
1790
|
+
</colgroup>
|
1661
1791
|
<tbody>
|
1662
1792
|
<tr>
|
1663
1793
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
@@ -1678,8 +1808,11 @@ is generally somewhat more accurate than the result of
|
|
1678
1808
|
<p>
|
1679
1809
|
Gets the suggested thickness to draw for the underline.
|
1680
1810
|
</p>
|
1681
|
-
<div class="variablelist"><table border="0">
|
1811
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1812
|
+
<colgroup>
|
1682
1813
|
<col align="left" valign="top">
|
1814
|
+
<col>
|
1815
|
+
</colgroup>
|
1683
1816
|
<tbody>
|
1684
1817
|
<tr>
|
1685
1818
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
@@ -1705,8 +1838,11 @@ baseline of the top of the underline. Since most fonts have
|
|
1705
1838
|
underline positions beneath the baseline, this value is typically
|
1706
1839
|
negative.
|
1707
1840
|
</p>
|
1708
|
-
<div class="variablelist"><table border="0">
|
1841
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1842
|
+
<colgroup>
|
1709
1843
|
<col align="left" valign="top">
|
1844
|
+
<col>
|
1845
|
+
</colgroup>
|
1710
1846
|
<tbody>
|
1711
1847
|
<tr>
|
1712
1848
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
@@ -1728,8 +1864,11 @@ negative.
|
|
1728
1864
|
<p>
|
1729
1865
|
Gets the suggested thickness to draw for the strikethrough.
|
1730
1866
|
</p>
|
1731
|
-
<div class="variablelist"><table border="0">
|
1867
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1868
|
+
<colgroup>
|
1732
1869
|
<col align="left" valign="top">
|
1870
|
+
<col>
|
1871
|
+
</colgroup>
|
1733
1872
|
<tbody>
|
1734
1873
|
<tr>
|
1735
1874
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
@@ -1753,8 +1892,11 @@ Gets the suggested position to draw the strikethrough.
|
|
1753
1892
|
The value returned is the distance <span class="emphasis"><em>above</em></span> the
|
1754
1893
|
baseline of the top of the strikethrough.
|
1755
1894
|
</p>
|
1756
|
-
<div class="variablelist"><table border="0">
|
1895
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1896
|
+
<colgroup>
|
1757
1897
|
<col align="left" valign="top">
|
1898
|
+
<col>
|
1899
|
+
</colgroup>
|
1758
1900
|
<tbody>
|
1759
1901
|
<tr>
|
1760
1902
|
<td><p><span class="term"><em class="parameter"><code>metrics</code></em> :</span></p></td>
|
@@ -1794,7 +1936,7 @@ which the implementation fills in.
|
|
1794
1936
|
<pre class="programlisting">#define PANGO_TYPE_FONT (pango_font_get_type ())
|
1795
1937
|
</pre>
|
1796
1938
|
<p>
|
1797
|
-
The <
|
1939
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
1798
1940
|
</p>
|
1799
1941
|
</div>
|
1800
1942
|
<hr>
|
@@ -1803,13 +1945,16 @@ The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Ob
|
|
1803
1945
|
<pre class="programlisting">#define PANGO_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT, PangoFont))
|
1804
1946
|
</pre>
|
1805
1947
|
<p>
|
1806
|
-
Casts a <
|
1948
|
+
Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
1807
1949
|
</p>
|
1808
|
-
<div class="variablelist"><table border="0">
|
1950
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1951
|
+
<colgroup>
|
1809
1952
|
<col align="left" valign="top">
|
1953
|
+
<col>
|
1954
|
+
</colgroup>
|
1810
1955
|
<tbody><tr>
|
1811
1956
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
1812
|
-
<td>a <
|
1957
|
+
<td>a <span class="type">GObject</span>.</td>
|
1813
1958
|
</tr></tbody>
|
1814
1959
|
</table></div>
|
1815
1960
|
</div>
|
@@ -1819,13 +1964,16 @@ Casts a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Bas
|
|
1819
1964
|
<pre class="programlisting">#define PANGO_IS_FONT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT))
|
1820
1965
|
</pre>
|
1821
1966
|
<p>
|
1822
|
-
Returns <
|
1967
|
+
Returns <code class="literal">TRUE</code> if <em class="parameter"><code>object</code></em> is a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
1823
1968
|
</p>
|
1824
|
-
<div class="variablelist"><table border="0">
|
1969
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1970
|
+
<colgroup>
|
1825
1971
|
<col align="left" valign="top">
|
1972
|
+
<col>
|
1973
|
+
</colgroup>
|
1826
1974
|
<tbody><tr>
|
1827
1975
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
1828
|
-
<td>a <
|
1976
|
+
<td>a <span class="type">GObject</span>.</td>
|
1829
1977
|
</tr></tbody>
|
1830
1978
|
</table></div>
|
1831
1979
|
</div>
|
@@ -1834,13 +1982,16 @@ Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macr
|
|
1834
1982
|
<a name="pango-font-find-shaper"></a><h3>pango_font_find_shaper ()</h3>
|
1835
1983
|
<pre class="programlisting"><a class="link" href="PangoEngineShape.html" title="PangoEngineShape"><span class="returnvalue">PangoEngineShape</span></a> * pango_font_find_shaper (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
1836
1984
|
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
1837
|
-
<em class="parameter"><code><
|
1985
|
+
<em class="parameter"><code><span class="type">guint32</span> ch</code></em>);</pre>
|
1838
1986
|
<p>
|
1839
1987
|
Finds the best matching shaper for a font for a particular
|
1840
1988
|
language tag and character point.
|
1841
1989
|
</p>
|
1842
|
-
<div class="variablelist"><table border="0">
|
1990
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1991
|
+
<colgroup>
|
1843
1992
|
<col align="left" valign="top">
|
1993
|
+
<col>
|
1994
|
+
</colgroup>
|
1844
1995
|
<tbody>
|
1845
1996
|
<tr>
|
1846
1997
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
@@ -1871,8 +2022,11 @@ Returns a description of the font, with font size set in points.
|
|
1871
2022
|
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
|
1872
2023
|
size in device units.
|
1873
2024
|
</p>
|
1874
|
-
<div class="variablelist"><table border="0">
|
2025
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2026
|
+
<colgroup>
|
1875
2027
|
<col align="left" valign="top">
|
2028
|
+
<col>
|
2029
|
+
</colgroup>
|
1876
2030
|
<tbody>
|
1877
2031
|
<tr>
|
1878
2032
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
@@ -1896,8 +2050,11 @@ Returns a description of the font, with absolute font size set
|
|
1896
2050
|
(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
|
1897
2051
|
size in points.
|
1898
2052
|
</p>
|
1899
|
-
<div class="variablelist"><table border="0">
|
2053
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2054
|
+
<colgroup>
|
1900
2055
|
<col align="left" valign="top">
|
2056
|
+
<col>
|
2057
|
+
</colgroup>
|
1901
2058
|
<tbody>
|
1902
2059
|
<tr>
|
1903
2060
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
@@ -1920,8 +2077,11 @@ size in points.
|
|
1920
2077
|
<p>
|
1921
2078
|
Computes the coverage map for a given font and language tag.
|
1922
2079
|
</p>
|
1923
|
-
<div class="variablelist"><table border="0">
|
2080
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2081
|
+
<colgroup>
|
1924
2082
|
<col align="left" valign="top">
|
2083
|
+
<col>
|
2084
|
+
</colgroup>
|
1925
2085
|
<tbody>
|
1926
2086
|
<tr>
|
1927
2087
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
@@ -1934,7 +2094,9 @@ Computes the coverage map for a given font and language tag.
|
|
1934
2094
|
</tr>
|
1935
2095
|
<tr>
|
1936
2096
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1937
|
-
<td>a newly-allocated <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a>
|
2097
|
+
<td>a newly-allocated <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a>
|
2098
|
+
object. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2099
|
+
</td>
|
1938
2100
|
</tr>
|
1939
2101
|
</tbody>
|
1940
2102
|
</table></div>
|
@@ -1956,11 +2118,14 @@ from the extents rectangle to more traditional font metrics. The units
|
|
1956
2118
|
of the rectangles are in 1/PANGO_SCALE of a device unit.
|
1957
2119
|
</p>
|
1958
2120
|
<p>
|
1959
|
-
If <em class="parameter"><code>font</code></em> is <a href="/
|
2121
|
+
If <em class="parameter"><code>font</code></em> is <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, this function gracefully sets some sane values in the
|
1960
2122
|
output variables and returns.
|
1961
2123
|
</p>
|
1962
|
-
<div class="variablelist"><table border="0">
|
2124
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2125
|
+
<colgroup>
|
1963
2126
|
<col align="left" valign="top">
|
2127
|
+
<col>
|
2128
|
+
</colgroup>
|
1964
2129
|
<tbody>
|
1965
2130
|
<tr>
|
1966
2131
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
@@ -1974,13 +2139,13 @@ output variables and returns.
|
|
1974
2139
|
<tr>
|
1975
2140
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
1976
2141
|
<td>rectangle used to store the extents of the glyph
|
1977
|
-
as drawn or <a href="/
|
2142
|
+
as drawn or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1978
2143
|
</td>
|
1979
2144
|
</tr>
|
1980
2145
|
<tr>
|
1981
2146
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
1982
2147
|
<td>rectangle used to store the logical extents of
|
1983
|
-
the glyph or <a href="/
|
2148
|
+
the glyph or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1984
2149
|
</td>
|
1985
2150
|
</tr>
|
1986
2151
|
</tbody>
|
@@ -1998,11 +2163,14 @@ be provided to indicate that the metrics should be retrieved that
|
|
1998
2163
|
correspond to the script(s) used by that language.
|
1999
2164
|
</p>
|
2000
2165
|
<p>
|
2001
|
-
If <em class="parameter"><code>font</code></em> is <a href="/
|
2166
|
+
If <em class="parameter"><code>font</code></em> is <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, this function gracefully sets some sane values in the
|
2002
2167
|
output variables and returns.
|
2003
2168
|
</p>
|
2004
|
-
<div class="variablelist"><table border="0">
|
2169
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2170
|
+
<colgroup>
|
2005
2171
|
<col align="left" valign="top">
|
2172
|
+
<col>
|
2173
|
+
</colgroup>
|
2006
2174
|
<tbody>
|
2007
2175
|
<tr>
|
2008
2176
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
@@ -2012,7 +2180,7 @@ output variables and returns.
|
|
2012
2180
|
<tr>
|
2013
2181
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
2014
2182
|
<td>language tag used to determine which script to get the metrics
|
2015
|
-
for, or <a href="/
|
2183
|
+
for, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to indicate to get the metrics for the entire font. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2016
2184
|
</td>
|
2017
2185
|
</tr>
|
2018
2186
|
<tr>
|
@@ -2034,23 +2202,26 @@ Gets the font map for which the font was created.
|
|
2034
2202
|
Note that the font maintains a <em class="firstterm">weak</em> reference
|
2035
2203
|
to the font map, so if all references to font map are dropped, the font
|
2036
2204
|
map will be finalized even if there are fonts created with the font
|
2037
|
-
map that are still alive. In that case this function will return <a href="/
|
2205
|
+
map that are still alive. In that case this function will return <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
2038
2206
|
It is the responsibility of the user to ensure that the font map is kept
|
2039
2207
|
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
|
2040
2208
|
a reference to the font map.
|
2041
2209
|
</p>
|
2042
|
-
<div class="variablelist"><table border="0">
|
2210
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2211
|
+
<colgroup>
|
2043
2212
|
<col align="left" valign="top">
|
2213
|
+
<col>
|
2214
|
+
</colgroup>
|
2044
2215
|
<tbody>
|
2045
2216
|
<tr>
|
2046
2217
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
2047
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>, or <a href="/
|
2218
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
2048
2219
|
</td>
|
2049
2220
|
</tr>
|
2050
2221
|
<tr>
|
2051
2222
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2052
|
-
<td>the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> for the font, or <a href="/
|
2053
|
-
if <em class="parameter"><code>font</code></em> is <a href="/
|
2223
|
+
<td>the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> for the font, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
2224
|
+
if <em class="parameter"><code>font</code></em> is <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2054
2225
|
</td>
|
2055
2226
|
</tr>
|
2056
2227
|
</tbody>
|
@@ -2073,7 +2244,7 @@ slant, weight, width and other aspects.
|
|
2073
2244
|
<pre class="programlisting">#define PANGO_TYPE_FONT_FAMILY (pango_font_family_get_type ())
|
2074
2245
|
</pre>
|
2075
2246
|
<p>
|
2076
|
-
The <
|
2247
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.
|
2077
2248
|
</p>
|
2078
2249
|
</div>
|
2079
2250
|
<hr>
|
@@ -2082,13 +2253,16 @@ The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Ob
|
|
2082
2253
|
<pre class="programlisting">#define PANGO_FONT_FAMILY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FAMILY, PangoFontFamily))
|
2083
2254
|
</pre>
|
2084
2255
|
<p>
|
2085
|
-
Casts a <
|
2256
|
+
Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.
|
2086
2257
|
</p>
|
2087
|
-
<div class="variablelist"><table border="0">
|
2258
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2259
|
+
<colgroup>
|
2088
2260
|
<col align="left" valign="top">
|
2261
|
+
<col>
|
2262
|
+
</colgroup>
|
2089
2263
|
<tbody><tr>
|
2090
2264
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2091
|
-
<td>a <
|
2265
|
+
<td>a <span class="type">GObject</span>.</td>
|
2092
2266
|
</tr></tbody>
|
2093
2267
|
</table></div>
|
2094
2268
|
</div>
|
@@ -2098,13 +2272,16 @@ Casts a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Bas
|
|
2098
2272
|
<pre class="programlisting">#define PANGO_IS_FONT_FAMILY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_FAMILY))
|
2099
2273
|
</pre>
|
2100
2274
|
<p>
|
2101
|
-
Returns <
|
2275
|
+
Returns <code class="literal">TRUE</code> if <em class="parameter"><code>object</code></em> is a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.
|
2102
2276
|
</p>
|
2103
|
-
<div class="variablelist"><table border="0">
|
2277
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2278
|
+
<colgroup>
|
2104
2279
|
<col align="left" valign="top">
|
2280
|
+
<col>
|
2281
|
+
</colgroup>
|
2105
2282
|
<tbody><tr>
|
2106
2283
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2107
|
-
<td>a <
|
2284
|
+
<td>a <span class="type">GObject</span>.</td>
|
2108
2285
|
</tr></tbody>
|
2109
2286
|
</table></div>
|
2110
2287
|
</div>
|
@@ -2117,8 +2294,11 @@ Gets the name of the family. The name is unique among all
|
|
2117
2294
|
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>
|
2118
2295
|
to specify that a face from this family is desired.
|
2119
2296
|
</p>
|
2120
|
-
<div class="variablelist"><table border="0">
|
2297
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2298
|
+
<colgroup>
|
2121
2299
|
<col align="left" valign="top">
|
2300
|
+
<col>
|
2301
|
+
</colgroup>
|
2122
2302
|
<tbody>
|
2123
2303
|
<tr>
|
2124
2304
|
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
@@ -2136,14 +2316,14 @@ by the family object and must not be modified or freed.</td>
|
|
2136
2316
|
<hr>
|
2137
2317
|
<div class="refsect2">
|
2138
2318
|
<a name="pango-font-family-is-monospace"></a><h3>pango_font_family_is_monospace ()</h3>
|
2139
|
-
<pre class="programlisting"><
|
2319
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_font_family_is_monospace (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *family</code></em>);</pre>
|
2140
2320
|
<p>
|
2141
2321
|
A monospace font is a font designed for text display where the the
|
2142
2322
|
characters form a regular grid. For Western languages this would
|
2143
2323
|
mean that the advance width of all characters are the same, but
|
2144
2324
|
this categorization also includes Asian fonts which include
|
2145
2325
|
double-width characters: characters that occupy two grid cells.
|
2146
|
-
<
|
2326
|
+
<code class="function">g_unichar_iswide()</code> returns a result that indicates whether a
|
2147
2327
|
character is typically double-width in a monospace font.
|
2148
2328
|
</p>
|
2149
2329
|
<p>
|
@@ -2152,8 +2332,11 @@ The best way to find out the grid-cell size is to call
|
|
2152
2332
|
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
|
2153
2333
|
by double-width characters.
|
2154
2334
|
</p>
|
2155
|
-
<div class="variablelist"><table border="0">
|
2335
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2336
|
+
<colgroup>
|
2156
2337
|
<col align="left" valign="top">
|
2338
|
+
<col>
|
2339
|
+
</colgroup>
|
2157
2340
|
<tbody>
|
2158
2341
|
<tr>
|
2159
2342
|
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
@@ -2163,7 +2346,7 @@ by double-width characters.
|
|
2163
2346
|
<tr>
|
2164
2347
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2165
2348
|
<td>
|
2166
|
-
<
|
2349
|
+
<code class="literal">TRUE</code> if the family is monospace.</td>
|
2167
2350
|
</tr>
|
2168
2351
|
</tbody>
|
2169
2352
|
</table></div>
|
@@ -2180,8 +2363,11 @@ Lists the different font faces that make up <em class="parameter"><code>family</
|
|
2180
2363
|
in a family share a common design, but differ in slant, weight,
|
2181
2364
|
width and other aspects.
|
2182
2365
|
</p>
|
2183
|
-
<div class="variablelist"><table border="0">
|
2366
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2367
|
+
<colgroup>
|
2184
2368
|
<col align="left" valign="top">
|
2369
|
+
<col>
|
2370
|
+
</colgroup>
|
2185
2371
|
<tbody>
|
2186
2372
|
<tr>
|
2187
2373
|
<td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
|
@@ -2190,14 +2376,14 @@ width and other aspects.
|
|
2190
2376
|
</tr>
|
2191
2377
|
<tr>
|
2192
2378
|
<td><p><span class="term"><em class="parameter"><code>faces</code></em> :</span></p></td>
|
2193
|
-
<td>location to store an array of pointers to <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>
|
2194
|
-
|
2195
|
-
|
2379
|
+
<td>location to store an array of pointers to <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> objects,
|
2380
|
+
or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. This array should be freed with <code class="function">g_free()</code> when it is no
|
2381
|
+
longer needed. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_faces][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span>
|
2196
2382
|
</td>
|
2197
2383
|
</tr>
|
2198
2384
|
<tr>
|
2199
2385
|
<td><p><span class="term"><em class="parameter"><code>n_faces</code></em> :</span></p></td>
|
2200
|
-
<td>location to store number of elements in <em class="parameter"><code>faces</code></em>. <span class="annotation">[<
|
2386
|
+
<td>location to store number of elements in <em class="parameter"><code>faces</code></em>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
2201
2387
|
</td>
|
2202
2388
|
</tr>
|
2203
2389
|
</tbody>
|
@@ -2218,7 +2404,7 @@ the same family, slant, weight, width, but varying sizes.
|
|
2218
2404
|
<pre class="programlisting">#define PANGO_TYPE_FONT_FACE (pango_font_face_get_type ())
|
2219
2405
|
</pre>
|
2220
2406
|
<p>
|
2221
|
-
The <
|
2407
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.
|
2222
2408
|
</p>
|
2223
2409
|
</div>
|
2224
2410
|
<hr>
|
@@ -2227,13 +2413,16 @@ The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Ob
|
|
2227
2413
|
<pre class="programlisting">#define PANGO_FONT_FACE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FACE, PangoFontFace))
|
2228
2414
|
</pre>
|
2229
2415
|
<p>
|
2230
|
-
Casts a <
|
2416
|
+
Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.
|
2231
2417
|
</p>
|
2232
|
-
<div class="variablelist"><table border="0">
|
2418
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2419
|
+
<colgroup>
|
2233
2420
|
<col align="left" valign="top">
|
2421
|
+
<col>
|
2422
|
+
</colgroup>
|
2234
2423
|
<tbody><tr>
|
2235
2424
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2236
|
-
<td>a <
|
2425
|
+
<td>a <span class="type">GObject</span>.</td>
|
2237
2426
|
</tr></tbody>
|
2238
2427
|
</table></div>
|
2239
2428
|
</div>
|
@@ -2243,13 +2432,16 @@ Casts a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Bas
|
|
2243
2432
|
<pre class="programlisting">#define PANGO_IS_FONT_FACE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_FACE))
|
2244
2433
|
</pre>
|
2245
2434
|
<p>
|
2246
|
-
Returns <
|
2435
|
+
Returns <code class="literal">TRUE</code> if <em class="parameter"><code>object</code></em> is a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.
|
2247
2436
|
</p>
|
2248
|
-
<div class="variablelist"><table border="0">
|
2437
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2438
|
+
<colgroup>
|
2249
2439
|
<col align="left" valign="top">
|
2440
|
+
<col>
|
2441
|
+
</colgroup>
|
2250
2442
|
<tbody><tr>
|
2251
2443
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2252
|
-
<td>a <
|
2444
|
+
<td>a <span class="type">GObject</span>.</td>
|
2253
2445
|
</tr></tbody>
|
2254
2446
|
</table></div>
|
2255
2447
|
</div>
|
@@ -2263,8 +2455,11 @@ different faces in the <a class="link" href="pango-Fonts.html#PangoFontFamily"><
|
|
2263
2455
|
name is unique among all faces in the family and is suitable
|
2264
2456
|
for displaying to users.
|
2265
2457
|
</p>
|
2266
|
-
<div class="variablelist"><table border="0">
|
2458
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2459
|
+
<colgroup>
|
2267
2460
|
<col align="left" valign="top">
|
2461
|
+
<col>
|
2462
|
+
</colgroup>
|
2268
2463
|
<tbody>
|
2269
2464
|
<tr>
|
2270
2465
|
<td><p><span class="term"><em class="parameter"><code>face</code></em> :</span></p></td>
|
@@ -2286,12 +2481,15 @@ owned by the face object and must not be modified or freed.</td>
|
|
2286
2481
|
<em class="parameter"><code><span class="type">int</span> *n_sizes</code></em>);</pre>
|
2287
2482
|
<p>
|
2288
2483
|
List the available sizes for a font. This is only applicable to bitmap
|
2289
|
-
fonts. For scalable fonts, stores <a href="/
|
2484
|
+
fonts. For scalable fonts, stores <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> at the location pointed to by
|
2290
2485
|
<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
|
2291
2486
|
are in Pango units and are sorted in ascending order.
|
2292
2487
|
</p>
|
2293
|
-
<div class="variablelist"><table border="0">
|
2488
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2489
|
+
<colgroup>
|
2294
2490
|
<col align="left" valign="top">
|
2491
|
+
<col>
|
2492
|
+
</colgroup>
|
2295
2493
|
<tbody>
|
2296
2494
|
<tr>
|
2297
2495
|
<td><p><span class="term"><em class="parameter"><code>face</code></em> :</span></p></td>
|
@@ -2299,8 +2497,10 @@ are in Pango units and are sorted in ascending order.
|
|
2299
2497
|
</tr>
|
2300
2498
|
<tr>
|
2301
2499
|
<td><p><span class="term"><em class="parameter"><code>sizes</code></em> :</span></p></td>
|
2302
|
-
<td>location to store a pointer
|
2303
|
-
should be freed with
|
2500
|
+
<td>location to store a pointer
|
2501
|
+
to an array of int. This array should be freed with
|
2502
|
+
<code class="function">g_free()</code>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_sizes]</span>
|
2503
|
+
</td>
|
2304
2504
|
</tr>
|
2305
2505
|
<tr>
|
2306
2506
|
<td><p><span class="term"><em class="parameter"><code>n_sizes</code></em> :</span></p></td>
|
@@ -2320,8 +2520,11 @@ Returns the family, style, variant, weight and stretch of
|
|
2320
2520
|
a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>. The size field of the resulting font description
|
2321
2521
|
will be unset.
|
2322
2522
|
</p>
|
2323
|
-
<div class="variablelist"><table border="0">
|
2523
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2524
|
+
<colgroup>
|
2324
2525
|
<col align="left" valign="top">
|
2526
|
+
<col>
|
2527
|
+
</colgroup>
|
2325
2528
|
<tbody>
|
2326
2529
|
<tr>
|
2327
2530
|
<td><p><span class="term"><em class="parameter"><code>face</code></em> :</span></p></td>
|
@@ -2340,14 +2543,17 @@ to free the result.</td>
|
|
2340
2543
|
<hr>
|
2341
2544
|
<div class="refsect2">
|
2342
2545
|
<a name="pango-font-face-is-synthesized"></a><h3>pango_font_face_is_synthesized ()</h3>
|
2343
|
-
<pre class="programlisting"><
|
2546
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_font_face_is_synthesized (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> *face</code></em>);</pre>
|
2344
2547
|
<p>
|
2345
2548
|
Returns whether a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> is synthesized by the underlying
|
2346
2549
|
font rendering engine from another face, perhaps by shearing, emboldening,
|
2347
2550
|
or lightening it.
|
2348
2551
|
</p>
|
2349
|
-
<div class="variablelist"><table border="0">
|
2552
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2553
|
+
<colgroup>
|
2350
2554
|
<col align="left" valign="top">
|
2555
|
+
<col>
|
2556
|
+
</colgroup>
|
2351
2557
|
<tbody>
|
2352
2558
|
<tr>
|
2353
2559
|
<td><p><span class="term"><em class="parameter"><code>face</code></em> :</span></p></td>
|
@@ -2387,7 +2593,7 @@ fills in.
|
|
2387
2593
|
<pre class="programlisting">#define PANGO_TYPE_FONT_MAP (pango_font_map_get_type ())
|
2388
2594
|
</pre>
|
2389
2595
|
<p>
|
2390
|
-
The <
|
2596
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.
|
2391
2597
|
</p>
|
2392
2598
|
</div>
|
2393
2599
|
<hr>
|
@@ -2396,13 +2602,16 @@ The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Ob
|
|
2396
2602
|
<pre class="programlisting">#define PANGO_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_MAP, PangoFontMap))
|
2397
2603
|
</pre>
|
2398
2604
|
<p>
|
2399
|
-
Casts a <
|
2605
|
+
Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.
|
2400
2606
|
</p>
|
2401
|
-
<div class="variablelist"><table border="0">
|
2607
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2608
|
+
<colgroup>
|
2402
2609
|
<col align="left" valign="top">
|
2610
|
+
<col>
|
2611
|
+
</colgroup>
|
2403
2612
|
<tbody><tr>
|
2404
2613
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2405
|
-
<td>a <
|
2614
|
+
<td>a <span class="type">GObject</span>.</td>
|
2406
2615
|
</tr></tbody>
|
2407
2616
|
</table></div>
|
2408
2617
|
</div>
|
@@ -2412,13 +2621,16 @@ Casts a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Bas
|
|
2412
2621
|
<pre class="programlisting">#define PANGO_IS_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_MAP))
|
2413
2622
|
</pre>
|
2414
2623
|
<p>
|
2415
|
-
Returns <
|
2624
|
+
Returns <code class="literal">TRUE</code> if <em class="parameter"><code>object</code></em> is a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.
|
2416
2625
|
</p>
|
2417
|
-
<div class="variablelist"><table border="0">
|
2626
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2627
|
+
<colgroup>
|
2418
2628
|
<col align="left" valign="top">
|
2629
|
+
<col>
|
2630
|
+
</colgroup>
|
2419
2631
|
<tbody><tr>
|
2420
2632
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2421
|
-
<td>a <
|
2633
|
+
<td>a <span class="type">GObject</span>.</td>
|
2422
2634
|
</tr></tbody>
|
2423
2635
|
</table></div>
|
2424
2636
|
</div>
|
@@ -2440,19 +2652,24 @@ Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macr
|
|
2440
2652
|
const PangoFontDescription *desc,
|
2441
2653
|
PangoLanguage *language);
|
2442
2654
|
|
2443
|
-
const char
|
2655
|
+
const char *shape_engine_type;
|
2656
|
+
|
2657
|
+
guint (*get_serial) (PangoFontMap *fontmap);
|
2444
2658
|
};
|
2445
2659
|
</pre>
|
2446
2660
|
<p>
|
2447
2661
|
The <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a> structure holds the virtual functions for
|
2448
2662
|
a particular <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> implementation.
|
2449
2663
|
</p>
|
2450
|
-
<div class="variablelist"><table border="0">
|
2664
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2665
|
+
<colgroup>
|
2451
2666
|
<col align="left" valign="top">
|
2667
|
+
<col>
|
2668
|
+
</colgroup>
|
2452
2669
|
<tbody>
|
2453
2670
|
<tr>
|
2454
|
-
<td><p><span class="term"><
|
2455
|
-
<td>parent <
|
2671
|
+
<td><p><span class="term"><span class="type">GObjectClass</span> <em class="structfield"><code><a name="PangoFontMapClass.parent-class"></a>parent_class</code></em>;</span></p></td>
|
2672
|
+
<td>parent <span class="type">GObjectClass</span>.</td>
|
2456
2673
|
</tr>
|
2457
2674
|
<tr>
|
2458
2675
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoFontMapClass.load-font"></a>load_font</code></em> ()</span></p></td>
|
@@ -2466,7 +2683,7 @@ a particular <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="t
|
|
2466
2683
|
</tr>
|
2467
2684
|
<tr>
|
2468
2685
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoFontMapClass.load-fontset"></a>load_fontset</code></em> ()</span></p></td>
|
2469
|
-
<td>a function to load a fontset with a given
|
2686
|
+
<td>a function to load a fontset with a given description
|
2470
2687
|
suitable for a particular language. See
|
2471
2688
|
<a class="link" href="pango-Fonts.html#pango-font-map-load-fontset" title="pango_font_map_load_fontset ()"><code class="function">pango_font_map_load_fontset()</code></a>.</td>
|
2472
2689
|
</tr>
|
@@ -2475,6 +2692,11 @@ suitable for a particular language. See
|
|
2475
2692
|
<td>the type of rendering-system-dependent engines that
|
2476
2693
|
can handle fonts of this fonts loaded with this fontmap.</td>
|
2477
2694
|
</tr>
|
2695
|
+
<tr>
|
2696
|
+
<td><p><span class="term"><em class="structfield"><code><a name="PangoFontMapClass.get-serial"></a>get_serial</code></em> ()</span></p></td>
|
2697
|
+
<td>a function to get the serial number of the fontmap.
|
2698
|
+
See <a class="link" href="pango-Fonts.html#pango-font-map-get-serial" title="pango_font_map_get_serial ()"><code class="function">pango_font_map_get_serial()</code></a>.</td>
|
2699
|
+
</tr>
|
2478
2700
|
</tbody>
|
2479
2701
|
</table></div>
|
2480
2702
|
</div>
|
@@ -2484,13 +2706,16 @@ can handle fonts of this fonts loaded with this fontmap.</td>
|
|
2484
2706
|
<pre class="programlisting">#define PANGO_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FONT_MAP, PangoFontMapClass))
|
2485
2707
|
</pre>
|
2486
2708
|
<p>
|
2487
|
-
Casts a <
|
2709
|
+
Casts a <span class="type">GObject</span> to a <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a>.
|
2488
2710
|
</p>
|
2489
|
-
<div class="variablelist"><table border="0">
|
2711
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2712
|
+
<colgroup>
|
2490
2713
|
<col align="left" valign="top">
|
2714
|
+
<col>
|
2715
|
+
</colgroup>
|
2491
2716
|
<tbody><tr>
|
2492
2717
|
<td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
|
2493
|
-
<td>a <
|
2718
|
+
<td>a <span class="type">GObject</span>.</td>
|
2494
2719
|
</tr></tbody>
|
2495
2720
|
</table></div>
|
2496
2721
|
</div>
|
@@ -2500,13 +2725,16 @@ Casts a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Bas
|
|
2500
2725
|
<pre class="programlisting">#define PANGO_IS_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FONT_MAP))
|
2501
2726
|
</pre>
|
2502
2727
|
<p>
|
2503
|
-
Returns <
|
2728
|
+
Returns <code class="literal">TRUE</code> if <em class="parameter"><code>klass</code></em> is a subtype of <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a>.
|
2504
2729
|
</p>
|
2505
|
-
<div class="variablelist"><table border="0">
|
2730
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2731
|
+
<colgroup>
|
2506
2732
|
<col align="left" valign="top">
|
2733
|
+
<col>
|
2734
|
+
</colgroup>
|
2507
2735
|
<tbody><tr>
|
2508
2736
|
<td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
|
2509
|
-
<td>a <
|
2737
|
+
<td>a <span class="type">GObject</span>.</td>
|
2510
2738
|
</tr></tbody>
|
2511
2739
|
</table></div>
|
2512
2740
|
</div>
|
@@ -2518,8 +2746,11 @@ Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macr
|
|
2518
2746
|
<p>
|
2519
2747
|
Returns the type of a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.
|
2520
2748
|
</p>
|
2521
|
-
<div class="variablelist"><table border="0">
|
2749
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2750
|
+
<colgroup>
|
2522
2751
|
<col align="left" valign="top">
|
2752
|
+
<col>
|
2753
|
+
</colgroup>
|
2523
2754
|
<tbody><tr>
|
2524
2755
|
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
|
2525
2756
|
<td>a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.</td>
|
@@ -2538,11 +2769,14 @@ to <a class="link" href="pango-Text-Processing.html#pango-context-new" title="pa
|
|
2538
2769
|
If you are using Pango as part of a higher-level system,
|
2539
2770
|
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>.
|
2540
2771
|
For instance, the GTK+ toolkit has, among others,
|
2541
|
-
<a href="http://library.gnome.org/devel/
|
2772
|
+
<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
|
2542
2773
|
<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.
|
2543
2774
|
</p>
|
2544
|
-
<div class="variablelist"><table border="0">
|
2775
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2776
|
+
<colgroup>
|
2545
2777
|
<col align="left" valign="top">
|
2778
|
+
<col>
|
2779
|
+
</colgroup>
|
2546
2780
|
<tbody>
|
2547
2781
|
<tr>
|
2548
2782
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
@@ -2552,7 +2786,7 @@ For instance, the GTK+ toolkit has, among others,
|
|
2552
2786
|
<tr>
|
2553
2787
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2554
2788
|
<td>the newly allocated <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>,
|
2555
|
-
which should be freed with <
|
2789
|
+
which should be freed with <code class="function">g_object_unref()</code>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2556
2790
|
</td>
|
2557
2791
|
</tr>
|
2558
2792
|
</tbody>
|
@@ -2568,8 +2802,11 @@ which should be freed with <a href="http://library.gnome.org/devel/gobject/unsta
|
|
2568
2802
|
<p>
|
2569
2803
|
Load the font in the fontmap that is the closest match for <em class="parameter"><code>desc</code></em>.
|
2570
2804
|
</p>
|
2571
|
-
<div class="variablelist"><table border="0">
|
2805
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2806
|
+
<colgroup>
|
2572
2807
|
<col align="left" valign="top">
|
2808
|
+
<col>
|
2809
|
+
</colgroup>
|
2573
2810
|
<tbody>
|
2574
2811
|
<tr>
|
2575
2812
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
@@ -2587,7 +2824,7 @@ Load the font in the fontmap that is the closest match for <em class="parameter"
|
|
2587
2824
|
<tr>
|
2588
2825
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2589
2826
|
<td>the newly allocated <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> loaded,
|
2590
|
-
or <a href="/
|
2827
|
+
or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if no font matched. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2591
2828
|
</td>
|
2592
2829
|
</tr>
|
2593
2830
|
</tbody>
|
@@ -2604,8 +2841,11 @@ or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><co
|
|
2604
2841
|
Load a set of fonts in the fontmap that can be used to render
|
2605
2842
|
a font matching <em class="parameter"><code>desc</code></em>.
|
2606
2843
|
</p>
|
2607
|
-
<div class="variablelist"><table border="0">
|
2844
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2845
|
+
<colgroup>
|
2608
2846
|
<col align="left" valign="top">
|
2847
|
+
<col>
|
2848
|
+
</colgroup>
|
2609
2849
|
<tbody>
|
2610
2850
|
<tr>
|
2611
2851
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
@@ -2627,7 +2867,7 @@ a font matching <em class="parameter"><code>desc</code></em>.
|
|
2627
2867
|
<tr>
|
2628
2868
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2629
2869
|
<td>the newly allocated <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a>
|
2630
|
-
loaded, or <a href="/
|
2870
|
+
loaded, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if no font matched. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2631
2871
|
</td>
|
2632
2872
|
</tr>
|
2633
2873
|
</tbody>
|
@@ -2642,8 +2882,11 @@ loaded, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:C
|
|
2642
2882
|
<p>
|
2643
2883
|
List all families for a fontmap.
|
2644
2884
|
</p>
|
2645
|
-
<div class="variablelist"><table border="0">
|
2885
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2886
|
+
<colgroup>
|
2646
2887
|
<col align="left" valign="top">
|
2888
|
+
<col>
|
2889
|
+
</colgroup>
|
2647
2890
|
<tbody>
|
2648
2891
|
<tr>
|
2649
2892
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
@@ -2653,12 +2896,12 @@ List all families for a fontmap.
|
|
2653
2896
|
<tr>
|
2654
2897
|
<td><p><span class="term"><em class="parameter"><code>families</code></em> :</span></p></td>
|
2655
2898
|
<td>location to store a pointer to an array of <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *.
|
2656
|
-
This array should be freed with <
|
2899
|
+
This array should be freed with <code class="function">g_free()</code>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_families][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span>
|
2657
2900
|
</td>
|
2658
2901
|
</tr>
|
2659
2902
|
<tr>
|
2660
2903
|
<td><p><span class="term"><em class="parameter"><code>n_families</code></em> :</span></p></td>
|
2661
|
-
<td>location to store the number of elements in <em class="parameter"><code>families</code></em>. <span class="annotation">[<
|
2904
|
+
<td>location to store the number of elements in <em class="parameter"><code>families</code></em>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
2662
2905
|
</td>
|
2663
2906
|
</tr>
|
2664
2907
|
</tbody>
|
@@ -2674,8 +2917,11 @@ Returns the render ID for shape engines for this fontmap.
|
|
2674
2917
|
See the <em class="structfield"><code>render_type</code></em> field of
|
2675
2918
|
<a class="link" href="pango-Engines.html#PangoEngineInfo" title="struct PangoEngineInfo"><span class="type">PangoEngineInfo</span></a>.
|
2676
2919
|
</p>
|
2677
|
-
<div class="variablelist"><table border="0">
|
2920
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2921
|
+
<colgroup>
|
2678
2922
|
<col align="left" valign="top">
|
2923
|
+
<col>
|
2924
|
+
</colgroup>
|
2679
2925
|
<tbody>
|
2680
2926
|
<tr>
|
2681
2927
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
@@ -2694,6 +2940,44 @@ or freed.</td>
|
|
2694
2940
|
</div>
|
2695
2941
|
<hr>
|
2696
2942
|
<div class="refsect2">
|
2943
|
+
<a name="pango-font-map-get-serial"></a><h3>pango_font_map_get_serial ()</h3>
|
2944
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> pango_font_map_get_serial (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *fontmap</code></em>);</pre>
|
2945
|
+
<p>
|
2946
|
+
Returns the current serial number of <em class="parameter"><code>fontmap</code></em>. The serial number is
|
2947
|
+
initialized to an small number larger than zero when a new fontmap
|
2948
|
+
is created and is increased whenever the fontmap is changed. It may
|
2949
|
+
wrap, but will never have the value 0. Since it can wrap, never compare
|
2950
|
+
it with "less than", always use "not equals".
|
2951
|
+
</p>
|
2952
|
+
<p>
|
2953
|
+
The fontmap can only be changed using backend-specific API, like changing
|
2954
|
+
fontmap resolution.
|
2955
|
+
</p>
|
2956
|
+
<p>
|
2957
|
+
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
|
2958
|
+
in <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
|
2959
|
+
</p>
|
2960
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2961
|
+
<colgroup>
|
2962
|
+
<col align="left" valign="top">
|
2963
|
+
<col>
|
2964
|
+
</colgroup>
|
2965
|
+
<tbody>
|
2966
|
+
<tr>
|
2967
|
+
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
2968
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>
|
2969
|
+
</td>
|
2970
|
+
</tr>
|
2971
|
+
<tr>
|
2972
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2973
|
+
<td>The current serial number of <em class="parameter"><code>fontmap</code></em>.</td>
|
2974
|
+
</tr>
|
2975
|
+
</tbody>
|
2976
|
+
</table></div>
|
2977
|
+
<p class="since">Since 1.32.4</p>
|
2978
|
+
</div>
|
2979
|
+
<hr>
|
2980
|
+
<div class="refsect2">
|
2697
2981
|
<a name="PangoFontset-struct"></a><h3>struct PangoFontset</h3>
|
2698
2982
|
<pre class="programlisting">struct PangoFontset;</pre>
|
2699
2983
|
<p>
|
@@ -2711,7 +2995,7 @@ set of metrics for the entire fontset.
|
|
2711
2995
|
<pre class="programlisting">#define PANGO_TYPE_FONTSET (pango_fontset_get_type ())
|
2712
2996
|
</pre>
|
2713
2997
|
<p>
|
2714
|
-
The <
|
2998
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a>.
|
2715
2999
|
</p>
|
2716
3000
|
</div>
|
2717
3001
|
<hr>
|
@@ -2735,12 +3019,15 @@ The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Ob
|
|
2735
3019
|
The <a class="link" href="pango-Fonts.html#PangoFontsetClass" title="struct PangoFontsetClass"><span class="type">PangoFontsetClass</span></a> structure holds the virtual functions for
|
2736
3020
|
a particular <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> implementation.
|
2737
3021
|
</p>
|
2738
|
-
<div class="variablelist"><table border="0">
|
3022
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3023
|
+
<colgroup>
|
2739
3024
|
<col align="left" valign="top">
|
3025
|
+
<col>
|
3026
|
+
</colgroup>
|
2740
3027
|
<tbody>
|
2741
3028
|
<tr>
|
2742
|
-
<td><p><span class="term"><
|
2743
|
-
<td>parent <
|
3029
|
+
<td><p><span class="term"><span class="type">GObjectClass</span> <em class="structfield"><code><a name="PangoFontsetClass.parent-class"></a>parent_class</code></em>;</span></p></td>
|
3030
|
+
<td>parent <span class="type">GObjectClass</span>.</td>
|
2744
3031
|
</tr>
|
2745
3032
|
<tr>
|
2746
3033
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoFontsetClass.get-font"></a>get_font</code></em> ()</span></p></td>
|
@@ -2768,13 +3055,16 @@ in the fontset; see <a class="link" href="pango-Fonts.html#pango-fontset-get-met
|
|
2768
3055
|
<div class="refsect2">
|
2769
3056
|
<a name="pango-fontset-get-font"></a><h3>pango_fontset_get_font ()</h3>
|
2770
3057
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * pango_fontset_get_font (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
2771
|
-
<em class="parameter"><code><
|
3058
|
+
<em class="parameter"><code><span class="type">guint</span> wc</code></em>);</pre>
|
2772
3059
|
<p>
|
2773
3060
|
Returns the font in the fontset that contains the best glyph for the
|
2774
3061
|
Unicode character <em class="parameter"><code>wc</code></em>.
|
2775
3062
|
</p>
|
2776
|
-
<div class="variablelist"><table border="0">
|
3063
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3064
|
+
<colgroup>
|
2777
3065
|
<col align="left" valign="top">
|
3066
|
+
<col>
|
3067
|
+
</colgroup>
|
2778
3068
|
<tbody>
|
2779
3069
|
<tr>
|
2780
3070
|
<td><p><span class="term"><em class="parameter"><code>fontset</code></em> :</span></p></td>
|
@@ -2788,7 +3078,7 @@ Unicode character <em class="parameter"><code>wc</code></em>.
|
|
2788
3078
|
<tr>
|
2789
3079
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2790
3080
|
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>. The caller must call
|
2791
|
-
g_object_unref when finished with the font. <span class="annotation">[<
|
3081
|
+
g_object_unref when finished with the font. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2792
3082
|
</td>
|
2793
3083
|
</tr>
|
2794
3084
|
</tbody>
|
@@ -2801,8 +3091,11 @@ g_object_unref when finished with the font. <span class="annotation">[<a href="h
|
|
2801
3091
|
<p>
|
2802
3092
|
Get overall metric information for the fonts in the fontset.
|
2803
3093
|
</p>
|
2804
|
-
<div class="variablelist"><table border="0">
|
3094
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3095
|
+
<colgroup>
|
2805
3096
|
<col align="left" valign="top">
|
3097
|
+
<col>
|
3098
|
+
</colgroup>
|
2806
3099
|
<tbody>
|
2807
3100
|
<tr>
|
2808
3101
|
<td><p><span class="term"><em class="parameter"><code>fontset</code></em> :</span></p></td>
|
@@ -2820,15 +3113,18 @@ when finished using the object.</td>
|
|
2820
3113
|
<hr>
|
2821
3114
|
<div class="refsect2">
|
2822
3115
|
<a name="PangoFontsetForeachFunc"></a><h3>PangoFontsetForeachFunc ()</h3>
|
2823
|
-
<pre class="programlisting"><
|
3116
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> (*PangoFontsetForeachFunc) (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
2824
3117
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
2825
|
-
<em class="parameter"><code><
|
3118
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
2826
3119
|
<p>
|
2827
3120
|
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
|
2828
3121
|
the fonts in a fontset.
|
2829
3122
|
</p>
|
2830
|
-
<div class="variablelist"><table border="0">
|
3123
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3124
|
+
<colgroup>
|
2831
3125
|
<col align="left" valign="top">
|
3126
|
+
<col>
|
3127
|
+
</colgroup>
|
2832
3128
|
<tbody>
|
2833
3129
|
<tr>
|
2834
3130
|
<td><p><span class="term"><em class="parameter"><code>fontset</code></em> :</span></p></td>
|
@@ -2841,12 +3137,12 @@ the fonts in a fontset.
|
|
2841
3137
|
</td>
|
2842
3138
|
</tr>
|
2843
3139
|
<tr>
|
2844
|
-
<td><p><span class="term"><em class="parameter"><code>
|
3140
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2845
3141
|
<td>callback data</td>
|
2846
3142
|
</tr>
|
2847
3143
|
<tr>
|
2848
3144
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2849
|
-
<td>if <
|
3145
|
+
<td>if <code class="literal">TRUE</code>, stop iteration and return immediately.</td>
|
2850
3146
|
</tr>
|
2851
3147
|
</tbody>
|
2852
3148
|
</table></div>
|
@@ -2857,13 +3153,16 @@ the fonts in a fontset.
|
|
2857
3153
|
<a name="pango-fontset-foreach"></a><h3>pango_fontset_foreach ()</h3>
|
2858
3154
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_fontset_foreach (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
2859
3155
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetForeachFunc" title="PangoFontsetForeachFunc ()"><span class="type">PangoFontsetForeachFunc</span></a> func</code></em>,
|
2860
|
-
<em class="parameter"><code><
|
3156
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
2861
3157
|
<p>
|
2862
3158
|
Iterates through all the fonts in a fontset, calling <em class="parameter"><code>func</code></em> for
|
2863
|
-
each one. If <em class="parameter"><code>func</code></em> returns <
|
3159
|
+
each one. If <em class="parameter"><code>func</code></em> returns <code class="literal">TRUE</code>, that stops the iteration.
|
2864
3160
|
</p>
|
2865
|
-
<div class="variablelist"><table border="0">
|
3161
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3162
|
+
<colgroup>
|
2866
3163
|
<col align="left" valign="top">
|
3164
|
+
<col>
|
3165
|
+
</colgroup>
|
2867
3166
|
<tbody>
|
2868
3167
|
<tr>
|
2869
3168
|
<td><p><span class="term"><em class="parameter"><code>fontset</code></em> :</span></p></td>
|
@@ -2872,12 +3171,12 @@ each one. If <em class="parameter"><code>func</code></em> returns <a href="http:
|
|
2872
3171
|
</tr>
|
2873
3172
|
<tr>
|
2874
3173
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
2875
|
-
<td>Callback function. <span class="annotation">[<
|
3174
|
+
<td>Callback function. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> data][<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span>
|
2876
3175
|
</td>
|
2877
3176
|
</tr>
|
2878
3177
|
<tr>
|
2879
3178
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
2880
|
-
<td>data to pass to the callback function. <span class="annotation">[<
|
3179
|
+
<td>data to pass to the callback function. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span>
|
2881
3180
|
</td>
|
2882
3181
|
</tr>
|
2883
3182
|
</tbody>
|
@@ -2901,7 +3200,7 @@ which the creator provides when constructing the
|
|
2901
3200
|
<pre class="programlisting">#define PANGO_TYPE_FONTSET_SIMPLE (pango_fontset_simple_get_type ())
|
2902
3201
|
</pre>
|
2903
3202
|
<p>
|
2904
|
-
The <
|
3203
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>.
|
2905
3204
|
</p>
|
2906
3205
|
</div>
|
2907
3206
|
<hr>
|
@@ -2911,8 +3210,11 @@ The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Ob
|
|
2911
3210
|
<p>
|
2912
3211
|
Creates a new <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> for the given language.
|
2913
3212
|
</p>
|
2914
|
-
<div class="variablelist"><table border="0">
|
3213
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3214
|
+
<colgroup>
|
2915
3215
|
<col align="left" valign="top">
|
3216
|
+
<col>
|
3217
|
+
</colgroup>
|
2916
3218
|
<tbody>
|
2917
3219
|
<tr>
|
2918
3220
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
@@ -2921,7 +3223,7 @@ Creates a new <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span c
|
|
2921
3223
|
<tr>
|
2922
3224
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2923
3225
|
<td>the newly allocated <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>, which should
|
2924
|
-
be freed with <
|
3226
|
+
be freed with <code class="function">g_object_unref()</code>.</td>
|
2925
3227
|
</tr>
|
2926
3228
|
</tbody>
|
2927
3229
|
</table></div>
|
@@ -2934,8 +3236,11 @@ be freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-T
|
|
2934
3236
|
<p>
|
2935
3237
|
Adds a font to the fontset.
|
2936
3238
|
</p>
|
2937
|
-
<div class="variablelist"><table border="0">
|
3239
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3240
|
+
<colgroup>
|
2938
3241
|
<col align="left" valign="top">
|
3242
|
+
<col>
|
3243
|
+
</colgroup>
|
2939
3244
|
<tbody>
|
2940
3245
|
<tr>
|
2941
3246
|
<td><p><span class="term"><em class="parameter"><code>fontset</code></em> :</span></p></td>
|
@@ -2955,8 +3260,11 @@ Adds a font to the fontset.
|
|
2955
3260
|
<p>
|
2956
3261
|
Returns the number of fonts in the fontset.
|
2957
3262
|
</p>
|
2958
|
-
<div class="variablelist"><table border="0">
|
3263
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3264
|
+
<colgroup>
|
2959
3265
|
<col align="left" valign="top">
|
3266
|
+
<col>
|
3267
|
+
</colgroup>
|
2960
3268
|
<tbody>
|
2961
3269
|
<tr>
|
2962
3270
|
<td><p><span class="term"><em class="parameter"><code>fontset</code></em> :</span></p></td>
|
@@ -2973,6 +3281,6 @@ Returns the number of fonts in the fontset.
|
|
2973
3281
|
</div>
|
2974
3282
|
<div class="footer">
|
2975
3283
|
<hr>
|
2976
|
-
Generated by GTK-Doc V1.18</div>
|
3284
|
+
Generated by GTK-Doc V1.18.1</div>
|
2977
3285
|
</body>
|
2978
3286
|
</html>
|