pango 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +3 -3
- data/ext/pango/rbpangoattribute.c +7 -0
- data/ext/pango/rbpangoattrlist.c +2 -2
- data/ext/pango/rbpangocontext.c +49 -14
- data/ext/pango/rbpangoglyphinfo.c +5 -5
- data/lib/2.2/pango.so +0 -0
- data/lib/2.3/pango.so +0 -0
- data/test/test-context.rb +113 -0
- data/vendor/local/bin/derb.exe +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/include/harfbuzz/hb-common.h +16 -6
- data/vendor/local/include/harfbuzz/hb-unicode.h +0 -15
- data/vendor/local/include/harfbuzz/hb-version.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/icudt57.dll +0 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +3 -3
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +3 -3
- data/vendor/local/lib/libicudt.dll.a +0 -0
- data/vendor/local/lib/libicuin.dll.a +0 -0
- data/vendor/local/lib/libicuio.dll.a +0 -0
- data/vendor/local/lib/libicule.dll.a +0 -0
- data/vendor/local/lib/libiculx.dll.a +0 -0
- data/vendor/local/lib/libicutest.dll.a +0 -0
- data/vendor/local/lib/libicutu.dll.a +0 -0
- data/vendor/local/lib/libicuuc.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +1 -1
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +1 -1
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +1 -1
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/adding-text-to-the-buffer.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +7 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-10.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-11.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-2.html +32 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-20.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-22.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-28.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-30.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-31.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-38.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-39.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-41.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-42.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-5.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-7.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-8.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-0-5.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-2.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-3.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/buffers-language-script-and-direction.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/building.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch07.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/customizing-unicode-functions.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/fonts-and-faces.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Buffers.html +27 -26
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +17 -21
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +10 -9
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +43 -12
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +11 -10
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +61 -54
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-font.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-shape.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +9 -8
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +9 -8
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +7 -261
- data/vendor/local/share/gtk-doc/html/harfbuzz/hello-harfbuzz.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +3 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +601 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/install-harfbuzz.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/plans-and-caching.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt01.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +6 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/setting-buffer-properties.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/shaping-and-shape-plans.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +142 -160
- data/vendor/local/share/gtk-doc/html/harfbuzz/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/using-harfbuzzs-native-opentype-implementation.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/using-your-own-font-functions.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/what-about-the-other-scripts.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/what-is-harfbuzz.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html +5 -4
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +10 -10
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +8 -8
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +27 -27
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +57 -57
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +53 -53
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-40.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +24 -24
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +107 -107
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +31 -31
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +15 -15
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +380 -390
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +37 -37
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +219 -219
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +295 -295
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +108 -108
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +15 -15
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +142 -142
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +85 -85
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +63 -63
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +340 -340
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +163 -163
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +11 -11
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +24 -24
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +54 -54
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +57 -57
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +7 -7
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +200 -41
- data/vendor/local/share/gtk-doc/html/pango/pango.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -1
- metadata +7 -6
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +0 -1204
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
9
|
<link rel="prev" href="pango-Glyph-Storage.html" title="Glyph Storage">
|
10
10
|
<link rel="next" href="pango-Text-Attributes.html" title="Text Attributes">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.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">
|
@@ -42,30 +42,6 @@
|
|
42
42
|
</colgroup>
|
43
43
|
<tbody>
|
44
44
|
<tr>
|
45
|
-
<td class="define_keyword">#define</td>
|
46
|
-
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-DESCRIPTION:CAPS" title="PANGO_TYPE_FONT_DESCRIPTION">PANGO_TYPE_FONT_DESCRIPTION</a></td>
|
47
|
-
</tr>
|
48
|
-
<tr>
|
49
|
-
<td class="define_keyword">#define</td>
|
50
|
-
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-STYLE:CAPS" title="PANGO_TYPE_STYLE">PANGO_TYPE_STYLE</a></td>
|
51
|
-
</tr>
|
52
|
-
<tr>
|
53
|
-
<td class="define_keyword">#define</td>
|
54
|
-
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-WEIGHT:CAPS" title="PANGO_TYPE_WEIGHT">PANGO_TYPE_WEIGHT</a></td>
|
55
|
-
</tr>
|
56
|
-
<tr>
|
57
|
-
<td class="define_keyword">#define</td>
|
58
|
-
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-VARIANT:CAPS" title="PANGO_TYPE_VARIANT">PANGO_TYPE_VARIANT</a></td>
|
59
|
-
</tr>
|
60
|
-
<tr>
|
61
|
-
<td class="define_keyword">#define</td>
|
62
|
-
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-STRETCH:CAPS" title="PANGO_TYPE_STRETCH">PANGO_TYPE_STRETCH</a></td>
|
63
|
-
</tr>
|
64
|
-
<tr>
|
65
|
-
<td class="define_keyword">#define</td>
|
66
|
-
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-MASK:CAPS" title="PANGO_TYPE_FONT_MASK">PANGO_TYPE_FONT_MASK</a></td>
|
67
|
-
</tr>
|
68
|
-
<tr>
|
69
45
|
<td class="function_type">
|
70
46
|
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
71
47
|
</td>
|
@@ -91,7 +67,7 @@
|
|
91
67
|
</tr>
|
92
68
|
<tr>
|
93
69
|
<td class="function_type">
|
94
|
-
<a href="
|
70
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
95
71
|
</td>
|
96
72
|
<td class="function_name">
|
97
73
|
<a class="link" href="pango-Fonts.html#pango-font-description-hash" title="pango_font_description_hash ()">pango_font_description_hash</a> <span class="c_punctuation">()</span>
|
@@ -99,7 +75,7 @@
|
|
99
75
|
</tr>
|
100
76
|
<tr>
|
101
77
|
<td class="function_type">
|
102
|
-
<a href="
|
78
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
103
79
|
</td>
|
104
80
|
<td class="function_name">
|
105
81
|
<a class="link" href="pango-Fonts.html#pango-font-description-equal" title="pango_font_description_equal ()">pango_font_description_equal</a> <span class="c_punctuation">()</span>
|
@@ -218,7 +194,7 @@
|
|
218
194
|
</tr>
|
219
195
|
<tr>
|
220
196
|
<td class="function_type">
|
221
|
-
<a href="
|
197
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
222
198
|
</td>
|
223
199
|
<td class="function_name">
|
224
200
|
<a class="link" href="pango-Fonts.html#pango-font-description-get-size" title="pango_font_description_get_size ()">pango_font_description_get_size</a> <span class="c_punctuation">()</span>
|
@@ -234,7 +210,7 @@
|
|
234
210
|
</tr>
|
235
211
|
<tr>
|
236
212
|
<td class="function_type">
|
237
|
-
<a href="
|
213
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
238
214
|
</td>
|
239
215
|
<td class="function_name">
|
240
216
|
<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> <span class="c_punctuation">()</span>
|
@@ -290,7 +266,7 @@
|
|
290
266
|
</tr>
|
291
267
|
<tr>
|
292
268
|
<td class="function_type">
|
293
|
-
<a href="
|
269
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
294
270
|
</td>
|
295
271
|
<td class="function_name">
|
296
272
|
<a class="link" href="pango-Fonts.html#pango-font-description-better-match" title="pango_font_description_better_match ()">pango_font_description_better_match</a> <span class="c_punctuation">()</span>
|
@@ -321,10 +297,6 @@
|
|
321
297
|
</td>
|
322
298
|
</tr>
|
323
299
|
<tr>
|
324
|
-
<td class="define_keyword">#define</td>
|
325
|
-
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-METRICS:CAPS" title="PANGO_TYPE_FONT_METRICS">PANGO_TYPE_FONT_METRICS</a></td>
|
326
|
-
</tr>
|
327
|
-
<tr>
|
328
300
|
<td class="function_type">
|
329
301
|
<a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> *
|
330
302
|
</td>
|
@@ -406,10 +378,6 @@
|
|
406
378
|
</tr>
|
407
379
|
<tr>
|
408
380
|
<td class="define_keyword">#define</td>
|
409
|
-
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT:CAPS" title="PANGO_TYPE_FONT">PANGO_TYPE_FONT</a></td>
|
410
|
-
</tr>
|
411
|
-
<tr>
|
412
|
-
<td class="define_keyword">#define</td>
|
413
381
|
<td class="function_name">
|
414
382
|
<a class="link" href="pango-Fonts.html#PANGO-FONT:CAPS" title="PANGO_FONT()">PANGO_FONT</a><span class="c_punctuation">()</span>
|
415
383
|
</td>
|
@@ -478,10 +446,6 @@
|
|
478
446
|
</tr>
|
479
447
|
<tr>
|
480
448
|
<td class="define_keyword">#define</td>
|
481
|
-
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-FAMILY:CAPS" title="PANGO_TYPE_FONT_FAMILY">PANGO_TYPE_FONT_FAMILY</a></td>
|
482
|
-
</tr>
|
483
|
-
<tr>
|
484
|
-
<td class="define_keyword">#define</td>
|
485
449
|
<td class="function_name">
|
486
450
|
<a class="link" href="pango-Fonts.html#PANGO-FONT-FAMILY:CAPS" title="PANGO_FONT_FAMILY()">PANGO_FONT_FAMILY</a><span class="c_punctuation">()</span>
|
487
451
|
</td>
|
@@ -501,7 +465,7 @@
|
|
501
465
|
</tr>
|
502
466
|
<tr>
|
503
467
|
<td class="function_type">
|
504
|
-
<a href="
|
468
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
505
469
|
</td>
|
506
470
|
<td class="function_name">
|
507
471
|
<a class="link" href="pango-Fonts.html#pango-font-family-is-monospace" title="pango_font_family_is_monospace ()">pango_font_family_is_monospace</a> <span class="c_punctuation">()</span>
|
@@ -517,10 +481,6 @@
|
|
517
481
|
</tr>
|
518
482
|
<tr>
|
519
483
|
<td class="define_keyword">#define</td>
|
520
|
-
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-FACE:CAPS" title="PANGO_TYPE_FONT_FACE">PANGO_TYPE_FONT_FACE</a></td>
|
521
|
-
</tr>
|
522
|
-
<tr>
|
523
|
-
<td class="define_keyword">#define</td>
|
524
484
|
<td class="function_name">
|
525
485
|
<a class="link" href="pango-Fonts.html#PANGO-FONT-FACE:CAPS" title="PANGO_FONT_FACE()">PANGO_FONT_FACE</a><span class="c_punctuation">()</span>
|
526
486
|
</td>
|
@@ -556,7 +516,7 @@
|
|
556
516
|
</tr>
|
557
517
|
<tr>
|
558
518
|
<td class="function_type">
|
559
|
-
<a href="
|
519
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
560
520
|
</td>
|
561
521
|
<td class="function_name">
|
562
522
|
<a class="link" href="pango-Fonts.html#pango-font-face-is-synthesized" title="pango_font_face_is_synthesized ()">pango_font_face_is_synthesized</a> <span class="c_punctuation">()</span>
|
@@ -564,10 +524,6 @@
|
|
564
524
|
</tr>
|
565
525
|
<tr>
|
566
526
|
<td class="define_keyword">#define</td>
|
567
|
-
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-MAP:CAPS" title="PANGO_TYPE_FONT_MAP">PANGO_TYPE_FONT_MAP</a></td>
|
568
|
-
</tr>
|
569
|
-
<tr>
|
570
|
-
<td class="define_keyword">#define</td>
|
571
527
|
<td class="function_name">
|
572
528
|
<a class="link" href="pango-Fonts.html#PANGO-FONT-MAP:CAPS" title="PANGO_FONT_MAP()">PANGO_FONT_MAP</a><span class="c_punctuation">()</span>
|
573
529
|
</td>
|
@@ -637,7 +593,7 @@
|
|
637
593
|
</tr>
|
638
594
|
<tr>
|
639
595
|
<td class="function_type">
|
640
|
-
<a href="
|
596
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
641
597
|
</td>
|
642
598
|
<td class="function_name">
|
643
599
|
<a class="link" href="pango-Fonts.html#pango-font-map-get-serial" title="pango_font_map_get_serial ()">pango_font_map_get_serial</a> <span class="c_punctuation">()</span>
|
@@ -652,10 +608,6 @@
|
|
652
608
|
</td>
|
653
609
|
</tr>
|
654
610
|
<tr>
|
655
|
-
<td class="define_keyword">#define</td>
|
656
|
-
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONTSET:CAPS" title="PANGO_TYPE_FONTSET">PANGO_TYPE_FONTSET</a></td>
|
657
|
-
</tr>
|
658
|
-
<tr>
|
659
611
|
<td class="function_type">
|
660
612
|
<a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> *
|
661
613
|
</td>
|
@@ -673,7 +625,7 @@
|
|
673
625
|
</tr>
|
674
626
|
<tr>
|
675
627
|
<td class="function_type">
|
676
|
-
<a href="
|
628
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
677
629
|
</td>
|
678
630
|
<td class="function_name">
|
679
631
|
<span class="c_punctuation">(</span><a class="link" href="pango-Fonts.html#PangoFontsetForeachFunc" title="PangoFontsetForeachFunc ()">*PangoFontsetForeachFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
@@ -688,10 +640,6 @@
|
|
688
640
|
</td>
|
689
641
|
</tr>
|
690
642
|
<tr>
|
691
|
-
<td class="define_keyword">#define</td>
|
692
|
-
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONTSET-SIMPLE:CAPS" title="PANGO_TYPE_FONTSET_SIMPLE">PANGO_TYPE_FONTSET_SIMPLE</a></td>
|
693
|
-
</tr>
|
694
|
-
<tr>
|
695
643
|
<td class="function_type">
|
696
644
|
<a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="returnvalue">PangoFontsetSimple</span></a> *
|
697
645
|
</td>
|
@@ -731,46 +679,90 @@
|
|
731
679
|
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontDescription-struct" title="PangoFontDescription">PangoFontDescription</a></td>
|
732
680
|
</tr>
|
733
681
|
<tr>
|
682
|
+
<td class="define_keyword">#define</td>
|
683
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-DESCRIPTION:CAPS" title="PANGO_TYPE_FONT_DESCRIPTION">PANGO_TYPE_FONT_DESCRIPTION</a></td>
|
684
|
+
</tr>
|
685
|
+
<tr>
|
734
686
|
<td class="datatype_keyword">enum</td>
|
735
687
|
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle">PangoStyle</a></td>
|
736
688
|
</tr>
|
737
689
|
<tr>
|
690
|
+
<td class="define_keyword">#define</td>
|
691
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-STYLE:CAPS" title="PANGO_TYPE_STYLE">PANGO_TYPE_STYLE</a></td>
|
692
|
+
</tr>
|
693
|
+
<tr>
|
738
694
|
<td class="datatype_keyword">enum</td>
|
739
695
|
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight">PangoWeight</a></td>
|
740
696
|
</tr>
|
741
697
|
<tr>
|
698
|
+
<td class="define_keyword">#define</td>
|
699
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-WEIGHT:CAPS" title="PANGO_TYPE_WEIGHT">PANGO_TYPE_WEIGHT</a></td>
|
700
|
+
</tr>
|
701
|
+
<tr>
|
742
702
|
<td class="datatype_keyword">enum</td>
|
743
703
|
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant">PangoVariant</a></td>
|
744
704
|
</tr>
|
745
705
|
<tr>
|
706
|
+
<td class="define_keyword">#define</td>
|
707
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-VARIANT:CAPS" title="PANGO_TYPE_VARIANT">PANGO_TYPE_VARIANT</a></td>
|
708
|
+
</tr>
|
709
|
+
<tr>
|
746
710
|
<td class="datatype_keyword">enum</td>
|
747
711
|
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch">PangoStretch</a></td>
|
748
712
|
</tr>
|
749
713
|
<tr>
|
714
|
+
<td class="define_keyword">#define</td>
|
715
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-STRETCH:CAPS" title="PANGO_TYPE_STRETCH">PANGO_TYPE_STRETCH</a></td>
|
716
|
+
</tr>
|
717
|
+
<tr>
|
750
718
|
<td class="datatype_keyword">enum</td>
|
751
719
|
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontMask" title="enum PangoFontMask">PangoFontMask</a></td>
|
752
720
|
</tr>
|
753
721
|
<tr>
|
722
|
+
<td class="define_keyword">#define</td>
|
723
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-MASK:CAPS" title="PANGO_TYPE_FONT_MASK">PANGO_TYPE_FONT_MASK</a></td>
|
724
|
+
</tr>
|
725
|
+
<tr>
|
754
726
|
<td class="datatype_keyword">struct</td>
|
755
727
|
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontMetrics-struct" title="struct PangoFontMetrics">PangoFontMetrics</a></td>
|
756
728
|
</tr>
|
757
729
|
<tr>
|
730
|
+
<td class="define_keyword">#define</td>
|
731
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-METRICS:CAPS" title="PANGO_TYPE_FONT_METRICS">PANGO_TYPE_FONT_METRICS</a></td>
|
732
|
+
</tr>
|
733
|
+
<tr>
|
758
734
|
<td class="datatype_keyword"> </td>
|
759
735
|
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFont-struct" title="PangoFont">PangoFont</a></td>
|
760
736
|
</tr>
|
761
737
|
<tr>
|
738
|
+
<td class="define_keyword">#define</td>
|
739
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT:CAPS" title="PANGO_TYPE_FONT">PANGO_TYPE_FONT</a></td>
|
740
|
+
</tr>
|
741
|
+
<tr>
|
762
742
|
<td class="datatype_keyword">struct</td>
|
763
743
|
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontFamily-struct" title="struct PangoFontFamily">PangoFontFamily</a></td>
|
764
744
|
</tr>
|
765
745
|
<tr>
|
746
|
+
<td class="define_keyword">#define</td>
|
747
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-FAMILY:CAPS" title="PANGO_TYPE_FONT_FAMILY">PANGO_TYPE_FONT_FAMILY</a></td>
|
748
|
+
</tr>
|
749
|
+
<tr>
|
766
750
|
<td class="datatype_keyword">struct</td>
|
767
751
|
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontFace-struct" title="struct PangoFontFace">PangoFontFace</a></td>
|
768
752
|
</tr>
|
769
753
|
<tr>
|
754
|
+
<td class="define_keyword">#define</td>
|
755
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-FACE:CAPS" title="PANGO_TYPE_FONT_FACE">PANGO_TYPE_FONT_FACE</a></td>
|
756
|
+
</tr>
|
757
|
+
<tr>
|
770
758
|
<td class="datatype_keyword"> </td>
|
771
759
|
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontMap-struct" title="PangoFontMap">PangoFontMap</a></td>
|
772
760
|
</tr>
|
773
761
|
<tr>
|
762
|
+
<td class="define_keyword">#define</td>
|
763
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONT-MAP:CAPS" title="PANGO_TYPE_FONT_MAP">PANGO_TYPE_FONT_MAP</a></td>
|
764
|
+
</tr>
|
765
|
+
<tr>
|
774
766
|
<td class="datatype_keyword">struct</td>
|
775
767
|
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass">PangoFontMapClass</a></td>
|
776
768
|
</tr>
|
@@ -779,6 +771,10 @@
|
|
779
771
|
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontset-struct" title="struct PangoFontset">PangoFontset</a></td>
|
780
772
|
</tr>
|
781
773
|
<tr>
|
774
|
+
<td class="define_keyword">#define</td>
|
775
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONTSET:CAPS" title="PANGO_TYPE_FONTSET">PANGO_TYPE_FONTSET</a></td>
|
776
|
+
</tr>
|
777
|
+
<tr>
|
782
778
|
<td class="datatype_keyword">struct</td>
|
783
779
|
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontsetClass" title="struct PangoFontsetClass">PangoFontsetClass</a></td>
|
784
780
|
</tr>
|
@@ -786,22 +782,26 @@
|
|
786
782
|
<td class="datatype_keyword"> </td>
|
787
783
|
<td class="function_name"><a class="link" href="pango-Fonts.html#PangoFontsetSimple-struct" title="PangoFontsetSimple">PangoFontsetSimple</a></td>
|
788
784
|
</tr>
|
785
|
+
<tr>
|
786
|
+
<td class="define_keyword">#define</td>
|
787
|
+
<td class="function_name"><a class="link" href="pango-Fonts.html#PANGO-TYPE-FONTSET-SIMPLE:CAPS" title="PANGO_TYPE_FONTSET_SIMPLE">PANGO_TYPE_FONTSET_SIMPLE</a></td>
|
788
|
+
</tr>
|
789
789
|
</tbody>
|
790
790
|
</table></div>
|
791
791
|
</div>
|
792
792
|
<div class="refsect1">
|
793
793
|
<a name="pango-Fonts.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
794
|
-
<pre class="screen"> <a href="
|
794
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Boxed-Types.html">GBoxed</a>
|
795
795
|
<span class="lineart">├──</span> PangoFontDescription
|
796
796
|
<span class="lineart">╰──</span> PangoFontMetrics
|
797
|
-
<a href="
|
797
|
+
<a href="https://developer.gnome.org/gobject/unstable/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
|
798
798
|
<span class="lineart">├──</span> PangoStretch
|
799
799
|
<span class="lineart">├──</span> PangoStyle
|
800
800
|
<span class="lineart">├──</span> PangoVariant
|
801
801
|
<span class="lineart">╰──</span> PangoWeight
|
802
|
-
<a href="
|
802
|
+
<a href="https://developer.gnome.org/gobject/unstable/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
|
803
803
|
<span class="lineart">╰──</span> PangoFontMask
|
804
|
-
<a href="
|
804
|
+
<a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
805
805
|
<span class="lineart">├──</span> PangoFont
|
806
806
|
<span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a>
|
807
807
|
<span class="lineart">├──</span> PangoFontFace
|
@@ -833,49 +833,12 @@ to load a font of a given description.</p>
|
|
833
833
|
<div class="refsect1">
|
834
834
|
<a name="pango-Fonts.functions_details"></a><h2>Functions</h2>
|
835
835
|
<div class="refsect2">
|
836
|
-
<a name="PANGO-TYPE-FONT-DESCRIPTION:CAPS"></a><h3>PANGO_TYPE_FONT_DESCRIPTION</h3>
|
837
|
-
<pre class="programlisting">#define PANGO_TYPE_FONT_DESCRIPTION (pango_font_description_get_type ())
|
838
|
-
</pre>
|
839
|
-
<p>The <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</p>
|
840
|
-
</div>
|
841
|
-
<hr>
|
842
|
-
<div class="refsect2">
|
843
|
-
<a name="PANGO-TYPE-STYLE:CAPS"></a><h3>PANGO_TYPE_STYLE</h3>
|
844
|
-
<pre class="programlisting">#define PANGO_TYPE_STYLE (pango_style_get_type ())
|
845
|
-
</pre>
|
846
|
-
</div>
|
847
|
-
<hr>
|
848
|
-
<div class="refsect2">
|
849
|
-
<a name="PANGO-TYPE-WEIGHT:CAPS"></a><h3>PANGO_TYPE_WEIGHT</h3>
|
850
|
-
<pre class="programlisting">#define PANGO_TYPE_WEIGHT (pango_weight_get_type ())
|
851
|
-
</pre>
|
852
|
-
</div>
|
853
|
-
<hr>
|
854
|
-
<div class="refsect2">
|
855
|
-
<a name="PANGO-TYPE-VARIANT:CAPS"></a><h3>PANGO_TYPE_VARIANT</h3>
|
856
|
-
<pre class="programlisting">#define PANGO_TYPE_VARIANT (pango_variant_get_type ())
|
857
|
-
</pre>
|
858
|
-
</div>
|
859
|
-
<hr>
|
860
|
-
<div class="refsect2">
|
861
|
-
<a name="PANGO-TYPE-STRETCH:CAPS"></a><h3>PANGO_TYPE_STRETCH</h3>
|
862
|
-
<pre class="programlisting">#define PANGO_TYPE_STRETCH (pango_stretch_get_type ())
|
863
|
-
</pre>
|
864
|
-
</div>
|
865
|
-
<hr>
|
866
|
-
<div class="refsect2">
|
867
|
-
<a name="PANGO-TYPE-FONT-MASK:CAPS"></a><h3>PANGO_TYPE_FONT_MASK</h3>
|
868
|
-
<pre class="programlisting">#define PANGO_TYPE_FONT_MASK (pango_font_mask_get_type ())
|
869
|
-
</pre>
|
870
|
-
</div>
|
871
|
-
<hr>
|
872
|
-
<div class="refsect2">
|
873
836
|
<a name="pango-font-description-new"></a><h3>pango_font_description_new ()</h3>
|
874
837
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
875
838
|
pango_font_description_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
876
839
|
<p>Creates a new font description structure with all fields unset.</p>
|
877
840
|
<div class="refsect3">
|
878
|
-
<a name="
|
841
|
+
<a name="pango-font-description-new.returns"></a><h4>Returns</h4>
|
879
842
|
<p> the newly allocated <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, which
|
880
843
|
should be freed using <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>.</p>
|
881
844
|
</div>
|
@@ -887,7 +850,7 @@ should be freed using <a class="link" href="pango-Fonts.html#pango-font-descript
|
|
887
850
|
pango_font_description_copy (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
888
851
|
<p>Make a copy of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</p>
|
889
852
|
<div class="refsect3">
|
890
|
-
<a name="
|
853
|
+
<a name="pango-font-description-copy.parameters"></a><h4>Parameters</h4>
|
891
854
|
<div class="informaltable"><table width="100%" border="0">
|
892
855
|
<colgroup>
|
893
856
|
<col width="150px" class="parameters_name">
|
@@ -896,18 +859,18 @@ pango_font_description_copy (<em class="parameter"><code>const <a class="link" h
|
|
896
859
|
</colgroup>
|
897
860
|
<tbody><tr>
|
898
861
|
<td class="parameter_name"><p>desc</p></td>
|
899
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="
|
862
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
900
863
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
901
864
|
</tr></tbody>
|
902
865
|
</table></div>
|
903
866
|
</div>
|
904
867
|
<div class="refsect3">
|
905
|
-
<a name="
|
868
|
+
<a name="pango-font-description-copy.returns"></a><h4>Returns</h4>
|
906
869
|
<p> the newly allocated
|
907
870
|
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, which should be freed with
|
908
|
-
<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="
|
871
|
+
<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="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>desc</code></em>
|
909
872
|
was
|
910
|
-
<a href="
|
873
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
911
874
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
912
875
|
</div>
|
913
876
|
</div>
|
@@ -922,7 +885,7 @@ be used until <em class="parameter"><code>desc</code></em>
|
|
922
885
|
is modified or freed. This is meant to be used
|
923
886
|
when the copy is only needed temporarily.</p>
|
924
887
|
<div class="refsect3">
|
925
|
-
<a name="
|
888
|
+
<a name="pango-font-description-copy-static.parameters"></a><h4>Parameters</h4>
|
926
889
|
<div class="informaltable"><table width="100%" border="0">
|
927
890
|
<colgroup>
|
928
891
|
<col width="150px" class="parameters_name">
|
@@ -931,32 +894,32 @@ when the copy is only needed temporarily.</p>
|
|
931
894
|
</colgroup>
|
932
895
|
<tbody><tr>
|
933
896
|
<td class="parameter_name"><p>desc</p></td>
|
934
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="
|
897
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
935
898
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
936
899
|
</tr></tbody>
|
937
900
|
</table></div>
|
938
901
|
</div>
|
939
902
|
<div class="refsect3">
|
940
|
-
<a name="
|
903
|
+
<a name="pango-font-description-copy-static.returns"></a><h4>Returns</h4>
|
941
904
|
<p> the newly allocated
|
942
905
|
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, which should be freed with
|
943
|
-
<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="
|
906
|
+
<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="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>desc</code></em>
|
944
907
|
was
|
945
|
-
<a href="
|
908
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
946
909
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
947
910
|
</div>
|
948
911
|
</div>
|
949
912
|
<hr>
|
950
913
|
<div class="refsect2">
|
951
914
|
<a name="pango-font-description-hash"></a><h3>pango_font_description_hash ()</h3>
|
952
|
-
<pre class="programlisting"><a href="
|
915
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
953
916
|
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>
|
954
917
|
<p>Computes a hash of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure suitable
|
955
|
-
to be used, for example, as an argument to <a href="
|
918
|
+
to be used, for example, as an argument to <a href="https://developer.gnome.org/glib/unstable/glib-Hash-Tables.html#g-hash-table-new"><code class="function">g_hash_table_new()</code></a>.
|
956
919
|
The hash value is independent of <em class="parameter"><code>desc->mask</code></em>
|
957
920
|
.</p>
|
958
921
|
<div class="refsect3">
|
959
|
-
<a name="
|
922
|
+
<a name="pango-font-description-hash.parameters"></a><h4>Parameters</h4>
|
960
923
|
<div class="informaltable"><table width="100%" border="0">
|
961
924
|
<colgroup>
|
962
925
|
<col width="150px" class="parameters_name">
|
@@ -971,23 +934,23 @@ The hash value is independent of <em class="parameter"><code>desc->mask</code
|
|
971
934
|
</table></div>
|
972
935
|
</div>
|
973
936
|
<div class="refsect3">
|
974
|
-
<a name="
|
937
|
+
<a name="pango-font-description-hash.returns"></a><h4>Returns</h4>
|
975
938
|
<p> the hash value.</p>
|
976
939
|
</div>
|
977
940
|
</div>
|
978
941
|
<hr>
|
979
942
|
<div class="refsect2">
|
980
943
|
<a name="pango-font-description-equal"></a><h3>pango_font_description_equal ()</h3>
|
981
|
-
<pre class="programlisting"><a href="
|
944
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
982
945
|
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>,
|
983
946
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc2</code></em>);</pre>
|
984
947
|
<p>Compares two font descriptions for equality. Two font descriptions
|
985
948
|
are considered equal if the fonts they describe are provably identical.
|
986
949
|
This means that their masks do not have to match, as long as other fields
|
987
950
|
are all the same. (Two font descriptions may result in identical fonts
|
988
|
-
being loaded, but still compare <a href="
|
951
|
+
being loaded, but still compare <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.)</p>
|
989
952
|
<div class="refsect3">
|
990
|
-
<a name="
|
953
|
+
<a name="pango-font-description-equal.parameters"></a><h4>Parameters</h4>
|
991
954
|
<div class="informaltable"><table width="100%" border="0">
|
992
955
|
<colgroup>
|
993
956
|
<col width="150px" class="parameters_name">
|
@@ -1009,9 +972,9 @@ being loaded, but still compare <a href="/home/vagrant/ruby-gnome2.win32/glib2/v
|
|
1009
972
|
</table></div>
|
1010
973
|
</div>
|
1011
974
|
<div class="refsect3">
|
1012
|
-
<a name="
|
1013
|
-
<p> <a href="
|
1014
|
-
<a href="
|
975
|
+
<a name="pango-font-description-equal.returns"></a><h4>Returns</h4>
|
976
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the two font descriptions are identical,
|
977
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
1015
978
|
</div>
|
1016
979
|
</div>
|
1017
980
|
<hr>
|
@@ -1021,7 +984,7 @@ being loaded, but still compare <a href="/home/vagrant/ruby-gnome2.win32/glib2/v
|
|
1021
984
|
pango_font_description_free (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1022
985
|
<p>Frees a font description.</p>
|
1023
986
|
<div class="refsect3">
|
1024
|
-
<a name="
|
987
|
+
<a name="pango-font-description-free.parameters"></a><h4>Parameters</h4>
|
1025
988
|
<div class="informaltable"><table width="100%" border="0">
|
1026
989
|
<colgroup>
|
1027
990
|
<col width="150px" class="parameters_name">
|
@@ -1030,7 +993,7 @@ pango_font_description_free (<em class="parameter"><code><a class="link" href="p
|
|
1030
993
|
</colgroup>
|
1031
994
|
<tbody><tr>
|
1032
995
|
<td class="parameter_name"><p>desc</p></td>
|
1033
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="
|
996
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1034
997
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
1035
998
|
</tr></tbody>
|
1036
999
|
</table></div>
|
@@ -1044,7 +1007,7 @@ pango_font_descriptions_free (<em class="parameter"><code><a class="link" href="
|
|
1044
1007
|
<em class="parameter"><code><span class="type">int</span> n_descs</code></em>);</pre>
|
1045
1008
|
<p>Frees an array of font descriptions.</p>
|
1046
1009
|
<div class="refsect3">
|
1047
|
-
<a name="
|
1010
|
+
<a name="pango-font-descriptions-free.parameters"></a><h4>Parameters</h4>
|
1048
1011
|
<div class="informaltable"><table width="100%" border="0">
|
1049
1012
|
<colgroup>
|
1050
1013
|
<col width="150px" class="parameters_name">
|
@@ -1055,7 +1018,7 @@ pango_font_descriptions_free (<em class="parameter"><code><a class="link" href="
|
|
1055
1018
|
<tr>
|
1056
1019
|
<td class="parameter_name"><p>descs</p></td>
|
1057
1020
|
<td class="parameter_description"><p> a pointer
|
1058
|
-
to an array of <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="
|
1021
|
+
to an array of <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1059
1022
|
<td class="parameter_annotations"><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></td>
|
1060
1023
|
</tr>
|
1061
1024
|
<tr>
|
@@ -1080,7 +1043,7 @@ resolve to a particular <a class="link" href="pango-Fonts.html#PangoFontFamily">
|
|
1080
1043
|
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, it is also possible to use a comma
|
1081
1044
|
separated list of family names for this field.</p>
|
1082
1045
|
<div class="refsect3">
|
1083
|
-
<a name="
|
1046
|
+
<a name="pango-font-description-set-family.parameters"></a><h4>Parameters</h4>
|
1084
1047
|
<div class="informaltable"><table width="100%" border="0">
|
1085
1048
|
<colgroup>
|
1086
1049
|
<col width="150px" class="parameters_name">
|
@@ -1120,7 +1083,7 @@ or the name is set again. This function can be used if
|
|
1120
1083
|
if <em class="parameter"><code>desc</code></em>
|
1121
1084
|
is only needed temporarily.</p>
|
1122
1085
|
<div class="refsect3">
|
1123
|
-
<a name="
|
1086
|
+
<a name="pango-font-description-set-family-static.parameters"></a><h4>Parameters</h4>
|
1124
1087
|
<div class="informaltable"><table width="100%" border="0">
|
1125
1088
|
<colgroup>
|
1126
1089
|
<col width="150px" class="parameters_name">
|
@@ -1150,7 +1113,7 @@ pango_font_description_get_family (<em class="parameter"><code>const <a class="l
|
|
1150
1113
|
<p>Gets the family name field of a font description. See
|
1151
1114
|
<a class="link" href="pango-Fonts.html#pango-font-description-set-family" title="pango_font_description_set_family ()"><code class="function">pango_font_description_set_family()</code></a>.</p>
|
1152
1115
|
<div class="refsect3">
|
1153
|
-
<a name="
|
1116
|
+
<a name="pango-font-description-get-family.parameters"></a><h4>Parameters</h4>
|
1154
1117
|
<div class="informaltable"><table width="100%" border="0">
|
1155
1118
|
<colgroup>
|
1156
1119
|
<col width="150px" class="parameters_name">
|
@@ -1165,9 +1128,9 @@ pango_font_description_get_family (<em class="parameter"><code>const <a class="l
|
|
1165
1128
|
</table></div>
|
1166
1129
|
</div>
|
1167
1130
|
<div class="refsect3">
|
1168
|
-
<a name="
|
1131
|
+
<a name="pango-font-description-get-family.returns"></a><h4>Returns</h4>
|
1169
1132
|
<p> the family name field for the font
|
1170
|
-
description, or <a href="
|
1133
|
+
description, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not previously set. This
|
1171
1134
|
has the same life-time as the font description itself
|
1172
1135
|
and should not be freed. </p>
|
1173
1136
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
@@ -1188,7 +1151,7 @@ style, but not both, and font matching in Pango will
|
|
1188
1151
|
match italic specifications with oblique fonts and vice-versa
|
1189
1152
|
if an exact match is not found.</p>
|
1190
1153
|
<div class="refsect3">
|
1191
|
-
<a name="
|
1154
|
+
<a name="pango-font-description-set-style.parameters"></a><h4>Parameters</h4>
|
1192
1155
|
<div class="informaltable"><table width="100%" border="0">
|
1193
1156
|
<colgroup>
|
1194
1157
|
<col width="150px" class="parameters_name">
|
@@ -1218,7 +1181,7 @@ pango_font_description_get_style (<em class="parameter"><code>const <a class="li
|
|
1218
1181
|
<p>Gets the style field of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. See
|
1219
1182
|
<a class="link" href="pango-Fonts.html#pango-font-description-set-style" title="pango_font_description_set_style ()"><code class="function">pango_font_description_set_style()</code></a>.</p>
|
1220
1183
|
<div class="refsect3">
|
1221
|
-
<a name="
|
1184
|
+
<a name="pango-font-description-get-style.parameters"></a><h4>Parameters</h4>
|
1222
1185
|
<div class="informaltable"><table width="100%" border="0">
|
1223
1186
|
<colgroup>
|
1224
1187
|
<col width="150px" class="parameters_name">
|
@@ -1233,7 +1196,7 @@ pango_font_description_get_style (<em class="parameter"><code>const <a class="li
|
|
1233
1196
|
</table></div>
|
1234
1197
|
</div>
|
1235
1198
|
<div class="refsect3">
|
1236
|
-
<a name="
|
1199
|
+
<a name="pango-font-description-get-style.returns"></a><h4>Returns</h4>
|
1237
1200
|
<p> the style field for the font description.
|
1238
1201
|
Use <a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to find out if
|
1239
1202
|
the field was explicitly set or not.</p>
|
@@ -1248,7 +1211,7 @@ pango_font_description_set_variant (<em class="parameter"><code><a class="link"
|
|
1248
1211
|
<p>Sets the variant field of a font description. The <a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="type">PangoVariant</span></a>
|
1249
1212
|
can either be <a class="link" href="pango-Fonts.html#PANGO-VARIANT-NORMAL:CAPS"><code class="literal">PANGO_VARIANT_NORMAL</code></a> or <a class="link" href="pango-Fonts.html#PANGO-VARIANT-SMALL-CAPS"><code class="literal">PANGO_VARIANT_SMALL_CAPS</code></a>.</p>
|
1250
1213
|
<div class="refsect3">
|
1251
|
-
<a name="
|
1214
|
+
<a name="pango-font-description-set-variant.parameters"></a><h4>Parameters</h4>
|
1252
1215
|
<div class="informaltable"><table width="100%" border="0">
|
1253
1216
|
<colgroup>
|
1254
1217
|
<col width="150px" class="parameters_name">
|
@@ -1278,7 +1241,7 @@ pango_font_description_get_variant (<em class="parameter"><code>const <a class="
|
|
1278
1241
|
<p>Gets the variant field of a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. See
|
1279
1242
|
<a class="link" href="pango-Fonts.html#pango-font-description-set-variant" title="pango_font_description_set_variant ()"><code class="function">pango_font_description_set_variant()</code></a>.</p>
|
1280
1243
|
<div class="refsect3">
|
1281
|
-
<a name="
|
1244
|
+
<a name="pango-font-description-get-variant.parameters"></a><h4>Parameters</h4>
|
1282
1245
|
<div class="informaltable"><table width="100%" border="0">
|
1283
1246
|
<colgroup>
|
1284
1247
|
<col width="150px" class="parameters_name">
|
@@ -1293,7 +1256,7 @@ pango_font_description_get_variant (<em class="parameter"><code>const <a class="
|
|
1293
1256
|
</table></div>
|
1294
1257
|
</div>
|
1295
1258
|
<div class="refsect3">
|
1296
|
-
<a name="
|
1259
|
+
<a name="pango-font-description-get-variant.returns"></a><h4>Returns</h4>
|
1297
1260
|
<p> the variant field for the font description. Use
|
1298
1261
|
<a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to find out if
|
1299
1262
|
the field was explicitly set or not.</p>
|
@@ -1310,7 +1273,7 @@ specifies how bold or light the font should be. In addition
|
|
1310
1273
|
to the values of the <a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="type">PangoWeight</span></a> enumeration, other intermediate
|
1311
1274
|
numeric values are possible.</p>
|
1312
1275
|
<div class="refsect3">
|
1313
|
-
<a name="
|
1276
|
+
<a name="pango-font-description-set-weight.parameters"></a><h4>Parameters</h4>
|
1314
1277
|
<div class="informaltable"><table width="100%" border="0">
|
1315
1278
|
<colgroup>
|
1316
1279
|
<col width="150px" class="parameters_name">
|
@@ -1340,7 +1303,7 @@ pango_font_description_get_weight (<em class="parameter"><code>const <a class="l
|
|
1340
1303
|
<p>Gets the weight field of a font description. See
|
1341
1304
|
<a class="link" href="pango-Fonts.html#pango-font-description-set-weight" title="pango_font_description_set_weight ()"><code class="function">pango_font_description_set_weight()</code></a>.</p>
|
1342
1305
|
<div class="refsect3">
|
1343
|
-
<a name="
|
1306
|
+
<a name="pango-font-description-get-weight.parameters"></a><h4>Parameters</h4>
|
1344
1307
|
<div class="informaltable"><table width="100%" border="0">
|
1345
1308
|
<colgroup>
|
1346
1309
|
<col width="150px" class="parameters_name">
|
@@ -1355,7 +1318,7 @@ pango_font_description_get_weight (<em class="parameter"><code>const <a class="l
|
|
1355
1318
|
</table></div>
|
1356
1319
|
</div>
|
1357
1320
|
<div class="refsect3">
|
1358
|
-
<a name="
|
1321
|
+
<a name="pango-font-description-get-weight.returns"></a><h4>Returns</h4>
|
1359
1322
|
<p> the weight field for the font description. Use
|
1360
1323
|
<a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to find out if
|
1361
1324
|
the field was explicitly set or not.</p>
|
@@ -1370,7 +1333,7 @@ pango_font_description_set_stretch (<em class="parameter"><code><a class="link"
|
|
1370
1333
|
<p>Sets the stretch field of a font description. The stretch field
|
1371
1334
|
specifies how narrow or wide the font should be.</p>
|
1372
1335
|
<div class="refsect3">
|
1373
|
-
<a name="
|
1336
|
+
<a name="pango-font-description-set-stretch.parameters"></a><h4>Parameters</h4>
|
1374
1337
|
<div class="informaltable"><table width="100%" border="0">
|
1375
1338
|
<colgroup>
|
1376
1339
|
<col width="150px" class="parameters_name">
|
@@ -1400,7 +1363,7 @@ pango_font_description_get_stretch (<em class="parameter"><code>const <a class="
|
|
1400
1363
|
<p>Gets the stretch field of a font description.
|
1401
1364
|
See <a class="link" href="pango-Fonts.html#pango-font-description-set-stretch" title="pango_font_description_set_stretch ()"><code class="function">pango_font_description_set_stretch()</code></a>.</p>
|
1402
1365
|
<div class="refsect3">
|
1403
|
-
<a name="
|
1366
|
+
<a name="pango-font-description-get-stretch.parameters"></a><h4>Parameters</h4>
|
1404
1367
|
<div class="informaltable"><table width="100%" border="0">
|
1405
1368
|
<colgroup>
|
1406
1369
|
<col width="150px" class="parameters_name">
|
@@ -1415,7 +1378,7 @@ See <a class="link" href="pango-Fonts.html#pango-font-description-set-stretch" t
|
|
1415
1378
|
</table></div>
|
1416
1379
|
</div>
|
1417
1380
|
<div class="refsect3">
|
1418
|
-
<a name="
|
1381
|
+
<a name="pango-font-description-get-stretch.returns"></a><h4>Returns</h4>
|
1419
1382
|
<p> the stretch field for the font description. Use
|
1420
1383
|
<a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to find out if
|
1421
1384
|
the field was explicitly set or not.</p>
|
@@ -1426,11 +1389,11 @@ the field was explicitly set or not.</p>
|
|
1426
1389
|
<a name="pango-font-description-set-size"></a><h3>pango_font_description_set_size ()</h3>
|
1427
1390
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1428
1391
|
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>,
|
1429
|
-
<em class="parameter"><code><a href="
|
1392
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>);</pre>
|
1430
1393
|
<p>Sets the size field of a font description in fractional points. This is mutually
|
1431
1394
|
exclusive with <a class="link" href="pango-Fonts.html#pango-font-description-set-absolute-size" title="pango_font_description_set_absolute_size ()"><code class="function">pango_font_description_set_absolute_size()</code></a>.</p>
|
1432
1395
|
<div class="refsect3">
|
1433
|
-
<a name="
|
1396
|
+
<a name="pango-font-description-set-size.parameters"></a><h4>Parameters</h4>
|
1434
1397
|
<div class="informaltable"><table width="100%" border="0">
|
1435
1398
|
<colgroup>
|
1436
1399
|
<col width="150px" class="parameters_name">
|
@@ -1462,12 +1425,12 @@ a particular size in device units.</p></td>
|
|
1462
1425
|
<hr>
|
1463
1426
|
<div class="refsect2">
|
1464
1427
|
<a name="pango-font-description-get-size"></a><h3>pango_font_description_get_size ()</h3>
|
1465
|
-
<pre class="programlisting"><a href="
|
1428
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
1466
1429
|
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>
|
1467
1430
|
<p>Gets the size field of a font description.
|
1468
1431
|
See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()"><code class="function">pango_font_description_set_size()</code></a>.</p>
|
1469
1432
|
<div class="refsect3">
|
1470
|
-
<a name="
|
1433
|
+
<a name="pango-font-description-get-size.parameters"></a><h4>Parameters</h4>
|
1471
1434
|
<div class="informaltable"><table width="100%" border="0">
|
1472
1435
|
<colgroup>
|
1473
1436
|
<col width="150px" class="parameters_name">
|
@@ -1482,7 +1445,7 @@ See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" titl
|
|
1482
1445
|
</table></div>
|
1483
1446
|
</div>
|
1484
1447
|
<div class="refsect3">
|
1485
|
-
<a name="
|
1448
|
+
<a name="pango-font-description-get-size.returns"></a><h4>Returns</h4>
|
1486
1449
|
<p> the size field for the font description in points or device units.
|
1487
1450
|
You must call <a class="link" href="pango-Fonts.html#pango-font-description-get-size-is-absolute" title="pango_font_description_get_size_is_absolute ()"><code class="function">pango_font_description_get_size_is_absolute()</code></a>
|
1488
1451
|
to find out which is the case. Returns 0 if the size field has not
|
@@ -1502,7 +1465,7 @@ pango_font_description_set_absolute_size
|
|
1502
1465
|
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
|
1503
1466
|
in points.</p>
|
1504
1467
|
<div class="refsect3">
|
1505
|
-
<a name="
|
1468
|
+
<a name="pango-font-description-set-absolute-size.parameters"></a><h4>Parameters</h4>
|
1506
1469
|
<div class="informaltable"><table width="100%" border="0">
|
1507
1470
|
<colgroup>
|
1508
1471
|
<col width="150px" class="parameters_name">
|
@@ -1530,13 +1493,13 @@ value of 10 * PANGO_SCALE gives a 10 pixel font.</p></td>
|
|
1530
1493
|
<hr>
|
1531
1494
|
<div class="refsect2">
|
1532
1495
|
<a name="pango-font-description-get-size-is-absolute"></a><h3>pango_font_description_get_size_is_absolute ()</h3>
|
1533
|
-
<pre class="programlisting"><a href="
|
1496
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1534
1497
|
pango_font_description_get_size_is_absolute
|
1535
1498
|
(<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1536
1499
|
<p>Determines whether the size of the font is in points (not absolute) or device units (absolute).
|
1537
1500
|
See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" title="pango_font_description_set_size ()"><code class="function">pango_font_description_set_size()</code></a> and <a class="link" href="pango-Fonts.html#pango-font-description-set-absolute-size" title="pango_font_description_set_absolute_size ()"><code class="function">pango_font_description_set_absolute_size()</code></a>.</p>
|
1538
1501
|
<div class="refsect3">
|
1539
|
-
<a name="
|
1502
|
+
<a name="pango-font-description-get-size-is-absolute.parameters"></a><h4>Parameters</h4>
|
1540
1503
|
<div class="informaltable"><table width="100%" border="0">
|
1541
1504
|
<colgroup>
|
1542
1505
|
<col width="150px" class="parameters_name">
|
@@ -1551,7 +1514,7 @@ See <a class="link" href="pango-Fonts.html#pango-font-description-set-size" titl
|
|
1551
1514
|
</table></div>
|
1552
1515
|
</div>
|
1553
1516
|
<div class="refsect3">
|
1554
|
-
<a name="
|
1517
|
+
<a name="pango-font-description-get-size-is-absolute.returns"></a><h4>Returns</h4>
|
1555
1518
|
<p> whether the size for the font description is in
|
1556
1519
|
points or device units. Use <a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to
|
1557
1520
|
find out if the size field of the font description was explicitly set or not.</p>
|
@@ -1572,7 +1535,7 @@ the font description.</p>
|
|
1572
1535
|
<p>This function is seldom useful to the user. Gravity should normally
|
1573
1536
|
be set on a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</p>
|
1574
1537
|
<div class="refsect3">
|
1575
|
-
<a name="
|
1538
|
+
<a name="pango-font-description-set-gravity.parameters"></a><h4>Parameters</h4>
|
1576
1539
|
<div class="informaltable"><table width="100%" border="0">
|
1577
1540
|
<colgroup>
|
1578
1541
|
<col width="150px" class="parameters_name">
|
@@ -1603,7 +1566,7 @@ pango_font_description_get_gravity (<em class="parameter"><code>const <a class="
|
|
1603
1566
|
<p>Gets the gravity field of a font description. See
|
1604
1567
|
<a class="link" href="pango-Fonts.html#pango-font-description-set-gravity" title="pango_font_description_set_gravity ()"><code class="function">pango_font_description_set_gravity()</code></a>.</p>
|
1605
1568
|
<div class="refsect3">
|
1606
|
-
<a name="
|
1569
|
+
<a name="pango-font-description-get-gravity.parameters"></a><h4>Parameters</h4>
|
1607
1570
|
<div class="informaltable"><table width="100%" border="0">
|
1608
1571
|
<colgroup>
|
1609
1572
|
<col width="150px" class="parameters_name">
|
@@ -1618,7 +1581,7 @@ pango_font_description_get_gravity (<em class="parameter"><code>const <a class="
|
|
1618
1581
|
</table></div>
|
1619
1582
|
</div>
|
1620
1583
|
<div class="refsect3">
|
1621
|
-
<a name="
|
1584
|
+
<a name="pango-font-description-get-gravity.returns"></a><h4>Returns</h4>
|
1622
1585
|
<p> the gravity field for the font description. Use
|
1623
1586
|
<a class="link" href="pango-Fonts.html#pango-font-description-get-set-fields" title="pango_font_description_get_set_fields ()"><code class="function">pango_font_description_get_set_fields()</code></a> to find out if
|
1624
1587
|
the field was explicitly set or not.</p>
|
@@ -1632,7 +1595,7 @@ the field was explicitly set or not.</p>
|
|
1632
1595
|
pango_font_description_get_set_fields (<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1633
1596
|
<p>Determines which fields in a font description have been set.</p>
|
1634
1597
|
<div class="refsect3">
|
1635
|
-
<a name="
|
1598
|
+
<a name="pango-font-description-get-set-fields.parameters"></a><h4>Parameters</h4>
|
1636
1599
|
<div class="informaltable"><table width="100%" border="0">
|
1637
1600
|
<colgroup>
|
1638
1601
|
<col width="150px" class="parameters_name">
|
@@ -1647,7 +1610,7 @@ pango_font_description_get_set_fields (<em class="parameter"><code>const <a clas
|
|
1647
1610
|
</table></div>
|
1648
1611
|
</div>
|
1649
1612
|
<div class="refsect3">
|
1650
|
-
<a name="
|
1613
|
+
<a name="pango-font-description-get-set-fields.returns"></a><h4>Returns</h4>
|
1651
1614
|
<p> a bitmask with bits set corresponding to the
|
1652
1615
|
fields in <em class="parameter"><code>desc</code></em>
|
1653
1616
|
that have been set.</p>
|
@@ -1662,7 +1625,7 @@ pango_font_description_unset_fields (<em class="parameter"><code><a class="link"
|
|
1662
1625
|
<p>Unsets some of the fields in a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. The unset
|
1663
1626
|
fields will get back to their default values.</p>
|
1664
1627
|
<div class="refsect3">
|
1665
|
-
<a name="
|
1628
|
+
<a name="pango-font-description-unset-fields.parameters"></a><h4>Parameters</h4>
|
1666
1629
|
<div class="informaltable"><table width="100%" border="0">
|
1667
1630
|
<colgroup>
|
1668
1631
|
<col width="150px" class="parameters_name">
|
@@ -1691,19 +1654,19 @@ to unset.</p></td>
|
|
1691
1654
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1692
1655
|
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>,
|
1693
1656
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc_to_merge</code></em>,
|
1694
|
-
<em class="parameter"><code><a href="
|
1657
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> replace_existing</code></em>);</pre>
|
1695
1658
|
<p>Merges the fields that are set in <em class="parameter"><code>desc_to_merge</code></em>
|
1696
1659
|
into the fields in
|
1697
1660
|
<em class="parameter"><code>desc</code></em>
|
1698
1661
|
. If <em class="parameter"><code>replace_existing</code></em>
|
1699
|
-
is <a href="
|
1662
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, only fields in <em class="parameter"><code>desc</code></em>
|
1700
1663
|
that
|
1701
|
-
are not already set are affected. If <a href="
|
1664
|
+
are not already set are affected. If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then fields that are
|
1702
1665
|
already set will be replaced as well.</p>
|
1703
1666
|
<p>If <em class="parameter"><code>desc_to_merge</code></em>
|
1704
|
-
is <a href="
|
1667
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, this function performs nothing.</p>
|
1705
1668
|
<div class="refsect3">
|
1706
|
-
<a name="
|
1669
|
+
<a name="pango-font-description-merge.parameters"></a><h4>Parameters</h4>
|
1707
1670
|
<div class="informaltable"><table width="100%" border="0">
|
1708
1671
|
<colgroup>
|
1709
1672
|
<col width="150px" class="parameters_name">
|
@@ -1718,12 +1681,12 @@ already set will be replaced as well.</p>
|
|
1718
1681
|
</tr>
|
1719
1682
|
<tr>
|
1720
1683
|
<td class="parameter_name"><p>desc_to_merge</p></td>
|
1721
|
-
<td class="parameter_description"><p> the <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> to merge from, or <a href="
|
1684
|
+
<td class="parameter_description"><p> the <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> to merge from, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1722
1685
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1723
1686
|
</tr>
|
1724
1687
|
<tr>
|
1725
1688
|
<td class="parameter_name"><p>replace_existing</p></td>
|
1726
|
-
<td class="parameter_description"><p>if <a href="
|
1689
|
+
<td class="parameter_description"><p>if <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, replace fields in <em class="parameter"><code>desc</code></em>
|
1727
1690
|
with the
|
1728
1691
|
corresponding values from <em class="parameter"><code>desc_to_merge</code></em>
|
1729
1692
|
, even if they
|
@@ -1740,7 +1703,7 @@ are already exist.</p></td>
|
|
1740
1703
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1741
1704
|
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>,
|
1742
1705
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc_to_merge</code></em>,
|
1743
|
-
<em class="parameter"><code><a href="
|
1706
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> replace_existing</code></em>);</pre>
|
1744
1707
|
<p>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
|
1745
1708
|
of the family name and other allocated fields. <em class="parameter"><code>desc</code></em>
|
1746
1709
|
can only be
|
@@ -1748,7 +1711,7 @@ used until <em class="parameter"><code>desc_to_merge</code></em>
|
|
1748
1711
|
is modified or freed. This is meant
|
1749
1712
|
to be used when the merged font description is only needed temporarily.</p>
|
1750
1713
|
<div class="refsect3">
|
1751
|
-
<a name="
|
1714
|
+
<a name="pango-font-description-merge-static.parameters"></a><h4>Parameters</h4>
|
1752
1715
|
<div class="informaltable"><table width="100%" border="0">
|
1753
1716
|
<colgroup>
|
1754
1717
|
<col width="150px" class="parameters_name">
|
@@ -1768,7 +1731,7 @@ to be used when the merged font description is only needed temporarily.</p>
|
|
1768
1731
|
</tr>
|
1769
1732
|
<tr>
|
1770
1733
|
<td class="parameter_name"><p>replace_existing</p></td>
|
1771
|
-
<td class="parameter_description"><p>if <a href="
|
1734
|
+
<td class="parameter_description"><p>if <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, replace fields in <em class="parameter"><code>desc</code></em>
|
1772
1735
|
with the
|
1773
1736
|
corresponding values from <em class="parameter"><code>desc_to_merge</code></em>
|
1774
1737
|
, even if they
|
@@ -1782,7 +1745,7 @@ are already exist.</p></td>
|
|
1782
1745
|
<hr>
|
1783
1746
|
<div class="refsect2">
|
1784
1747
|
<a name="pango-font-description-better-match"></a><h3>pango_font_description_better_match ()</h3>
|
1785
|
-
<pre class="programlisting"><a href="
|
1748
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1786
1749
|
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>,
|
1787
1750
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *old_match</code></em>,
|
1788
1751
|
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *new_match</code></em>);</pre>
|
@@ -1791,7 +1754,7 @@ pango_font_description_better_match (<em class="parameter"><code>const <a class=
|
|
1791
1754
|
for <em class="parameter"><code>desc</code></em>
|
1792
1755
|
than those of <em class="parameter"><code>old_match</code></em>
|
1793
1756
|
are, or if <em class="parameter"><code>old_match</code></em>
|
1794
|
-
is <a href="
|
1757
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
1795
1758
|
determines if <em class="parameter"><code>new_match</code></em>
|
1796
1759
|
is a match at all.
|
1797
1760
|
Approximate matching is done for
|
@@ -1804,7 +1767,7 @@ styles are equal.</p>
|
|
1804
1767
|
must match <em class="parameter"><code>desc</code></em>
|
1805
1768
|
.</p>
|
1806
1769
|
<div class="refsect3">
|
1807
|
-
<a name="
|
1770
|
+
<a name="pango-font-description-better-match.parameters"></a><h4>Parameters</h4>
|
1808
1771
|
<div class="informaltable"><table width="100%" border="0">
|
1809
1772
|
<colgroup>
|
1810
1773
|
<col width="150px" class="parameters_name">
|
@@ -1819,7 +1782,7 @@ styles are equal.</p>
|
|
1819
1782
|
</tr>
|
1820
1783
|
<tr>
|
1821
1784
|
<td class="parameter_name"><p>old_match</p></td>
|
1822
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, or <a href="
|
1785
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1823
1786
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1824
1787
|
</tr>
|
1825
1788
|
<tr>
|
@@ -1831,8 +1794,8 @@ styles are equal.</p>
|
|
1831
1794
|
</table></div>
|
1832
1795
|
</div>
|
1833
1796
|
<div class="refsect3">
|
1834
|
-
<a name="
|
1835
|
-
<p> <a href="
|
1797
|
+
<a name="pango-font-description-better-match.returns"></a><h4>Returns</h4>
|
1798
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>new_match</code></em>
|
1836
1799
|
is a better match</p>
|
1837
1800
|
</div>
|
1838
1801
|
</div>
|
@@ -1849,12 +1812,12 @@ describes one of style, variant, weight, stretch, or gravity, and SIZE
|
|
1849
1812
|
is a decimal number (size in points) or optionally followed by the
|
1850
1813
|
unit modifier "px" for absolute size. Any one of the options may
|
1851
1814
|
be absent. If FAMILY-LIST is absent, then the family_name field of
|
1852
|
-
the resulting font description will be initialized to <a href="
|
1815
|
+
the resulting font description will be initialized to <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. If
|
1853
1816
|
STYLE-OPTIONS is missing, then all style options will be set to the
|
1854
1817
|
default values. If SIZE is missing, the size in the resulting font
|
1855
1818
|
description will be set to 0.</p>
|
1856
1819
|
<div class="refsect3">
|
1857
|
-
<a name="
|
1820
|
+
<a name="pango-font-description-from-string.parameters"></a><h4>Parameters</h4>
|
1858
1821
|
<div class="informaltable"><table width="100%" border="0">
|
1859
1822
|
<colgroup>
|
1860
1823
|
<col width="150px" class="parameters_name">
|
@@ -1869,7 +1832,7 @@ description will be set to 0.</p>
|
|
1869
1832
|
</table></div>
|
1870
1833
|
</div>
|
1871
1834
|
<div class="refsect3">
|
1872
|
-
<a name="
|
1835
|
+
<a name="pango-font-description-from-string.returns"></a><h4>Returns</h4>
|
1873
1836
|
<p> a new <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</p>
|
1874
1837
|
</div>
|
1875
1838
|
</div>
|
@@ -1884,7 +1847,7 @@ format of the string representation. The family list in the
|
|
1884
1847
|
string description will only have a terminating comma if the
|
1885
1848
|
last word of the list is a valid style option.</p>
|
1886
1849
|
<div class="refsect3">
|
1887
|
-
<a name="
|
1850
|
+
<a name="pango-font-description-to-string.parameters"></a><h4>Parameters</h4>
|
1888
1851
|
<div class="informaltable"><table width="100%" border="0">
|
1889
1852
|
<colgroup>
|
1890
1853
|
<col width="150px" class="parameters_name">
|
@@ -1899,8 +1862,8 @@ last word of the list is a valid style option.</p>
|
|
1899
1862
|
</table></div>
|
1900
1863
|
</div>
|
1901
1864
|
<div class="refsect3">
|
1902
|
-
<a name="
|
1903
|
-
<p> a new string that must be freed with <a href="
|
1865
|
+
<a name="pango-font-description-to-string.returns"></a><h4>Returns</h4>
|
1866
|
+
<p> a new string that must be freed with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
1904
1867
|
</div>
|
1905
1868
|
</div>
|
1906
1869
|
<hr>
|
@@ -1913,7 +1876,7 @@ filename is identical to the result from calling
|
|
1913
1876
|
<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
|
1914
1877
|
characters that are untypical in filenames, and in lower case only.</p>
|
1915
1878
|
<div class="refsect3">
|
1916
|
-
<a name="
|
1879
|
+
<a name="pango-font-description-to-filename.parameters"></a><h4>Parameters</h4>
|
1917
1880
|
<div class="informaltable"><table width="100%" border="0">
|
1918
1881
|
<colgroup>
|
1919
1882
|
<col width="150px" class="parameters_name">
|
@@ -1928,25 +1891,18 @@ characters that are untypical in filenames, and in lower case only.</p>
|
|
1928
1891
|
</table></div>
|
1929
1892
|
</div>
|
1930
1893
|
<div class="refsect3">
|
1931
|
-
<a name="
|
1932
|
-
<p> a new string that must be freed with <a href="
|
1894
|
+
<a name="pango-font-description-to-filename.returns"></a><h4>Returns</h4>
|
1895
|
+
<p> a new string that must be freed with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
1933
1896
|
</div>
|
1934
1897
|
</div>
|
1935
1898
|
<hr>
|
1936
1899
|
<div class="refsect2">
|
1937
|
-
<a name="PANGO-TYPE-FONT-METRICS:CAPS"></a><h3>PANGO_TYPE_FONT_METRICS</h3>
|
1938
|
-
<pre class="programlisting">#define PANGO_TYPE_FONT_METRICS (pango_font_metrics_get_type ())
|
1939
|
-
</pre>
|
1940
|
-
<p>The <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a>.</p>
|
1941
|
-
</div>
|
1942
|
-
<hr>
|
1943
|
-
<div class="refsect2">
|
1944
1900
|
<a name="pango-font-metrics-ref"></a><h3>pango_font_metrics_ref ()</h3>
|
1945
1901
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> *
|
1946
1902
|
pango_font_metrics_ref (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
1947
1903
|
<p>Increase the reference count of a font metrics structure by one.</p>
|
1948
1904
|
<div class="refsect3">
|
1949
|
-
<a name="
|
1905
|
+
<a name="pango-font-metrics-ref.parameters"></a><h4>Parameters</h4>
|
1950
1906
|
<div class="informaltable"><table width="100%" border="0">
|
1951
1907
|
<colgroup>
|
1952
1908
|
<col width="150px" class="parameters_name">
|
@@ -1955,13 +1911,13 @@ pango_font_metrics_ref (<em class="parameter"><code><a class="link" href="pango-
|
|
1955
1911
|
</colgroup>
|
1956
1912
|
<tbody><tr>
|
1957
1913
|
<td class="parameter_name"><p>metrics</p></td>
|
1958
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure, may be <a href="
|
1914
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure, may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1959
1915
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
1960
1916
|
</tr></tbody>
|
1961
1917
|
</table></div>
|
1962
1918
|
</div>
|
1963
1919
|
<div class="refsect3">
|
1964
|
-
<a name="
|
1920
|
+
<a name="pango-font-metrics-ref.returns"></a><h4>Returns</h4>
|
1965
1921
|
<p> <em class="parameter"><code>metrics</code></em>
|
1966
1922
|
. </p>
|
1967
1923
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
@@ -1976,7 +1932,7 @@ pango_font_metrics_unref (<em class="parameter"><code><a class="link" href="pang
|
|
1976
1932
|
the result is zero, frees the structure and any associated
|
1977
1933
|
memory.</p>
|
1978
1934
|
<div class="refsect3">
|
1979
|
-
<a name="
|
1935
|
+
<a name="pango-font-metrics-unref.parameters"></a><h4>Parameters</h4>
|
1980
1936
|
<div class="informaltable"><table width="100%" border="0">
|
1981
1937
|
<colgroup>
|
1982
1938
|
<col width="150px" class="parameters_name">
|
@@ -1985,7 +1941,7 @@ memory.</p>
|
|
1985
1941
|
</colgroup>
|
1986
1942
|
<tbody><tr>
|
1987
1943
|
<td class="parameter_name"><p>metrics</p></td>
|
1988
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure, may be <a href="
|
1944
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> structure, may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1989
1945
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
1990
1946
|
</tr></tbody>
|
1991
1947
|
</table></div>
|
@@ -2002,7 +1958,7 @@ of text. (The logical top may be above or below the top of the
|
|
2002
1958
|
actual drawn ink. It is necessary to lay out the text to figure
|
2003
1959
|
where the ink will be.)</p>
|
2004
1960
|
<div class="refsect3">
|
2005
|
-
<a name="
|
1961
|
+
<a name="pango-font-metrics-get-ascent.parameters"></a><h4>Parameters</h4>
|
2006
1962
|
<div class="informaltable"><table width="100%" border="0">
|
2007
1963
|
<colgroup>
|
2008
1964
|
<col width="150px" class="parameters_name">
|
@@ -2017,7 +1973,7 @@ where the ink will be.)</p>
|
|
2017
1973
|
</table></div>
|
2018
1974
|
</div>
|
2019
1975
|
<div class="refsect3">
|
2020
|
-
<a name="
|
1976
|
+
<a name="pango-font-metrics-get-ascent.returns"></a><h4>Returns</h4>
|
2021
1977
|
<p> the ascent, in Pango units.</p>
|
2022
1978
|
</div>
|
2023
1979
|
</div>
|
@@ -2032,7 +1988,7 @@ of text. (The logical bottom may be above or below the bottom of the
|
|
2032
1988
|
actual drawn ink. It is necessary to lay out the text to figure
|
2033
1989
|
where the ink will be.)</p>
|
2034
1990
|
<div class="refsect3">
|
2035
|
-
<a name="
|
1991
|
+
<a name="pango-font-metrics-get-descent.parameters"></a><h4>Parameters</h4>
|
2036
1992
|
<div class="informaltable"><table width="100%" border="0">
|
2037
1993
|
<colgroup>
|
2038
1994
|
<col width="150px" class="parameters_name">
|
@@ -2047,7 +2003,7 @@ where the ink will be.)</p>
|
|
2047
2003
|
</table></div>
|
2048
2004
|
</div>
|
2049
2005
|
<div class="refsect3">
|
2050
|
-
<a name="
|
2006
|
+
<a name="pango-font-metrics-get-descent.returns"></a><h4>Returns</h4>
|
2051
2007
|
<p> the descent, in Pango units.</p>
|
2052
2008
|
</div>
|
2053
2009
|
</div>
|
@@ -2062,7 +2018,7 @@ This is merely a representative value useful, for example, for
|
|
2062
2018
|
determining the initial size for a window. Actual characters in
|
2063
2019
|
text will be wider and narrower than this.</p>
|
2064
2020
|
<div class="refsect3">
|
2065
|
-
<a name="
|
2021
|
+
<a name="pango-font-metrics-get-approximate-char-width.parameters"></a><h4>Parameters</h4>
|
2066
2022
|
<div class="informaltable"><table width="100%" border="0">
|
2067
2023
|
<colgroup>
|
2068
2024
|
<col width="150px" class="parameters_name">
|
@@ -2077,7 +2033,7 @@ text will be wider and narrower than this.</p>
|
|
2077
2033
|
</table></div>
|
2078
2034
|
</div>
|
2079
2035
|
<div class="refsect3">
|
2080
|
-
<a name="
|
2036
|
+
<a name="pango-font-metrics-get-approximate-char-width.returns"></a><h4>Returns</h4>
|
2081
2037
|
<p> the character width, in Pango units.</p>
|
2082
2038
|
</div>
|
2083
2039
|
</div>
|
@@ -2094,7 +2050,7 @@ text can be wider or narrower than this, though this value
|
|
2094
2050
|
is generally somewhat more accurate than the result of
|
2095
2051
|
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-char-width" title="pango_font_metrics_get_approximate_char_width ()"><code class="function">pango_font_metrics_get_approximate_char_width()</code></a> for digits.</p>
|
2096
2052
|
<div class="refsect3">
|
2097
|
-
<a name="
|
2053
|
+
<a name="pango-font-metrics-get-approximate-digit-width.parameters"></a><h4>Parameters</h4>
|
2098
2054
|
<div class="informaltable"><table width="100%" border="0">
|
2099
2055
|
<colgroup>
|
2100
2056
|
<col width="150px" class="parameters_name">
|
@@ -2109,7 +2065,7 @@ is generally somewhat more accurate than the result of
|
|
2109
2065
|
</table></div>
|
2110
2066
|
</div>
|
2111
2067
|
<div class="refsect3">
|
2112
|
-
<a name="
|
2068
|
+
<a name="pango-font-metrics-get-approximate-digit-width.returns"></a><h4>Returns</h4>
|
2113
2069
|
<p> the digit width, in Pango units.</p>
|
2114
2070
|
</div>
|
2115
2071
|
</div>
|
@@ -2121,7 +2077,7 @@ pango_font_metrics_get_underline_thickness
|
|
2121
2077
|
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
2122
2078
|
<p>Gets the suggested thickness to draw for the underline.</p>
|
2123
2079
|
<div class="refsect3">
|
2124
|
-
<a name="
|
2080
|
+
<a name="pango-font-metrics-get-underline-thickness.parameters"></a><h4>Parameters</h4>
|
2125
2081
|
<div class="informaltable"><table width="100%" border="0">
|
2126
2082
|
<colgroup>
|
2127
2083
|
<col width="150px" class="parameters_name">
|
@@ -2136,7 +2092,7 @@ pango_font_metrics_get_underline_thickness
|
|
2136
2092
|
</table></div>
|
2137
2093
|
</div>
|
2138
2094
|
<div class="refsect3">
|
2139
|
-
<a name="
|
2095
|
+
<a name="pango-font-metrics-get-underline-thickness.returns"></a><h4>Returns</h4>
|
2140
2096
|
<p> the suggested underline thickness, in Pango units.</p>
|
2141
2097
|
</div>
|
2142
2098
|
<p class="since">Since: <a class="link" href="api-index-1-6.html#api-index-1.6">1.6</a></p>
|
@@ -2153,7 +2109,7 @@ baseline of the top of the underline. Since most fonts have
|
|
2153
2109
|
underline positions beneath the baseline, this value is typically
|
2154
2110
|
negative.</p>
|
2155
2111
|
<div class="refsect3">
|
2156
|
-
<a name="
|
2112
|
+
<a name="pango-font-metrics-get-underline-position.parameters"></a><h4>Parameters</h4>
|
2157
2113
|
<div class="informaltable"><table width="100%" border="0">
|
2158
2114
|
<colgroup>
|
2159
2115
|
<col width="150px" class="parameters_name">
|
@@ -2168,7 +2124,7 @@ negative.</p>
|
|
2168
2124
|
</table></div>
|
2169
2125
|
</div>
|
2170
2126
|
<div class="refsect3">
|
2171
|
-
<a name="
|
2127
|
+
<a name="pango-font-metrics-get-underline-position.returns"></a><h4>Returns</h4>
|
2172
2128
|
<p> the suggested underline position, in Pango units.</p>
|
2173
2129
|
</div>
|
2174
2130
|
<p class="since">Since: <a class="link" href="api-index-1-6.html#api-index-1.6">1.6</a></p>
|
@@ -2181,7 +2137,7 @@ pango_font_metrics_get_strikethrough_thickness
|
|
2181
2137
|
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> *metrics</code></em>);</pre>
|
2182
2138
|
<p>Gets the suggested thickness to draw for the strikethrough.</p>
|
2183
2139
|
<div class="refsect3">
|
2184
|
-
<a name="
|
2140
|
+
<a name="pango-font-metrics-get-strikethrough-thickness.parameters"></a><h4>Parameters</h4>
|
2185
2141
|
<div class="informaltable"><table width="100%" border="0">
|
2186
2142
|
<colgroup>
|
2187
2143
|
<col width="150px" class="parameters_name">
|
@@ -2196,7 +2152,7 @@ pango_font_metrics_get_strikethrough_thickness
|
|
2196
2152
|
</table></div>
|
2197
2153
|
</div>
|
2198
2154
|
<div class="refsect3">
|
2199
|
-
<a name="
|
2155
|
+
<a name="pango-font-metrics-get-strikethrough-thickness.returns"></a><h4>Returns</h4>
|
2200
2156
|
<p> the suggested strikethrough thickness, in Pango units.</p>
|
2201
2157
|
</div>
|
2202
2158
|
<p class="since">Since: <a class="link" href="api-index-1-6.html#api-index-1.6">1.6</a></p>
|
@@ -2211,7 +2167,7 @@ pango_font_metrics_get_strikethrough_position
|
|
2211
2167
|
The value returned is the distance <span class="emphasis"><em>above</em></span> the
|
2212
2168
|
baseline of the top of the strikethrough.</p>
|
2213
2169
|
<div class="refsect3">
|
2214
|
-
<a name="
|
2170
|
+
<a name="pango-font-metrics-get-strikethrough-position.parameters"></a><h4>Parameters</h4>
|
2215
2171
|
<div class="informaltable"><table width="100%" border="0">
|
2216
2172
|
<colgroup>
|
2217
2173
|
<col width="150px" class="parameters_name">
|
@@ -2226,26 +2182,19 @@ baseline of the top of the strikethrough.</p>
|
|
2226
2182
|
</table></div>
|
2227
2183
|
</div>
|
2228
2184
|
<div class="refsect3">
|
2229
|
-
<a name="
|
2185
|
+
<a name="pango-font-metrics-get-strikethrough-position.returns"></a><h4>Returns</h4>
|
2230
2186
|
<p> the suggested strikethrough position, in Pango units.</p>
|
2231
2187
|
</div>
|
2232
2188
|
<p class="since">Since: <a class="link" href="api-index-1-6.html#api-index-1.6">1.6</a></p>
|
2233
2189
|
</div>
|
2234
2190
|
<hr>
|
2235
2191
|
<div class="refsect2">
|
2236
|
-
<a name="PANGO-TYPE-FONT:CAPS"></a><h3>PANGO_TYPE_FONT</h3>
|
2237
|
-
<pre class="programlisting">#define PANGO_TYPE_FONT (pango_font_get_type ())
|
2238
|
-
</pre>
|
2239
|
-
<p>The <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</p>
|
2240
|
-
</div>
|
2241
|
-
<hr>
|
2242
|
-
<div class="refsect2">
|
2243
2192
|
<a name="PANGO-FONT:CAPS"></a><h3>PANGO_FONT()</h3>
|
2244
2193
|
<pre class="programlisting">#define PANGO_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT, PangoFont))
|
2245
2194
|
</pre>
|
2246
|
-
<p>Casts a <a href="
|
2195
|
+
<p>Casts a <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> to a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</p>
|
2247
2196
|
<div class="refsect3">
|
2248
|
-
<a name="
|
2197
|
+
<a name="PANGO-FONT.parameters"></a><h4>Parameters</h4>
|
2249
2198
|
<div class="informaltable"><table width="100%" border="0">
|
2250
2199
|
<colgroup>
|
2251
2200
|
<col width="150px" class="parameters_name">
|
@@ -2254,7 +2203,7 @@ baseline of the top of the strikethrough.</p>
|
|
2254
2203
|
</colgroup>
|
2255
2204
|
<tbody><tr>
|
2256
2205
|
<td class="parameter_name"><p>object</p></td>
|
2257
|
-
<td class="parameter_description"><p>a <a href="
|
2206
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>.</p></td>
|
2258
2207
|
<td class="parameter_annotations"> </td>
|
2259
2208
|
</tr></tbody>
|
2260
2209
|
</table></div>
|
@@ -2266,7 +2215,7 @@ baseline of the top of the strikethrough.</p>
|
|
2266
2215
|
<pre class="programlisting">#define PANGO_IS_FONT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT))
|
2267
2216
|
</pre>
|
2268
2217
|
<div class="refsect3">
|
2269
|
-
<a name="
|
2218
|
+
<a name="PANGO-IS-FONT.parameters"></a><h4>Parameters</h4>
|
2270
2219
|
<div class="informaltable"><table width="100%" border="0">
|
2271
2220
|
<colgroup>
|
2272
2221
|
<col width="150px" class="parameters_name">
|
@@ -2275,14 +2224,14 @@ baseline of the top of the strikethrough.</p>
|
|
2275
2224
|
</colgroup>
|
2276
2225
|
<tbody><tr>
|
2277
2226
|
<td class="parameter_name"><p>object</p></td>
|
2278
|
-
<td class="parameter_description"><p>a <a href="
|
2227
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>.</p></td>
|
2279
2228
|
<td class="parameter_annotations"> </td>
|
2280
2229
|
</tr></tbody>
|
2281
2230
|
</table></div>
|
2282
2231
|
</div>
|
2283
2232
|
<div class="refsect3">
|
2284
|
-
<a name="
|
2285
|
-
<p> <a href="
|
2233
|
+
<a name="PANGO-IS-FONT.returns"></a><h4>Returns</h4>
|
2234
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>object</code></em>
|
2286
2235
|
is a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</p>
|
2287
2236
|
</div>
|
2288
2237
|
</div>
|
@@ -2292,11 +2241,11 @@ is a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoF
|
|
2292
2241
|
<pre class="programlisting"><a class="link" href="PangoEngineShape.html" title="PangoEngineShape"><span class="returnvalue">PangoEngineShape</span></a> *
|
2293
2242
|
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>,
|
2294
2243
|
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
2295
|
-
<em class="parameter"><code><a href="
|
2244
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> ch</code></em>);</pre>
|
2296
2245
|
<p>Finds the best matching shaper for a font for a particular
|
2297
2246
|
language tag and character point.</p>
|
2298
2247
|
<div class="refsect3">
|
2299
|
-
<a name="
|
2248
|
+
<a name="pango-font-find-shaper.parameters"></a><h4>Parameters</h4>
|
2300
2249
|
<div class="informaltable"><table width="100%" border="0">
|
2301
2250
|
<colgroup>
|
2302
2251
|
<col width="150px" class="parameters_name">
|
@@ -2323,7 +2272,7 @@ language tag and character point.</p>
|
|
2323
2272
|
</table></div>
|
2324
2273
|
</div>
|
2325
2274
|
<div class="refsect3">
|
2326
|
-
<a name="
|
2275
|
+
<a name="pango-font-find-shaper.returns"></a><h4>Returns</h4>
|
2327
2276
|
<p> the best matching shaper.</p>
|
2328
2277
|
</div>
|
2329
2278
|
</div>
|
@@ -2336,7 +2285,7 @@ pango_font_describe (<em class="parameter"><code><a class="link" href="pango-Fon
|
|
2336
2285
|
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
|
2337
2286
|
size in device units.</p>
|
2338
2287
|
<div class="refsect3">
|
2339
|
-
<a name="
|
2288
|
+
<a name="pango-font-describe.parameters"></a><h4>Parameters</h4>
|
2340
2289
|
<div class="informaltable"><table width="100%" border="0">
|
2341
2290
|
<colgroup>
|
2342
2291
|
<col width="150px" class="parameters_name">
|
@@ -2351,7 +2300,7 @@ size in device units.</p>
|
|
2351
2300
|
</table></div>
|
2352
2301
|
</div>
|
2353
2302
|
<div class="refsect3">
|
2354
|
-
<a name="
|
2303
|
+
<a name="pango-font-describe.returns"></a><h4>Returns</h4>
|
2355
2304
|
<p> a newly-allocated <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> object.</p>
|
2356
2305
|
</div>
|
2357
2306
|
</div>
|
@@ -2365,7 +2314,7 @@ pango_font_describe_with_absolute_size
|
|
2365
2314
|
(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
|
2366
2315
|
size in points.</p>
|
2367
2316
|
<div class="refsect3">
|
2368
|
-
<a name="
|
2317
|
+
<a name="pango-font-describe-with-absolute-size.parameters"></a><h4>Parameters</h4>
|
2369
2318
|
<div class="informaltable"><table width="100%" border="0">
|
2370
2319
|
<colgroup>
|
2371
2320
|
<col width="150px" class="parameters_name">
|
@@ -2380,7 +2329,7 @@ size in points.</p>
|
|
2380
2329
|
</table></div>
|
2381
2330
|
</div>
|
2382
2331
|
<div class="refsect3">
|
2383
|
-
<a name="
|
2332
|
+
<a name="pango-font-describe-with-absolute-size.returns"></a><h4>Returns</h4>
|
2384
2333
|
<p> a newly-allocated <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> object.</p>
|
2385
2334
|
</div>
|
2386
2335
|
<p class="since">Since: <a class="link" href="api-index-1-14.html#api-index-1.14">1.14</a></p>
|
@@ -2393,7 +2342,7 @@ pango_font_get_coverage (<em class="parameter"><code><a class="link" href="pango
|
|
2393
2342
|
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
2394
2343
|
<p>Computes the coverage map for a given font and language tag.</p>
|
2395
2344
|
<div class="refsect3">
|
2396
|
-
<a name="
|
2345
|
+
<a name="pango-font-get-coverage.parameters"></a><h4>Parameters</h4>
|
2397
2346
|
<div class="informaltable"><table width="100%" border="0">
|
2398
2347
|
<colgroup>
|
2399
2348
|
<col width="150px" class="parameters_name">
|
@@ -2415,7 +2364,7 @@ pango_font_get_coverage (<em class="parameter"><code><a class="link" href="pango
|
|
2415
2364
|
</table></div>
|
2416
2365
|
</div>
|
2417
2366
|
<div class="refsect3">
|
2418
|
-
<a name="
|
2367
|
+
<a name="pango-font-get-coverage.returns"></a><h4>Returns</h4>
|
2419
2368
|
<p> a newly-allocated <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a>
|
2420
2369
|
object. </p>
|
2421
2370
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -2437,10 +2386,10 @@ coordinates extending to the right and down. The macros <a class="link" href="pa
|
|
2437
2386
|
from the extents rectangle to more traditional font metrics. The units
|
2438
2387
|
of the rectangles are in 1/PANGO_SCALE of a device unit.</p>
|
2439
2388
|
<p>If <em class="parameter"><code>font</code></em>
|
2440
|
-
is <a href="
|
2389
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, this function gracefully sets some sane values in the
|
2441
2390
|
output variables and returns.</p>
|
2442
2391
|
<div class="refsect3">
|
2443
|
-
<a name="
|
2392
|
+
<a name="pango-font-get-glyph-extents.parameters"></a><h4>Parameters</h4>
|
2444
2393
|
<div class="informaltable"><table width="100%" border="0">
|
2445
2394
|
<colgroup>
|
2446
2395
|
<col width="150px" class="parameters_name">
|
@@ -2461,13 +2410,13 @@ output variables and returns.</p>
|
|
2461
2410
|
<tr>
|
2462
2411
|
<td class="parameter_name"><p>ink_rect</p></td>
|
2463
2412
|
<td class="parameter_description"><p> rectangle used to store the extents of the glyph
|
2464
|
-
as drawn or <a href="
|
2413
|
+
as drawn or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed. </p></td>
|
2465
2414
|
<td class="parameter_annotations"><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></td>
|
2466
2415
|
</tr>
|
2467
2416
|
<tr>
|
2468
2417
|
<td class="parameter_name"><p>logical_rect</p></td>
|
2469
2418
|
<td class="parameter_description"><p> rectangle used to store the logical extents of
|
2470
|
-
the glyph or <a href="
|
2419
|
+
the glyph or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed. </p></td>
|
2471
2420
|
<td class="parameter_annotations"><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></td>
|
2472
2421
|
</tr>
|
2473
2422
|
</tbody>
|
@@ -2485,10 +2434,10 @@ substantially different for different scripts, a language tag can
|
|
2485
2434
|
be provided to indicate that the metrics should be retrieved that
|
2486
2435
|
correspond to the script(s) used by that language.</p>
|
2487
2436
|
<p>If <em class="parameter"><code>font</code></em>
|
2488
|
-
is <a href="
|
2437
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, this function gracefully sets some sane values in the
|
2489
2438
|
output variables and returns.</p>
|
2490
2439
|
<div class="refsect3">
|
2491
|
-
<a name="
|
2440
|
+
<a name="pango-font-get-metrics.parameters"></a><h4>Parameters</h4>
|
2492
2441
|
<div class="informaltable"><table width="100%" border="0">
|
2493
2442
|
<colgroup>
|
2494
2443
|
<col width="150px" class="parameters_name">
|
@@ -2504,14 +2453,14 @@ output variables and returns.</p>
|
|
2504
2453
|
<tr>
|
2505
2454
|
<td class="parameter_name"><p>language</p></td>
|
2506
2455
|
<td class="parameter_description"><p> language tag used to determine which script to get the metrics
|
2507
|
-
for, or <a href="
|
2456
|
+
for, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate to get the metrics for the entire font. </p></td>
|
2508
2457
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2509
2458
|
</tr>
|
2510
2459
|
</tbody>
|
2511
2460
|
</table></div>
|
2512
2461
|
</div>
|
2513
2462
|
<div class="refsect3">
|
2514
|
-
<a name="
|
2463
|
+
<a name="pango-font-get-metrics.returns"></a><h4>Returns</h4>
|
2515
2464
|
<p> a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> object. The caller must call <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()"><code class="function">pango_font_metrics_unref()</code></a>
|
2516
2465
|
when finished using the object.</p>
|
2517
2466
|
</div>
|
@@ -2525,12 +2474,12 @@ pango_font_get_font_map (<em class="parameter"><code><a class="link" href="pango
|
|
2525
2474
|
<p>Note that the font maintains a <em class="firstterm">weak</em> reference
|
2526
2475
|
to the font map, so if all references to font map are dropped, the font
|
2527
2476
|
map will be finalized even if there are fonts created with the font
|
2528
|
-
map that are still alive. In that case this function will return <a href="
|
2477
|
+
map that are still alive. In that case this function will return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
2529
2478
|
It is the responsibility of the user to ensure that the font map is kept
|
2530
2479
|
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
|
2531
2480
|
a reference to the font map.</p>
|
2532
2481
|
<div class="refsect3">
|
2533
|
-
<a name="
|
2482
|
+
<a name="pango-font-get-font-map.parameters"></a><h4>Parameters</h4>
|
2534
2483
|
<div class="informaltable"><table width="100%" border="0">
|
2535
2484
|
<colgroup>
|
2536
2485
|
<col width="150px" class="parameters_name">
|
@@ -2539,35 +2488,28 @@ a reference to the font map.</p>
|
|
2539
2488
|
</colgroup>
|
2540
2489
|
<tbody><tr>
|
2541
2490
|
<td class="parameter_name"><p>font</p></td>
|
2542
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>, or <a href="
|
2491
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2543
2492
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
2544
2493
|
</tr></tbody>
|
2545
2494
|
</table></div>
|
2546
2495
|
</div>
|
2547
2496
|
<div class="refsect3">
|
2548
|
-
<a name="
|
2497
|
+
<a name="pango-font-get-font-map.returns"></a><h4>Returns</h4>
|
2549
2498
|
<p> the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> for the
|
2550
|
-
font, or <a href="
|
2551
|
-
is <a href="
|
2499
|
+
font, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>font</code></em>
|
2500
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
2552
2501
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
2553
2502
|
</div>
|
2554
2503
|
<p class="since">Since: <a class="link" href="api-index-1-10.html#api-index-1.10">1.10</a></p>
|
2555
2504
|
</div>
|
2556
2505
|
<hr>
|
2557
2506
|
<div class="refsect2">
|
2558
|
-
<a name="PANGO-TYPE-FONT-FAMILY:CAPS"></a><h3>PANGO_TYPE_FONT_FAMILY</h3>
|
2559
|
-
<pre class="programlisting">#define PANGO_TYPE_FONT_FAMILY (pango_font_family_get_type ())
|
2560
|
-
</pre>
|
2561
|
-
<p>The <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.</p>
|
2562
|
-
</div>
|
2563
|
-
<hr>
|
2564
|
-
<div class="refsect2">
|
2565
2507
|
<a name="PANGO-FONT-FAMILY:CAPS"></a><h3>PANGO_FONT_FAMILY()</h3>
|
2566
2508
|
<pre class="programlisting">#define PANGO_FONT_FAMILY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FAMILY, PangoFontFamily))
|
2567
2509
|
</pre>
|
2568
|
-
<p>Casts a <a href="
|
2510
|
+
<p>Casts a <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> to a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.</p>
|
2569
2511
|
<div class="refsect3">
|
2570
|
-
<a name="
|
2512
|
+
<a name="PANGO-FONT-FAMILY.parameters"></a><h4>Parameters</h4>
|
2571
2513
|
<div class="informaltable"><table width="100%" border="0">
|
2572
2514
|
<colgroup>
|
2573
2515
|
<col width="150px" class="parameters_name">
|
@@ -2576,7 +2518,7 @@ is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/htm
|
|
2576
2518
|
</colgroup>
|
2577
2519
|
<tbody><tr>
|
2578
2520
|
<td class="parameter_name"><p>object</p></td>
|
2579
|
-
<td class="parameter_description"><p>a <a href="
|
2521
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>.</p></td>
|
2580
2522
|
<td class="parameter_annotations"> </td>
|
2581
2523
|
</tr></tbody>
|
2582
2524
|
</table></div>
|
@@ -2588,7 +2530,7 @@ is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/htm
|
|
2588
2530
|
<pre class="programlisting">#define PANGO_IS_FONT_FAMILY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_FAMILY))
|
2589
2531
|
</pre>
|
2590
2532
|
<div class="refsect3">
|
2591
|
-
<a name="
|
2533
|
+
<a name="PANGO-IS-FONT-FAMILY.parameters"></a><h4>Parameters</h4>
|
2592
2534
|
<div class="informaltable"><table width="100%" border="0">
|
2593
2535
|
<colgroup>
|
2594
2536
|
<col width="150px" class="parameters_name">
|
@@ -2597,14 +2539,14 @@ is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/htm
|
|
2597
2539
|
</colgroup>
|
2598
2540
|
<tbody><tr>
|
2599
2541
|
<td class="parameter_name"><p>object</p></td>
|
2600
|
-
<td class="parameter_description"><p>a <a href="
|
2542
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>.</p></td>
|
2601
2543
|
<td class="parameter_annotations"> </td>
|
2602
2544
|
</tr></tbody>
|
2603
2545
|
</table></div>
|
2604
2546
|
</div>
|
2605
2547
|
<div class="refsect3">
|
2606
|
-
<a name="
|
2607
|
-
<p> <a href="
|
2548
|
+
<a name="PANGO-IS-FONT-FAMILY.returns"></a><h4>Returns</h4>
|
2549
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>object</code></em>
|
2608
2550
|
is a <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.</p>
|
2609
2551
|
</div>
|
2610
2552
|
</div>
|
@@ -2617,7 +2559,7 @@ pango_font_family_get_name (<em class="parameter"><code><a class="link" href="pa
|
|
2617
2559
|
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>
|
2618
2560
|
to specify that a face from this family is desired.</p>
|
2619
2561
|
<div class="refsect3">
|
2620
|
-
<a name="
|
2562
|
+
<a name="pango-font-family-get-name.parameters"></a><h4>Parameters</h4>
|
2621
2563
|
<div class="informaltable"><table width="100%" border="0">
|
2622
2564
|
<colgroup>
|
2623
2565
|
<col width="150px" class="parameters_name">
|
@@ -2632,7 +2574,7 @@ to specify that a face from this family is desired.</p>
|
|
2632
2574
|
</table></div>
|
2633
2575
|
</div>
|
2634
2576
|
<div class="refsect3">
|
2635
|
-
<a name="
|
2577
|
+
<a name="pango-font-family-get-name.returns"></a><h4>Returns</h4>
|
2636
2578
|
<p> the name of the family. This string is owned
|
2637
2579
|
by the family object and must not be modified or freed.</p>
|
2638
2580
|
</div>
|
@@ -2640,21 +2582,21 @@ by the family object and must not be modified or freed.</p>
|
|
2640
2582
|
<hr>
|
2641
2583
|
<div class="refsect2">
|
2642
2584
|
<a name="pango-font-family-is-monospace"></a><h3>pango_font_family_is_monospace ()</h3>
|
2643
|
-
<pre class="programlisting"><a href="
|
2585
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2644
2586
|
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>
|
2645
2587
|
<p>A monospace font is a font designed for text display where the the
|
2646
2588
|
characters form a regular grid. For Western languages this would
|
2647
2589
|
mean that the advance width of all characters are the same, but
|
2648
2590
|
this categorization also includes Asian fonts which include
|
2649
2591
|
double-width characters: characters that occupy two grid cells.
|
2650
|
-
<a href="
|
2592
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Unicode-Manipulation.html#g-unichar-iswide"><code class="function">g_unichar_iswide()</code></a> returns a result that indicates whether a
|
2651
2593
|
character is typically double-width in a monospace font.</p>
|
2652
2594
|
<p>The best way to find out the grid-cell size is to call
|
2653
2595
|
<a class="link" href="pango-Fonts.html#pango-font-metrics-get-approximate-digit-width" title="pango_font_metrics_get_approximate_digit_width ()"><code class="function">pango_font_metrics_get_approximate_digit_width()</code></a>, since the results
|
2654
2596
|
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
|
2655
2597
|
by double-width characters.</p>
|
2656
2598
|
<div class="refsect3">
|
2657
|
-
<a name="
|
2599
|
+
<a name="pango-font-family-is-monospace.parameters"></a><h4>Parameters</h4>
|
2658
2600
|
<div class="informaltable"><table width="100%" border="0">
|
2659
2601
|
<colgroup>
|
2660
2602
|
<col width="150px" class="parameters_name">
|
@@ -2669,8 +2611,8 @@ by double-width characters.</p>
|
|
2669
2611
|
</table></div>
|
2670
2612
|
</div>
|
2671
2613
|
<div class="refsect3">
|
2672
|
-
<a name="
|
2673
|
-
<p> <a href="
|
2614
|
+
<a name="pango-font-family-is-monospace.returns"></a><h4>Returns</h4>
|
2615
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the family is monospace.</p>
|
2674
2616
|
</div>
|
2675
2617
|
<p class="since">Since: <a class="link" href="api-index-1-4.html#api-index-1.4">1.4</a></p>
|
2676
2618
|
</div>
|
@@ -2686,7 +2628,7 @@ pango_font_family_list_faces (<em class="parameter"><code><a class="link" href="
|
|
2686
2628
|
in a family share a common design, but differ in slant, weight,
|
2687
2629
|
width and other aspects.</p>
|
2688
2630
|
<div class="refsect3">
|
2689
|
-
<a name="
|
2631
|
+
<a name="pango-font-family-list-faces.parameters"></a><h4>Parameters</h4>
|
2690
2632
|
<div class="informaltable"><table width="100%" border="0">
|
2691
2633
|
<colgroup>
|
2692
2634
|
<col width="150px" class="parameters_name">
|
@@ -2702,7 +2644,7 @@ width and other aspects.</p>
|
|
2702
2644
|
<tr>
|
2703
2645
|
<td class="parameter_name"><p>faces</p></td>
|
2704
2646
|
<td class="parameter_description"><p> location to store an array of pointers to <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> objects,
|
2705
|
-
or <a href="
|
2647
|
+
or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. This array should be freed with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when it is no
|
2706
2648
|
longer needed. </p></td>
|
2707
2649
|
<td class="parameter_annotations"><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></td>
|
2708
2650
|
</tr>
|
@@ -2718,19 +2660,12 @@ longer needed. </p></td>
|
|
2718
2660
|
</div>
|
2719
2661
|
<hr>
|
2720
2662
|
<div class="refsect2">
|
2721
|
-
<a name="PANGO-TYPE-FONT-FACE:CAPS"></a><h3>PANGO_TYPE_FONT_FACE</h3>
|
2722
|
-
<pre class="programlisting">#define PANGO_TYPE_FONT_FACE (pango_font_face_get_type ())
|
2723
|
-
</pre>
|
2724
|
-
<p>The <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.</p>
|
2725
|
-
</div>
|
2726
|
-
<hr>
|
2727
|
-
<div class="refsect2">
|
2728
2663
|
<a name="PANGO-FONT-FACE:CAPS"></a><h3>PANGO_FONT_FACE()</h3>
|
2729
2664
|
<pre class="programlisting">#define PANGO_FONT_FACE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FACE, PangoFontFace))
|
2730
2665
|
</pre>
|
2731
|
-
<p>Casts a <a href="
|
2666
|
+
<p>Casts a <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> to a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.</p>
|
2732
2667
|
<div class="refsect3">
|
2733
|
-
<a name="
|
2668
|
+
<a name="PANGO-FONT-FACE.parameters"></a><h4>Parameters</h4>
|
2734
2669
|
<div class="informaltable"><table width="100%" border="0">
|
2735
2670
|
<colgroup>
|
2736
2671
|
<col width="150px" class="parameters_name">
|
@@ -2739,7 +2674,7 @@ longer needed. </p></td>
|
|
2739
2674
|
</colgroup>
|
2740
2675
|
<tbody><tr>
|
2741
2676
|
<td class="parameter_name"><p>object</p></td>
|
2742
|
-
<td class="parameter_description"><p>a <a href="
|
2677
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>.</p></td>
|
2743
2678
|
<td class="parameter_annotations"> </td>
|
2744
2679
|
</tr></tbody>
|
2745
2680
|
</table></div>
|
@@ -2751,7 +2686,7 @@ longer needed. </p></td>
|
|
2751
2686
|
<pre class="programlisting">#define PANGO_IS_FONT_FACE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_FACE))
|
2752
2687
|
</pre>
|
2753
2688
|
<div class="refsect3">
|
2754
|
-
<a name="
|
2689
|
+
<a name="PANGO-IS-FONT-FACE.parameters"></a><h4>Parameters</h4>
|
2755
2690
|
<div class="informaltable"><table width="100%" border="0">
|
2756
2691
|
<colgroup>
|
2757
2692
|
<col width="150px" class="parameters_name">
|
@@ -2760,14 +2695,14 @@ longer needed. </p></td>
|
|
2760
2695
|
</colgroup>
|
2761
2696
|
<tbody><tr>
|
2762
2697
|
<td class="parameter_name"><p>object</p></td>
|
2763
|
-
<td class="parameter_description"><p>a <a href="
|
2698
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>.</p></td>
|
2764
2699
|
<td class="parameter_annotations"> </td>
|
2765
2700
|
</tr></tbody>
|
2766
2701
|
</table></div>
|
2767
2702
|
</div>
|
2768
2703
|
<div class="refsect3">
|
2769
|
-
<a name="
|
2770
|
-
<p> <a href="
|
2704
|
+
<a name="PANGO-IS-FONT-FACE.returns"></a><h4>Returns</h4>
|
2705
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>object</code></em>
|
2771
2706
|
is a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.</p>
|
2772
2707
|
</div>
|
2773
2708
|
</div>
|
@@ -2781,7 +2716,7 @@ different faces in the <a class="link" href="pango-Fonts.html#PangoFontFamily"><
|
|
2781
2716
|
name is unique among all faces in the family and is suitable
|
2782
2717
|
for displaying to users.</p>
|
2783
2718
|
<div class="refsect3">
|
2784
|
-
<a name="
|
2719
|
+
<a name="pango-font-face-get-face-name.parameters"></a><h4>Parameters</h4>
|
2785
2720
|
<div class="informaltable"><table width="100%" border="0">
|
2786
2721
|
<colgroup>
|
2787
2722
|
<col width="150px" class="parameters_name">
|
@@ -2796,7 +2731,7 @@ for displaying to users.</p>
|
|
2796
2731
|
</table></div>
|
2797
2732
|
</div>
|
2798
2733
|
<div class="refsect3">
|
2799
|
-
<a name="
|
2734
|
+
<a name="pango-font-face-get-face-name.returns"></a><h4>Returns</h4>
|
2800
2735
|
<p> the face name for the face. This string is
|
2801
2736
|
owned by the face object and must not be modified or freed.</p>
|
2802
2737
|
</div>
|
@@ -2809,13 +2744,13 @@ pango_font_face_list_sizes (<em class="parameter"><code><a class="link" href="pa
|
|
2809
2744
|
<em class="parameter"><code><span class="type">int</span> **sizes</code></em>,
|
2810
2745
|
<em class="parameter"><code><span class="type">int</span> *n_sizes</code></em>);</pre>
|
2811
2746
|
<p>List the available sizes for a font. This is only applicable to bitmap
|
2812
|
-
fonts. For scalable fonts, stores <a href="
|
2747
|
+
fonts. For scalable fonts, stores <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> at the location pointed to by
|
2813
2748
|
<em class="parameter"><code>sizes</code></em>
|
2814
2749
|
and 0 at the location pointed to by <em class="parameter"><code>n_sizes</code></em>
|
2815
2750
|
. The sizes returned
|
2816
2751
|
are in Pango units and are sorted in ascending order.</p>
|
2817
2752
|
<div class="refsect3">
|
2818
|
-
<a name="
|
2753
|
+
<a name="pango-font-face-list-sizes.parameters"></a><h4>Parameters</h4>
|
2819
2754
|
<div class="informaltable"><table width="100%" border="0">
|
2820
2755
|
<colgroup>
|
2821
2756
|
<col width="150px" class="parameters_name">
|
@@ -2831,7 +2766,7 @@ are in Pango units and are sorted in ascending order.</p>
|
|
2831
2766
|
<tr>
|
2832
2767
|
<td class="parameter_name"><p>sizes</p></td>
|
2833
2768
|
<td class="parameter_description"><p> location to store a pointer to an array of int. This array
|
2834
|
-
should be freed with <a href="
|
2769
|
+
should be freed with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p></td>
|
2835
2770
|
<td class="parameter_annotations"><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][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
2836
2771
|
</tr>
|
2837
2772
|
<tr>
|
@@ -2854,7 +2789,7 @@ pango_font_face_describe (<em class="parameter"><code><a class="link" href="pang
|
|
2854
2789
|
a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>. The size field of the resulting font description
|
2855
2790
|
will be unset.</p>
|
2856
2791
|
<div class="refsect3">
|
2857
|
-
<a name="
|
2792
|
+
<a name="pango-font-face-describe.parameters"></a><h4>Parameters</h4>
|
2858
2793
|
<div class="informaltable"><table width="100%" border="0">
|
2859
2794
|
<colgroup>
|
2860
2795
|
<col width="150px" class="parameters_name">
|
@@ -2869,7 +2804,7 @@ will be unset.</p>
|
|
2869
2804
|
</table></div>
|
2870
2805
|
</div>
|
2871
2806
|
<div class="refsect3">
|
2872
|
-
<a name="
|
2807
|
+
<a name="pango-font-face-describe.returns"></a><h4>Returns</h4>
|
2873
2808
|
<p> a newly-created <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure
|
2874
2809
|
holding the description of the face. Use <a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>
|
2875
2810
|
to free the result.</p>
|
@@ -2878,13 +2813,13 @@ to free the result.</p>
|
|
2878
2813
|
<hr>
|
2879
2814
|
<div class="refsect2">
|
2880
2815
|
<a name="pango-font-face-is-synthesized"></a><h3>pango_font_face_is_synthesized ()</h3>
|
2881
|
-
<pre class="programlisting"><a href="
|
2816
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2882
2817
|
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>
|
2883
2818
|
<p>Returns whether a <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> is synthesized by the underlying
|
2884
2819
|
font rendering engine from another face, perhaps by shearing, emboldening,
|
2885
2820
|
or lightening it.</p>
|
2886
2821
|
<div class="refsect3">
|
2887
|
-
<a name="
|
2822
|
+
<a name="pango-font-face-is-synthesized.parameters"></a><h4>Parameters</h4>
|
2888
2823
|
<div class="informaltable"><table width="100%" border="0">
|
2889
2824
|
<colgroup>
|
2890
2825
|
<col width="150px" class="parameters_name">
|
@@ -2899,7 +2834,7 @@ or lightening it.</p>
|
|
2899
2834
|
</table></div>
|
2900
2835
|
</div>
|
2901
2836
|
<div class="refsect3">
|
2902
|
-
<a name="
|
2837
|
+
<a name="pango-font-face-is-synthesized.returns"></a><h4>Returns</h4>
|
2903
2838
|
<p> whether <em class="parameter"><code>face</code></em>
|
2904
2839
|
is synthesized.</p>
|
2905
2840
|
</div>
|
@@ -2907,19 +2842,12 @@ is synthesized.</p>
|
|
2907
2842
|
</div>
|
2908
2843
|
<hr>
|
2909
2844
|
<div class="refsect2">
|
2910
|
-
<a name="PANGO-TYPE-FONT-MAP:CAPS"></a><h3>PANGO_TYPE_FONT_MAP</h3>
|
2911
|
-
<pre class="programlisting">#define PANGO_TYPE_FONT_MAP (pango_font_map_get_type ())
|
2912
|
-
</pre>
|
2913
|
-
<p>The <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.</p>
|
2914
|
-
</div>
|
2915
|
-
<hr>
|
2916
|
-
<div class="refsect2">
|
2917
2845
|
<a name="PANGO-FONT-MAP:CAPS"></a><h3>PANGO_FONT_MAP()</h3>
|
2918
2846
|
<pre class="programlisting">#define PANGO_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_MAP, PangoFontMap))
|
2919
2847
|
</pre>
|
2920
|
-
<p>Casts a <a href="
|
2848
|
+
<p>Casts a <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> to a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.</p>
|
2921
2849
|
<div class="refsect3">
|
2922
|
-
<a name="
|
2850
|
+
<a name="PANGO-FONT-MAP.parameters"></a><h4>Parameters</h4>
|
2923
2851
|
<div class="informaltable"><table width="100%" border="0">
|
2924
2852
|
<colgroup>
|
2925
2853
|
<col width="150px" class="parameters_name">
|
@@ -2928,7 +2856,7 @@ is synthesized.</p>
|
|
2928
2856
|
</colgroup>
|
2929
2857
|
<tbody><tr>
|
2930
2858
|
<td class="parameter_name"><p>object</p></td>
|
2931
|
-
<td class="parameter_description"><p>a <a href="
|
2859
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>.</p></td>
|
2932
2860
|
<td class="parameter_annotations"> </td>
|
2933
2861
|
</tr></tbody>
|
2934
2862
|
</table></div>
|
@@ -2940,7 +2868,7 @@ is synthesized.</p>
|
|
2940
2868
|
<pre class="programlisting">#define PANGO_IS_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_MAP))
|
2941
2869
|
</pre>
|
2942
2870
|
<div class="refsect3">
|
2943
|
-
<a name="
|
2871
|
+
<a name="PANGO-IS-FONT-MAP.parameters"></a><h4>Parameters</h4>
|
2944
2872
|
<div class="informaltable"><table width="100%" border="0">
|
2945
2873
|
<colgroup>
|
2946
2874
|
<col width="150px" class="parameters_name">
|
@@ -2949,14 +2877,14 @@ is synthesized.</p>
|
|
2949
2877
|
</colgroup>
|
2950
2878
|
<tbody><tr>
|
2951
2879
|
<td class="parameter_name"><p>object</p></td>
|
2952
|
-
<td class="parameter_description"><p>a <a href="
|
2880
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>.</p></td>
|
2953
2881
|
<td class="parameter_annotations"> </td>
|
2954
2882
|
</tr></tbody>
|
2955
2883
|
</table></div>
|
2956
2884
|
</div>
|
2957
2885
|
<div class="refsect3">
|
2958
|
-
<a name="
|
2959
|
-
<p> <a href="
|
2886
|
+
<a name="PANGO-IS-FONT-MAP.returns"></a><h4>Returns</h4>
|
2887
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>object</code></em>
|
2960
2888
|
is a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.</p>
|
2961
2889
|
</div>
|
2962
2890
|
</div>
|
@@ -2965,9 +2893,9 @@ is a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">Pan
|
|
2965
2893
|
<a name="PANGO-FONT-MAP-CLASS:CAPS"></a><h3>PANGO_FONT_MAP_CLASS()</h3>
|
2966
2894
|
<pre class="programlisting">#define PANGO_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FONT_MAP, PangoFontMapClass))
|
2967
2895
|
</pre>
|
2968
|
-
<p>Casts a <a href="
|
2896
|
+
<p>Casts a <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> to a <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a>.</p>
|
2969
2897
|
<div class="refsect3">
|
2970
|
-
<a name="
|
2898
|
+
<a name="PANGO-FONT-MAP-CLASS.parameters"></a><h4>Parameters</h4>
|
2971
2899
|
<div class="informaltable"><table width="100%" border="0">
|
2972
2900
|
<colgroup>
|
2973
2901
|
<col width="150px" class="parameters_name">
|
@@ -2976,7 +2904,7 @@ is a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">Pan
|
|
2976
2904
|
</colgroup>
|
2977
2905
|
<tbody><tr>
|
2978
2906
|
<td class="parameter_name"><p>klass</p></td>
|
2979
|
-
<td class="parameter_description"><p>a <a href="
|
2907
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>.</p></td>
|
2980
2908
|
<td class="parameter_annotations"> </td>
|
2981
2909
|
</tr></tbody>
|
2982
2910
|
</table></div>
|
@@ -2988,7 +2916,7 @@ is a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">Pan
|
|
2988
2916
|
<pre class="programlisting">#define PANGO_IS_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FONT_MAP))
|
2989
2917
|
</pre>
|
2990
2918
|
<div class="refsect3">
|
2991
|
-
<a name="
|
2919
|
+
<a name="PANGO-IS-FONT-MAP-CLASS.parameters"></a><h4>Parameters</h4>
|
2992
2920
|
<div class="informaltable"><table width="100%" border="0">
|
2993
2921
|
<colgroup>
|
2994
2922
|
<col width="150px" class="parameters_name">
|
@@ -2997,14 +2925,14 @@ is a <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">Pan
|
|
2997
2925
|
</colgroup>
|
2998
2926
|
<tbody><tr>
|
2999
2927
|
<td class="parameter_name"><p>klass</p></td>
|
3000
|
-
<td class="parameter_description"><p>a <a href="
|
2928
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>.</p></td>
|
3001
2929
|
<td class="parameter_annotations"> </td>
|
3002
2930
|
</tr></tbody>
|
3003
2931
|
</table></div>
|
3004
2932
|
</div>
|
3005
2933
|
<div class="refsect3">
|
3006
|
-
<a name="
|
3007
|
-
<p> <a href="
|
2934
|
+
<a name="PANGO-IS-FONT-MAP-CLASS.returns"></a><h4>Returns</h4>
|
2935
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>klass</code></em>
|
3008
2936
|
is a subtype of <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a>.</p>
|
3009
2937
|
</div>
|
3010
2938
|
</div>
|
@@ -3014,7 +2942,7 @@ is a subtype of <a class="link" href="pango-Fonts.html#PangoFontMapClass" title=
|
|
3014
2942
|
<pre class="programlisting">#define PANGO_FONT_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FONT_MAP, PangoFontMapClass))
|
3015
2943
|
</pre>
|
3016
2944
|
<div class="refsect3">
|
3017
|
-
<a name="
|
2945
|
+
<a name="PANGO-FONT-MAP-GET-CLASS.parameters"></a><h4>Parameters</h4>
|
3018
2946
|
<div class="informaltable"><table width="100%" border="0">
|
3019
2947
|
<colgroup>
|
3020
2948
|
<col width="150px" class="parameters_name">
|
@@ -3029,7 +2957,7 @@ is a subtype of <a class="link" href="pango-Fonts.html#PangoFontMapClass" title=
|
|
3029
2957
|
</table></div>
|
3030
2958
|
</div>
|
3031
2959
|
<div class="refsect3">
|
3032
|
-
<a name="
|
2960
|
+
<a name="PANGO-FONT-MAP-GET-CLASS.returns"></a><h4>Returns</h4>
|
3033
2961
|
<p> class of <em class="parameter"><code>obj</code></em>
|
3034
2962
|
</p>
|
3035
2963
|
</div>
|
@@ -3045,10 +2973,10 @@ to <a class="link" href="pango-Text-Processing.html#pango-context-new" title="pa
|
|
3045
2973
|
<p>If you are using Pango as part of a higher-level system,
|
3046
2974
|
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>.
|
3047
2975
|
For instance, the GTK+ toolkit has, among others,
|
3048
|
-
<a href="
|
3049
|
-
<a href="
|
2976
|
+
<a href="http://developer.gnome.org/gdk3/gdk3-Pango-Interaction.html#gdk-pango-context-get-for-screen"><code class="function">gdk_pango_context_get_for_screen()</code></a>, and
|
2977
|
+
<a href="http://developer.gnome.org/gtk3/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>. Use those instead.</p>
|
3050
2978
|
<div class="refsect3">
|
3051
|
-
<a name="
|
2979
|
+
<a name="pango-font-map-create-context.parameters"></a><h4>Parameters</h4>
|
3052
2980
|
<div class="informaltable"><table width="100%" border="0">
|
3053
2981
|
<colgroup>
|
3054
2982
|
<col width="150px" class="parameters_name">
|
@@ -3063,9 +2991,9 @@ For instance, the GTK+ toolkit has, among others,
|
|
3063
2991
|
</table></div>
|
3064
2992
|
</div>
|
3065
2993
|
<div class="refsect3">
|
3066
|
-
<a name="
|
2994
|
+
<a name="pango-font-map-create-context.returns"></a><h4>Returns</h4>
|
3067
2995
|
<p> the newly allocated <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>,
|
3068
|
-
which should be freed with <a href="
|
2996
|
+
which should be freed with <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
|
3069
2997
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
3070
2998
|
</div>
|
3071
2999
|
<p class="since">Since: <a class="link" href="api-index-1-22.html#api-index-1.22">1.22</a></p>
|
@@ -3080,7 +3008,7 @@ pango_font_map_load_font (<em class="parameter"><code><a class="link" href="pang
|
|
3080
3008
|
<p>Load the font in the fontmap that is the closest match for <em class="parameter"><code>desc</code></em>
|
3081
3009
|
.</p>
|
3082
3010
|
<div class="refsect3">
|
3083
|
-
<a name="
|
3011
|
+
<a name="pango-font-map-load-font.parameters"></a><h4>Parameters</h4>
|
3084
3012
|
<div class="informaltable"><table width="100%" border="0">
|
3085
3013
|
<colgroup>
|
3086
3014
|
<col width="150px" class="parameters_name">
|
@@ -3107,9 +3035,9 @@ pango_font_map_load_font (<em class="parameter"><code><a class="link" href="pang
|
|
3107
3035
|
</table></div>
|
3108
3036
|
</div>
|
3109
3037
|
<div class="refsect3">
|
3110
|
-
<a name="
|
3038
|
+
<a name="pango-font-map-load-font.returns"></a><h4>Returns</h4>
|
3111
3039
|
<p> the newly allocated <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
3112
|
-
loaded, or <a href="
|
3040
|
+
loaded, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no font matched. </p>
|
3113
3041
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
3114
3042
|
</div>
|
3115
3043
|
</div>
|
@@ -3125,7 +3053,7 @@ pango_font_map_load_fontset (<em class="parameter"><code><a class="link" href="p
|
|
3125
3053
|
a font matching <em class="parameter"><code>desc</code></em>
|
3126
3054
|
.</p>
|
3127
3055
|
<div class="refsect3">
|
3128
|
-
<a name="
|
3056
|
+
<a name="pango-font-map-load-fontset.parameters"></a><h4>Parameters</h4>
|
3129
3057
|
<div class="informaltable"><table width="100%" border="0">
|
3130
3058
|
<colgroup>
|
3131
3059
|
<col width="150px" class="parameters_name">
|
@@ -3157,9 +3085,9 @@ a font matching <em class="parameter"><code>desc</code></em>
|
|
3157
3085
|
</table></div>
|
3158
3086
|
</div>
|
3159
3087
|
<div class="refsect3">
|
3160
|
-
<a name="
|
3088
|
+
<a name="pango-font-map-load-fontset.returns"></a><h4>Returns</h4>
|
3161
3089
|
<p> the newly allocated
|
3162
|
-
<a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> loaded, or <a href="
|
3090
|
+
<a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> loaded, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no font matched. </p>
|
3163
3091
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
3164
3092
|
</div>
|
3165
3093
|
</div>
|
@@ -3172,7 +3100,7 @@ pango_font_map_list_families (<em class="parameter"><code><a class="link" href="
|
|
3172
3100
|
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);</pre>
|
3173
3101
|
<p>List all families for a fontmap.</p>
|
3174
3102
|
<div class="refsect3">
|
3175
|
-
<a name="
|
3103
|
+
<a name="pango-font-map-list-families.parameters"></a><h4>Parameters</h4>
|
3176
3104
|
<div class="informaltable"><table width="100%" border="0">
|
3177
3105
|
<colgroup>
|
3178
3106
|
<col width="150px" class="parameters_name">
|
@@ -3188,7 +3116,7 @@ pango_font_map_list_families (<em class="parameter"><code><a class="link" href="
|
|
3188
3116
|
<tr>
|
3189
3117
|
<td class="parameter_name"><p>families</p></td>
|
3190
3118
|
<td class="parameter_description"><p> location to store a pointer to an array of <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *.
|
3191
|
-
This array should be freed with <a href="
|
3119
|
+
This array should be freed with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p></td>
|
3192
3120
|
<td class="parameter_annotations"><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></td>
|
3193
3121
|
</tr>
|
3194
3122
|
<tr>
|
@@ -3211,7 +3139,7 @@ pango_font_map_get_shape_engine_type (<em class="parameter"><code><a class="link
|
|
3211
3139
|
See the <em class="structfield"><code>render_type</code></em> field of
|
3212
3140
|
<a class="link" href="pango-Engines.html#PangoEngineInfo" title="struct PangoEngineInfo"><span class="type">PangoEngineInfo</span></a>.</p>
|
3213
3141
|
<div class="refsect3">
|
3214
|
-
<a name="
|
3142
|
+
<a name="pango-font-map-get-shape-engine-type.parameters"></a><h4>Parameters</h4>
|
3215
3143
|
<div class="informaltable"><table width="100%" border="0">
|
3216
3144
|
<colgroup>
|
3217
3145
|
<col width="150px" class="parameters_name">
|
@@ -3226,7 +3154,7 @@ See the <em class="structfield"><code>render_type</code></em> field of
|
|
3226
3154
|
</table></div>
|
3227
3155
|
</div>
|
3228
3156
|
<div class="refsect3">
|
3229
|
-
<a name="
|
3157
|
+
<a name="pango-font-map-get-shape-engine-type.returns"></a><h4>Returns</h4>
|
3230
3158
|
<p> the ID string for shape engines for
|
3231
3159
|
this fontmap. Owned by Pango, should not be modified
|
3232
3160
|
or freed.</p>
|
@@ -3236,7 +3164,7 @@ or freed.</p>
|
|
3236
3164
|
<hr>
|
3237
3165
|
<div class="refsect2">
|
3238
3166
|
<a name="pango-font-map-get-serial"></a><h3>pango_font_map_get_serial ()</h3>
|
3239
|
-
<pre class="programlisting"><a href="
|
3167
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
3240
3168
|
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>
|
3241
3169
|
<p>Returns the current serial number of <em class="parameter"><code>fontmap</code></em>
|
3242
3170
|
. The serial number is
|
@@ -3249,7 +3177,7 @@ fontmap resolution.</p>
|
|
3249
3177
|
<p>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
|
3250
3178
|
in <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</p>
|
3251
3179
|
<div class="refsect3">
|
3252
|
-
<a name="
|
3180
|
+
<a name="pango-font-map-get-serial.parameters"></a><h4>Parameters</h4>
|
3253
3181
|
<div class="informaltable"><table width="100%" border="0">
|
3254
3182
|
<colgroup>
|
3255
3183
|
<col width="150px" class="parameters_name">
|
@@ -3264,7 +3192,7 @@ in <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="t
|
|
3264
3192
|
</table></div>
|
3265
3193
|
</div>
|
3266
3194
|
<div class="refsect3">
|
3267
|
-
<a name="
|
3195
|
+
<a name="pango-font-map-get-serial.returns"></a><h4>Returns</h4>
|
3268
3196
|
<p> The current serial number of <em class="parameter"><code>fontmap</code></em>
|
3269
3197
|
.</p>
|
3270
3198
|
</div>
|
@@ -3282,7 +3210,7 @@ for Pango, something applications won't do. Backends should
|
|
3282
3210
|
call this function if they have attached extra data to the context
|
3283
3211
|
and such data is changed.</p>
|
3284
3212
|
<div class="refsect3">
|
3285
|
-
<a name="
|
3213
|
+
<a name="pango-font-map-changed.parameters"></a><h4>Parameters</h4>
|
3286
3214
|
<div class="informaltable"><table width="100%" border="0">
|
3287
3215
|
<colgroup>
|
3288
3216
|
<col width="150px" class="parameters_name">
|
@@ -3300,22 +3228,15 @@ and such data is changed.</p>
|
|
3300
3228
|
</div>
|
3301
3229
|
<hr>
|
3302
3230
|
<div class="refsect2">
|
3303
|
-
<a name="PANGO-TYPE-FONTSET:CAPS"></a><h3>PANGO_TYPE_FONTSET</h3>
|
3304
|
-
<pre class="programlisting">#define PANGO_TYPE_FONTSET (pango_fontset_get_type ())
|
3305
|
-
</pre>
|
3306
|
-
<p>The <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a>.</p>
|
3307
|
-
</div>
|
3308
|
-
<hr>
|
3309
|
-
<div class="refsect2">
|
3310
3231
|
<a name="pango-fontset-get-font"></a><h3>pango_fontset_get_font ()</h3>
|
3311
3232
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> *
|
3312
3233
|
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>,
|
3313
|
-
<em class="parameter"><code><a href="
|
3234
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> wc</code></em>);</pre>
|
3314
3235
|
<p>Returns the font in the fontset that contains the best glyph for the
|
3315
3236
|
Unicode character <em class="parameter"><code>wc</code></em>
|
3316
3237
|
.</p>
|
3317
3238
|
<div class="refsect3">
|
3318
|
-
<a name="
|
3239
|
+
<a name="pango-fontset-get-font.parameters"></a><h4>Parameters</h4>
|
3319
3240
|
<div class="informaltable"><table width="100%" border="0">
|
3320
3241
|
<colgroup>
|
3321
3242
|
<col width="150px" class="parameters_name">
|
@@ -3337,7 +3258,7 @@ Unicode character <em class="parameter"><code>wc</code></em>
|
|
3337
3258
|
</table></div>
|
3338
3259
|
</div>
|
3339
3260
|
<div class="refsect3">
|
3340
|
-
<a name="
|
3261
|
+
<a name="pango-fontset-get-font.returns"></a><h4>Returns</h4>
|
3341
3262
|
<p> a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>. The caller must call
|
3342
3263
|
g_object_unref when finished with the font. </p>
|
3343
3264
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -3350,7 +3271,7 @@ g_object_unref when finished with the font. </p>
|
|
3350
3271
|
pango_fontset_get_metrics (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>);</pre>
|
3351
3272
|
<p>Get overall metric information for the fonts in the fontset.</p>
|
3352
3273
|
<div class="refsect3">
|
3353
|
-
<a name="
|
3274
|
+
<a name="pango-fontset-get-metrics.parameters"></a><h4>Parameters</h4>
|
3354
3275
|
<div class="informaltable"><table width="100%" border="0">
|
3355
3276
|
<colgroup>
|
3356
3277
|
<col width="150px" class="parameters_name">
|
@@ -3365,7 +3286,7 @@ pango_fontset_get_metrics (<em class="parameter"><code><a class="link" href="pan
|
|
3365
3286
|
</table></div>
|
3366
3287
|
</div>
|
3367
3288
|
<div class="refsect3">
|
3368
|
-
<a name="
|
3289
|
+
<a name="pango-fontset-get-metrics.returns"></a><h4>Returns</h4>
|
3369
3290
|
<p> a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> object. The caller must call <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()"><code class="function">pango_font_metrics_unref()</code></a>
|
3370
3291
|
when finished using the object.</p>
|
3371
3292
|
</div>
|
@@ -3373,14 +3294,14 @@ when finished using the object.</p>
|
|
3373
3294
|
<hr>
|
3374
3295
|
<div class="refsect2">
|
3375
3296
|
<a name="PangoFontsetForeachFunc"></a><h3>PangoFontsetForeachFunc ()</h3>
|
3376
|
-
<pre class="programlisting"><a href="
|
3297
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
3377
3298
|
<span class="c_punctuation">(</span>*PangoFontsetForeachFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
3378
3299
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
3379
|
-
<em class="parameter"><code><a href="
|
3300
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
3380
3301
|
<p>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
|
3381
3302
|
the fonts in a fontset.</p>
|
3382
3303
|
<div class="refsect3">
|
3383
|
-
<a name="
|
3304
|
+
<a name="PangoFontsetForeachFunc.parameters"></a><h4>Parameters</h4>
|
3384
3305
|
<div class="informaltable"><table width="100%" border="0">
|
3385
3306
|
<colgroup>
|
3386
3307
|
<col width="150px" class="parameters_name">
|
@@ -3408,8 +3329,8 @@ the fonts in a fontset.</p>
|
|
3408
3329
|
</table></div>
|
3409
3330
|
</div>
|
3410
3331
|
<div class="refsect3">
|
3411
|
-
<a name="
|
3412
|
-
<p> if <a href="
|
3332
|
+
<a name="PangoFontsetForeachFunc.returns"></a><h4>Returns</h4>
|
3333
|
+
<p> if <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, stop iteration and return immediately.</p>
|
3413
3334
|
</div>
|
3414
3335
|
<p class="since">Since: <a class="link" href="api-index-1-4.html#api-index-1.4">1.4</a></p>
|
3415
3336
|
</div>
|
@@ -3419,13 +3340,13 @@ the fonts in a fontset.</p>
|
|
3419
3340
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3420
3341
|
pango_fontset_foreach (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> *fontset</code></em>,
|
3421
3342
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetForeachFunc" title="PangoFontsetForeachFunc ()"><span class="type">PangoFontsetForeachFunc</span></a> func</code></em>,
|
3422
|
-
<em class="parameter"><code><a href="
|
3343
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
3423
3344
|
<p>Iterates through all the fonts in a fontset, calling <em class="parameter"><code>func</code></em>
|
3424
3345
|
for
|
3425
3346
|
each one. If <em class="parameter"><code>func</code></em>
|
3426
|
-
returns <a href="
|
3347
|
+
returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, that stops the iteration.</p>
|
3427
3348
|
<div class="refsect3">
|
3428
|
-
<a name="
|
3349
|
+
<a name="pango-fontset-foreach.parameters"></a><h4>Parameters</h4>
|
3429
3350
|
<div class="informaltable"><table width="100%" border="0">
|
3430
3351
|
<colgroup>
|
3431
3352
|
<col width="150px" class="parameters_name">
|
@@ -3455,19 +3376,12 @@ each one. If <em class="parameter"><code>func</code></em>
|
|
3455
3376
|
</div>
|
3456
3377
|
<hr>
|
3457
3378
|
<div class="refsect2">
|
3458
|
-
<a name="PANGO-TYPE-FONTSET-SIMPLE:CAPS"></a><h3>PANGO_TYPE_FONTSET_SIMPLE</h3>
|
3459
|
-
<pre class="programlisting">#define PANGO_TYPE_FONTSET_SIMPLE (pango_fontset_simple_get_type ())
|
3460
|
-
</pre>
|
3461
|
-
<p>The <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>.</p>
|
3462
|
-
</div>
|
3463
|
-
<hr>
|
3464
|
-
<div class="refsect2">
|
3465
3379
|
<a name="pango-fontset-simple-new"></a><h3>pango_fontset_simple_new ()</h3>
|
3466
3380
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="returnvalue">PangoFontsetSimple</span></a> *
|
3467
3381
|
pango_fontset_simple_new (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
3468
3382
|
<p>Creates a new <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> for the given language.</p>
|
3469
3383
|
<div class="refsect3">
|
3470
|
-
<a name="
|
3384
|
+
<a name="pango-fontset-simple-new.parameters"></a><h4>Parameters</h4>
|
3471
3385
|
<div class="informaltable"><table width="100%" border="0">
|
3472
3386
|
<colgroup>
|
3473
3387
|
<col width="150px" class="parameters_name">
|
@@ -3482,9 +3396,9 @@ pango_fontset_simple_new (<em class="parameter"><code><a class="link" href="pang
|
|
3482
3396
|
</table></div>
|
3483
3397
|
</div>
|
3484
3398
|
<div class="refsect3">
|
3485
|
-
<a name="
|
3399
|
+
<a name="pango-fontset-simple-new.returns"></a><h4>Returns</h4>
|
3486
3400
|
<p> the newly allocated <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>, which should
|
3487
|
-
be freed with <a href="
|
3401
|
+
be freed with <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
3488
3402
|
</div>
|
3489
3403
|
</div>
|
3490
3404
|
<hr>
|
@@ -3495,7 +3409,7 @@ pango_fontset_simple_append (<em class="parameter"><code><a class="link" href="p
|
|
3495
3409
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
3496
3410
|
<p>Adds a font to the fontset.</p>
|
3497
3411
|
<div class="refsect3">
|
3498
|
-
<a name="
|
3412
|
+
<a name="pango-fontset-simple-append.parameters"></a><h4>Parameters</h4>
|
3499
3413
|
<div class="informaltable"><table width="100%" border="0">
|
3500
3414
|
<colgroup>
|
3501
3415
|
<col width="150px" class="parameters_name">
|
@@ -3524,7 +3438,7 @@ pango_fontset_simple_append (<em class="parameter"><code><a class="link" href="p
|
|
3524
3438
|
pango_fontset_simple_size (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a> *fontset</code></em>);</pre>
|
3525
3439
|
<p>Returns the number of fonts in the fontset.</p>
|
3526
3440
|
<div class="refsect3">
|
3527
|
-
<a name="
|
3441
|
+
<a name="pango-fontset-simple-size.parameters"></a><h4>Parameters</h4>
|
3528
3442
|
<div class="informaltable"><table width="100%" border="0">
|
3529
3443
|
<colgroup>
|
3530
3444
|
<col width="150px" class="parameters_name">
|
@@ -3539,7 +3453,7 @@ pango_fontset_simple_size (<em class="parameter"><code><a class="link" href="pan
|
|
3539
3453
|
</table></div>
|
3540
3454
|
</div>
|
3541
3455
|
<div class="refsect3">
|
3542
|
-
<a name="
|
3456
|
+
<a name="pango-fontset-simple-size.returns"></a><h4>Returns</h4>
|
3543
3457
|
<p> the size of <em class="parameter"><code>fontset</code></em>
|
3544
3458
|
.</p>
|
3545
3459
|
</div>
|
@@ -3557,10 +3471,17 @@ the characteristics of a font to load.</p>
|
|
3557
3471
|
</div>
|
3558
3472
|
<hr>
|
3559
3473
|
<div class="refsect2">
|
3474
|
+
<a name="PANGO-TYPE-FONT-DESCRIPTION:CAPS"></a><h3>PANGO_TYPE_FONT_DESCRIPTION</h3>
|
3475
|
+
<pre class="programlisting">#define PANGO_TYPE_FONT_DESCRIPTION (pango_font_description_get_type ())
|
3476
|
+
</pre>
|
3477
|
+
<p>The <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</p>
|
3478
|
+
</div>
|
3479
|
+
<hr>
|
3480
|
+
<div class="refsect2">
|
3560
3481
|
<a name="PangoStyle"></a><h3>enum PangoStyle</h3>
|
3561
3482
|
<p>An enumeration specifying the various slant styles possible for a font.</p>
|
3562
3483
|
<div class="refsect3">
|
3563
|
-
<a name="
|
3484
|
+
<a name="PangoStyle.members"></a><h4>Members</h4>
|
3564
3485
|
<div class="informaltable"><table width="100%" border="0">
|
3565
3486
|
<colgroup>
|
3566
3487
|
<col width="300px" class="enum_members_name">
|
@@ -3595,11 +3516,17 @@ the characteristics of a font to load.</p>
|
|
3595
3516
|
</div>
|
3596
3517
|
<hr>
|
3597
3518
|
<div class="refsect2">
|
3519
|
+
<a name="PANGO-TYPE-STYLE:CAPS"></a><h3>PANGO_TYPE_STYLE</h3>
|
3520
|
+
<pre class="programlisting">#define PANGO_TYPE_STYLE (pango_style_get_type ())
|
3521
|
+
</pre>
|
3522
|
+
</div>
|
3523
|
+
<hr>
|
3524
|
+
<div class="refsect2">
|
3598
3525
|
<a name="PangoWeight"></a><h3>enum PangoWeight</h3>
|
3599
3526
|
<p>An enumeration specifying the weight (boldness) of a font. This is a numerical
|
3600
3527
|
value ranging from 100 to 1000, but there are some predefined values:</p>
|
3601
3528
|
<div class="refsect3">
|
3602
|
-
<a name="
|
3529
|
+
<a name="PangoWeight.members"></a><h4>Members</h4>
|
3603
3530
|
<div class="informaltable"><table width="100%" border="0">
|
3604
3531
|
<colgroup>
|
3605
3532
|
<col width="300px" class="enum_members_name">
|
@@ -3697,10 +3624,16 @@ value ranging from 100 to 1000, but there are some predefined values:</p>
|
|
3697
3624
|
</div>
|
3698
3625
|
<hr>
|
3699
3626
|
<div class="refsect2">
|
3627
|
+
<a name="PANGO-TYPE-WEIGHT:CAPS"></a><h3>PANGO_TYPE_WEIGHT</h3>
|
3628
|
+
<pre class="programlisting">#define PANGO_TYPE_WEIGHT (pango_weight_get_type ())
|
3629
|
+
</pre>
|
3630
|
+
</div>
|
3631
|
+
<hr>
|
3632
|
+
<div class="refsect2">
|
3700
3633
|
<a name="PangoVariant"></a><h3>enum PangoVariant</h3>
|
3701
3634
|
<p>An enumeration specifying capitalization variant of the font.</p>
|
3702
3635
|
<div class="refsect3">
|
3703
|
-
<a name="
|
3636
|
+
<a name="PangoVariant.members"></a><h4>Members</h4>
|
3704
3637
|
<div class="informaltable"><table width="100%" border="0">
|
3705
3638
|
<colgroup>
|
3706
3639
|
<col width="300px" class="enum_members_name">
|
@@ -3729,11 +3662,17 @@ replaced by smaller variants of the capital characters.</p>
|
|
3729
3662
|
</div>
|
3730
3663
|
<hr>
|
3731
3664
|
<div class="refsect2">
|
3665
|
+
<a name="PANGO-TYPE-VARIANT:CAPS"></a><h3>PANGO_TYPE_VARIANT</h3>
|
3666
|
+
<pre class="programlisting">#define PANGO_TYPE_VARIANT (pango_variant_get_type ())
|
3667
|
+
</pre>
|
3668
|
+
</div>
|
3669
|
+
<hr>
|
3670
|
+
<div class="refsect2">
|
3732
3671
|
<a name="PangoStretch"></a><h3>enum PangoStretch</h3>
|
3733
3672
|
<p>An enumeration specifying the width of the font relative to other designs
|
3734
3673
|
within a family.</p>
|
3735
3674
|
<div class="refsect3">
|
3736
|
-
<a name="
|
3675
|
+
<a name="PangoStretch.members"></a><h4>Members</h4>
|
3737
3676
|
<div class="informaltable"><table width="100%" border="0">
|
3738
3677
|
<colgroup>
|
3739
3678
|
<col width="300px" class="enum_members_name">
|
@@ -3810,11 +3749,17 @@ within a family.</p>
|
|
3810
3749
|
</div>
|
3811
3750
|
<hr>
|
3812
3751
|
<div class="refsect2">
|
3752
|
+
<a name="PANGO-TYPE-STRETCH:CAPS"></a><h3>PANGO_TYPE_STRETCH</h3>
|
3753
|
+
<pre class="programlisting">#define PANGO_TYPE_STRETCH (pango_stretch_get_type ())
|
3754
|
+
</pre>
|
3755
|
+
</div>
|
3756
|
+
<hr>
|
3757
|
+
<div class="refsect2">
|
3813
3758
|
<a name="PangoFontMask"></a><h3>enum PangoFontMask</h3>
|
3814
3759
|
<p>The bits in a <a class="link" href="pango-Fonts.html#PangoFontMask" title="enum PangoFontMask"><span class="type">PangoFontMask</span></a> correspond to fields in a
|
3815
3760
|
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> that have been set.</p>
|
3816
3761
|
<div class="refsect3">
|
3817
|
-
<a name="
|
3762
|
+
<a name="PangoFontMask.members"></a><h4>Members</h4>
|
3818
3763
|
<div class="informaltable"><table width="100%" border="0">
|
3819
3764
|
<colgroup>
|
3820
3765
|
<col width="300px" class="enum_members_name">
|
@@ -3877,6 +3822,12 @@ within a family.</p>
|
|
3877
3822
|
</div>
|
3878
3823
|
<hr>
|
3879
3824
|
<div class="refsect2">
|
3825
|
+
<a name="PANGO-TYPE-FONT-MASK:CAPS"></a><h3>PANGO_TYPE_FONT_MASK</h3>
|
3826
|
+
<pre class="programlisting">#define PANGO_TYPE_FONT_MASK (pango_font_mask_get_type ())
|
3827
|
+
</pre>
|
3828
|
+
</div>
|
3829
|
+
<hr>
|
3830
|
+
<div class="refsect2">
|
3880
3831
|
<a name="PangoFontMetrics-struct"></a><h3>struct PangoFontMetrics</h3>
|
3881
3832
|
<pre class="programlisting">struct PangoFontMetrics {
|
3882
3833
|
};
|
@@ -3889,6 +3840,13 @@ of their meaning.</p>
|
|
3889
3840
|
</div>
|
3890
3841
|
<hr>
|
3891
3842
|
<div class="refsect2">
|
3843
|
+
<a name="PANGO-TYPE-FONT-METRICS:CAPS"></a><h3>PANGO_TYPE_FONT_METRICS</h3>
|
3844
|
+
<pre class="programlisting">#define PANGO_TYPE_FONT_METRICS (pango_font_metrics_get_type ())
|
3845
|
+
</pre>
|
3846
|
+
<p>The <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a>.</p>
|
3847
|
+
</div>
|
3848
|
+
<hr>
|
3849
|
+
<div class="refsect2">
|
3892
3850
|
<a name="PangoFont-struct"></a><h3>PangoFont</h3>
|
3893
3851
|
<pre class="programlisting">typedef struct _PangoFont PangoFont;</pre>
|
3894
3852
|
<p>The <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> structure is used to represent
|
@@ -3905,6 +3863,13 @@ which the implementation fills in.</p>
|
|
3905
3863
|
</div>
|
3906
3864
|
<hr>
|
3907
3865
|
<div class="refsect2">
|
3866
|
+
<a name="PANGO-TYPE-FONT:CAPS"></a><h3>PANGO_TYPE_FONT</h3>
|
3867
|
+
<pre class="programlisting">#define PANGO_TYPE_FONT (pango_font_get_type ())
|
3868
|
+
</pre>
|
3869
|
+
<p>The <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</p>
|
3870
|
+
</div>
|
3871
|
+
<hr>
|
3872
|
+
<div class="refsect2">
|
3908
3873
|
<a name="PangoFontFamily-struct"></a><h3>struct PangoFontFamily</h3>
|
3909
3874
|
<pre class="programlisting">struct PangoFontFamily;</pre>
|
3910
3875
|
<p>The <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> structure is used to represent a family of related
|
@@ -3913,6 +3878,13 @@ slant, weight, width and other aspects.</p>
|
|
3913
3878
|
</div>
|
3914
3879
|
<hr>
|
3915
3880
|
<div class="refsect2">
|
3881
|
+
<a name="PANGO-TYPE-FONT-FAMILY:CAPS"></a><h3>PANGO_TYPE_FONT_FAMILY</h3>
|
3882
|
+
<pre class="programlisting">#define PANGO_TYPE_FONT_FAMILY (pango_font_family_get_type ())
|
3883
|
+
</pre>
|
3884
|
+
<p>The <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a>.</p>
|
3885
|
+
</div>
|
3886
|
+
<hr>
|
3887
|
+
<div class="refsect2">
|
3916
3888
|
<a name="PangoFontFace-struct"></a><h3>struct PangoFontFace</h3>
|
3917
3889
|
<pre class="programlisting">struct PangoFontFace;</pre>
|
3918
3890
|
<p>The <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a> structure is used to represent a group of fonts with
|
@@ -3920,6 +3892,13 @@ the same family, slant, weight, width, but varying sizes.</p>
|
|
3920
3892
|
</div>
|
3921
3893
|
<hr>
|
3922
3894
|
<div class="refsect2">
|
3895
|
+
<a name="PANGO-TYPE-FONT-FACE:CAPS"></a><h3>PANGO_TYPE_FONT_FACE</h3>
|
3896
|
+
<pre class="programlisting">#define PANGO_TYPE_FONT_FACE (pango_font_face_get_type ())
|
3897
|
+
</pre>
|
3898
|
+
<p>The <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontFace"><span class="type">PangoFontFace</span></a>.</p>
|
3899
|
+
</div>
|
3900
|
+
<hr>
|
3901
|
+
<div class="refsect2">
|
3923
3902
|
<a name="PangoFontMap-struct"></a><h3>PangoFontMap</h3>
|
3924
3903
|
<pre class="programlisting">typedef struct _PangoFontMap PangoFontMap;</pre>
|
3925
3904
|
<p>The <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> represents the set of fonts available for a
|
@@ -3935,6 +3914,13 @@ fills in.</p>
|
|
3935
3914
|
</div>
|
3936
3915
|
<hr>
|
3937
3916
|
<div class="refsect2">
|
3917
|
+
<a name="PANGO-TYPE-FONT-MAP:CAPS"></a><h3>PANGO_TYPE_FONT_MAP</h3>
|
3918
|
+
<pre class="programlisting">#define PANGO_TYPE_FONT_MAP (pango_font_map_get_type ())
|
3919
|
+
</pre>
|
3920
|
+
<p>The <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>.</p>
|
3921
|
+
</div>
|
3922
|
+
<hr>
|
3923
|
+
<div class="refsect2">
|
3938
3924
|
<a name="PangoFontMapClass"></a><h3>struct PangoFontMapClass</h3>
|
3939
3925
|
<pre class="programlisting">struct PangoFontMapClass {
|
3940
3926
|
GObjectClass parent_class;
|
@@ -3960,7 +3946,7 @@ fills in.</p>
|
|
3960
3946
|
<p>The <a class="link" href="pango-Fonts.html#PangoFontMapClass" title="struct PangoFontMapClass"><span class="type">PangoFontMapClass</span></a> structure holds the virtual functions for
|
3961
3947
|
a particular <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> implementation.</p>
|
3962
3948
|
<div class="refsect3">
|
3963
|
-
<a name="
|
3949
|
+
<a name="PangoFontMapClass.members"></a><h4>Members</h4>
|
3964
3950
|
<div class="informaltable"><table width="100%" border="0">
|
3965
3951
|
<colgroup>
|
3966
3952
|
<col width="300px" class="struct_members_name">
|
@@ -3969,11 +3955,6 @@ a particular <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="t
|
|
3969
3955
|
</colgroup>
|
3970
3956
|
<tbody>
|
3971
3957
|
<tr>
|
3972
|
-
<td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="PangoFontMapClass.parent-class"></a>parent_class</code></em>;</p></td>
|
3973
|
-
<td class="struct_member_description"><p>parent <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a>.</p></td>
|
3974
|
-
<td class="struct_member_annotations"> </td>
|
3975
|
-
</tr>
|
3976
|
-
<tr>
|
3977
3958
|
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFontMapClass.load-font"></a>load_font</code></em> ()</p></td>
|
3978
3959
|
<td class="struct_member_description"><p>a function to load a font with a given description. See
|
3979
3960
|
<a class="link" href="pango-Fonts.html#pango-font-map-load-font" title="pango_font_map_load_font ()"><code class="function">pango_font_map_load_font()</code></a>.</p></td>
|
@@ -4025,6 +4006,13 @@ set of metrics for the entire fontset.</p>
|
|
4025
4006
|
</div>
|
4026
4007
|
<hr>
|
4027
4008
|
<div class="refsect2">
|
4009
|
+
<a name="PANGO-TYPE-FONTSET:CAPS"></a><h3>PANGO_TYPE_FONTSET</h3>
|
4010
|
+
<pre class="programlisting">#define PANGO_TYPE_FONTSET (pango_fontset_get_type ())
|
4011
|
+
</pre>
|
4012
|
+
<p>The <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a>.</p>
|
4013
|
+
</div>
|
4014
|
+
<hr>
|
4015
|
+
<div class="refsect2">
|
4028
4016
|
<a name="PangoFontsetClass"></a><h3>struct PangoFontsetClass</h3>
|
4029
4017
|
<pre class="programlisting">struct PangoFontsetClass {
|
4030
4018
|
GObjectClass parent_class;
|
@@ -4043,7 +4031,7 @@ set of metrics for the entire fontset.</p>
|
|
4043
4031
|
<p>The <a class="link" href="pango-Fonts.html#PangoFontsetClass" title="struct PangoFontsetClass"><span class="type">PangoFontsetClass</span></a> structure holds the virtual functions for
|
4044
4032
|
a particular <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> implementation.</p>
|
4045
4033
|
<div class="refsect3">
|
4046
|
-
<a name="
|
4034
|
+
<a name="PangoFontsetClass.members"></a><h4>Members</h4>
|
4047
4035
|
<div class="informaltable"><table width="100%" border="0">
|
4048
4036
|
<colgroup>
|
4049
4037
|
<col width="300px" class="struct_members_name">
|
@@ -4052,11 +4040,6 @@ a particular <a class="link" href="pango-Fonts.html#PangoFontset"><span class="t
|
|
4052
4040
|
</colgroup>
|
4053
4041
|
<tbody>
|
4054
4042
|
<tr>
|
4055
|
-
<td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="PangoFontsetClass.parent-class"></a>parent_class</code></em>;</p></td>
|
4056
|
-
<td class="struct_member_description"><p>parent <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a>.</p></td>
|
4057
|
-
<td class="struct_member_annotations"> </td>
|
4058
|
-
</tr>
|
4059
|
-
<tr>
|
4060
4043
|
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFontsetClass.get-font"></a>get_font</code></em> ()</p></td>
|
4061
4044
|
<td class="struct_member_description"><p>a function to get the font in the fontset that contains the
|
4062
4045
|
best glyph for the given Unicode character; see <a class="link" href="pango-Fonts.html#pango-fontset-get-font" title="pango_fontset_get_font ()"><code class="function">pango_fontset_get_font()</code></a>.</p></td>
|
@@ -4092,9 +4075,16 @@ in the fontset; see <a class="link" href="pango-Fonts.html#pango-fontset-get-met
|
|
4092
4075
|
which the creator provides when constructing the
|
4093
4076
|
<a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>.</p>
|
4094
4077
|
</div>
|
4078
|
+
<hr>
|
4079
|
+
<div class="refsect2">
|
4080
|
+
<a name="PANGO-TYPE-FONTSET-SIMPLE:CAPS"></a><h3>PANGO_TYPE_FONTSET_SIMPLE</h3>
|
4081
|
+
<pre class="programlisting">#define PANGO_TYPE_FONTSET_SIMPLE (pango_fontset_simple_get_type ())
|
4082
|
+
</pre>
|
4083
|
+
<p>The <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> type for <a class="link" href="pango-Fonts.html#PangoFontsetSimple"><span class="type">PangoFontsetSimple</span></a>.</p>
|
4084
|
+
</div>
|
4095
4085
|
</div>
|
4096
4086
|
</div>
|
4097
4087
|
<div class="footer">
|
4098
|
-
<hr>Generated by GTK-Doc V1.
|
4088
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
4099
4089
|
</body>
|
4100
4090
|
</html>
|