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-Win32-Fonts-and-Rendering.html" title="Win32 Fonts and Rendering">
|
10
10
|
<link rel="next" href="pango-Xft-Fonts-and-Rendering.html" title="Xft Fonts and Rendering">
|
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">
|
@@ -49,7 +28,7 @@
|
|
49
28
|
<a href="#pango-FreeType-Fonts-and-Rendering.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
50
29
|
</td></tr>
|
51
30
|
</table>
|
52
|
-
<div class="refentry"
|
31
|
+
<div class="refentry">
|
53
32
|
<a name="pango-FreeType-Fonts-and-Rendering"></a><div class="titlepage"></div>
|
54
33
|
<div class="refnamediv"><table width="100%"><tr>
|
55
34
|
<td valign="top">
|
@@ -58,84 +37,84 @@
|
|
58
37
|
</td>
|
59
38
|
<td valign="top" align="right"></td>
|
60
39
|
</tr></table></div>
|
61
|
-
<div class="refsynopsisdiv"
|
40
|
+
<div class="refsynopsisdiv">
|
62
41
|
<a name="pango-FreeType-Fonts-and-Rendering.synopsis"></a><h2>Synopsis</h2>
|
63
42
|
<a name="PangoFT2FontMap"></a><pre class="synopsis"> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap-struct" title="PangoFT2FontMap">PangoFT2FontMap</a>;
|
64
43
|
#define <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PANGO-RENDER-TYPE-FT2:CAPS" title="PANGO_RENDER_TYPE_FT2">PANGO_RENDER_TYPE_FT2</a>
|
65
|
-
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-map-new" title="pango_ft2_font_map_new ()">pango_ft2_font_map_new</a> (void);
|
66
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-map-set-resolution" title="pango_ft2_font_map_set_resolution ()">pango_ft2_font_map_set_resolution</a> (<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="
|
67
|
-
<span class="
|
68
|
-
<span class="
|
69
|
-
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-map-create-context" title="pango_ft2_font_map_create_context ()">pango_ft2_font_map_create_context</a> (<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="
|
70
|
-
<span class="returnvalue">void</span> (<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2SubstituteFunc" title="PangoFT2SubstituteFunc ()">*PangoFT2SubstituteFunc</a>) (<span class="
|
71
|
-
<
|
44
|
+
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-map-new" title="pango_ft2_font_map_new ()">pango_ft2_font_map_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
45
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-map-set-resolution" title="pango_ft2_font_map_set_resolution ()">pango_ft2_font_map_set_resolution</a> (<em class="parameter"><code><a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="type">PangoFT2FontMap</span></a> *fontmap</code></em>,
|
46
|
+
<em class="parameter"><code><span class="type">double</span> dpi_x</code></em>,
|
47
|
+
<em class="parameter"><code><span class="type">double</span> dpi_y</code></em>);
|
48
|
+
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-map-create-context" title="pango_ft2_font_map_create_context ()">pango_ft2_font_map_create_context</a> (<em class="parameter"><code><a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="type">PangoFT2FontMap</span></a> *fontmap</code></em>);
|
49
|
+
<span class="returnvalue">void</span> (<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2SubstituteFunc" title="PangoFT2SubstituteFunc ()">*PangoFT2SubstituteFunc</a>) (<em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>,
|
50
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
|
72
51
|
<span class="returnvalue">void</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-map-set-default-substitute" title="pango_ft2_font_map_set_default_substitute ()">pango_ft2_font_map_set_default_substitute</a>
|
73
|
-
(<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="
|
74
|
-
<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2SubstituteFunc" title="PangoFT2SubstituteFunc ()"><span class="
|
75
|
-
<
|
76
|
-
<
|
52
|
+
(<em class="parameter"><code><a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="type">PangoFT2FontMap</span></a> *fontmap</code></em>,
|
53
|
+
<em class="parameter"><code><a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2SubstituteFunc" title="PangoFT2SubstituteFunc ()"><span class="type">PangoFT2SubstituteFunc</span></a> func</code></em>,
|
54
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
55
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);
|
77
56
|
<span class="returnvalue">void</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-map-substitute-changed" title="pango_ft2_font_map_substitute_changed ()">pango_ft2_font_map_substitute_changed</a>
|
78
|
-
(<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="
|
79
|
-
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-get-context" title="pango_ft2_get_context ()">pango_ft2_get_context</a> (<span class="
|
80
|
-
<span class="
|
81
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-render" title="pango_ft2_render ()">pango_ft2_render</a> (<span class="
|
82
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
83
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
84
|
-
<
|
85
|
-
<
|
86
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-render-transformed" title="pango_ft2_render_transformed ()">pango_ft2_render_transformed</a> (<span class="
|
87
|
-
const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
88
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
89
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
90
|
-
<span class="
|
91
|
-
<span class="
|
92
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-render-layout-line" title="pango_ft2_render_layout_line ()">pango_ft2_render_layout_line</a> (<span class="
|
93
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="
|
94
|
-
<span class="
|
95
|
-
<span class="
|
57
|
+
(<em class="parameter"><code><a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="type">PangoFT2FontMap</span></a> *fontmap</code></em>);
|
58
|
+
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-get-context" title="pango_ft2_get_context ()">pango_ft2_get_context</a> (<em class="parameter"><code><span class="type">double</span> dpi_x</code></em>,
|
59
|
+
<em class="parameter"><code><span class="type">double</span> dpi_y</code></em>);
|
60
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-render" title="pango_ft2_render ()">pango_ft2_render</a> (<em class="parameter"><code><span class="type">FT_Bitmap</span> *bitmap</code></em>,
|
61
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
62
|
+
<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>,
|
63
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
64
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>);
|
65
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-render-transformed" title="pango_ft2_render_transformed ()">pango_ft2_render_transformed</a> (<em class="parameter"><code><span class="type">FT_Bitmap</span> *bitmap</code></em>,
|
66
|
+
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
67
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
68
|
+
<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>,
|
69
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
70
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
71
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-render-layout-line" title="pango_ft2_render_layout_line ()">pango_ft2_render_layout_line</a> (<em class="parameter"><code><span class="type">FT_Bitmap</span> *bitmap</code></em>,
|
72
|
+
<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>,
|
73
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
74
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
96
75
|
<span class="returnvalue">void</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-render-layout-line-subpixel" title="pango_ft2_render_layout_line_subpixel ()">pango_ft2_render_layout_line_subpixel</a>
|
97
|
-
(<span class="
|
98
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="
|
99
|
-
<span class="
|
100
|
-
<span class="
|
101
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-render-layout" title="pango_ft2_render_layout ()">pango_ft2_render_layout</a> (<span class="
|
102
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="
|
103
|
-
<span class="
|
104
|
-
<span class="
|
105
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-render-layout-subpixel" title="pango_ft2_render_layout_subpixel ()">pango_ft2_render_layout_subpixel</a> (<span class="
|
106
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="
|
107
|
-
<span class="
|
108
|
-
<span class="
|
109
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-get-unknown-glyph" title="pango_ft2_get_unknown_glyph ()">pango_ft2_get_unknown_glyph</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
110
|
-
<span class="returnvalue">int</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-get-kerning" title="pango_ft2_font_get_kerning ()">pango_ft2_font_get_kerning</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
111
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="
|
112
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="
|
113
|
-
<span class="returnvalue">FT_Face</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-get-face" title="pango_ft2_font_get_face ()">pango_ft2_font_get_face</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
114
|
-
<a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> * <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-get-coverage" title="pango_ft2_font_get_coverage ()">pango_ft2_font_get_coverage</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
115
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
116
|
-
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-map-for-display" title="pango_ft2_font_map_for_display ()">pango_ft2_font_map_for_display</a> (void);
|
117
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-shutdown-display" title="pango_ft2_shutdown_display ()">pango_ft2_shutdown_display</a> (void);
|
76
|
+
(<em class="parameter"><code><span class="type">FT_Bitmap</span> *bitmap</code></em>,
|
77
|
+
<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>,
|
78
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
79
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
80
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-render-layout" title="pango_ft2_render_layout ()">pango_ft2_render_layout</a> (<em class="parameter"><code><span class="type">FT_Bitmap</span> *bitmap</code></em>,
|
81
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
82
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
83
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
84
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-render-layout-subpixel" title="pango_ft2_render_layout_subpixel ()">pango_ft2_render_layout_subpixel</a> (<em class="parameter"><code><span class="type">FT_Bitmap</span> *bitmap</code></em>,
|
85
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
86
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
87
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
88
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-get-unknown-glyph" title="pango_ft2_get_unknown_glyph ()">pango_ft2_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>);
|
89
|
+
<span class="returnvalue">int</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-get-kerning" title="pango_ft2_font_get_kerning ()">pango_ft2_font_get_kerning</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><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> left</code></em>,
|
91
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> right</code></em>);
|
92
|
+
<span class="returnvalue">FT_Face</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-get-face" title="pango_ft2_font_get_face ()">pango_ft2_font_get_face</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
93
|
+
<a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> * <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-get-coverage" title="pango_ft2_font_get_coverage ()">pango_ft2_font_get_coverage</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
94
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
95
|
+
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-map-for-display" title="pango_ft2_font_map_for_display ()">pango_ft2_font_map_for_display</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
96
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-shutdown-display" title="pango_ft2_shutdown_display ()">pango_ft2_shutdown_display</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
118
97
|
</pre>
|
119
98
|
</div>
|
120
|
-
<div class="refsect1"
|
99
|
+
<div class="refsect1">
|
121
100
|
<a name="pango-FreeType-Fonts-and-Rendering.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
122
101
|
<pre class="synopsis">
|
123
|
-
|
102
|
+
GObject
|
124
103
|
+----<a class="link" href="pango-Fonts.html#PangoFontMap">PangoFontMap</a>
|
125
104
|
+----<a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap">PangoFcFontMap</a>
|
126
105
|
+----PangoFT2FontMap
|
127
106
|
</pre>
|
128
107
|
</div>
|
129
|
-
<div class="refsect1"
|
108
|
+
<div class="refsect1">
|
130
109
|
<a name="pango-FreeType-Fonts-and-Rendering.description"></a><h2>Description</h2>
|
131
110
|
<p>
|
132
111
|
The macros and functions in this section are used to access fonts and render
|
133
112
|
text to bitmaps using the FreeType 2 library.
|
134
113
|
</p>
|
135
114
|
</div>
|
136
|
-
<div class="refsect1"
|
115
|
+
<div class="refsect1">
|
137
116
|
<a name="pango-FreeType-Fonts-and-Rendering.details"></a><h2>Details</h2>
|
138
|
-
<div class="refsect2"
|
117
|
+
<div class="refsect2">
|
139
118
|
<a name="PangoFT2FontMap-struct"></a><h3>PangoFT2FontMap</h3>
|
140
119
|
<pre class="programlisting">typedef struct _PangoFT2FontMap PangoFT2FontMap;</pre>
|
141
120
|
<p>
|
@@ -143,11 +122,11 @@ The <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMa
|
|
143
122
|
</p>
|
144
123
|
</div>
|
145
124
|
<hr>
|
146
|
-
<div class="refsect2"
|
125
|
+
<div class="refsect2">
|
147
126
|
<a name="PANGO-RENDER-TYPE-FT2:CAPS"></a><h3>PANGO_RENDER_TYPE_FT2</h3>
|
148
127
|
<pre class="programlisting">#define PANGO_RENDER_TYPE_FT2 "PangoRenderFT2"
|
149
128
|
</pre>
|
150
|
-
<div class="warning"
|
129
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
151
130
|
<h3 class="title">Warning</h3>
|
152
131
|
<p><code class="literal">PANGO_RENDER_TYPE_FT2</code> is deprecated and should not be used in newly-written code.</p>
|
153
132
|
</div>
|
@@ -157,21 +136,22 @@ with the FreeType backend. See <a class="link" href="PangoFcFont.html#PANGO-REND
|
|
157
136
|
</p>
|
158
137
|
</div>
|
159
138
|
<hr>
|
160
|
-
<div class="refsect2"
|
139
|
+
<div class="refsect2">
|
161
140
|
<a name="pango-ft2-font-map-new"></a><h3>pango_ft2_font_map_new ()</h3>
|
162
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * pango_ft2_font_map_new (void);</pre>
|
141
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * pango_ft2_font_map_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
163
142
|
<p>
|
164
143
|
Create a new <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="type">PangoFT2FontMap</span></a> object; a fontmap is used
|
165
144
|
to cache information about available fonts, and holds
|
166
145
|
certain global parameters such as the resolution and
|
167
146
|
the default substitute function (see
|
168
|
-
<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-map-set-default-substitute" title="pango_ft2_font_map_set_default_substitute ()"><code class="function">pango_ft2_font_map_set_default_substitute()</code></a>)
|
147
|
+
<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-map-set-default-substitute" title="pango_ft2_font_map_set_default_substitute ()"><code class="function">pango_ft2_font_map_set_default_substitute()</code></a>).
|
148
|
+
</p>
|
169
149
|
<div class="variablelist"><table border="0">
|
170
150
|
<col align="left" valign="top">
|
171
151
|
<tbody><tr>
|
172
152
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
173
153
|
<td> the newly created fontmap object. Unref
|
174
|
-
with <
|
154
|
+
with <code class="function">g_object_unref()</code> when you are finished with it.
|
175
155
|
|
176
156
|
</td>
|
177
157
|
</tr></tbody>
|
@@ -179,29 +159,30 @@ with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#
|
|
179
159
|
<p class="since">Since 1.2</p>
|
180
160
|
</div>
|
181
161
|
<hr>
|
182
|
-
<div class="refsect2"
|
162
|
+
<div class="refsect2">
|
183
163
|
<a name="pango-ft2-font-map-set-resolution"></a><h3>pango_ft2_font_map_set_resolution ()</h3>
|
184
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_ft2_font_map_set_resolution (<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="
|
185
|
-
<span class="
|
186
|
-
<span class="
|
164
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_ft2_font_map_set_resolution (<em class="parameter"><code><a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="type">PangoFT2FontMap</span></a> *fontmap</code></em>,
|
165
|
+
<em class="parameter"><code><span class="type">double</span> dpi_x</code></em>,
|
166
|
+
<em class="parameter"><code><span class="type">double</span> dpi_y</code></em>);</pre>
|
187
167
|
<p>
|
188
|
-
Sets the horizontal and vertical resolutions for the fontmap
|
168
|
+
Sets the horizontal and vertical resolutions for the fontmap.
|
169
|
+
</p>
|
189
170
|
<div class="variablelist"><table border="0">
|
190
171
|
<col align="left" valign="top">
|
191
172
|
<tbody>
|
192
173
|
<tr>
|
193
174
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
194
|
-
<td>
|
175
|
+
<td>a <span class="type">PangoFT2Fontmap</span>
|
195
176
|
</td>
|
196
177
|
</tr>
|
197
178
|
<tr>
|
198
179
|
<td><p><span class="term"><em class="parameter"><code>dpi_x</code></em> :</span></p></td>
|
199
|
-
<td>
|
180
|
+
<td>dots per inch in the X direction
|
200
181
|
</td>
|
201
182
|
</tr>
|
202
183
|
<tr>
|
203
184
|
<td><p><span class="term"><em class="parameter"><code>dpi_y</code></em> :</span></p></td>
|
204
|
-
<td>
|
185
|
+
<td>dots per inch in the Y direction
|
205
186
|
</td>
|
206
187
|
</tr>
|
207
188
|
</tbody>
|
@@ -209,26 +190,27 @@ Sets the horizontal and vertical resolutions for the fontmap.</p>
|
|
209
190
|
<p class="since">Since 1.2</p>
|
210
191
|
</div>
|
211
192
|
<hr>
|
212
|
-
<div class="refsect2"
|
193
|
+
<div class="refsect2">
|
213
194
|
<a name="pango-ft2-font-map-create-context"></a><h3>pango_ft2_font_map_create_context ()</h3>
|
214
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * pango_ft2_font_map_create_context (<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="
|
215
|
-
<div class="warning"
|
195
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * pango_ft2_font_map_create_context (<em class="parameter"><code><a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="type">PangoFT2FontMap</span></a> *fontmap</code></em>);</pre>
|
196
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
216
197
|
<h3 class="title">Warning</h3>
|
217
198
|
<p><code class="literal">pango_ft2_font_map_create_context</code> has been deprecated since version 1.22 and should not be used in newly-written code. Use <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>
|
218
199
|
</div>
|
219
200
|
<p>
|
220
|
-
Create a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> for the given fontmap
|
201
|
+
Create a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> for the given fontmap.
|
202
|
+
</p>
|
221
203
|
<div class="variablelist"><table border="0">
|
222
204
|
<col align="left" valign="top">
|
223
205
|
<tbody>
|
224
206
|
<tr>
|
225
207
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
226
|
-
<td>
|
208
|
+
<td>a <span class="type">PangoFT2Fontmap</span>
|
227
209
|
</td>
|
228
210
|
</tr>
|
229
211
|
<tr>
|
230
212
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
231
|
-
<td> the newly created context; free with <
|
213
|
+
<td> the newly created context; free with <code class="function">g_object_unref()</code>.
|
232
214
|
|
233
215
|
</td>
|
234
216
|
</tr>
|
@@ -237,10 +219,10 @@ Create a <a class="link" href="pango-Text-Processing.html#PangoContext"><span cl
|
|
237
219
|
<p class="since">Since 1.2</p>
|
238
220
|
</div>
|
239
221
|
<hr>
|
240
|
-
<div class="refsect2"
|
222
|
+
<div class="refsect2">
|
241
223
|
<a name="PangoFT2SubstituteFunc"></a><h3>PangoFT2SubstituteFunc ()</h3>
|
242
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*PangoFT2SubstituteFunc) (<span class="
|
243
|
-
<
|
224
|
+
<pre class="programlisting"><span class="returnvalue">void</span> (*PangoFT2SubstituteFunc) (<em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>,
|
225
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
244
226
|
<p>
|
245
227
|
Function type for doing final config tweaking on prepared FcPatterns.
|
246
228
|
</p>
|
@@ -261,40 +243,41 @@ Function type for doing final config tweaking on prepared FcPatterns.
|
|
261
243
|
</table></div>
|
262
244
|
</div>
|
263
245
|
<hr>
|
264
|
-
<div class="refsect2"
|
246
|
+
<div class="refsect2">
|
265
247
|
<a name="pango-ft2-font-map-set-default-substitute"></a><h3>pango_ft2_font_map_set_default_substitute ()</h3>
|
266
248
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ft2_font_map_set_default_substitute
|
267
|
-
(<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="
|
268
|
-
<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2SubstituteFunc" title="PangoFT2SubstituteFunc ()"><span class="
|
269
|
-
<
|
270
|
-
<
|
249
|
+
(<em class="parameter"><code><a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="type">PangoFT2FontMap</span></a> *fontmap</code></em>,
|
250
|
+
<em class="parameter"><code><a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2SubstituteFunc" title="PangoFT2SubstituteFunc ()"><span class="type">PangoFT2SubstituteFunc</span></a> func</code></em>,
|
251
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
252
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre>
|
271
253
|
<p>
|
272
254
|
Sets a function that will be called to do final configuration
|
273
255
|
substitution on a <span class="type">FcPattern</span> before it is used to load
|
274
256
|
the font. This function can be used to do things like set
|
275
|
-
hinting and antialiasing options
|
257
|
+
hinting and antialiasing options.
|
258
|
+
</p>
|
276
259
|
<div class="variablelist"><table border="0">
|
277
260
|
<col align="left" valign="top">
|
278
261
|
<tbody>
|
279
262
|
<tr>
|
280
263
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
281
|
-
<td>
|
264
|
+
<td>a <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="type">PangoFT2FontMap</span></a>
|
282
265
|
</td>
|
283
266
|
</tr>
|
284
267
|
<tr>
|
285
268
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
286
|
-
<td>
|
269
|
+
<td>function to call to to do final config tweaking
|
287
270
|
on <span class="type">FcPattern</span> objects.
|
288
271
|
</td>
|
289
272
|
</tr>
|
290
273
|
<tr>
|
291
274
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
292
|
-
<td>
|
275
|
+
<td>data to pass to <em class="parameter"><code>func</code></em>
|
293
276
|
</td>
|
294
277
|
</tr>
|
295
278
|
<tr>
|
296
279
|
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
|
297
|
-
<td>
|
280
|
+
<td>function to call when <em class="parameter"><code>data</code></em> is no longer used.
|
298
281
|
</td>
|
299
282
|
</tr>
|
300
283
|
</tbody>
|
@@ -302,50 +285,52 @@ hinting and antialiasing options.</p>
|
|
302
285
|
<p class="since">Since 1.2</p>
|
303
286
|
</div>
|
304
287
|
<hr>
|
305
|
-
<div class="refsect2"
|
288
|
+
<div class="refsect2">
|
306
289
|
<a name="pango-ft2-font-map-substitute-changed"></a><h3>pango_ft2_font_map_substitute_changed ()</h3>
|
307
290
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ft2_font_map_substitute_changed
|
308
|
-
(<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="
|
291
|
+
(<em class="parameter"><code><a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap"><span class="type">PangoFT2FontMap</span></a> *fontmap</code></em>);</pre>
|
309
292
|
<p>
|
310
293
|
Call this function any time the results of the
|
311
294
|
default substitution function set with
|
312
295
|
<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-map-set-default-substitute" title="pango_ft2_font_map_set_default_substitute ()"><code class="function">pango_ft2_font_map_set_default_substitute()</code></a> change.
|
313
296
|
That is, if your substitution function will return different
|
314
|
-
results for the same input pattern, you must call this function
|
297
|
+
results for the same input pattern, you must call this function.
|
298
|
+
</p>
|
315
299
|
<div class="variablelist"><table border="0">
|
316
300
|
<col align="left" valign="top">
|
317
301
|
<tbody><tr>
|
318
302
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
319
|
-
<td>
|
303
|
+
<td>a <span class="type">PangoFT2Fontmap</span>
|
320
304
|
</td>
|
321
305
|
</tr></tbody>
|
322
306
|
</table></div>
|
323
307
|
<p class="since">Since 1.2</p>
|
324
308
|
</div>
|
325
309
|
<hr>
|
326
|
-
<div class="refsect2"
|
310
|
+
<div class="refsect2">
|
327
311
|
<a name="pango-ft2-get-context"></a><h3>pango_ft2_get_context ()</h3>
|
328
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * pango_ft2_get_context (<span class="
|
329
|
-
<span class="
|
330
|
-
<div class="warning"
|
312
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * pango_ft2_get_context (<em class="parameter"><code><span class="type">double</span> dpi_x</code></em>,
|
313
|
+
<em class="parameter"><code><span class="type">double</span> dpi_y</code></em>);</pre>
|
314
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
331
315
|
<h3 class="title">Warning</h3>
|
332
316
|
<p><code class="literal">pango_ft2_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-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>
|
333
317
|
</div>
|
334
318
|
<p>
|
335
319
|
Retrieves a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> for the default PangoFT2 fontmap
|
336
320
|
(see <code class="function">pango_ft2_fontmap_get_for_display()</code>) and sets the resolution
|
337
|
-
for the default fontmap to <em class="parameter"><code>dpi_x</code></em> by <em class="parameter"><code>dpi_y</code></em
|
321
|
+
for the default fontmap to <em class="parameter"><code>dpi_x</code></em> by <em class="parameter"><code>dpi_y</code></em>.
|
322
|
+
</p>
|
338
323
|
<div class="variablelist"><table border="0">
|
339
324
|
<col align="left" valign="top">
|
340
325
|
<tbody>
|
341
326
|
<tr>
|
342
327
|
<td><p><span class="term"><em class="parameter"><code>dpi_x</code></em> :</span></p></td>
|
343
|
-
<td>
|
328
|
+
<td>the horizontal DPI of the target device
|
344
329
|
</td>
|
345
330
|
</tr>
|
346
331
|
<tr>
|
347
332
|
<td><p><span class="term"><em class="parameter"><code>dpi_y</code></em> :</span></p></td>
|
348
|
-
<td>
|
333
|
+
<td>the vertical DPI of the target device
|
349
334
|
</td>
|
350
335
|
</tr>
|
351
336
|
<tr>
|
@@ -358,94 +343,96 @@ for the default fontmap to <em class="parameter"><code>dpi_x</code></em> by <em
|
|
358
343
|
</table></div>
|
359
344
|
</div>
|
360
345
|
<hr>
|
361
|
-
<div class="refsect2"
|
346
|
+
<div class="refsect2">
|
362
347
|
<a name="pango-ft2-render"></a><h3>pango_ft2_render ()</h3>
|
363
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_ft2_render (<span class="
|
364
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
365
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
366
|
-
<
|
367
|
-
<
|
348
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_ft2_render (<em class="parameter"><code><span class="type">FT_Bitmap</span> *bitmap</code></em>,
|
349
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
350
|
+
<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>,
|
351
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
352
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
|
368
353
|
<p>
|
369
|
-
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto a FreeType2 bitmap
|
354
|
+
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto a FreeType2 bitmap.
|
355
|
+
</p>
|
370
356
|
<div class="variablelist"><table border="0">
|
371
357
|
<col align="left" valign="top">
|
372
358
|
<tbody>
|
373
359
|
<tr>
|
374
360
|
<td><p><span class="term"><em class="parameter"><code>bitmap</code></em> :</span></p></td>
|
375
|
-
<td>
|
361
|
+
<td>the FreeType2 bitmap onto which to draw the string
|
376
362
|
</td>
|
377
363
|
</tr>
|
378
364
|
<tr>
|
379
365
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
380
|
-
<td>
|
366
|
+
<td>the font in which to draw the string
|
381
367
|
</td>
|
382
368
|
</tr>
|
383
369
|
<tr>
|
384
370
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
385
|
-
<td>
|
371
|
+
<td>the glyph string to draw
|
386
372
|
</td>
|
387
373
|
</tr>
|
388
374
|
<tr>
|
389
375
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
390
|
-
<td>
|
376
|
+
<td>the x position of the start of the string (in pixels)
|
391
377
|
</td>
|
392
378
|
</tr>
|
393
379
|
<tr>
|
394
380
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
395
|
-
<td>
|
381
|
+
<td>the y position of the baseline (in pixels)
|
396
382
|
</td>
|
397
383
|
</tr>
|
398
384
|
</tbody>
|
399
385
|
</table></div>
|
400
386
|
</div>
|
401
387
|
<hr>
|
402
|
-
<div class="refsect2"
|
388
|
+
<div class="refsect2">
|
403
389
|
<a name="pango-ft2-render-transformed"></a><h3>pango_ft2_render_transformed ()</h3>
|
404
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_ft2_render_transformed (<span class="
|
405
|
-
const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
406
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
407
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
408
|
-
<span class="
|
409
|
-
<span class="
|
390
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_ft2_render_transformed (<em class="parameter"><code><span class="type">FT_Bitmap</span> *bitmap</code></em>,
|
391
|
+
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
392
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
393
|
+
<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>,
|
394
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
395
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
410
396
|
<p>
|
411
|
-
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto a FreeType2 bitmap, possibly
|
397
|
+
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto a FreeType2 bitmap, possibly
|
412
398
|
transforming the layed-out coordinates through a transformation
|
413
399
|
matrix. Note that the transformation matrix for <em class="parameter"><code>font</code></em> is not
|
414
400
|
changed, so to produce correct rendering results, the <em class="parameter"><code>font</code></em>
|
415
401
|
must have been loaded using a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> with an identical
|
416
|
-
transformation matrix to that passed in to this function
|
402
|
+
transformation matrix to that passed in to this function.
|
403
|
+
</p>
|
417
404
|
<div class="variablelist"><table border="0">
|
418
405
|
<col align="left" valign="top">
|
419
406
|
<tbody>
|
420
407
|
<tr>
|
421
408
|
<td><p><span class="term"><em class="parameter"><code>bitmap</code></em> :</span></p></td>
|
422
|
-
<td>
|
409
|
+
<td>the FreeType2 bitmap onto which to draw the string
|
423
410
|
</td>
|
424
411
|
</tr>
|
425
412
|
<tr>
|
426
413
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
427
|
-
<td>
|
414
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to use an identity transformation
|
428
415
|
</td>
|
429
416
|
</tr>
|
430
417
|
<tr>
|
431
418
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
432
|
-
<td>
|
419
|
+
<td>the font in which to draw the string
|
433
420
|
</td>
|
434
421
|
</tr>
|
435
422
|
<tr>
|
436
423
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
437
|
-
<td>
|
424
|
+
<td>the glyph string to draw
|
438
425
|
</td>
|
439
426
|
</tr>
|
440
427
|
<tr>
|
441
428
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
442
|
-
<td>
|
429
|
+
<td>the x position of the start of the string (in Pango
|
443
430
|
units in user space coordinates)
|
444
431
|
</td>
|
445
432
|
</tr>
|
446
433
|
<tr>
|
447
434
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
448
|
-
<td>
|
435
|
+
<td>the y position of the baseline (in Pango units
|
449
436
|
in user space coordinates)
|
450
437
|
</td>
|
451
438
|
</tr>
|
@@ -454,75 +441,77 @@ transformation matrix to that passed in to this function.</p>
|
|
454
441
|
<p class="since">Since 1.6</p>
|
455
442
|
</div>
|
456
443
|
<hr>
|
457
|
-
<div class="refsect2"
|
444
|
+
<div class="refsect2">
|
458
445
|
<a name="pango-ft2-render-layout-line"></a><h3>pango_ft2_render_layout_line ()</h3>
|
459
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_ft2_render_layout_line (<span class="
|
460
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="
|
461
|
-
<span class="
|
462
|
-
<span class="
|
446
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_ft2_render_layout_line (<em class="parameter"><code><span class="type">FT_Bitmap</span> *bitmap</code></em>,
|
447
|
+
<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>,
|
448
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
449
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
463
450
|
<p>
|
464
|
-
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto a FreeType2 bitmap
|
451
|
+
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto a FreeType2 bitmap
|
452
|
+
</p>
|
465
453
|
<div class="variablelist"><table border="0">
|
466
454
|
<col align="left" valign="top">
|
467
455
|
<tbody>
|
468
456
|
<tr>
|
469
457
|
<td><p><span class="term"><em class="parameter"><code>bitmap</code></em> :</span></p></td>
|
470
|
-
<td>
|
458
|
+
<td>a <span class="type">FT_Bitmap</span> to render the line onto
|
471
459
|
</td>
|
472
460
|
</tr>
|
473
461
|
<tr>
|
474
462
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
475
|
-
<td>
|
463
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
|
476
464
|
</td>
|
477
465
|
</tr>
|
478
466
|
<tr>
|
479
467
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
480
|
-
<td>
|
468
|
+
<td>the x position of start of string (in pixels)
|
481
469
|
</td>
|
482
470
|
</tr>
|
483
471
|
<tr>
|
484
472
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
485
|
-
<td>
|
473
|
+
<td>the y position of baseline (in pixels)
|
486
474
|
</td>
|
487
475
|
</tr>
|
488
476
|
</tbody>
|
489
477
|
</table></div>
|
490
478
|
</div>
|
491
479
|
<hr>
|
492
|
-
<div class="refsect2"
|
480
|
+
<div class="refsect2">
|
493
481
|
<a name="pango-ft2-render-layout-line-subpixel"></a><h3>pango_ft2_render_layout_line_subpixel ()</h3>
|
494
482
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_ft2_render_layout_line_subpixel
|
495
|
-
(<span class="
|
496
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="
|
497
|
-
<span class="
|
498
|
-
<span class="
|
483
|
+
(<em class="parameter"><code><span class="type">FT_Bitmap</span> *bitmap</code></em>,
|
484
|
+
<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>,
|
485
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
486
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
499
487
|
<p>
|
500
|
-
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto a FreeType2 bitmap, with he
|
488
|
+
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto a FreeType2 bitmap, with he
|
501
489
|
location specified in fixed-point Pango units rather than
|
502
490
|
pixels. (Using this will avoid extra inaccuracies from
|
503
491
|
rounding to integer pixels multiple times, even if the
|
504
|
-
final glyph positions are integers.)
|
492
|
+
final glyph positions are integers.)
|
493
|
+
</p>
|
505
494
|
<div class="variablelist"><table border="0">
|
506
495
|
<col align="left" valign="top">
|
507
496
|
<tbody>
|
508
497
|
<tr>
|
509
498
|
<td><p><span class="term"><em class="parameter"><code>bitmap</code></em> :</span></p></td>
|
510
|
-
<td>
|
499
|
+
<td>a <span class="type">FT_Bitmap</span> to render the line onto
|
511
500
|
</td>
|
512
501
|
</tr>
|
513
502
|
<tr>
|
514
503
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
515
|
-
<td>
|
504
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
|
516
505
|
</td>
|
517
506
|
</tr>
|
518
507
|
<tr>
|
519
508
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
520
|
-
<td>
|
509
|
+
<td>the x position of start of string (in Pango units)
|
521
510
|
</td>
|
522
511
|
</tr>
|
523
512
|
<tr>
|
524
513
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
525
|
-
<td>
|
514
|
+
<td>the y position of baseline (in Pango units)
|
526
515
|
</td>
|
527
516
|
</tr>
|
528
517
|
</tbody>
|
@@ -530,74 +519,76 @@ final glyph positions are integers.)</p>
|
|
530
519
|
<p class="since">Since 1.6</p>
|
531
520
|
</div>
|
532
521
|
<hr>
|
533
|
-
<div class="refsect2"
|
522
|
+
<div class="refsect2">
|
534
523
|
<a name="pango-ft2-render-layout"></a><h3>pango_ft2_render_layout ()</h3>
|
535
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_ft2_render_layout (<span class="
|
536
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="
|
537
|
-
<span class="
|
538
|
-
<span class="
|
524
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_ft2_render_layout (<em class="parameter"><code><span class="type">FT_Bitmap</span> *bitmap</code></em>,
|
525
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
526
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
527
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
539
528
|
<p>
|
540
|
-
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> onto a FreeType2 bitmap
|
529
|
+
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> onto a FreeType2 bitmap
|
530
|
+
</p>
|
541
531
|
<div class="variablelist"><table border="0">
|
542
532
|
<col align="left" valign="top">
|
543
533
|
<tbody>
|
544
534
|
<tr>
|
545
535
|
<td><p><span class="term"><em class="parameter"><code>bitmap</code></em> :</span></p></td>
|
546
|
-
<td>
|
536
|
+
<td>a <span class="type">FT_Bitmap</span> to render the layout onto
|
547
537
|
</td>
|
548
538
|
</tr>
|
549
539
|
<tr>
|
550
540
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
551
|
-
<td>
|
541
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
552
542
|
</td>
|
553
543
|
</tr>
|
554
544
|
<tr>
|
555
545
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
556
|
-
<td>
|
546
|
+
<td>the X position of the left of the layout (in pixels)
|
557
547
|
</td>
|
558
548
|
</tr>
|
559
549
|
<tr>
|
560
550
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
561
|
-
<td>
|
551
|
+
<td>the Y position of the top of the layout (in pixels)
|
562
552
|
</td>
|
563
553
|
</tr>
|
564
554
|
</tbody>
|
565
555
|
</table></div>
|
566
556
|
</div>
|
567
557
|
<hr>
|
568
|
-
<div class="refsect2"
|
558
|
+
<div class="refsect2">
|
569
559
|
<a name="pango-ft2-render-layout-subpixel"></a><h3>pango_ft2_render_layout_subpixel ()</h3>
|
570
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_ft2_render_layout_subpixel (<span class="
|
571
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="
|
572
|
-
<span class="
|
573
|
-
<span class="
|
560
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_ft2_render_layout_subpixel (<em class="parameter"><code><span class="type">FT_Bitmap</span> *bitmap</code></em>,
|
561
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
562
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
563
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
574
564
|
<p>
|
575
565
|
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> onto a FreeType2 bitmap, with he
|
576
566
|
location specified in fixed-point Pango units rather than
|
577
567
|
pixels. (Using this will avoid extra inaccuracies from
|
578
568
|
rounding to integer pixels multiple times, even if the
|
579
|
-
final glyph positions are integers.)
|
569
|
+
final glyph positions are integers.)
|
570
|
+
</p>
|
580
571
|
<div class="variablelist"><table border="0">
|
581
572
|
<col align="left" valign="top">
|
582
573
|
<tbody>
|
583
574
|
<tr>
|
584
575
|
<td><p><span class="term"><em class="parameter"><code>bitmap</code></em> :</span></p></td>
|
585
|
-
<td>
|
576
|
+
<td>a <span class="type">FT_Bitmap</span> to render the layout onto
|
586
577
|
</td>
|
587
578
|
</tr>
|
588
579
|
<tr>
|
589
580
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
590
|
-
<td>
|
581
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
591
582
|
</td>
|
592
583
|
</tr>
|
593
584
|
<tr>
|
594
585
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
595
|
-
<td>
|
586
|
+
<td>the X position of the left of the layout (in Pango units)
|
596
587
|
</td>
|
597
588
|
</tr>
|
598
589
|
<tr>
|
599
590
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
600
|
-
<td>
|
591
|
+
<td>the Y position of the top of the layout (in Pango units)
|
601
592
|
</td>
|
602
593
|
</tr>
|
603
594
|
</tbody>
|
@@ -605,10 +596,10 @@ final glyph positions are integers.)</p>
|
|
605
596
|
<p class="since">Since 1.6</p>
|
606
597
|
</div>
|
607
598
|
<hr>
|
608
|
-
<div class="refsect2"
|
599
|
+
<div class="refsect2">
|
609
600
|
<a name="pango-ft2-get-unknown-glyph"></a><h3>pango_ft2_get_unknown_glyph ()</h3>
|
610
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> pango_ft2_get_unknown_glyph (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
611
|
-
<div class="warning"
|
601
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> pango_ft2_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>
|
602
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
612
603
|
<h3 class="title">Warning</h3>
|
613
604
|
<p><code class="literal">pango_ft2_get_unknown_glyph</code> is deprecated and should not be used in newly-written code.</p>
|
614
605
|
</div>
|
@@ -619,13 +610,14 @@ Return the index of a glyph suitable for drawing unknown characters with
|
|
619
610
|
<p>
|
620
611
|
If you want to draw an unknown-box for a character that is not covered
|
621
612
|
by the font,
|
622
|
-
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
|
613
|
+
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.
|
614
|
+
</p>
|
623
615
|
<div class="variablelist"><table border="0">
|
624
616
|
<col align="left" valign="top">
|
625
617
|
<tbody>
|
626
618
|
<tr>
|
627
619
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
628
|
-
<td>
|
620
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
629
621
|
</td>
|
630
622
|
</tr>
|
631
623
|
<tr>
|
@@ -637,12 +629,12 @@ use <a class="link" href="pango-Glyph-Storage.html#PANGO-GET-UNKNOWN-GLYPH:CAPS"
|
|
637
629
|
</table></div>
|
638
630
|
</div>
|
639
631
|
<hr>
|
640
|
-
<div class="refsect2"
|
632
|
+
<div class="refsect2">
|
641
633
|
<a name="pango-ft2-font-get-kerning"></a><h3>pango_ft2_font_get_kerning ()</h3>
|
642
|
-
<pre class="programlisting"><span class="returnvalue">int</span> pango_ft2_font_get_kerning (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
643
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="
|
644
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="
|
645
|
-
<div class="warning"
|
634
|
+
<pre class="programlisting"><span class="returnvalue">int</span> pango_ft2_font_get_kerning (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
635
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> left</code></em>,
|
636
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> right</code></em>);</pre>
|
637
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
646
638
|
<h3 class="title">Warning</h3>
|
647
639
|
<p><code class="literal">pango_ft2_font_get_kerning</code> is deprecated and should not be used in newly-written code.</p>
|
648
640
|
</div>
|
@@ -650,23 +642,24 @@ use <a class="link" href="pango-Glyph-Storage.html#PANGO-GET-UNKNOWN-GLYPH:CAPS"
|
|
650
642
|
Retrieves kerning information for a combination of two glyphs.
|
651
643
|
</p>
|
652
644
|
<p>
|
653
|
-
Use <a class="link" href="PangoFcFont.html#pango-fc-font-kern-glyphs" title="pango_fc_font_kern_glyphs ()"><code class="function">pango_fc_font_kern_glyphs()</code></a> instead
|
645
|
+
Use <a class="link" href="PangoFcFont.html#pango-fc-font-kern-glyphs" title="pango_fc_font_kern_glyphs ()"><code class="function">pango_fc_font_kern_glyphs()</code></a> instead.
|
646
|
+
</p>
|
654
647
|
<div class="variablelist"><table border="0">
|
655
648
|
<col align="left" valign="top">
|
656
649
|
<tbody>
|
657
650
|
<tr>
|
658
651
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
659
|
-
<td>
|
652
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
660
653
|
</td>
|
661
654
|
</tr>
|
662
655
|
<tr>
|
663
656
|
<td><p><span class="term"><em class="parameter"><code>left</code></em> :</span></p></td>
|
664
|
-
<td>
|
657
|
+
<td>the left <a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a>
|
665
658
|
</td>
|
666
659
|
</tr>
|
667
660
|
<tr>
|
668
661
|
<td><p><span class="term"><em class="parameter"><code>right</code></em> :</span></p></td>
|
669
|
-
<td>
|
662
|
+
<td>the right <a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a>
|
670
663
|
</td>
|
671
664
|
</tr>
|
672
665
|
<tr>
|
@@ -679,10 +672,10 @@ the given combination of glyphs.
|
|
679
672
|
</table></div>
|
680
673
|
</div>
|
681
674
|
<hr>
|
682
|
-
<div class="refsect2"
|
675
|
+
<div class="refsect2">
|
683
676
|
<a name="pango-ft2-font-get-face"></a><h3>pango_ft2_font_get_face ()</h3>
|
684
|
-
<pre class="programlisting"><span class="returnvalue">FT_Face</span> pango_ft2_font_get_face (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
685
|
-
<div class="warning"
|
677
|
+
<pre class="programlisting"><span class="returnvalue">FT_Face</span> pango_ft2_font_get_face (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
678
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
686
679
|
<h3 class="title">Warning</h3>
|
687
680
|
<p><code class="literal">pango_ft2_font_get_face</code> is deprecated and should not be used in newly-written code.</p>
|
688
681
|
</div>
|
@@ -693,62 +686,64 @@ This may be useful if you want to use FreeType2 functions directly.
|
|
693
686
|
<p>
|
694
687
|
Use <a class="link" href="PangoFcFont.html#pango-fc-font-lock-face" title="pango_fc_font_lock_face ()"><code class="function">pango_fc_font_lock_face()</code></a> instead; when you are done with a
|
695
688
|
face from <a class="link" href="PangoFcFont.html#pango-fc-font-lock-face" title="pango_fc_font_lock_face ()"><code class="function">pango_fc_font_lock_face()</code></a> you must call
|
696
|
-
<a class="link" href="PangoFcFont.html#pango-fc-font-unlock-face" title="pango_fc_font_unlock_face ()"><code class="function">pango_fc_font_unlock_face()</code></a
|
689
|
+
<a class="link" href="PangoFcFont.html#pango-fc-font-unlock-face" title="pango_fc_font_unlock_face ()"><code class="function">pango_fc_font_unlock_face()</code></a>.
|
690
|
+
</p>
|
697
691
|
<div class="variablelist"><table border="0">
|
698
692
|
<col align="left" valign="top">
|
699
693
|
<tbody>
|
700
694
|
<tr>
|
701
695
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
702
|
-
<td>
|
696
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
703
697
|
</td>
|
704
698
|
</tr>
|
705
699
|
<tr>
|
706
700
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
707
701
|
<td> a pointer to a <span class="type">FT_Face</span> structure, with the size set correctly,
|
708
|
-
or <a href="/usr/share/gtk-doc/html/
|
702
|
+
or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>font</code></em> is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
709
703
|
</td>
|
710
704
|
</tr>
|
711
705
|
</tbody>
|
712
706
|
</table></div>
|
713
707
|
</div>
|
714
708
|
<hr>
|
715
|
-
<div class="refsect2"
|
709
|
+
<div class="refsect2">
|
716
710
|
<a name="pango-ft2-font-get-coverage"></a><h3>pango_ft2_font_get_coverage ()</h3>
|
717
|
-
<pre class="programlisting"><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> * pango_ft2_font_get_coverage (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
718
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="
|
719
|
-
<div class="warning"
|
711
|
+
<pre class="programlisting"><a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="returnvalue">PangoCoverage</span></a> * pango_ft2_font_get_coverage (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
712
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
713
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
720
714
|
<h3 class="title">Warning</h3>
|
721
715
|
<p><code class="literal">pango_ft2_font_get_coverage</code> is deprecated and should not be used in newly-written code.</p>
|
722
716
|
</div>
|
723
717
|
<p>
|
724
718
|
Gets the <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a> for a <span class="type">PangoFT2Font</span>. Use
|
725
|
-
<a class="link" href="pango-Fonts.html#pango-font-get-coverage" title="pango_font_get_coverage ()"><code class="function">pango_font_get_coverage()</code></a> instead
|
719
|
+
<a class="link" href="pango-Fonts.html#pango-font-get-coverage" title="pango_font_get_coverage ()"><code class="function">pango_font_get_coverage()</code></a> instead.
|
720
|
+
</p>
|
726
721
|
<div class="variablelist"><table border="0">
|
727
722
|
<col align="left" valign="top">
|
728
723
|
<tbody>
|
729
724
|
<tr>
|
730
725
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
731
|
-
<td>
|
726
|
+
<td>a <span class="type">PangoFT2Font</span>.
|
732
727
|
</td>
|
733
728
|
</tr>
|
734
729
|
<tr>
|
735
730
|
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
736
|
-
<td>
|
731
|
+
<td>a language tag.
|
737
732
|
</td>
|
738
733
|
</tr>
|
739
734
|
<tr>
|
740
735
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
741
|
-
<td>
|
736
|
+
<td>a <a class="link" href="pango-Coverage-Maps.html#PangoCoverage" title="PangoCoverage"><span class="type">PangoCoverage</span></a>.
|
742
737
|
</td>
|
743
738
|
</tr>
|
744
739
|
</tbody>
|
745
740
|
</table></div>
|
746
741
|
</div>
|
747
742
|
<hr>
|
748
|
-
<div class="refsect2"
|
743
|
+
<div class="refsect2">
|
749
744
|
<a name="pango-ft2-font-map-for-display"></a><h3>pango_ft2_font_map_for_display ()</h3>
|
750
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * pango_ft2_font_map_for_display (void);</pre>
|
751
|
-
<div class="warning"
|
745
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * pango_ft2_font_map_for_display (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
746
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
752
747
|
<h3 class="title">Warning</h3>
|
753
748
|
<p><code class="literal">pango_ft2_font_map_for_display</code> is deprecated and should not be used in newly-written code.</p>
|
754
749
|
</div>
|
@@ -757,7 +752,8 @@ Returns a <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2
|
|
757
752
|
not be freed. If the font map is no longer needed, it can
|
758
753
|
be released with <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-shutdown-display" title="pango_ft2_shutdown_display ()"><code class="function">pango_ft2_shutdown_display()</code></a>. Use of the
|
759
754
|
global PangoFT2 fontmap is deprecated; use <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-map-new" title="pango_ft2_font_map_new ()"><code class="function">pango_ft2_font_map_new()</code></a>
|
760
|
-
instead
|
755
|
+
instead.
|
756
|
+
</p>
|
761
757
|
<div class="variablelist"><table border="0">
|
762
758
|
<col align="left" valign="top">
|
763
759
|
<tbody><tr>
|
@@ -768,21 +764,22 @@ instead.</p>
|
|
768
764
|
</table></div>
|
769
765
|
</div>
|
770
766
|
<hr>
|
771
|
-
<div class="refsect2"
|
767
|
+
<div class="refsect2">
|
772
768
|
<a name="pango-ft2-shutdown-display"></a><h3>pango_ft2_shutdown_display ()</h3>
|
773
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_ft2_shutdown_display (void);</pre>
|
774
|
-
<div class="warning"
|
769
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_ft2_shutdown_display (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
770
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
775
771
|
<h3 class="title">Warning</h3>
|
776
772
|
<p><code class="literal">pango_ft2_shutdown_display</code> is deprecated and should not be used in newly-written code.</p>
|
777
773
|
</div>
|
778
774
|
<p>
|
779
775
|
Free the global fontmap. (See <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#pango-ft2-font-map-for-display" title="pango_ft2_font_map_for_display ()"><code class="function">pango_ft2_font_map_for_display()</code></a>)
|
780
|
-
Use of the global PangoFT2 fontmap is deprecated
|
776
|
+
Use of the global PangoFT2 fontmap is deprecated.
|
777
|
+
</p>
|
781
778
|
</div>
|
782
779
|
</div>
|
783
780
|
</div>
|
784
781
|
<div class="footer">
|
785
782
|
<hr>
|
786
|
-
Generated by GTK-Doc V1.
|
783
|
+
Generated by GTK-Doc V1.15.1</div>
|
787
784
|
</body>
|
788
785
|
</html>
|