pango 2.1.0-x86-mingw32 → 2.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/ext/pango/rbpangocairo.c +7 -1
- data/lib/1.9/pango.so +0 -0
- data/lib/2.0/pango.so +0 -0
- data/lib/2.1/pango.so +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/include/harfbuzz/hb-common.h +7 -1
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +0 -5
- data/vendor/local/include/harfbuzz/hb-ot-shape.h +54 -0
- data/vendor/local/include/harfbuzz/hb-ot.h +1 -8
- data/vendor/local/include/harfbuzz/hb-version.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +2 -2
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +1 -1
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +1 -1
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +1 -1
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +1 -1
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +9 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +1 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +1 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +18 -31
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +18 -31
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +17 -25
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +25 -39
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +44 -78
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +41 -75
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +23 -26
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +19 -22
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +15 -18
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +17 -20
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +33 -36
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +17 -20
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +21 -24
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +19 -22
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +25 -28
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +15 -18
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +13 -16
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +10 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +10 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +15 -18
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +13 -16
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +10 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +23 -26
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +23 -26
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +19 -22
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +162 -26
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +51 -54
- data/vendor/local/share/gtk-doc/html/pango/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +25 -40
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +118 -169
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +15 -21
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +24 -39
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +24 -39
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +125 -240
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +46 -74
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +95 -189
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +137 -265
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +38 -66
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +20 -31
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +207 -143
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +47 -86
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +26 -43
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +106 -203
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +66 -122
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +29 -47
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +33 -57
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +49 -79
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +53 -90
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +34 -34
- data/vendor/local/share/gtk-doc/html/pango/pango.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/pango/tools.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/up.png +0 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -1
- metadata +8 -4
@@ -2,30 +2,27 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Version Checking</title>
|
5
|
+
<title>Pango Reference Manual: Version Checking</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="lowlevel.html" title="Low Level Functionality">
|
9
9
|
<link rel="prev" href="pango-Miscellaneous-Utilities.html" title="Miscellaneous Utilities">
|
10
10
|
<link rel="next" href="tools.html" title="Pango Tools">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">Pango Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="tools.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#pango-Version-Checking.synopsis" class="shortcut">Top</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
|
16
|
+
<td width="100%" align="left">
|
17
|
+
<a href="#" class="shortcut">Top</a>
|
25
18
|
|
|
26
19
|
<a href="#pango-Version-Checking.description" class="shortcut">Description</a>
|
27
|
-
</td
|
28
|
-
|
20
|
+
</td>
|
21
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
|
+
<td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
23
|
+
<td><a accesskey="p" href="pango-Miscellaneous-Utilities.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
+
<td><a accesskey="n" href="tools.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
25
|
+
</tr></table>
|
29
26
|
<div class="refentry">
|
30
27
|
<a name="pango-Version-Checking"></a><div class="titlepage"></div>
|
31
28
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -59,11 +56,9 @@ const <span class="returnvalue">char</span> * <a class="link" href="pango
|
|
59
56
|
<a name="pango-Version-Checking.description"></a><h2>Description</h2>
|
60
57
|
<p>
|
61
58
|
The capital-letter macros defined here can be used to check the version of Pango
|
62
|
-
at compile-time, and to <em class="firstterm">encode</em> Pango versions into integers
|
63
|
-
</p>
|
59
|
+
at compile-time, and to <em class="firstterm">encode</em> Pango versions into integers.</p>
|
64
60
|
<p>
|
65
|
-
The functions can be used to check the version of the linked Pango library at run-time
|
66
|
-
</p>
|
61
|
+
The functions can be used to check the version of the linked Pango library at run-time.</p>
|
67
62
|
</div>
|
68
63
|
<div class="refsect1">
|
69
64
|
<a name="pango-Version-Checking.details"></a><h2>Details</h2>
|
@@ -73,8 +68,7 @@ The functions can be used to check the version of the linked Pango library at ru
|
|
73
68
|
<p>
|
74
69
|
This macro encodes the given Pango version into an integer. The numbers
|
75
70
|
returned by <a class="link" href="pango-Version-Checking.html#PANGO-VERSION:CAPS" title="PANGO_VERSION"><code class="literal">PANGO_VERSION</code></a> and <a class="link" href="pango-Version-Checking.html#pango-version" title="pango_version ()"><code class="function">pango_version()</code></a> are encoded using this macro.
|
76
|
-
Two encoded version numbers can be compared as integers
|
77
|
-
</p>
|
71
|
+
Two encoded version numbers can be compared as integers.</p>
|
78
72
|
<div class="variablelist"><table border="0" class="variablelist">
|
79
73
|
<colgroup>
|
80
74
|
<col align="left" valign="top">
|
@@ -101,8 +95,7 @@ Two encoded version numbers can be compared as integers.
|
|
101
95
|
<a name="PANGO-VERSION:CAPS"></a><h3>PANGO_VERSION</h3>
|
102
96
|
<pre class="programlisting">#define PANGO_VERSION</pre>
|
103
97
|
<p>
|
104
|
-
The version of Pango available at compile-time, encoded using <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-ENCODE:CAPS" title="PANGO_VERSION_ENCODE()"><code class="function">PANGO_VERSION_ENCODE()</code></a
|
105
|
-
</p>
|
98
|
+
The version of Pango available at compile-time, encoded using <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-ENCODE:CAPS" title="PANGO_VERSION_ENCODE()"><code class="function">PANGO_VERSION_ENCODE()</code></a>.</p>
|
106
99
|
</div>
|
107
100
|
<hr>
|
108
101
|
<div class="refsect2">
|
@@ -110,8 +103,7 @@ The version of Pango available at compile-time, encoded using <a class="link" hr
|
|
110
103
|
<pre class="programlisting">#define PANGO_VERSION_MAJOR 1
|
111
104
|
</pre>
|
112
105
|
<p>
|
113
|
-
The major component of the version of Pango available at compile-time
|
114
|
-
</p>
|
106
|
+
The major component of the version of Pango available at compile-time.</p>
|
115
107
|
</div>
|
116
108
|
<hr>
|
117
109
|
<div class="refsect2">
|
@@ -119,26 +111,23 @@ The major component of the version of Pango available at compile-time.
|
|
119
111
|
<pre class="programlisting">#define PANGO_VERSION_MINOR 36
|
120
112
|
</pre>
|
121
113
|
<p>
|
122
|
-
The minor component of the version of Pango available at compile-time
|
123
|
-
</p>
|
114
|
+
The minor component of the version of Pango available at compile-time.</p>
|
124
115
|
</div>
|
125
116
|
<hr>
|
126
117
|
<div class="refsect2">
|
127
118
|
<a name="PANGO-VERSION-MICRO:CAPS"></a><h3>PANGO_VERSION_MICRO</h3>
|
128
|
-
<pre class="programlisting">#define PANGO_VERSION_MICRO
|
119
|
+
<pre class="programlisting">#define PANGO_VERSION_MICRO 2
|
129
120
|
</pre>
|
130
121
|
<p>
|
131
|
-
The micro component of the version of Pango available at compile-time
|
132
|
-
</p>
|
122
|
+
The micro component of the version of Pango available at compile-time.</p>
|
133
123
|
</div>
|
134
124
|
<hr>
|
135
125
|
<div class="refsect2">
|
136
126
|
<a name="PANGO-VERSION-STRING:CAPS"></a><h3>PANGO_VERSION_STRING</h3>
|
137
|
-
<pre class="programlisting">#define PANGO_VERSION_STRING "1.36.
|
127
|
+
<pre class="programlisting">#define PANGO_VERSION_STRING "1.36.2"
|
138
128
|
</pre>
|
139
129
|
<p>
|
140
|
-
A string literal containing the version of Pango available at compile-time
|
141
|
-
</p>
|
130
|
+
A string literal containing the version of Pango available at compile-time.</p>
|
142
131
|
</div>
|
143
132
|
<hr>
|
144
133
|
<div class="refsect2">
|
@@ -146,8 +135,7 @@ A string literal containing the version of Pango available at compile-time.
|
|
146
135
|
<pre class="programlisting">#define PANGO_VERSION_CHECK(major,minor,micro)</pre>
|
147
136
|
<p>
|
148
137
|
Checks that the version of Pango available at compile-time is not older than
|
149
|
-
the provided version number
|
150
|
-
</p>
|
138
|
+
the provided version number.</p>
|
151
139
|
<div class="variablelist"><table border="0" class="variablelist">
|
152
140
|
<colgroup>
|
153
141
|
<col align="left" valign="top">
|
@@ -176,12 +164,10 @@ the provided version number.
|
|
176
164
|
<p>
|
177
165
|
This is similar to the macro <a class="link" href="pango-Version-Checking.html#PANGO-VERSION:CAPS" title="PANGO_VERSION"><code class="literal">PANGO_VERSION</code></a> except that
|
178
166
|
it returns the encoded version of Pango available at run-time,
|
179
|
-
as opposed to the version available at compile-time
|
180
|
-
</p>
|
167
|
+
as opposed to the version available at compile-time.</p>
|
181
168
|
<p>
|
182
169
|
A version number can be encoded into an integer using
|
183
|
-
<a class="link" href="pango-Version-Checking.html#PANGO-VERSION-ENCODE:CAPS" title="PANGO_VERSION_ENCODE()"><code class="function">PANGO_VERSION_ENCODE()</code></a
|
184
|
-
</p>
|
170
|
+
<a class="link" href="pango-Version-Checking.html#PANGO-VERSION-ENCODE:CAPS" title="PANGO_VERSION_ENCODE()"><code class="function">PANGO_VERSION_ENCODE()</code></a>.</p>
|
185
171
|
<div class="variablelist"><table border="0" class="variablelist">
|
186
172
|
<colgroup>
|
187
173
|
<col align="left" valign="top">
|
@@ -202,8 +188,7 @@ available at run time.</td>
|
|
202
188
|
<p>
|
203
189
|
This is similar to the macro <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-STRING:CAPS" title="PANGO_VERSION_STRING"><code class="literal">PANGO_VERSION_STRING</code></a> except that
|
204
190
|
it returns the version of Pango available at run-time, as opposed to
|
205
|
-
the version available at compile-time
|
206
|
-
</p>
|
191
|
+
the version available at compile-time.</p>
|
207
192
|
<div class="variablelist"><table border="0" class="variablelist">
|
208
193
|
<colgroup>
|
209
194
|
<col align="left" valign="top">
|
@@ -231,19 +216,16 @@ given version. Generally you would pass in the constants
|
|
231
216
|
<a class="link" href="pango-Version-Checking.html#PANGO-VERSION-MAJOR:CAPS" title="PANGO_VERSION_MAJOR"><code class="literal">PANGO_VERSION_MAJOR</code></a>, <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-MINOR:CAPS" title="PANGO_VERSION_MINOR"><code class="literal">PANGO_VERSION_MINOR</code></a>, <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-MICRO:CAPS" title="PANGO_VERSION_MICRO"><code class="literal">PANGO_VERSION_MICRO</code></a>
|
232
217
|
as the three arguments to this function; that produces
|
233
218
|
a check that the library in use at run-time is compatible with
|
234
|
-
the version of Pango the application or module was compiled against
|
235
|
-
</p>
|
219
|
+
the version of Pango the application or module was compiled against.</p>
|
236
220
|
<p>
|
237
221
|
Compatibility is defined by two things: first the version
|
238
222
|
of the running library is newer than the version
|
239
223
|
<em class="parameter"><code>required_major.required_minor</code></em>.<em class="parameter"><code>required_micro</code></em>. Second
|
240
224
|
the running library must be binary compatible with the
|
241
225
|
version <em class="parameter"><code>required_major.required_minor</code></em>.<em class="parameter"><code>required_micro</code></em>
|
242
|
-
(same major version.)
|
243
|
-
</p>
|
226
|
+
(same major version.)</p>
|
244
227
|
<p>
|
245
|
-
For compile-time version checking use <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-CHECK:CAPS" title="PANGO_VERSION_CHECK()"><code class="function">PANGO_VERSION_CHECK()</code></a
|
246
|
-
</p>
|
228
|
+
For compile-time version checking use <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-CHECK:CAPS" title="PANGO_VERSION_CHECK()"><code class="function">PANGO_VERSION_CHECK()</code></a>.</p>
|
247
229
|
<div class="variablelist"><table border="0" class="variablelist">
|
248
230
|
<colgroup>
|
249
231
|
<col align="left" valign="top">
|
@@ -278,6 +260,6 @@ or freed.</td>
|
|
278
260
|
</div>
|
279
261
|
<div class="footer">
|
280
262
|
<hr>
|
281
|
-
Generated by GTK-Doc V1.19</div>
|
263
|
+
Generated by GTK-Doc V1.19.1</div>
|
282
264
|
</body>
|
283
265
|
</html>
|
@@ -2,32 +2,29 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Vertical Text</title>
|
5
|
+
<title>Pango Reference Manual: Vertical Text</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
9
|
<link rel="prev" href="pango-Bidirectional-Text.html" title="Bidirectional Text">
|
10
10
|
<link rel="next" href="rendering.html" title="Rendering with Pango">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<td><a accesskey="u" href="pango.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">Pango Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="rendering.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#pango-Vertical-Text.synopsis" class="shortcut">Top</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
|
16
|
+
<td width="100%" align="left">
|
17
|
+
<a href="#" class="shortcut">Top</a>
|
25
18
|
|
|
26
19
|
<a href="#pango-Vertical-Text.description" class="shortcut">Description</a>
|
27
20
|
|
|
28
21
|
<a href="#pango-Vertical-Text.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
-
</td
|
30
|
-
|
22
|
+
</td>
|
23
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
|
+
<td><a accesskey="u" href="pango.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
25
|
+
<td><a accesskey="p" href="pango-Bidirectional-Text.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
26
|
+
<td><a accesskey="n" href="rendering.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
27
|
+
</tr></table>
|
31
28
|
<div class="refentry">
|
32
29
|
<a name="pango-Vertical-Text"></a><div class="titlepage"></div>
|
33
30
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -71,8 +68,7 @@ enum <a class="link" href="pango-Vertical-Text.html#PangoGravityH
|
|
71
68
|
<p>
|
72
69
|
Since 1.16, Pango is able to correctly lay vertical text out. In fact, it can
|
73
70
|
set layouts of mixed vertical and non-vertical text. This section describes
|
74
|
-
the types used for setting vertical text parameters
|
75
|
-
</p>
|
71
|
+
the types used for setting vertical text parameters.</p>
|
76
72
|
<p>
|
77
73
|
The way this is implemented is through the concept of
|
78
74
|
<em class="firstterm">gravity</em>. Gravity of normal Latin text is south. A
|
@@ -81,16 +77,14 @@ counterclockwise. So, to render vertical text one needs to set the gravity
|
|
81
77
|
and rotate the layout using the matrix machinery already in place. This has
|
82
78
|
the huge advantage that most algorithms working on a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> do not need
|
83
79
|
any change as the assumption that lines run in the X direction and stack in
|
84
|
-
the Y direction holds even for vertical text layouts
|
85
|
-
</p>
|
80
|
+
the Y direction holds even for vertical text layouts.</p>
|
86
81
|
<p>
|
87
82
|
Applications should only need to set base gravity on <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> in use, and
|
88
83
|
let Pango decide the gravity assigned to each run of text. This automatically
|
89
84
|
handles text with mixed scripts. A very common use is to set the context base
|
90
85
|
gravity to auto using <a class="link" href="pango-Text-Processing.html#pango-context-set-base-gravity" title="pango_context_set_base_gravity ()"><code class="function">pango_context_set_base_gravity()</code></a>
|
91
86
|
and rotate the layout normally. Pango will make sure that
|
92
|
-
Asian languages take the right form, while other scripts are rotated normally
|
93
|
-
</p>
|
87
|
+
Asian languages take the right form, while other scripts are rotated normally.</p>
|
94
88
|
<p>
|
95
89
|
The correct way to set gravity on a layout is to set it on the context
|
96
90
|
associated with it using <a class="link" href="pango-Text-Processing.html#pango-context-set-base-gravity" title="pango_context_set_base_gravity ()"><code class="function">pango_context_set_base_gravity()</code></a>. The context
|
@@ -101,24 +95,20 @@ gravity of it using <a class="link" href="pango-Text-Processing.html#pango-conte
|
|
101
95
|
the same as the base gravity for the most part, except that if the base
|
102
96
|
gravity is set to <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a>, the resolved gravity will depend
|
103
97
|
on the current matrix set on context, and is derived using
|
104
|
-
<a class="link" href="pango-Vertical-Text.html#pango-gravity-get-for-matrix" title="pango_gravity_get_for_matrix ()"><code class="function">pango_gravity_get_for_matrix()</code></a
|
105
|
-
</p>
|
98
|
+
<a class="link" href="pango-Vertical-Text.html#pango-gravity-get-for-matrix" title="pango_gravity_get_for_matrix ()"><code class="function">pango_gravity_get_for_matrix()</code></a>.</p>
|
106
99
|
<p>
|
107
100
|
The next thing an application may want to set on the context is the
|
108
101
|
<em class="firstterm">gravity hint</em>. A <a class="link" href="pango-Vertical-Text.html#PangoGravityHint"><span class="type">PangoGravityHint</span></a> instructs how
|
109
|
-
different scripts should react to the set base gravity
|
110
|
-
</p>
|
102
|
+
different scripts should react to the set base gravity.</p>
|
111
103
|
<p>
|
112
104
|
Font descriptions have a gravity property too, that can be set using
|
113
105
|
<a class="link" href="pango-Fonts.html#pango-font-description-set-gravity" title="pango_font_description_set_gravity ()"><code class="function">pango_font_description_set_gravity()</code></a> and accessed using
|
114
106
|
<a class="link" href="pango-Fonts.html#pango-font-description-get-gravity" title="pango_font_description_get_gravity ()"><code class="function">pango_font_description_get_gravity()</code></a>. However, those are rarely useful
|
115
|
-
from application code and are mainly used by <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> internally
|
116
|
-
</p>
|
107
|
+
from application code and are mainly used by <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> internally.</p>
|
117
108
|
<p>
|
118
109
|
Last but not least, one can create <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>s for gravity
|
119
110
|
and gravity hint using <a class="link" href="pango-Text-Attributes.html#pango-attr-gravity-new" title="pango_attr_gravity_new ()"><code class="function">pango_attr_gravity_new()</code></a> and
|
120
|
-
<a class="link" href="pango-Text-Attributes.html#pango-attr-gravity-hint-new" title="pango_attr_gravity_hint_new ()"><code class="function">pango_attr_gravity_hint_new()</code></a
|
121
|
-
</p>
|
111
|
+
<a class="link" href="pango-Text-Attributes.html#pango-attr-gravity-hint-new" title="pango_attr_gravity_hint_new ()"><code class="function">pango_attr_gravity_hint_new()</code></a>.</p>
|
122
112
|
</div>
|
123
113
|
<div class="refsect1">
|
124
114
|
<a name="pango-Vertical-Text.details"></a><h2>Details</h2>
|
@@ -140,11 +130,9 @@ and then glyph orientation is controlled using <a class="link" href="pango-Verti
|
|
140
130
|
Not every value in this enumeration makes sense for every usage of
|
141
131
|
<a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a>; for example, <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a> only can be passed to
|
142
132
|
<a class="link" href="pango-Text-Processing.html#pango-context-set-base-gravity" title="pango_context_set_base_gravity ()"><code class="function">pango_context_set_base_gravity()</code></a> and can only be returned by
|
143
|
-
<a class="link" href="pango-Text-Processing.html#pango-context-get-base-gravity" title="pango_context_get_base_gravity ()"><code class="function">pango_context_get_base_gravity()</code></a
|
144
|
-
</p>
|
133
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-get-base-gravity" title="pango_context_get_base_gravity ()"><code class="function">pango_context_get_base_gravity()</code></a>.</p>
|
145
134
|
<p>
|
146
|
-
See also: <a class="link" href="pango-Vertical-Text.html#PangoGravityHint"><span class="type">PangoGravityHint</span></a>
|
147
|
-
</p>
|
135
|
+
See also: <a class="link" href="pango-Vertical-Text.html#PangoGravityHint"><span class="type">PangoGravityHint</span></a></p>
|
148
136
|
<div class="variablelist"><table border="0" class="variablelist">
|
149
137
|
<colgroup>
|
150
138
|
<col align="left" valign="top">
|
@@ -192,11 +180,9 @@ See also: <a class="link" href="pango-Vertical-Text.html#PangoGravityHint"><span
|
|
192
180
|
<p>
|
193
181
|
The <a class="link" href="pango-Vertical-Text.html#PangoGravityHint"><span class="type">PangoGravityHint</span></a> defines how horizontal scripts should behave in a
|
194
182
|
vertical context. That is, English excerpt in a vertical paragraph for
|
195
|
-
example
|
196
|
-
</p>
|
183
|
+
example.</p>
|
197
184
|
<p>
|
198
|
-
See <a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a
|
199
|
-
</p>
|
185
|
+
See <a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a>.</p>
|
200
186
|
<div class="variablelist"><table border="0" class="variablelist">
|
201
187
|
<colgroup>
|
202
188
|
<col align="left" valign="top">
|
@@ -232,8 +218,7 @@ opposite gravities and both flow top-to-bottom for example.
|
|
232
218
|
<a name="PANGO-GRAVITY-IS-IMPROPER:CAPS"></a><h3>PANGO_GRAVITY_IS_IMPROPER()</h3>
|
233
219
|
<pre class="programlisting">#define PANGO_GRAVITY_IS_IMPROPER(gravity)</pre>
|
234
220
|
<p>
|
235
|
-
Whether a <a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> represents a gravity that results in reversal of text direction
|
236
|
-
</p>
|
221
|
+
Whether a <a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> represents a gravity that results in reversal of text direction.</p>
|
237
222
|
<div class="variablelist"><table border="0" class="variablelist">
|
238
223
|
<colgroup>
|
239
224
|
<col align="left" valign="top">
|
@@ -259,8 +244,7 @@ Whether a <a class="link" href="pango-Vertical-Text.html#PangoGravity"><span cla
|
|
259
244
|
<a name="PANGO-GRAVITY-IS-VERTICAL:CAPS"></a><h3>PANGO_GRAVITY_IS_VERTICAL()</h3>
|
260
245
|
<pre class="programlisting">#define PANGO_GRAVITY_IS_VERTICAL(gravity)</pre>
|
261
246
|
<p>
|
262
|
-
Whether a <a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> represents vertical writing directions
|
263
|
-
</p>
|
247
|
+
Whether a <a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> represents vertical writing directions.</p>
|
264
248
|
<div class="variablelist"><table border="0" class="variablelist">
|
265
249
|
<colgroup>
|
266
250
|
<col align="left" valign="top">
|
@@ -287,8 +271,7 @@ Whether a <a class="link" href="pango-Vertical-Text.html#PangoGravity"><span cla
|
|
287
271
|
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="returnvalue">PangoGravity</span></a> pango_gravity_get_for_matrix (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
|
288
272
|
<p>
|
289
273
|
Finds the gravity that best matches the rotation component
|
290
|
-
in a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a
|
291
|
-
</p>
|
274
|
+
in a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>.</p>
|
292
275
|
<div class="variablelist"><table border="0" class="variablelist">
|
293
276
|
<colgroup>
|
294
277
|
<col align="left" valign="top">
|
@@ -318,13 +301,11 @@ in a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="ty
|
|
318
301
|
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravityHint"><span class="type">PangoGravityHint</span></a> hint</code></em>);</pre>
|
319
302
|
<p>
|
320
303
|
Based on the script, base gravity, and hint, returns actual gravity
|
321
|
-
to use in laying out a single <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a
|
322
|
-
</p>
|
304
|
+
to use in laying out a single <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>.</p>
|
323
305
|
<p>
|
324
306
|
If <em class="parameter"><code>base_gravity</code></em> is <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a>, it is first replaced with the
|
325
307
|
preferred gravity of <em class="parameter"><code>script</code></em>. To get the preferred gravity of a script,
|
326
|
-
pass <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a> and <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-HINT-STRONG:CAPS"><code class="literal">PANGO_GRAVITY_HINT_STRONG</code></a> in
|
327
|
-
</p>
|
308
|
+
pass <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a> and <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-HINT-STRONG:CAPS"><code class="literal">PANGO_GRAVITY_HINT_STRONG</code></a> in.</p>
|
328
309
|
<div class="variablelist"><table border="0" class="variablelist">
|
329
310
|
<colgroup>
|
330
311
|
<col align="left" valign="top">
|
@@ -364,20 +345,17 @@ with <em class="parameter"><code>script</code></em>.</td>
|
|
364
345
|
<p>
|
365
346
|
Based on the script, East Asian width, base gravity, and hint,
|
366
347
|
returns actual gravity to use in laying out a single character
|
367
|
-
or <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a
|
368
|
-
</p>
|
348
|
+
or <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>.</p>
|
369
349
|
<p>
|
370
350
|
This function is similar to <a class="link" href="pango-Vertical-Text.html#pango-gravity-get-for-script" title="pango_gravity_get_for_script ()"><code class="function">pango_gravity_get_for_script()</code></a> except
|
371
351
|
that this function makes a distinction between narrow/half-width and
|
372
352
|
wide/full-width characters also. Wide/full-width characters always
|
373
353
|
stand <span class="emphasis"><em>upright</em></span>, that is, they always take the base gravity,
|
374
354
|
whereas narrow/full-width characters are always rotated in vertical
|
375
|
-
context
|
376
|
-
</p>
|
355
|
+
context.</p>
|
377
356
|
<p>
|
378
357
|
If <em class="parameter"><code>base_gravity</code></em> is <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a>, it is first replaced with the
|
379
|
-
preferred gravity of <em class="parameter"><code>script</code></em
|
380
|
-
</p>
|
358
|
+
preferred gravity of <em class="parameter"><code>script</code></em>.</p>
|
381
359
|
<div class="variablelist"><table border="0" class="variablelist">
|
382
360
|
<colgroup>
|
383
361
|
<col align="left" valign="top">
|
@@ -418,13 +396,11 @@ with <em class="parameter"><code>script</code></em> and <em class="parameter"><c
|
|
418
396
|
<pre class="programlisting"><span class="returnvalue">double</span> pango_gravity_to_rotation (<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);</pre>
|
419
397
|
<p>
|
420
398
|
Converts a <a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> value to its natural rotation in radians.
|
421
|
-
<em class="parameter"><code>gravity</code></em> should not be <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a
|
422
|
-
</p>
|
399
|
+
<em class="parameter"><code>gravity</code></em> should not be <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a>.</p>
|
423
400
|
<p>
|
424
401
|
Note that <a class="link" href="pango-Glyph-Storage.html#pango-matrix-rotate" title="pango_matrix_rotate ()"><code class="function">pango_matrix_rotate()</code></a> takes angle in degrees, not radians.
|
425
402
|
So, to call <a class="link" href="pango-Glyph-Storage.html#pango-matrix-rotate" title="pango_matrix_rotate ()"><code class="function">pango_matrix_rotate()</code></a> with the output of this function
|
426
|
-
you should multiply it by (180. / G_PI)
|
427
|
-
</p>
|
403
|
+
you should multiply it by (180. / G_PI).</p>
|
428
404
|
<div class="variablelist"><table border="0" class="variablelist">
|
429
405
|
<colgroup>
|
430
406
|
<col align="left" valign="top">
|
@@ -459,6 +435,6 @@ pango_context_get_base_gravity(),
|
|
459
435
|
</div>
|
460
436
|
<div class="footer">
|
461
437
|
<hr>
|
462
|
-
Generated by GTK-Doc V1.19</div>
|
438
|
+
Generated by GTK-Doc V1.19.1</div>
|
463
439
|
</body>
|
464
440
|
</html>
|
@@ -2,30 +2,27 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Win32 Fonts and Rendering</title>
|
5
|
+
<title>Pango Reference Manual: Win32 Fonts and Rendering</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="up" href="rendering.html" title="Rendering with Pango">
|
9
9
|
<link rel="prev" href="rendering.html" title="Rendering with Pango">
|
10
10
|
<link rel="next" href="pango-FreeType-Fonts-and-Rendering.html" title="FreeType Fonts and Rendering">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<td><a accesskey="u" href="rendering.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">Pango Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="pango-FreeType-Fonts-and-Rendering.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#pango-Win32-Fonts-and-Rendering.synopsis" class="shortcut">Top</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
|
16
|
+
<td width="100%" align="left">
|
17
|
+
<a href="#" class="shortcut">Top</a>
|
25
18
|
|
|
26
19
|
<a href="#pango-Win32-Fonts-and-Rendering.description" class="shortcut">Description</a>
|
27
|
-
</td
|
28
|
-
|
20
|
+
</td>
|
21
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
|
+
<td><a accesskey="u" href="rendering.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
23
|
+
<td><a accesskey="p" href="rendering.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
+
<td><a accesskey="n" href="pango-FreeType-Fonts-and-Rendering.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
25
|
+
</tr></table>
|
29
26
|
<div class="refentry">
|
30
27
|
<a name="pango-Win32-Fonts-and-Rendering"></a><div class="titlepage"></div>
|
31
28
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -93,8 +90,7 @@
|
|
93
90
|
<a name="pango-Win32-Fonts-and-Rendering.description"></a><h2>Description</h2>
|
94
91
|
<p>
|
95
92
|
The macros and functions in this section are used to access fonts natively on
|
96
|
-
Win32 systems and to render text in conjunction with Win32 APIs
|
97
|
-
</p>
|
93
|
+
Win32 systems and to render text in conjunction with Win32 APIs.</p>
|
98
94
|
</div>
|
99
95
|
<div class="refsect1">
|
100
96
|
<a name="pango-Win32-Fonts-and-Rendering.details"></a><h2>Details</h2>
|
@@ -104,21 +100,19 @@ Win32 systems and to render text in conjunction with Win32 APIs.
|
|
104
100
|
</pre>
|
105
101
|
<p>
|
106
102
|
A string constant identifying the Win32 renderer. The associated quark (see
|
107
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html#g-quark-from-string"><code class="function">g_quark_from_string()</code></a>) is used to identify the renderer in <a class="link" href="pango-Modules.html#pango-find-map" title="pango_find_map ()"><code class="function">pango_find_map()</code></a
|
108
|
-
</p>
|
103
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html#g-quark-from-string"><code class="function">g_quark_from_string()</code></a>) is used to identify the renderer in <a class="link" href="pango-Modules.html#pango-find-map" title="pango_find_map ()"><code class="function">pango_find_map()</code></a>.</p>
|
109
104
|
</div>
|
110
105
|
<hr>
|
111
106
|
<div class="refsect2">
|
112
107
|
<a name="pango-win32-get-context"></a><h3>pango_win32_get_context ()</h3>
|
113
108
|
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * pango_win32_get_context (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
114
|
-
<div class="warning"
|
109
|
+
<div class="warning">
|
115
110
|
<h3 class="title">Warning</h3>
|
116
111
|
<p><code class="literal">pango_win32_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-Win32-Fonts-and-Rendering.html#pango-win32-font-map-for-display" title="pango_win32_font_map_for_display ()"><code class="function">pango_win32_font_map_for_display()</code></a> followed by
|
117
112
|
<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>
|
118
113
|
</div>
|
119
114
|
<p>
|
120
|
-
Retrieves a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> appropriate for rendering with Windows fonts
|
121
|
-
</p>
|
115
|
+
Retrieves a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> appropriate for rendering with Windows fonts.</p>
|
122
116
|
<div class="variablelist"><table border="0" class="variablelist">
|
123
117
|
<colgroup>
|
124
118
|
<col align="left" valign="top">
|
@@ -140,8 +134,7 @@ Retrieves a <a class="link" href="pango-Text-Processing.html#PangoContext"><span
|
|
140
134
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
141
135
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
|
142
136
|
<p>
|
143
|
-
Render a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto a Windows DC
|
144
|
-
</p>
|
137
|
+
Render a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto a Windows DC</p>
|
145
138
|
<div class="variablelist"><table border="0" class="variablelist">
|
146
139
|
<colgroup>
|
147
140
|
<col align="left" valign="top">
|
@@ -186,8 +179,7 @@ transforming the layed-out coordinates through a transformation
|
|
186
179
|
matrix. Note that the transformation matrix for <em class="parameter"><code>font</code></em> is not
|
187
180
|
changed, so to produce correct rendering results, the <em class="parameter"><code>font</code></em>
|
188
181
|
must have been loaded using a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> with an identical
|
189
|
-
transformation matrix to that passed in to this function
|
190
|
-
</p>
|
182
|
+
transformation matrix to that passed in to this function.</p>
|
191
183
|
<div class="variablelist"><table border="0" class="variablelist">
|
192
184
|
<colgroup>
|
193
185
|
<col align="left" valign="top">
|
@@ -233,8 +225,7 @@ in user space coordinates)</td>
|
|
233
225
|
<p>
|
234
226
|
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto a device context. For underlining to
|
235
227
|
work property the text alignment of the DC should have TA_BASELINE
|
236
|
-
and TA_LEFT
|
237
|
-
</p>
|
228
|
+
and TA_LEFT.</p>
|
238
229
|
<div class="variablelist"><table border="0" class="variablelist">
|
239
230
|
<colgroup>
|
240
231
|
<col align="left" valign="top">
|
@@ -269,8 +260,7 @@ and TA_LEFT.
|
|
269
260
|
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
270
261
|
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
271
262
|
<p>
|
272
|
-
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto an X drawable
|
273
|
-
</p>
|
263
|
+
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto an X drawable</p>
|
274
264
|
<div class="variablelist"><table border="0" class="variablelist">
|
275
265
|
<colgroup>
|
276
266
|
<col align="left" valign="top">
|
@@ -302,17 +292,15 @@ Render a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span
|
|
302
292
|
<a name="pango-win32-get-unknown-glyph"></a><h3>pango_win32_get_unknown_glyph ()</h3>
|
303
293
|
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> pango_win32_get_unknown_glyph (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
304
294
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> wc</code></em>);</pre>
|
305
|
-
<div class="warning"
|
295
|
+
<div class="warning">
|
306
296
|
<h3 class="title">Warning</h3>
|
307
297
|
<p><code class="literal">pango_win32_get_unknown_glyph</code> is deprecated and should not be used in newly-written code.</p>
|
308
298
|
</div>
|
309
299
|
<p>
|
310
300
|
Returns the index of a glyph suitable for drawing <em class="parameter"><code>wc</code></em> as an
|
311
|
-
unknown character
|
312
|
-
</p>
|
301
|
+
unknown character.</p>
|
313
302
|
<p>
|
314
|
-
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
|
315
|
-
</p>
|
303
|
+
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.</p>
|
316
304
|
<div class="variablelist"><table border="0" class="variablelist">
|
317
305
|
<colgroup>
|
318
306
|
<col align="left" valign="top">
|
@@ -341,10 +329,13 @@ Use <a class="link" href="pango-Glyph-Storage.html#PANGO-GET-UNKNOWN-GLYPH:CAPS"
|
|
341
329
|
<a name="pango-win32-font-get-glyph-index"></a><h3>pango_win32_font_get_glyph_index ()</h3>
|
342
330
|
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> pango_win32_font_get_glyph_index (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
343
331
|
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> wc</code></em>);</pre>
|
332
|
+
<div class="warning">
|
333
|
+
<h3 class="title">Warning</h3>
|
334
|
+
<p><code class="literal">pango_win32_font_get_glyph_index</code> is deprecated and should not be used in newly-written code.</p>
|
335
|
+
</div>
|
344
336
|
<p>
|
345
337
|
Obtains the index of the glyph for <em class="parameter"><code>wc</code></em> in <em class="parameter"><code>font</code></em>, or 0, if not
|
346
|
-
covered
|
347
|
-
</p>
|
338
|
+
covered.</p>
|
348
339
|
<div class="variablelist"><table border="0" class="variablelist">
|
349
340
|
<colgroup>
|
350
341
|
<col align="left" valign="top">
|
@@ -376,13 +367,11 @@ Selects the font into the specified DC and changes the mapping mode
|
|
376
367
|
and world transformation of the DC appropriately for the font.
|
377
368
|
You may want to surround the use of this function with calls
|
378
369
|
to <code class="function">SaveDC()</code> and <code class="function">RestoreDC()</code>. Call <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-done-font" title="pango_win32_font_done_font ()"><code class="function">pango_win32_font_done_font()</code></a> when
|
379
|
-
you are done using the DC to release allocated resources
|
380
|
-
</p>
|
370
|
+
you are done using the DC to release allocated resources.</p>
|
381
371
|
<p>
|
382
372
|
See <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-get-metrics-factor" title="pango_win32_font_get_metrics_factor ()"><code class="function">pango_win32_font_get_metrics_factor()</code></a> for information about
|
383
373
|
converting from the coordinate space used by this function
|
384
|
-
into Pango units
|
385
|
-
</p>
|
374
|
+
into Pango units.</p>
|
386
375
|
<div class="variablelist"><table border="0" class="variablelist">
|
387
376
|
<colgroup>
|
388
377
|
<col align="left" valign="top">
|
@@ -410,8 +399,7 @@ into Pango units.
|
|
410
399
|
<a name="pango-win32-font-done-font"></a><h3>pango_win32_font_done_font ()</h3>
|
411
400
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_font_done_font (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
412
401
|
<p>
|
413
|
-
Releases any resources allocated by <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-done-font" title="pango_win32_font_done_font ()"><code class="function">pango_win32_font_done_font()</code></a>
|
414
|
-
</p>
|
402
|
+
Releases any resources allocated by <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-done-font" title="pango_win32_font_done_font ()"><code class="function">pango_win32_font_done_font()</code></a></p>
|
415
403
|
<div class="variablelist"><table border="0" class="variablelist">
|
416
404
|
<colgroup>
|
417
405
|
<col align="left" valign="top">
|
@@ -430,8 +418,7 @@ Releases any resources allocated by <a class="link" href="pango-Win32-Fonts-and-
|
|
430
418
|
<p>
|
431
419
|
Returns the scale factor from logical units in the coordinate
|
432
420
|
space used by <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-select-font" title="pango_win32_font_select_font ()"><code class="function">pango_win32_font_select_font()</code></a> to Pango units
|
433
|
-
in user space
|
434
|
-
</p>
|
421
|
+
in user space.</p>
|
435
422
|
<div class="variablelist"><table border="0" class="variablelist">
|
436
423
|
<colgroup>
|
437
424
|
<col align="left" valign="top">
|
@@ -455,8 +442,7 @@ units.</td>
|
|
455
442
|
<a name="pango-win32-get-debug-flag"></a><h3>pango_win32_get_debug_flag ()</h3>
|
456
443
|
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_win32_get_debug_flag (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
457
444
|
<p>
|
458
|
-
Returns whether debugging is turned on
|
459
|
-
</p>
|
445
|
+
Returns whether debugging is turned on.</p>
|
460
446
|
<div class="variablelist"><table border="0" class="variablelist">
|
461
447
|
<colgroup>
|
462
448
|
<col align="left" valign="top">
|
@@ -475,8 +461,7 @@ Returns whether debugging is turned on.
|
|
475
461
|
<a name="pango-win32-get-dc"></a><h3>pango_win32_get_dc ()</h3>
|
476
462
|
<pre class="programlisting"><span class="returnvalue">HDC</span> pango_win32_get_dc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
477
463
|
<p>
|
478
|
-
Obtains a handle to the Windows device context that is used by Pango
|
479
|
-
</p>
|
464
|
+
Obtains a handle to the Windows device context that is used by Pango.</p>
|
480
465
|
<div class="variablelist"><table border="0" class="variablelist">
|
481
466
|
<colgroup>
|
482
467
|
<col align="left" valign="top">
|
@@ -493,16 +478,14 @@ Obtains a handle to the Windows device context that is used by Pango.
|
|
493
478
|
<a name="PangoWin32FontCache"></a><h3>PangoWin32FontCache</h3>
|
494
479
|
<pre class="programlisting">typedef struct _PangoWin32FontCache PangoWin32FontCache;</pre>
|
495
480
|
<p>
|
496
|
-
A <a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a> caches HFONTs by their LOGFONT descriptions
|
497
|
-
</p>
|
481
|
+
A <a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a> caches HFONTs by their LOGFONT descriptions.</p>
|
498
482
|
</div>
|
499
483
|
<hr>
|
500
484
|
<div class="refsect2">
|
501
485
|
<a name="pango-win32-font-cache-new"></a><h3>pango_win32_font_cache_new ()</h3>
|
502
486
|
<pre class="programlisting"><a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="returnvalue">PangoWin32FontCache</span></a> * pango_win32_font_cache_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
503
487
|
<p>
|
504
|
-
Creates a font cache
|
505
|
-
</p>
|
488
|
+
Creates a font cache.</p>
|
506
489
|
<div class="variablelist"><table border="0" class="variablelist">
|
507
490
|
<colgroup>
|
508
491
|
<col align="left" valign="top">
|
@@ -521,8 +504,7 @@ Creates a font cache.
|
|
521
504
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_font_cache_free (<em class="parameter"><code><a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a> *cache</code></em>);</pre>
|
522
505
|
<p>
|
523
506
|
Frees a <a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a> and all associated memory. All fonts loaded
|
524
|
-
through this font cache will be freed along with the cache
|
525
|
-
</p>
|
507
|
+
through this font cache will be freed along with the cache.</p>
|
526
508
|
<div class="variablelist"><table border="0" class="variablelist">
|
527
509
|
<colgroup>
|
528
510
|
<col align="left" valign="top">
|
@@ -543,8 +525,7 @@ through this font cache will be freed along with the cache.
|
|
543
525
|
<p>
|
544
526
|
Creates a HFONT from a LOGFONTA. The
|
545
527
|
result may be newly loaded, or it may have been previously
|
546
|
-
stored
|
547
|
-
</p>
|
528
|
+
stored</p>
|
548
529
|
<div class="variablelist"><table border="0" class="variablelist">
|
549
530
|
<colgroup>
|
550
531
|
<col align="left" valign="top">
|
@@ -577,8 +558,7 @@ not be loaded. In order to free this structure, you must call
|
|
577
558
|
<p>
|
578
559
|
Creates a HFONT from a LOGFONTW. The
|
579
560
|
result may be newly loaded, or it may have been previously
|
580
|
-
stored
|
581
|
-
</p>
|
561
|
+
stored</p>
|
582
562
|
<div class="variablelist"><table border="0" class="variablelist">
|
583
563
|
<colgroup>
|
584
564
|
<col align="left" valign="top">
|
@@ -610,8 +590,7 @@ not be loaded. In order to free this structure, you must call
|
|
610
590
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_font_cache_unload (<em class="parameter"><code><a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a> *cache</code></em>,
|
611
591
|
<em class="parameter"><code><span class="type">HFONT</span> hfont</code></em>);</pre>
|
612
592
|
<p>
|
613
|
-
Frees a font structure previously loaded with <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-cache-load" title="pango_win32_font_cache_load ()"><code class="function">pango_win32_font_cache_load()</code></a
|
614
|
-
</p>
|
593
|
+
Frees a font structure previously loaded with <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-cache-load" title="pango_win32_font_cache_load ()"><code class="function">pango_win32_font_cache_load()</code></a>.</p>
|
615
594
|
<div class="variablelist"><table border="0" class="variablelist">
|
616
595
|
<colgroup>
|
617
596
|
<col align="left" valign="top">
|
@@ -637,8 +616,7 @@ Frees a font structure previously loaded with <a class="link" href="pango-Win32-
|
|
637
616
|
<p>
|
638
617
|
Returns a <span class="type">PangoWin32FontMap</span>. Font maps are cached and should
|
639
618
|
not be freed. If the font map is no longer needed, it can
|
640
|
-
be released with <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-shutdown-display" title="pango_win32_shutdown_display ()"><code class="function">pango_win32_shutdown_display()</code></a
|
641
|
-
</p>
|
619
|
+
be released with <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-shutdown-display" title="pango_win32_shutdown_display ()"><code class="function">pango_win32_shutdown_display()</code></a>.</p>
|
642
620
|
<div class="variablelist"><table border="0" class="variablelist">
|
643
621
|
<colgroup>
|
644
622
|
<col align="left" valign="top">
|
@@ -655,8 +633,7 @@ be released with <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pang
|
|
655
633
|
<a name="pango-win32-shutdown-display"></a><h3>pango_win32_shutdown_display ()</h3>
|
656
634
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_shutdown_display (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
657
635
|
<p>
|
658
|
-
Free cached resources
|
659
|
-
</p>
|
636
|
+
Free cached resources.</p>
|
660
637
|
</div>
|
661
638
|
<hr>
|
662
639
|
<div class="refsect2">
|
@@ -664,8 +641,7 @@ Free cached resources.
|
|
664
641
|
<pre class="programlisting"><a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="returnvalue">PangoWin32FontCache</span></a> * pango_win32_font_map_get_font_cache
|
665
642
|
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *font_map</code></em>);</pre>
|
666
643
|
<p>
|
667
|
-
Obtains the font cache associated with the given font map
|
668
|
-
</p>
|
644
|
+
Obtains the font cache associated with the given font map.</p>
|
669
645
|
<div class="variablelist"><table border="0" class="variablelist">
|
670
646
|
<colgroup>
|
671
647
|
<col align="left" valign="top">
|
@@ -694,8 +670,7 @@ face name in the LOGFONTW struct to system codepage fails, the
|
|
694
670
|
returned LOGFONTA will have an emppty face name. To get the
|
695
671
|
LOGFONTW of a PangoFont, use <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-logfontw" title="pango_win32_font_logfontw ()"><code class="function">pango_win32_font_logfontw()</code></a>. It
|
696
672
|
is recommended to do that always even if you don't expect
|
697
|
-
to come across fonts with odd names
|
698
|
-
</p>
|
673
|
+
to come across fonts with odd names.</p>
|
699
674
|
<div class="variablelist"><table border="0" class="variablelist">
|
700
675
|
<colgroup>
|
701
676
|
<col align="left" valign="top">
|
@@ -719,8 +694,7 @@ freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/sha
|
|
719
694
|
<a name="pango-win32-font-logfontw"></a><h3>pango_win32_font_logfontw ()</h3>
|
720
695
|
<pre class="programlisting"><span class="returnvalue">LOGFONTW</span> * pango_win32_font_logfontw (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
721
696
|
<p>
|
722
|
-
Determine the LOGFONTW struct for the specified font
|
723
|
-
</p>
|
697
|
+
Determine the LOGFONTW struct for the specified font.</p>
|
724
698
|
<div class="variablelist"><table border="0" class="variablelist">
|
725
699
|
<colgroup>
|
726
700
|
<col align="left" valign="top">
|
@@ -746,8 +720,7 @@ freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/sha
|
|
746
720
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_win32_font_description_from_logfont
|
747
721
|
(<em class="parameter"><code>const <span class="type">LOGFONTA</span> *lfp</code></em>);</pre>
|
748
722
|
<p>
|
749
|
-
Creates a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> that matches the specified LOGFONTA
|
750
|
-
</p>
|
723
|
+
Creates a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> that matches the specified LOGFONTA.</p>
|
751
724
|
<p>
|
752
725
|
The face name, italicness and weight fields in the LOGFONTA are used
|
753
726
|
to set up the resulting <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. If the face name in
|
@@ -755,8 +728,7 @@ the LOGFONTA contains non-ASCII characters the font is temporarily
|
|
755
728
|
loaded (using <code class="function">CreateFontIndirect()</code>) and an ASCII (usually English)
|
756
729
|
name for it is looked up from the font name tables in the font
|
757
730
|
data. If that doesn't work, the face name is converted from the
|
758
|
-
system codepage to UTF-8 and that is used
|
759
|
-
</p>
|
731
|
+
system codepage to UTF-8 and that is used.</p>
|
760
732
|
<div class="variablelist"><table border="0" class="variablelist">
|
761
733
|
<colgroup>
|
762
734
|
<col align="left" valign="top">
|
@@ -783,8 +755,7 @@ should be freed using <a class="link" href="pango-Fonts.html#pango-font-descript
|
|
783
755
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_win32_font_description_from_logfontw
|
784
756
|
(<em class="parameter"><code>const <span class="type">LOGFONTW</span> *lfp</code></em>);</pre>
|
785
757
|
<p>
|
786
|
-
Creates a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> that matches the specified LOGFONTW
|
787
|
-
</p>
|
758
|
+
Creates a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> that matches the specified LOGFONTW.</p>
|
788
759
|
<p>
|
789
760
|
The face name, italicness and weight fields in the LOGFONTW are used
|
790
761
|
to set up the resulting <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. If the face name in
|
@@ -792,8 +763,7 @@ the LOGFONTW contains non-ASCII characters the font is temporarily
|
|
792
763
|
loaded (using <code class="function">CreateFontIndirect()</code>) and an ASCII (usually English)
|
793
764
|
name for it is looked up from the font name tables in the font
|
794
765
|
data. If that doesn't work, the face name is converted from UTF-16
|
795
|
-
to UTF-8 and that is used
|
796
|
-
</p>
|
766
|
+
to UTF-8 and that is used.</p>
|
797
767
|
<div class="variablelist"><table border="0" class="variablelist">
|
798
768
|
<colgroup>
|
799
769
|
<col align="left" valign="top">
|
@@ -818,6 +788,6 @@ should be freed using <a class="link" href="pango-Fonts.html#pango-font-descript
|
|
818
788
|
</div>
|
819
789
|
<div class="footer">
|
820
790
|
<hr>
|
821
|
-
Generated by GTK-Doc V1.19</div>
|
791
|
+
Generated by GTK-Doc V1.19.1</div>
|
822
792
|
</body>
|
823
793
|
</html>
|