gtk2 0.90.4-x86-mingw32 → 0.90.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +4 -0
- data/Rakefile +3 -4
- data/ext/gtk2/extconf.rb +8 -0
- data/lib/1.8/gtk2.so +0 -0
- data/lib/1.9/gtk2.so +0 -0
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-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-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/bin/pkg-config.exe +0 -0
- data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
- data/vendor/local/etc/pango/pango.modules +1 -1
- data/vendor/local/gtk+-bundle_2.22.0-20101016_win32.README.txt +29 -0
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/pixman-1/pixman-version.h +50 -0
- data/vendor/local/include/pixman-1/pixman.h +936 -0
- data/vendor/local/lib/gailutil.lib +0 -0
- data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpixman-1.a +0 -0
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/gail.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/pango.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +2 -2
- data/vendor/local/lib/pkgconfig/pixman-1.pc +11 -0
- data/vendor/local/manifest/gtk+-bundle_2.22.0-20101016_win32.mft +2910 -0
- data/vendor/local/manifest/{pango-dev_1.28.1-2_win32.mft → pango-dev_1.28.3-1_win32.mft} +5 -5
- data/vendor/local/manifest/{pango_1.28.1-2_win32.mft → pango_1.28.3-1_win32.mft} +2 -2
- data/vendor/local/share/aclocal/pkg.m4 +155 -0
- data/vendor/local/share/doc/gtk+-bundle_2.22.0-20101016_win32/components.lst +28 -0
- data/vendor/local/share/doc/{pango-1.28.1 → pango-1.28.3}/COPYING +0 -0
- data/vendor/local/share/doc/{pango-dev-1.28.1 → pango-dev-1.28.3}/COPYING +0 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +44 -50
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +45 -51
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +44 -61
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +89 -101
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +173 -171
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +22 -43
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +70 -91
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +31 -30
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +20 -39
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +73 -88
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +405 -320
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +85 -97
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +69 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +695 -645
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +225 -228
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +523 -494
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +819 -742
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +203 -204
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +58 -75
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +422 -405
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +144 -142
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +120 -130
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +618 -576
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +397 -384
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +44 -58
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +73 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +220 -217
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +303 -302
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +293 -292
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +1009 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +7 -28
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +68 -68
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +72 -72
- data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/style.css +21 -13
- data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -24
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -1
- data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.log → gtk+_2.22.0-2_win32.log} +1835 -1832
- data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.sh → gtk+_2.22.0-2_win32.sh} +26 -1
- data/vendor/local/src/tml/packaging/{pango_1.28.1-2_win32.log → pango_1.28.3-1_win32.log} +293 -413
- data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.sh +56 -0
- data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.log +291 -0
- data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.sh +141 -0
- data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.log +215 -0
- data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.sh +278 -0
- metadata +3323 -3325
- data/ext/gtk2/Makefile +0 -163
- data/ext/gtk2/rbgdkkeysyms.h +0 -1708
- data/ext/gtk2/rbgtkinits.c +0 -469
- data/vendor/local/manifest/cairo-dev_1.10.0-1_win32.mft +0 -83
- data/vendor/local/manifest/cairo_1.10.0-1_win32.mft +0 -5
- data/vendor/local/manifest/expat-dev_2.0.1-1_win32.mft +0 -10
- data/vendor/local/manifest/expat_2.0.1-1_win32.mft +0 -2
- data/vendor/local/manifest/fontconfig-dev_2.8.0-2_win32.mft +0 -387
- data/vendor/local/manifest/fontconfig_2.8.0-2_win32.mft +0 -3
- data/vendor/local/manifest/freetype-dev_2.4.2-1_win32.mft +0 -56
- data/vendor/local/manifest/freetype_2.4.2-1_win32.mft +0 -2
- data/vendor/local/manifest/gtk+-dev_2.22.0-1_win32.mft +0 -947
- data/vendor/local/manifest/gtk+_2.22.0-1_win32.mft +0 -225
- data/vendor/local/manifest/libpng-dev_1.4.3-1_win32.mft +0 -15
- data/vendor/local/manifest/libpng_1.4.3-1_win32.mft +0 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +0 -1002
- data/vendor/local/src/tml/packaging/pango_1.28.1-2_win32.sh +0 -579
@@ -8,29 +8,8 @@
|
|
8
8
|
<link rel="up" href="rendering.html" title="Rendering with Pango">
|
9
9
|
<link rel="prev" href="pango-ATSUI-Fonts.html" title="ATSUI Fonts">
|
10
10
|
<link rel="next" href="lowlevel.html" title="Low Level Functionality">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
<link rel="chapter" href="pango.html" title="Basic Pango Interfaces">
|
14
|
-
<link rel="chapter" href="rendering.html" title="Rendering with Pango">
|
15
|
-
<link rel="chapter" href="lowlevel.html" title="Low Level Functionality">
|
16
|
-
<link rel="chapter" href="tools.html" title="Pango Tools">
|
17
|
-
<link rel="chapter" href="pango-hierarchy.html" title="Object Hierarchy">
|
18
|
-
<link rel="index" href="index-all.html" title="Index">
|
19
|
-
<link rel="index" href="index-deprecated.html" title="Index of deprecated symbols">
|
20
|
-
<link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
|
21
|
-
<link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
|
22
|
-
<link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
|
23
|
-
<link rel="index" href="index-1.8.html" title="Index of new symbols in 1.8">
|
24
|
-
<link rel="index" href="index-1.10.html" title="Index of new symbols in 1.10">
|
25
|
-
<link rel="index" href="index-1.12.html" title="Index of new symbols in 1.12">
|
26
|
-
<link rel="index" href="index-1.14.html" title="Index of new symbols in 1.14">
|
27
|
-
<link rel="index" href="index-1.16.html" title="Index of new symbols in 1.16">
|
28
|
-
<link rel="index" href="index-1.18.html" title="Index of new symbols in 1.18">
|
29
|
-
<link rel="index" href="index-1.20.html" title="Index of new symbols in 1.20">
|
30
|
-
<link rel="index" href="index-1.22.html" title="Index of new symbols in 1.22">
|
31
|
-
<link rel="index" href="index-1.24.html" title="Index of new symbols in 1.24">
|
32
|
-
<link rel="index" href="index-1.26.html" title="Index of new symbols in 1.26">
|
33
|
-
<link rel="index" href="index-1.28.html" title="Index of new symbols in 1.26">
|
34
13
|
</head>
|
35
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
36
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
@@ -47,7 +26,7 @@
|
|
47
26
|
<a href="#pango-X-Fonts-and-Rendering.description" class="shortcut">Description</a>
|
48
27
|
</td></tr>
|
49
28
|
</table>
|
50
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
51
30
|
<a name="pango-X-Fonts-and-Rendering"></a><div class="titlepage"></div>
|
52
31
|
<div class="refnamediv"><table width="100%"><tr>
|
53
32
|
<td valign="top">
|
@@ -56,81 +35,82 @@
|
|
56
35
|
</td>
|
57
36
|
<td valign="top" align="right"></td>
|
58
37
|
</tr></table></div>
|
59
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
60
39
|
<a name="pango-X-Fonts-and-Rendering.synopsis"></a><h2>Synopsis</h2>
|
61
40
|
<pre class="synopsis">#define <a class="link" href="pango-X-Fonts-and-Rendering.html#PANGO-RENDER-TYPE-X:CAPS" title="PANGO_RENDER_TYPE_X">PANGO_RENDER_TYPE_X</a>
|
62
|
-
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-get-context" title="pango_x_get_context ()">pango_x_get_context</a> (<span class="
|
63
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-context-set-funcs" title="pango_x_context_set_funcs ()">pango_x_context_set_funcs</a> (<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="
|
64
|
-
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoGetGCFunc" title="PangoGetGCFunc ()"><span class="
|
65
|
-
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoFreeGCFunc" title="PangoFreeGCFunc ()"><span class="
|
66
|
-
<span class="returnvalue">GC</span> (<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoGetGCFunc" title="PangoGetGCFunc ()">*PangoGetGCFunc</a>) (<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="
|
67
|
-
<a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="
|
68
|
-
<span class="
|
69
|
-
<span class="returnvalue">void</span> (<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoFreeGCFunc" title="PangoFreeGCFunc ()">*PangoFreeGCFunc</a>) (<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="
|
70
|
-
<span class="
|
71
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-render" title="pango_x_render ()">pango_x_render</a> (<span class="
|
72
|
-
<span class="
|
73
|
-
<span class="
|
74
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
75
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
76
|
-
<
|
77
|
-
<
|
78
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-render-layout-line" title="pango_x_render_layout_line ()">pango_x_render_layout_line</a> (<span class="
|
79
|
-
<span class="
|
80
|
-
<span class="
|
81
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="
|
82
|
-
<span class="
|
83
|
-
<span class="
|
84
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-render-layout" title="pango_x_render_layout ()">pango_x_render_layout</a> (<span class="
|
85
|
-
<span class="
|
86
|
-
<span class="
|
87
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="
|
88
|
-
<span class="
|
89
|
-
<span class="
|
41
|
+
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-get-context" title="pango_x_get_context ()">pango_x_get_context</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>);
|
42
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-context-set-funcs" title="pango_x_context_set_funcs ()">pango_x_context_set_funcs</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
43
|
+
<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoGetGCFunc" title="PangoGetGCFunc ()"><span class="type">PangoGetGCFunc</span></a> get_gc_func</code></em>,
|
44
|
+
<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoFreeGCFunc" title="PangoFreeGCFunc ()"><span class="type">PangoFreeGCFunc</span></a> free_gc_func</code></em>);
|
45
|
+
<span class="returnvalue">GC</span> (<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoGetGCFunc" title="PangoGetGCFunc ()">*PangoGetGCFunc</a>) (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
46
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
|
47
|
+
<em class="parameter"><code><span class="type">GC</span> base_gc</code></em>);
|
48
|
+
<span class="returnvalue">void</span> (<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoFreeGCFunc" title="PangoFreeGCFunc ()">*PangoFreeGCFunc</a>) (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
49
|
+
<em class="parameter"><code><span class="type">GC</span> gc</code></em>);
|
50
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-render" title="pango_x_render ()">pango_x_render</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
51
|
+
<em class="parameter"><code><span class="type">Drawable</span> d</code></em>,
|
52
|
+
<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
53
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
54
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
55
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
56
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>);
|
57
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-render-layout-line" title="pango_x_render_layout_line ()">pango_x_render_layout_line</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
58
|
+
<em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
|
59
|
+
<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
60
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
61
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
62
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
63
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-render-layout" title="pango_x_render_layout ()">pango_x_render_layout</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
64
|
+
<em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
|
65
|
+
<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
66
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
67
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
68
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
90
69
|
typedef <a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont">PangoXSubfont</a>;
|
91
|
-
#define <a class="link" href="pango-X-Fonts-and-Rendering.html#PANGO-X-MAKE-GLYPH:CAPS" title="PANGO_X_MAKE_GLYPH()">PANGO_X_MAKE_GLYPH</a> (subfont,
|
70
|
+
#define <a class="link" href="pango-X-Fonts-and-Rendering.html#PANGO-X-MAKE-GLYPH:CAPS" title="PANGO_X_MAKE_GLYPH()">PANGO_X_MAKE_GLYPH</a> (subfont,
|
71
|
+
index_)
|
92
72
|
#define <a class="link" href="pango-X-Fonts-and-Rendering.html#PANGO-X-GLYPH-SUBFONT:CAPS" title="PANGO_X_GLYPH_SUBFONT()">PANGO_X_GLYPH_SUBFONT</a> (glyph)
|
93
73
|
#define <a class="link" href="pango-X-Fonts-and-Rendering.html#PANGO-X-GLYPH-INDEX:CAPS" title="PANGO_X_GLYPH_INDEX()">PANGO_X_GLYPH_INDEX</a> (glyph)
|
94
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-load-font" title="pango_x_load_font ()">pango_x_load_font</a> (<span class="
|
95
|
-
|
96
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-get-unknown-glyph" title="pango_x_get_unknown_glyph ()">pango_x_get_unknown_glyph</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
97
|
-
<
|
98
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="
|
99
|
-
<span class="returnvalue">int</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-list-subfonts" title="pango_x_list_subfonts ()">pango_x_list_subfonts</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
100
|
-
<span class="
|
101
|
-
<span class="
|
102
|
-
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="
|
103
|
-
<span class="
|
104
|
-
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-map-for-display" title="pango_x_font_map_for_display ()">pango_x_font_map_for_display</a> (<span class="
|
105
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-shutdown-display" title="pango_x_shutdown_display ()">pango_x_shutdown_display</a> (<span class="
|
106
|
-
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="returnvalue">PangoXFontCache</span></a> * <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-map-get-font-cache" title="pango_x_font_map_get_font_cache ()">pango_x_font_map_get_font_cache</a> (<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="
|
107
|
-
<span class="returnvalue">char</span> * <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-subfont-xlfd" title="pango_x_font_subfont_xlfd ()">pango_x_font_subfont_xlfd</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
108
|
-
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="
|
109
|
-
<
|
110
|
-
<span class="
|
111
|
-
<span class="
|
112
|
-
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="
|
113
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-get-unknown-glyph" title="pango_x_font_get_unknown_glyph ()">pango_x_font_get_unknown_glyph</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
114
|
-
<
|
115
|
-
<
|
116
|
-
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="
|
117
|
-
<
|
118
|
-
<span class="
|
119
|
-
<span class="
|
120
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-fallback-shape" title="pango_x_fallback_shape ()">pango_x_fallback_shape</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
121
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
122
|
-
const <span class="
|
123
|
-
<span class="
|
74
|
+
<a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-load-font" title="pango_x_load_font ()">pango_x_load_font</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
75
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *spec</code></em>);
|
76
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-get-unknown-glyph" title="pango_x_get_unknown_glyph ()">pango_x_get_unknown_glyph</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
77
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-has-glyph" title="pango_x_has_glyph ()">pango_x_has_glyph</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
78
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> glyph</code></em>);
|
79
|
+
<span class="returnvalue">int</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-list-subfonts" title="pango_x_list_subfonts ()">pango_x_list_subfonts</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
80
|
+
<em class="parameter"><code><span class="type">char</span> **charsets</code></em>,
|
81
|
+
<em class="parameter"><code><span class="type">int</span> n_charsets</code></em>,
|
82
|
+
<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a> **subfont_ids</code></em>,
|
83
|
+
<em class="parameter"><code><span class="type">int</span> **subfont_charsets</code></em>);
|
84
|
+
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-map-for-display" title="pango_x_font_map_for_display ()">pango_x_font_map_for_display</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>);
|
85
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-shutdown-display" title="pango_x_shutdown_display ()">pango_x_shutdown_display</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>);
|
86
|
+
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="returnvalue">PangoXFontCache</span></a> * <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-map-get-font-cache" title="pango_x_font_map_get_font_cache ()">pango_x_font_map_get_font_cache</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *font_map</code></em>);
|
87
|
+
<span class="returnvalue">char</span> * <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-subfont-xlfd" title="pango_x_font_subfont_xlfd ()">pango_x_font_subfont_xlfd</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
88
|
+
<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a> subfont_id</code></em>);
|
89
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-find-first-subfont" title="pango_x_find_first_subfont ()">pango_x_find_first_subfont</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
90
|
+
<em class="parameter"><code><span class="type">char</span> **charsets</code></em>,
|
91
|
+
<em class="parameter"><code><span class="type">int</span> n_charsets</code></em>,
|
92
|
+
<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a> *rfont</code></em>);
|
93
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-get-unknown-glyph" title="pango_x_font_get_unknown_glyph ()">pango_x_font_get_unknown_glyph</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
94
|
+
<em class="parameter"><code><span class="type">gunichar</span> wc</code></em>);
|
95
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-apply-ligatures" title="pango_x_apply_ligatures ()">pango_x_apply_ligatures</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
96
|
+
<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a> subfont</code></em>,
|
97
|
+
<em class="parameter"><code><span class="type">gunichar</span> **glyphs</code></em>,
|
98
|
+
<em class="parameter"><code><span class="type">int</span> *n_glyphs</code></em>,
|
99
|
+
<em class="parameter"><code><span class="type">int</span> **clusters</code></em>);
|
100
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-fallback-shape" title="pango_x_fallback_shape ()">pango_x_fallback_shape</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
101
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
102
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
103
|
+
<em class="parameter"><code><span class="type">int</span> n_chars</code></em>);
|
124
104
|
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache">PangoXFontCache</a>;
|
125
|
-
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="returnvalue">PangoXFontCache</span></a> * <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-cache-new" title="pango_x_font_cache_new ()">pango_x_font_cache_new</a> (<span class="
|
126
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-cache-free" title="pango_x_font_cache_free ()">pango_x_font_cache_free</a> (<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="
|
127
|
-
<span class="returnvalue">XFontStruct</span> * <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-cache-load" title="pango_x_font_cache_load ()">pango_x_font_cache_load</a> (<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="
|
128
|
-
const <span class="
|
129
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-cache-unload" title="pango_x_font_cache_unload ()">pango_x_font_cache_unload</a> (<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="
|
130
|
-
<span class="
|
105
|
+
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="returnvalue">PangoXFontCache</span></a> * <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-cache-new" title="pango_x_font_cache_new ()">pango_x_font_cache_new</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>);
|
106
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-cache-free" title="pango_x_font_cache_free ()">pango_x_font_cache_free</a> (<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="type">PangoXFontCache</span></a> *cache</code></em>);
|
107
|
+
<span class="returnvalue">XFontStruct</span> * <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-cache-load" title="pango_x_font_cache_load ()">pango_x_font_cache_load</a> (<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="type">PangoXFontCache</span></a> *cache</code></em>,
|
108
|
+
<em class="parameter"><code>const <span class="type">char</span> *xlfd</code></em>);
|
109
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-cache-unload" title="pango_x_font_cache_unload ()">pango_x_font_cache_unload</a> (<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="type">PangoXFontCache</span></a> *cache</code></em>,
|
110
|
+
<em class="parameter"><code><span class="type">XFontStruct</span> *fs</code></em>);
|
131
111
|
</pre>
|
132
112
|
</div>
|
133
|
-
<div class="refsect1"
|
113
|
+
<div class="refsect1">
|
134
114
|
<a name="pango-X-Fonts-and-Rendering.description"></a><h2>Description</h2>
|
135
115
|
<p>
|
136
116
|
The functions and macros in this section are for use with the old
|
@@ -140,39 +120,40 @@ unpredictable results. Use the <a class="link" href="pango-Xft-Fonts-and-Renderi
|
|
140
120
|
or <a class="link" href="pango-Cairo-Rendering.html" title="Cairo Rendering">Cairo</a> backend instead.
|
141
121
|
</p>
|
142
122
|
</div>
|
143
|
-
<div class="refsect1"
|
123
|
+
<div class="refsect1">
|
144
124
|
<a name="pango-X-Fonts-and-Rendering.details"></a><h2>Details</h2>
|
145
|
-
<div class="refsect2"
|
125
|
+
<div class="refsect2">
|
146
126
|
<a name="PANGO-RENDER-TYPE-X:CAPS"></a><h3>PANGO_RENDER_TYPE_X</h3>
|
147
127
|
<pre class="programlisting">#define PANGO_RENDER_TYPE_X "PangoRenderX"
|
148
128
|
</pre>
|
149
|
-
<div class="warning"
|
129
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
150
130
|
<h3 class="title">Warning</h3>
|
151
131
|
<p><code class="literal">PANGO_RENDER_TYPE_X</code> is deprecated and should not be used in newly-written code.</p>
|
152
132
|
</div>
|
153
133
|
<p>
|
154
134
|
A string constant identifying the X renderer. The associated quark (see
|
155
|
-
<
|
135
|
+
<code class="function">g_quark_from_string()</code>) is used to identify the renderer in <a class="link" href="pango-Modules.html#pango-find-map" title="pango_find_map ()"><code class="function">pango_find_map()</code></a>.
|
156
136
|
</p>
|
157
137
|
</div>
|
158
138
|
<hr>
|
159
|
-
<div class="refsect2"
|
139
|
+
<div class="refsect2">
|
160
140
|
<a name="pango-x-get-context"></a><h3>pango_x_get_context ()</h3>
|
161
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * pango_x_get_context (<span class="
|
162
|
-
<div class="warning"
|
141
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * pango_x_get_context (<em class="parameter"><code><span class="type">Display</span> *display</code></em>);</pre>
|
142
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
163
143
|
<h3 class="title">Warning</h3>
|
164
144
|
<p><code class="literal">pango_x_get_context</code> has been deprecated since version 1.22 and should not be used in newly-written code. Use <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-map-for-display" title="pango_x_font_map_for_display ()"><code class="function">pango_x_font_map_for_display()</code></a> followed by
|
165
145
|
<a class="link" href="pango-Fonts.html#pango-font-map-create-context" title="pango_font_map_create_context ()"><code class="function">pango_font_map_create_context()</code></a> instead.</p>
|
166
146
|
</div>
|
167
147
|
<p>
|
168
148
|
Retrieves a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> appropriate for rendering with X fonts on the
|
169
|
-
given display
|
149
|
+
given display.
|
150
|
+
</p>
|
170
151
|
<div class="variablelist"><table border="0">
|
171
152
|
<col align="left" valign="top">
|
172
153
|
<tbody>
|
173
154
|
<tr>
|
174
155
|
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
175
|
-
<td>
|
156
|
+
<td>an X display (As returned by <code class="function">XOpenDisplay()</code>.)
|
176
157
|
</td>
|
177
158
|
</tr>
|
178
159
|
<tr>
|
@@ -185,46 +166,47 @@ given display.</p>
|
|
185
166
|
</table></div>
|
186
167
|
</div>
|
187
168
|
<hr>
|
188
|
-
<div class="refsect2"
|
169
|
+
<div class="refsect2">
|
189
170
|
<a name="pango-x-context-set-funcs"></a><h3>pango_x_context_set_funcs ()</h3>
|
190
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_x_context_set_funcs (<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="
|
191
|
-
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoGetGCFunc" title="PangoGetGCFunc ()"><span class="
|
192
|
-
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoFreeGCFunc" title="PangoFreeGCFunc ()"><span class="
|
193
|
-
<div class="warning"
|
171
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_x_context_set_funcs (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
172
|
+
<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoGetGCFunc" title="PangoGetGCFunc ()"><span class="type">PangoGetGCFunc</span></a> get_gc_func</code></em>,
|
173
|
+
<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoFreeGCFunc" title="PangoFreeGCFunc ()"><span class="type">PangoFreeGCFunc</span></a> free_gc_func</code></em>);</pre>
|
174
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
194
175
|
<h3 class="title">Warning</h3>
|
195
176
|
<p><code class="literal">pango_x_context_set_funcs</code> is deprecated and should not be used in newly-written code.</p>
|
196
177
|
</div>
|
197
178
|
<p>
|
198
179
|
Sets the functions that will be used to get GC's in various colors when
|
199
|
-
rendering layouts with this context
|
180
|
+
rendering layouts with this context.
|
181
|
+
</p>
|
200
182
|
<div class="variablelist"><table border="0">
|
201
183
|
<col align="left" valign="top">
|
202
184
|
<tbody>
|
203
185
|
<tr>
|
204
186
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
205
|
-
<td>
|
187
|
+
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
|
206
188
|
</td>
|
207
189
|
</tr>
|
208
190
|
<tr>
|
209
191
|
<td><p><span class="term"><em class="parameter"><code>get_gc_func</code></em> :</span></p></td>
|
210
|
-
<td>
|
192
|
+
<td>function called to create a new GC for a given color.
|
211
193
|
</td>
|
212
194
|
</tr>
|
213
195
|
<tr>
|
214
196
|
<td><p><span class="term"><em class="parameter"><code>free_gc_func</code></em> :</span></p></td>
|
215
|
-
<td>
|
197
|
+
<td>function called to free a GC created with <em class="parameter"><code>get_gc_func</code></em>.
|
216
198
|
</td>
|
217
199
|
</tr>
|
218
200
|
</tbody>
|
219
201
|
</table></div>
|
220
202
|
</div>
|
221
203
|
<hr>
|
222
|
-
<div class="refsect2"
|
204
|
+
<div class="refsect2">
|
223
205
|
<a name="PangoGetGCFunc"></a><h3>PangoGetGCFunc ()</h3>
|
224
|
-
<pre class="programlisting"><span class="returnvalue">GC</span> (*PangoGetGCFunc) (<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="
|
225
|
-
<a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="
|
226
|
-
<span class="
|
227
|
-
<div class="warning"
|
206
|
+
<pre class="programlisting"><span class="returnvalue">GC</span> (*PangoGetGCFunc) (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
207
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
|
208
|
+
<em class="parameter"><code><span class="type">GC</span> base_gc</code></em>);</pre>
|
209
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
228
210
|
<h3 class="title">Warning</h3>
|
229
211
|
<p><code class="literal">PangoGetGCFunc</code> is deprecated and should not be used in newly-written code.</p>
|
230
212
|
</div>
|
@@ -259,11 +241,11 @@ color.
|
|
259
241
|
</table></div>
|
260
242
|
</div>
|
261
243
|
<hr>
|
262
|
-
<div class="refsect2"
|
244
|
+
<div class="refsect2">
|
263
245
|
<a name="PangoFreeGCFunc"></a><h3>PangoFreeGCFunc ()</h3>
|
264
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*PangoFreeGCFunc) (<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="
|
265
|
-
<span class="
|
266
|
-
<div class="warning"
|
246
|
+
<pre class="programlisting"><span class="returnvalue">void</span> (*PangoFreeGCFunc) (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
247
|
+
<em class="parameter"><code><span class="type">GC</span> gc</code></em>);</pre>
|
248
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
267
249
|
<h3 class="title">Warning</h3>
|
268
250
|
<p><code class="literal">PangoFreeGCFunc</code> is deprecated and should not be used in newly-written code.</p>
|
269
251
|
</div>
|
@@ -288,170 +270,173 @@ the corresponding <a class="link" href="pango-X-Fonts-and-Rendering.html#PangoGe
|
|
288
270
|
</table></div>
|
289
271
|
</div>
|
290
272
|
<hr>
|
291
|
-
<div class="refsect2"
|
273
|
+
<div class="refsect2">
|
292
274
|
<a name="pango-x-render"></a><h3>pango_x_render ()</h3>
|
293
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_x_render (<span class="
|
294
|
-
<span class="
|
295
|
-
<span class="
|
296
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
297
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
298
|
-
<
|
299
|
-
<
|
300
|
-
<div class="warning"
|
275
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_x_render (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
276
|
+
<em class="parameter"><code><span class="type">Drawable</span> d</code></em>,
|
277
|
+
<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
278
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
279
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
280
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
281
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
|
282
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
301
283
|
<h3 class="title">Warning</h3>
|
302
284
|
<p><code class="literal">pango_x_render</code> is deprecated and should not be used in newly-written code.</p>
|
303
285
|
</div>
|
304
286
|
<p>
|
305
|
-
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto an X drawable
|
287
|
+
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto an X drawable.
|
288
|
+
</p>
|
306
289
|
<div class="variablelist"><table border="0">
|
307
290
|
<col align="left" valign="top">
|
308
291
|
<tbody>
|
309
292
|
<tr>
|
310
293
|
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
311
|
-
<td>
|
294
|
+
<td>the X display.
|
312
295
|
</td>
|
313
296
|
</tr>
|
314
297
|
<tr>
|
315
298
|
<td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
|
316
|
-
<td>
|
299
|
+
<td>the drawable on which to draw string.
|
317
300
|
</td>
|
318
301
|
</tr>
|
319
302
|
<tr>
|
320
303
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
321
|
-
<td>
|
304
|
+
<td>the graphics context.
|
322
305
|
</td>
|
323
306
|
</tr>
|
324
307
|
<tr>
|
325
308
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
326
|
-
<td>
|
309
|
+
<td>the font in which to draw the string.
|
327
310
|
</td>
|
328
311
|
</tr>
|
329
312
|
<tr>
|
330
313
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
331
|
-
<td>
|
314
|
+
<td>the glyph string to draw.
|
332
315
|
</td>
|
333
316
|
</tr>
|
334
317
|
<tr>
|
335
318
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
336
|
-
<td>
|
319
|
+
<td>the x position of start of string (in pixels).
|
337
320
|
</td>
|
338
321
|
</tr>
|
339
322
|
<tr>
|
340
323
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
341
|
-
<td>
|
324
|
+
<td>the y position of baseline (in pixels).
|
342
325
|
</td>
|
343
326
|
</tr>
|
344
327
|
</tbody>
|
345
328
|
</table></div>
|
346
329
|
</div>
|
347
330
|
<hr>
|
348
|
-
<div class="refsect2"
|
331
|
+
<div class="refsect2">
|
349
332
|
<a name="pango-x-render-layout-line"></a><h3>pango_x_render_layout_line ()</h3>
|
350
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_x_render_layout_line (<span class="
|
351
|
-
<span class="
|
352
|
-
<span class="
|
353
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="
|
354
|
-
<span class="
|
355
|
-
<span class="
|
356
|
-
<div class="warning"
|
333
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_x_render_layout_line (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
334
|
+
<em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
|
335
|
+
<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
336
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
337
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
338
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
339
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
357
340
|
<h3 class="title">Warning</h3>
|
358
341
|
<p><code class="literal">pango_x_render_layout_line</code> is deprecated and should not be used in newly-written code.</p>
|
359
342
|
</div>
|
360
343
|
<p>
|
361
|
-
Renders a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto an X drawable
|
344
|
+
Renders a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto an X drawable.
|
345
|
+
</p>
|
362
346
|
<div class="variablelist"><table border="0">
|
363
347
|
<col align="left" valign="top">
|
364
348
|
<tbody>
|
365
349
|
<tr>
|
366
350
|
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
367
|
-
<td>
|
351
|
+
<td>the X display.
|
368
352
|
</td>
|
369
353
|
</tr>
|
370
354
|
<tr>
|
371
355
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
372
|
-
<td>
|
356
|
+
<td>the drawable on which to draw.
|
373
357
|
</td>
|
374
358
|
</tr>
|
375
359
|
<tr>
|
376
360
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
377
|
-
<td>
|
361
|
+
<td>GC to use for uncolored drawing.
|
378
362
|
</td>
|
379
363
|
</tr>
|
380
364
|
<tr>
|
381
365
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
382
|
-
<td>
|
366
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>.
|
383
367
|
</td>
|
384
368
|
</tr>
|
385
369
|
<tr>
|
386
370
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
387
|
-
<td>
|
371
|
+
<td>the x position of start of string (in pixels).
|
388
372
|
</td>
|
389
373
|
</tr>
|
390
374
|
<tr>
|
391
375
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
392
|
-
<td>
|
376
|
+
<td>the y position of baseline (in pixels).
|
393
377
|
</td>
|
394
378
|
</tr>
|
395
379
|
</tbody>
|
396
380
|
</table></div>
|
397
381
|
</div>
|
398
382
|
<hr>
|
399
|
-
<div class="refsect2"
|
383
|
+
<div class="refsect2">
|
400
384
|
<a name="pango-x-render-layout"></a><h3>pango_x_render_layout ()</h3>
|
401
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_x_render_layout (<span class="
|
402
|
-
<span class="
|
403
|
-
<span class="
|
404
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="
|
405
|
-
<span class="
|
406
|
-
<span class="
|
407
|
-
<div class="warning"
|
385
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_x_render_layout (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
386
|
+
<em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
|
387
|
+
<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
388
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
389
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
390
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
391
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
408
392
|
<h3 class="title">Warning</h3>
|
409
393
|
<p><code class="literal">pango_x_render_layout</code> is deprecated and should not be used in newly-written code.</p>
|
410
394
|
</div>
|
411
395
|
<p>
|
412
|
-
Renders a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> onto an X drawable
|
396
|
+
Renders a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> onto an X drawable.
|
397
|
+
</p>
|
413
398
|
<div class="variablelist"><table border="0">
|
414
399
|
<col align="left" valign="top">
|
415
400
|
<tbody>
|
416
401
|
<tr>
|
417
402
|
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
418
|
-
<td>
|
403
|
+
<td>the X display.
|
419
404
|
</td>
|
420
405
|
</tr>
|
421
406
|
<tr>
|
422
407
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
423
|
-
<td>
|
408
|
+
<td>the drawable on which to draw.
|
424
409
|
</td>
|
425
410
|
</tr>
|
426
411
|
<tr>
|
427
412
|
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
|
428
|
-
<td>
|
413
|
+
<td>GC to use for uncolored drawing.
|
429
414
|
</td>
|
430
415
|
</tr>
|
431
416
|
<tr>
|
432
417
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
433
|
-
<td>
|
418
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.
|
434
419
|
</td>
|
435
420
|
</tr>
|
436
421
|
<tr>
|
437
422
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
438
|
-
<td>
|
423
|
+
<td>the x position of the left of the layout (in pixels).
|
439
424
|
</td>
|
440
425
|
</tr>
|
441
426
|
<tr>
|
442
427
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
443
|
-
<td>
|
428
|
+
<td>the y position of the top of the layout (in pixels).
|
444
429
|
</td>
|
445
430
|
</tr>
|
446
431
|
</tbody>
|
447
432
|
</table></div>
|
448
433
|
</div>
|
449
434
|
<hr>
|
450
|
-
<div class="refsect2"
|
435
|
+
<div class="refsect2">
|
451
436
|
<a name="PangoXSubfont"></a><h3>PangoXSubfont</h3>
|
452
437
|
<pre class="programlisting">typedef guint16 PangoXSubfont;
|
453
438
|
</pre>
|
454
|
-
<div class="warning"
|
439
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
455
440
|
<h3 class="title">Warning</h3>
|
456
441
|
<p><code class="literal">PangoXSubfont</code> is deprecated and should not be used in newly-written code.</p>
|
457
442
|
</div>
|
@@ -461,11 +446,11 @@ particular X font within the fonts referenced in a <a class="link" href="pango-F
|
|
461
446
|
</p>
|
462
447
|
</div>
|
463
448
|
<hr>
|
464
|
-
<div class="refsect2"
|
449
|
+
<div class="refsect2">
|
465
450
|
<a name="PANGO-X-MAKE-GLYPH:CAPS"></a><h3>PANGO_X_MAKE_GLYPH()</h3>
|
466
451
|
<pre class="programlisting">#define PANGO_X_MAKE_GLYPH(subfont,index_) ((subfont)<<16 | (index_))
|
467
452
|
</pre>
|
468
|
-
<div class="warning"
|
453
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
469
454
|
<h3 class="title">Warning</h3>
|
470
455
|
<p><code class="literal">PANGO_X_MAKE_GLYPH</code> is deprecated and should not be used in newly-written code.</p>
|
471
456
|
</div>
|
@@ -490,11 +475,11 @@ of a character with the corresponding X font.
|
|
490
475
|
</table></div>
|
491
476
|
</div>
|
492
477
|
<hr>
|
493
|
-
<div class="refsect2"
|
478
|
+
<div class="refsect2">
|
494
479
|
<a name="PANGO-X-GLYPH-SUBFONT:CAPS"></a><h3>PANGO_X_GLYPH_SUBFONT()</h3>
|
495
480
|
<pre class="programlisting">#define PANGO_X_GLYPH_SUBFONT(glyph) ((glyph)>>16)
|
496
481
|
</pre>
|
497
|
-
<div class="warning"
|
482
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
498
483
|
<h3 class="title">Warning</h3>
|
499
484
|
<p><code class="literal">PANGO_X_GLYPH_SUBFONT</code> is deprecated and should not be used in newly-written code.</p>
|
500
485
|
</div>
|
@@ -511,11 +496,11 @@ Extract the subfont index from a glyph index.
|
|
511
496
|
</table></div>
|
512
497
|
</div>
|
513
498
|
<hr>
|
514
|
-
<div class="refsect2"
|
499
|
+
<div class="refsect2">
|
515
500
|
<a name="PANGO-X-GLYPH-INDEX:CAPS"></a><h3>PANGO_X_GLYPH_INDEX()</h3>
|
516
501
|
<pre class="programlisting">#define PANGO_X_GLYPH_INDEX(glyph) ((glyph) & 0xffff)
|
517
502
|
</pre>
|
518
|
-
<div class="warning"
|
503
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
519
504
|
<h3 class="title">Warning</h3>
|
520
505
|
<p><code class="literal">PANGO_X_GLYPH_INDEX</code> is deprecated and should not be used in newly-written code.</p>
|
521
506
|
</div>
|
@@ -533,11 +518,11 @@ glyph index.
|
|
533
518
|
</table></div>
|
534
519
|
</div>
|
535
520
|
<hr>
|
536
|
-
<div class="refsect2"
|
521
|
+
<div class="refsect2">
|
537
522
|
<a name="pango-x-load-font"></a><h3>pango_x_load_font ()</h3>
|
538
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * pango_x_load_font (<span class="
|
539
|
-
|
540
|
-
<div class="warning"
|
523
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * pango_x_load_font (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
524
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *spec</code></em>);</pre>
|
525
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
541
526
|
<h3 class="title">Warning</h3>
|
542
527
|
<p><code class="literal">pango_x_load_font</code> is deprecated and should not be used in newly-written code.</p>
|
543
528
|
</div>
|
@@ -546,18 +531,19 @@ Loads up a logical font based on a "fontset" style text
|
|
546
531
|
specification. This is not remotely useful (Pango API's generally
|
547
532
|
work in terms of <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a>) and the result may not
|
548
533
|
work correctly in all circumstances. Use of this function should
|
549
|
-
be avoided
|
534
|
+
be avoided.
|
535
|
+
</p>
|
550
536
|
<div class="variablelist"><table border="0">
|
551
537
|
<col align="left" valign="top">
|
552
538
|
<tbody>
|
553
539
|
<tr>
|
554
540
|
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
555
|
-
<td>
|
541
|
+
<td>the X display.
|
556
542
|
</td>
|
557
543
|
</tr>
|
558
544
|
<tr>
|
559
545
|
<td><p><span class="term"><em class="parameter"><code>spec</code></em> :</span></p></td>
|
560
|
-
<td>
|
546
|
+
<td>a comma-separated list of XLFD's.
|
561
547
|
</td>
|
562
548
|
</tr>
|
563
549
|
<tr>
|
@@ -569,10 +555,10 @@ be avoided.</p>
|
|
569
555
|
</table></div>
|
570
556
|
</div>
|
571
557
|
<hr>
|
572
|
-
<div class="refsect2"
|
558
|
+
<div class="refsect2">
|
573
559
|
<a name="pango-x-get-unknown-glyph"></a><h3>pango_x_get_unknown_glyph ()</h3>
|
574
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> pango_x_get_unknown_glyph (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
575
|
-
<div class="warning"
|
560
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> pango_x_get_unknown_glyph (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
561
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
576
562
|
<h3 class="title">Warning</h3>
|
577
563
|
<p><code class="literal">pango_x_get_unknown_glyph</code> is deprecated and should not be used in newly-written code.</p>
|
578
564
|
</div>
|
@@ -581,13 +567,14 @@ Returns the index of a glyph suitable for drawing unknown characters;
|
|
581
567
|
you should generally use <a class="link" href="pango-Glyph-Storage.html#PANGO-GET-UNKNOWN-GLYPH:CAPS" title="PANGO_GET_UNKNOWN_GLYPH()"><code class="function">PANGO_GET_UNKNOWN_GLYPH()</code></a> instead,
|
582
568
|
since that may return a glyph that provides a better representation
|
583
569
|
of a particular char. (E.g., by showing hex digits, or a glyph
|
584
|
-
representative of a certain Unicode range.)
|
570
|
+
representative of a certain Unicode range.)
|
571
|
+
</p>
|
585
572
|
<div class="variablelist"><table border="0">
|
586
573
|
<col align="left" valign="top">
|
587
574
|
<tbody>
|
588
575
|
<tr>
|
589
576
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
590
|
-
<td>
|
577
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
591
578
|
</td>
|
592
579
|
</tr>
|
593
580
|
<tr>
|
@@ -599,81 +586,83 @@ representative of a certain Unicode range.)</p>
|
|
599
586
|
</table></div>
|
600
587
|
</div>
|
601
588
|
<hr>
|
602
|
-
<div class="refsect2"
|
589
|
+
<div class="refsect2">
|
603
590
|
<a name="pango-x-has-glyph"></a><h3>pango_x_has_glyph ()</h3>
|
604
|
-
<pre class="programlisting"><
|
605
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="
|
606
|
-
<div class="warning"
|
591
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_x_has_glyph (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
592
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> glyph</code></em>);</pre>
|
593
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
607
594
|
<h3 class="title">Warning</h3>
|
608
595
|
<p><code class="literal">pango_x_has_glyph</code> is deprecated and should not be used in newly-written code.</p>
|
609
596
|
</div>
|
610
597
|
<p>
|
611
|
-
Checks if the given glyph is present in a X font
|
598
|
+
Checks if the given glyph is present in a X font.
|
599
|
+
</p>
|
612
600
|
<div class="variablelist"><table border="0">
|
613
601
|
<col align="left" valign="top">
|
614
602
|
<tbody>
|
615
603
|
<tr>
|
616
604
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
617
|
-
<td>
|
605
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> which must be from the X backend.
|
618
606
|
</td>
|
619
607
|
</tr>
|
620
608
|
<tr>
|
621
609
|
<td><p><span class="term"><em class="parameter"><code>glyph</code></em> :</span></p></td>
|
622
|
-
<td>
|
610
|
+
<td>the index of a glyph in the font. (Formed
|
623
611
|
using the <a class="link" href="pango-X-Fonts-and-Rendering.html#PANGO-X-MAKE-GLYPH:CAPS" title="PANGO_X_MAKE_GLYPH()"><span class="type">PANGO_X_MAKE_GLYPH</span></a> macro)
|
624
612
|
</td>
|
625
613
|
</tr>
|
626
614
|
<tr>
|
627
615
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
628
|
-
<td> <
|
616
|
+
<td> <code class="literal">TRUE</code> if the glyph is present.
|
629
617
|
</td>
|
630
618
|
</tr>
|
631
619
|
</tbody>
|
632
620
|
</table></div>
|
633
621
|
</div>
|
634
622
|
<hr>
|
635
|
-
<div class="refsect2"
|
623
|
+
<div class="refsect2">
|
636
624
|
<a name="pango-x-list-subfonts"></a><h3>pango_x_list_subfonts ()</h3>
|
637
|
-
<pre class="programlisting"><span class="returnvalue">int</span> pango_x_list_subfonts (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
638
|
-
<span class="
|
639
|
-
<span class="
|
640
|
-
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="
|
641
|
-
<span class="
|
642
|
-
<div class="warning"
|
625
|
+
<pre class="programlisting"><span class="returnvalue">int</span> pango_x_list_subfonts (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
626
|
+
<em class="parameter"><code><span class="type">char</span> **charsets</code></em>,
|
627
|
+
<em class="parameter"><code><span class="type">int</span> n_charsets</code></em>,
|
628
|
+
<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a> **subfont_ids</code></em>,
|
629
|
+
<em class="parameter"><code><span class="type">int</span> **subfont_charsets</code></em>);</pre>
|
630
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
643
631
|
<h3 class="title">Warning</h3>
|
644
632
|
<p><code class="literal">pango_x_list_subfonts</code> is deprecated and should not be used in newly-written code.</p>
|
645
633
|
</div>
|
646
634
|
<p>
|
647
635
|
Lists the subfonts of a given font. The result is ordered first by charset,
|
648
|
-
and then within each charset, by the order of fonts in the font specification
|
636
|
+
and then within each charset, by the order of fonts in the font specification.
|
637
|
+
</p>
|
649
638
|
<div class="variablelist"><table border="0">
|
650
639
|
<col align="left" valign="top">
|
651
640
|
<tbody>
|
652
641
|
<tr>
|
653
642
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
654
|
-
<td>
|
643
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
655
644
|
</td>
|
656
645
|
</tr>
|
657
646
|
<tr>
|
658
647
|
<td><p><span class="term"><em class="parameter"><code>charsets</code></em> :</span></p></td>
|
659
|
-
<td>
|
648
|
+
<td>the charsets to list subfonts for.
|
660
649
|
</td>
|
661
650
|
</tr>
|
662
651
|
<tr>
|
663
652
|
<td><p><span class="term"><em class="parameter"><code>n_charsets</code></em> :</span></p></td>
|
664
|
-
<td>
|
653
|
+
<td>the number of charsets in <em class="parameter"><code>charsets</code></em>.
|
665
654
|
</td>
|
666
655
|
</tr>
|
667
656
|
<tr>
|
668
657
|
<td><p><span class="term"><em class="parameter"><code>subfont_ids</code></em> :</span></p></td>
|
669
|
-
<td>
|
670
|
-
the result must be freed using <
|
658
|
+
<td>location to store a pointer to an array of subfont IDs for each found subfont;
|
659
|
+
the result must be freed using <code class="function">g_free()</code>.
|
671
660
|
</td>
|
672
661
|
</tr>
|
673
662
|
<tr>
|
674
663
|
<td><p><span class="term"><em class="parameter"><code>subfont_charsets</code></em> :</span></p></td>
|
675
|
-
<td>
|
676
|
-
the result must be freed using <
|
664
|
+
<td>location to store a pointer to an array of subfont IDs for each found subfont;
|
665
|
+
the result must be freed using <code class="function">g_free()</code>.
|
677
666
|
</td>
|
678
667
|
</tr>
|
679
668
|
<tr>
|
@@ -686,23 +675,24 @@ and then within each charset, by the order of fonts in the font specification.</
|
|
686
675
|
</table></div>
|
687
676
|
</div>
|
688
677
|
<hr>
|
689
|
-
<div class="refsect2"
|
678
|
+
<div class="refsect2">
|
690
679
|
<a name="pango-x-font-map-for-display"></a><h3>pango_x_font_map_for_display ()</h3>
|
691
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * pango_x_font_map_for_display (<span class="
|
692
|
-
<div class="warning"
|
680
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * pango_x_font_map_for_display (<em class="parameter"><code><span class="type">Display</span> *display</code></em>);</pre>
|
681
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
693
682
|
<h3 class="title">Warning</h3>
|
694
683
|
<p><code class="literal">pango_x_font_map_for_display</code> is deprecated and should not be used in newly-written code.</p>
|
695
684
|
</div>
|
696
685
|
<p>
|
697
686
|
Returns a <span class="type">PangoXFontMap</span> for <em class="parameter"><code>display</code></em>. Font maps are cached and should
|
698
687
|
not be freed. If the font map for a display is no longer needed, it can
|
699
|
-
be released with <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-shutdown-display" title="pango_x_shutdown_display ()"><code class="function">pango_x_shutdown_display()</code></a
|
688
|
+
be released with <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-shutdown-display" title="pango_x_shutdown_display ()"><code class="function">pango_x_shutdown_display()</code></a>.
|
689
|
+
</p>
|
700
690
|
<div class="variablelist"><table border="0">
|
701
691
|
<col align="left" valign="top">
|
702
692
|
<tbody>
|
703
693
|
<tr>
|
704
694
|
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
705
|
-
<td>
|
695
|
+
<td>an X <span class="type">Display</span>.
|
706
696
|
</td>
|
707
697
|
</tr>
|
708
698
|
<tr>
|
@@ -714,40 +704,42 @@ be released with <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-
|
|
714
704
|
</table></div>
|
715
705
|
</div>
|
716
706
|
<hr>
|
717
|
-
<div class="refsect2"
|
707
|
+
<div class="refsect2">
|
718
708
|
<a name="pango-x-shutdown-display"></a><h3>pango_x_shutdown_display ()</h3>
|
719
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_x_shutdown_display (<span class="
|
720
|
-
<div class="warning"
|
709
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_x_shutdown_display (<em class="parameter"><code><span class="type">Display</span> *display</code></em>);</pre>
|
710
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
721
711
|
<h3 class="title">Warning</h3>
|
722
712
|
<p><code class="literal">pango_x_shutdown_display</code> is deprecated and should not be used in newly-written code.</p>
|
723
713
|
</div>
|
724
714
|
<p>
|
725
|
-
Free cached resources for the given X display structure
|
715
|
+
Free cached resources for the given X display structure.
|
716
|
+
</p>
|
726
717
|
<div class="variablelist"><table border="0">
|
727
718
|
<col align="left" valign="top">
|
728
719
|
<tbody><tr>
|
729
720
|
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
730
|
-
<td>
|
721
|
+
<td>an X <span class="type">Display</span>
|
731
722
|
</td>
|
732
723
|
</tr></tbody>
|
733
724
|
</table></div>
|
734
725
|
</div>
|
735
726
|
<hr>
|
736
|
-
<div class="refsect2"
|
727
|
+
<div class="refsect2">
|
737
728
|
<a name="pango-x-font-map-get-font-cache"></a><h3>pango_x_font_map_get_font_cache ()</h3>
|
738
|
-
<pre class="programlisting"><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="returnvalue">PangoXFontCache</span></a> * pango_x_font_map_get_font_cache (<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="
|
739
|
-
<div class="warning"
|
729
|
+
<pre class="programlisting"><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="returnvalue">PangoXFontCache</span></a> * pango_x_font_map_get_font_cache (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *font_map</code></em>);</pre>
|
730
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
740
731
|
<h3 class="title">Warning</h3>
|
741
732
|
<p><code class="literal">pango_x_font_map_get_font_cache</code> is deprecated and should not be used in newly-written code.</p>
|
742
733
|
</div>
|
743
734
|
<p>
|
744
|
-
Obtains the font cache associated with the given font map
|
735
|
+
Obtains the font cache associated with the given font map.
|
736
|
+
</p>
|
745
737
|
<div class="variablelist"><table border="0">
|
746
738
|
<col align="left" valign="top">
|
747
739
|
<tbody>
|
748
740
|
<tr>
|
749
741
|
<td><p><span class="term"><em class="parameter"><code>font_map</code></em> :</span></p></td>
|
750
|
-
<td>
|
742
|
+
<td>a <span class="type">PangoXFontMap</span>.
|
751
743
|
</td>
|
752
744
|
</tr>
|
753
745
|
<tr>
|
@@ -759,90 +751,92 @@ Obtains the font cache associated with the given font map.</p>
|
|
759
751
|
</table></div>
|
760
752
|
</div>
|
761
753
|
<hr>
|
762
|
-
<div class="refsect2"
|
754
|
+
<div class="refsect2">
|
763
755
|
<a name="pango-x-font-subfont-xlfd"></a><h3>pango_x_font_subfont_xlfd ()</h3>
|
764
|
-
<pre class="programlisting"><span class="returnvalue">char</span> * pango_x_font_subfont_xlfd (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
765
|
-
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="
|
766
|
-
<div class="warning"
|
756
|
+
<pre class="programlisting"><span class="returnvalue">char</span> * pango_x_font_subfont_xlfd (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
757
|
+
<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a> subfont_id</code></em>);</pre>
|
758
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
767
759
|
<h3 class="title">Warning</h3>
|
768
760
|
<p><code class="literal">pango_x_font_subfont_xlfd</code> is deprecated and should not be used in newly-written code.</p>
|
769
761
|
</div>
|
770
762
|
<p>
|
771
763
|
Determines the X Logical Font Description for the specified
|
772
|
-
subfont
|
764
|
+
subfont.
|
765
|
+
</p>
|
773
766
|
<div class="variablelist"><table border="0">
|
774
767
|
<col align="left" valign="top">
|
775
768
|
<tbody>
|
776
769
|
<tr>
|
777
770
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
778
|
-
<td>
|
771
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> which must be from the X backend.
|
779
772
|
</td>
|
780
773
|
</tr>
|
781
774
|
<tr>
|
782
775
|
<td><p><span class="term"><em class="parameter"><code>subfont_id</code></em> :</span></p></td>
|
783
|
-
<td>
|
776
|
+
<td>the id of a subfont within the font.
|
784
777
|
</td>
|
785
778
|
</tr>
|
786
779
|
<tr>
|
787
780
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
788
781
|
<td> A newly-allocated string containing the XLFD for the
|
789
|
-
subfont. This string must be freed with <
|
782
|
+
subfont. This string must be freed with <code class="function">g_free()</code>.
|
790
783
|
</td>
|
791
784
|
</tr>
|
792
785
|
</tbody>
|
793
786
|
</table></div>
|
794
787
|
</div>
|
795
788
|
<hr>
|
796
|
-
<div class="refsect2"
|
789
|
+
<div class="refsect2">
|
797
790
|
<a name="pango-x-find-first-subfont"></a><h3>pango_x_find_first_subfont ()</h3>
|
798
|
-
<pre class="programlisting"><
|
799
|
-
<span class="
|
800
|
-
<span class="
|
801
|
-
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="
|
802
|
-
<div class="warning"
|
791
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_x_find_first_subfont (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
792
|
+
<em class="parameter"><code><span class="type">char</span> **charsets</code></em>,
|
793
|
+
<em class="parameter"><code><span class="type">int</span> n_charsets</code></em>,
|
794
|
+
<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a> *rfont</code></em>);</pre>
|
795
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
803
796
|
<h3 class="title">Warning</h3>
|
804
797
|
<p><code class="literal">pango_x_find_first_subfont</code> is deprecated and should not be used in newly-written code.</p>
|
805
798
|
</div>
|
806
799
|
<p>
|
807
800
|
Looks for subfonts with the <em class="parameter"><code>charset</code></em> charset,
|
808
|
-
in <em class="parameter"><code>font</code></em>, and puts the first one in *<em class="parameter"><code>rfont</code></em
|
801
|
+
in <em class="parameter"><code>font</code></em>, and puts the first one in *<em class="parameter"><code>rfont</code></em>.
|
802
|
+
</p>
|
809
803
|
<div class="variablelist"><table border="0">
|
810
804
|
<col align="left" valign="top">
|
811
805
|
<tbody>
|
812
806
|
<tr>
|
813
807
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
814
|
-
<td>
|
808
|
+
<td>A <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
815
809
|
</td>
|
816
810
|
</tr>
|
817
811
|
<tr>
|
818
812
|
<td><p><span class="term"><em class="parameter"><code>charsets</code></em> :</span></p></td>
|
819
|
-
<td>
|
813
|
+
<td>An array of charsets.
|
820
814
|
</td>
|
821
815
|
</tr>
|
822
816
|
<tr>
|
823
817
|
<td><p><span class="term"><em class="parameter"><code>n_charsets</code></em> :</span></p></td>
|
824
|
-
<td>
|
818
|
+
<td>The number of charsets in <em class="parameter"><code>charsets</code></em>.
|
825
819
|
</td>
|
826
820
|
</tr>
|
827
821
|
<tr>
|
828
822
|
<td><p><span class="term"><em class="parameter"><code>rfont</code></em> :</span></p></td>
|
829
|
-
<td>
|
823
|
+
<td>A pointer to a <a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a>.
|
830
824
|
</td>
|
831
825
|
</tr>
|
832
826
|
<tr>
|
833
827
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
834
|
-
<td> <
|
828
|
+
<td> <code class="literal">TRUE</code> if *<em class="parameter"><code>rfont</code></em> now contains a font.
|
835
829
|
</td>
|
836
830
|
</tr>
|
837
831
|
</tbody>
|
838
832
|
</table></div>
|
839
833
|
</div>
|
840
834
|
<hr>
|
841
|
-
<div class="refsect2"
|
835
|
+
<div class="refsect2">
|
842
836
|
<a name="pango-x-font-get-unknown-glyph"></a><h3>pango_x_font_get_unknown_glyph ()</h3>
|
843
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> pango_x_font_get_unknown_glyph (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
844
|
-
<
|
845
|
-
<div class="warning"
|
837
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> pango_x_font_get_unknown_glyph (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
838
|
+
<em class="parameter"><code><span class="type">gunichar</span> wc</code></em>);</pre>
|
839
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
846
840
|
<h3 class="title">Warning</h3>
|
847
841
|
<p><code class="literal">pango_x_font_get_unknown_glyph</code> is deprecated and should not be used in newly-written code.</p>
|
848
842
|
</div>
|
@@ -851,18 +845,19 @@ Returns the index of a glyph suitable for drawing <em class="parameter"><code>wc
|
|
851
845
|
unknown character.
|
852
846
|
</p>
|
853
847
|
<p>
|
854
|
-
Use <a class="link" href="pango-Glyph-Storage.html#PANGO-GET-UNKNOWN-GLYPH:CAPS" title="PANGO_GET_UNKNOWN_GLYPH()"><code class="function">PANGO_GET_UNKNOWN_GLYPH()</code></a> instead
|
848
|
+
Use <a class="link" href="pango-Glyph-Storage.html#PANGO-GET-UNKNOWN-GLYPH:CAPS" title="PANGO_GET_UNKNOWN_GLYPH()"><code class="function">PANGO_GET_UNKNOWN_GLYPH()</code></a> instead.
|
849
|
+
</p>
|
855
850
|
<div class="variablelist"><table border="0">
|
856
851
|
<col align="left" valign="top">
|
857
852
|
<tbody>
|
858
853
|
<tr>
|
859
854
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
860
|
-
<td>
|
855
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
861
856
|
</td>
|
862
857
|
</tr>
|
863
858
|
<tr>
|
864
859
|
<td><p><span class="term"><em class="parameter"><code>wc</code></em> :</span></p></td>
|
865
|
-
<td>
|
860
|
+
<td>the Unicode character for which a glyph is needed.
|
866
861
|
</td>
|
867
862
|
</tr>
|
868
863
|
<tr>
|
@@ -874,101 +869,103 @@ Use <a class="link" href="pango-Glyph-Storage.html#PANGO-GET-UNKNOWN-GLYPH:CAPS"
|
|
874
869
|
</table></div>
|
875
870
|
</div>
|
876
871
|
<hr>
|
877
|
-
<div class="refsect2"
|
872
|
+
<div class="refsect2">
|
878
873
|
<a name="pango-x-apply-ligatures"></a><h3>pango_x_apply_ligatures ()</h3>
|
879
|
-
<pre class="programlisting"><
|
880
|
-
<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="
|
881
|
-
<
|
882
|
-
<span class="
|
883
|
-
<span class="
|
884
|
-
<div class="warning"
|
874
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_x_apply_ligatures (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
875
|
+
<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXSubfont" title="PangoXSubfont"><span class="type">PangoXSubfont</span></a> subfont</code></em>,
|
876
|
+
<em class="parameter"><code><span class="type">gunichar</span> **glyphs</code></em>,
|
877
|
+
<em class="parameter"><code><span class="type">int</span> *n_glyphs</code></em>,
|
878
|
+
<em class="parameter"><code><span class="type">int</span> **clusters</code></em>);</pre>
|
879
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
885
880
|
<h3 class="title">Warning</h3>
|
886
881
|
<p><code class="literal">pango_x_apply_ligatures</code> is deprecated and should not be used in newly-written code.</p>
|
887
882
|
</div>
|
888
883
|
<p>
|
889
|
-
Previously did subfont-specific ligation. Now a no-op
|
884
|
+
Previously did subfont-specific ligation. Now a no-op.
|
885
|
+
</p>
|
890
886
|
<div class="variablelist"><table border="0">
|
891
887
|
<col align="left" valign="top">
|
892
888
|
<tbody>
|
893
889
|
<tr>
|
894
890
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
895
|
-
<td>
|
891
|
+
<td>unused
|
896
892
|
</td>
|
897
893
|
</tr>
|
898
894
|
<tr>
|
899
895
|
<td><p><span class="term"><em class="parameter"><code>subfont</code></em> :</span></p></td>
|
900
|
-
<td>
|
896
|
+
<td>unused
|
901
897
|
</td>
|
902
898
|
</tr>
|
903
899
|
<tr>
|
904
900
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
905
|
-
<td>
|
901
|
+
<td>unused
|
906
902
|
</td>
|
907
903
|
</tr>
|
908
904
|
<tr>
|
909
905
|
<td><p><span class="term"><em class="parameter"><code>n_glyphs</code></em> :</span></p></td>
|
910
|
-
<td>
|
906
|
+
<td>unused
|
911
907
|
</td>
|
912
908
|
</tr>
|
913
909
|
<tr>
|
914
910
|
<td><p><span class="term"><em class="parameter"><code>clusters</code></em> :</span></p></td>
|
915
|
-
<td>
|
911
|
+
<td>unused
|
916
912
|
</td>
|
917
913
|
</tr>
|
918
914
|
<tr>
|
919
915
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
920
|
-
<td> <
|
916
|
+
<td> <code class="literal">FALSE</code>, always.
|
921
917
|
</td>
|
922
918
|
</tr>
|
923
919
|
</tbody>
|
924
920
|
</table></div>
|
925
921
|
</div>
|
926
922
|
<hr>
|
927
|
-
<div class="refsect2"
|
923
|
+
<div class="refsect2">
|
928
924
|
<a name="pango-x-fallback-shape"></a><h3>pango_x_fallback_shape ()</h3>
|
929
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_x_fallback_shape (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
930
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
931
|
-
const <span class="
|
932
|
-
<span class="
|
933
|
-
<div class="warning"
|
925
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_x_fallback_shape (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
926
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
927
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
928
|
+
<em class="parameter"><code><span class="type">int</span> n_chars</code></em>);</pre>
|
929
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
934
930
|
<h3 class="title">Warning</h3>
|
935
931
|
<p><code class="literal">pango_x_fallback_shape</code> is deprecated and should not be used in newly-written code.</p>
|
936
932
|
</div>
|
937
933
|
<p>
|
938
934
|
This is a simple fallback shaper, that can be used
|
939
935
|
if no subfont that supports a given script is found.
|
940
|
-
For every character in <em class="parameter"><code>text</code></em>, it puts the unknown glyph
|
936
|
+
For every character in <em class="parameter"><code>text</code></em>, it puts the unknown glyph.
|
937
|
+
</p>
|
941
938
|
<div class="variablelist"><table border="0">
|
942
939
|
<col align="left" valign="top">
|
943
940
|
<tbody>
|
944
941
|
<tr>
|
945
942
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
946
|
-
<td>
|
943
|
+
<td>A <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
947
944
|
</td>
|
948
945
|
</tr>
|
949
946
|
<tr>
|
950
947
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
951
|
-
<td>
|
948
|
+
<td>A pointer to a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>.
|
952
949
|
</td>
|
953
950
|
</tr>
|
954
951
|
<tr>
|
955
952
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
956
|
-
<td>
|
953
|
+
<td>UTF-8 string.
|
957
954
|
</td>
|
958
955
|
</tr>
|
959
956
|
<tr>
|
960
957
|
<td><p><span class="term"><em class="parameter"><code>n_chars</code></em> :</span></p></td>
|
961
|
-
<td>
|
958
|
+
<td>Number of UTF-8 seqs in <em class="parameter"><code>text</code></em>.
|
962
959
|
</td>
|
963
960
|
</tr>
|
964
961
|
</tbody>
|
965
962
|
</table></div>
|
966
963
|
</div>
|
967
964
|
<hr>
|
968
|
-
<div class="refsect2"
|
965
|
+
<div class="refsect2">
|
969
966
|
<a name="PangoXFontCache"></a><h3>PangoXFontCache</h3>
|
970
967
|
<pre class="programlisting">typedef struct _PangoXFontCache PangoXFontCache;</pre>
|
971
|
-
<div class="warning"
|
968
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
972
969
|
<h3 class="title">Warning</h3>
|
973
970
|
<p><code class="literal">PangoXFontCache</code> is deprecated and should not be used in newly-written code.</p>
|
974
971
|
</div>
|
@@ -978,21 +975,22 @@ A <a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title=
|
|
978
975
|
</p>
|
979
976
|
</div>
|
980
977
|
<hr>
|
981
|
-
<div class="refsect2"
|
978
|
+
<div class="refsect2">
|
982
979
|
<a name="pango-x-font-cache-new"></a><h3>pango_x_font_cache_new ()</h3>
|
983
|
-
<pre class="programlisting"><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="returnvalue">PangoXFontCache</span></a> * pango_x_font_cache_new (<span class="
|
984
|
-
<div class="warning"
|
980
|
+
<pre class="programlisting"><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="returnvalue">PangoXFontCache</span></a> * pango_x_font_cache_new (<em class="parameter"><code><span class="type">Display</span> *display</code></em>);</pre>
|
981
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
985
982
|
<h3 class="title">Warning</h3>
|
986
983
|
<p><code class="literal">pango_x_font_cache_new</code> is deprecated and should not be used in newly-written code.</p>
|
987
984
|
</div>
|
988
985
|
<p>
|
989
|
-
Creates a font cache for the specified display
|
986
|
+
Creates a font cache for the specified display.
|
987
|
+
</p>
|
990
988
|
<div class="variablelist"><table border="0">
|
991
989
|
<col align="left" valign="top">
|
992
990
|
<tbody>
|
993
991
|
<tr>
|
994
992
|
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
995
|
-
<td>
|
993
|
+
<td>an X display.
|
996
994
|
</td>
|
997
995
|
</tr>
|
998
996
|
<tr>
|
@@ -1005,54 +1003,56 @@ Creates a font cache for the specified display.</p>
|
|
1005
1003
|
</table></div>
|
1006
1004
|
</div>
|
1007
1005
|
<hr>
|
1008
|
-
<div class="refsect2"
|
1006
|
+
<div class="refsect2">
|
1009
1007
|
<a name="pango-x-font-cache-free"></a><h3>pango_x_font_cache_free ()</h3>
|
1010
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_x_font_cache_free (<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="
|
1011
|
-
<div class="warning"
|
1008
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_x_font_cache_free (<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="type">PangoXFontCache</span></a> *cache</code></em>);</pre>
|
1009
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1012
1010
|
<h3 class="title">Warning</h3>
|
1013
1011
|
<p><code class="literal">pango_x_font_cache_free</code> is deprecated and should not be used in newly-written code.</p>
|
1014
1012
|
</div>
|
1015
1013
|
<p>
|
1016
1014
|
Frees a <a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="type">PangoXFontCache</span></a> and all associated memory. All fonts loaded
|
1017
|
-
through this font cache will be freed along with the cache
|
1015
|
+
through this font cache will be freed along with the cache.
|
1016
|
+
</p>
|
1018
1017
|
<div class="variablelist"><table border="0">
|
1019
1018
|
<col align="left" valign="top">
|
1020
1019
|
<tbody><tr>
|
1021
1020
|
<td><p><span class="term"><em class="parameter"><code>cache</code></em> :</span></p></td>
|
1022
|
-
<td>
|
1021
|
+
<td>a <a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="type">PangoXFontCache</span></a>
|
1023
1022
|
</td>
|
1024
1023
|
</tr></tbody>
|
1025
1024
|
</table></div>
|
1026
1025
|
</div>
|
1027
1026
|
<hr>
|
1028
|
-
<div class="refsect2"
|
1027
|
+
<div class="refsect2">
|
1029
1028
|
<a name="pango-x-font-cache-load"></a><h3>pango_x_font_cache_load ()</h3>
|
1030
|
-
<pre class="programlisting"><span class="returnvalue">XFontStruct</span> * pango_x_font_cache_load (<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="
|
1031
|
-
const <span class="
|
1032
|
-
<div class="warning"
|
1029
|
+
<pre class="programlisting"><span class="returnvalue">XFontStruct</span> * pango_x_font_cache_load (<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="type">PangoXFontCache</span></a> *cache</code></em>,
|
1030
|
+
<em class="parameter"><code>const <span class="type">char</span> *xlfd</code></em>);</pre>
|
1031
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1033
1032
|
<h3 class="title">Warning</h3>
|
1034
1033
|
<p><code class="literal">pango_x_font_cache_load</code> is deprecated and should not be used in newly-written code.</p>
|
1035
1034
|
</div>
|
1036
1035
|
<p>
|
1037
1036
|
Loads a <span class="type">XFontStruct</span> from a X Logical Font Description. The
|
1038
1037
|
result may be newly loaded, or it may have been previously
|
1039
|
-
stored
|
1038
|
+
stored.
|
1039
|
+
</p>
|
1040
1040
|
<div class="variablelist"><table border="0">
|
1041
1041
|
<col align="left" valign="top">
|
1042
1042
|
<tbody>
|
1043
1043
|
<tr>
|
1044
1044
|
<td><p><span class="term"><em class="parameter"><code>cache</code></em> :</span></p></td>
|
1045
|
-
<td>
|
1045
|
+
<td>a <a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="type">PangoXFontCache</span></a>
|
1046
1046
|
</td>
|
1047
1047
|
</tr>
|
1048
1048
|
<tr>
|
1049
1049
|
<td><p><span class="term"><em class="parameter"><code>xlfd</code></em> :</span></p></td>
|
1050
|
-
<td>
|
1050
|
+
<td>the X Logical Font Description to load.
|
1051
1051
|
</td>
|
1052
1052
|
</tr>
|
1053
1053
|
<tr>
|
1054
1054
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1055
|
-
<td> The font structure, or <a href="/usr/share/gtk-doc/html/
|
1055
|
+
<td> The font structure, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if the font could
|
1056
1056
|
not be loaded. In order to free this structure, you must call
|
1057
1057
|
<a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-cache-unload" title="pango_x_font_cache_unload ()"><code class="function">pango_x_font_cache_unload()</code></a>.
|
1058
1058
|
</td>
|
@@ -1061,27 +1061,28 @@ not be loaded. In order to free this structure, you must call
|
|
1061
1061
|
</table></div>
|
1062
1062
|
</div>
|
1063
1063
|
<hr>
|
1064
|
-
<div class="refsect2"
|
1064
|
+
<div class="refsect2">
|
1065
1065
|
<a name="pango-x-font-cache-unload"></a><h3>pango_x_font_cache_unload ()</h3>
|
1066
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_x_font_cache_unload (<a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="
|
1067
|
-
<span class="
|
1068
|
-
<div class="warning"
|
1066
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_x_font_cache_unload (<em class="parameter"><code><a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="type">PangoXFontCache</span></a> *cache</code></em>,
|
1067
|
+
<em class="parameter"><code><span class="type">XFontStruct</span> *fs</code></em>);</pre>
|
1068
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1069
1069
|
<h3 class="title">Warning</h3>
|
1070
1070
|
<p><code class="literal">pango_x_font_cache_unload</code> is deprecated and should not be used in newly-written code.</p>
|
1071
1071
|
</div>
|
1072
1072
|
<p>
|
1073
|
-
Frees a font structure previously loaded with <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-cache-load" title="pango_x_font_cache_load ()"><code class="function">pango_x_font_cache_load()</code></a
|
1073
|
+
Frees a font structure previously loaded with <a class="link" href="pango-X-Fonts-and-Rendering.html#pango-x-font-cache-load" title="pango_x_font_cache_load ()"><code class="function">pango_x_font_cache_load()</code></a>.
|
1074
|
+
</p>
|
1074
1075
|
<div class="variablelist"><table border="0">
|
1075
1076
|
<col align="left" valign="top">
|
1076
1077
|
<tbody>
|
1077
1078
|
<tr>
|
1078
1079
|
<td><p><span class="term"><em class="parameter"><code>cache</code></em> :</span></p></td>
|
1079
|
-
<td>
|
1080
|
+
<td>a <a class="link" href="pango-X-Fonts-and-Rendering.html#PangoXFontCache" title="PangoXFontCache"><span class="type">PangoXFontCache</span></a>
|
1080
1081
|
</td>
|
1081
1082
|
</tr>
|
1082
1083
|
<tr>
|
1083
1084
|
<td><p><span class="term"><em class="parameter"><code>fs</code></em> :</span></p></td>
|
1084
|
-
<td>
|
1085
|
+
<td>the font structure to unload
|
1085
1086
|
</td>
|
1086
1087
|
</tr>
|
1087
1088
|
</tbody>
|
@@ -1091,6 +1092,6 @@ Frees a font structure previously loaded with <a class="link" href="pango-X-Font
|
|
1091
1092
|
</div>
|
1092
1093
|
<div class="footer">
|
1093
1094
|
<hr>
|
1094
|
-
Generated by GTK-Doc V1.
|
1095
|
+
Generated by GTK-Doc V1.15.1</div>
|
1095
1096
|
</body>
|
1096
1097
|
</html>
|