~ubuntu-branches/ubuntu/saucy/pango1.0/saucy-proposed

« back to all changes in this revision

Viewing changes to docs/html/PangoFcDecoder.html

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2010-10-19 23:37:45 UTC
  • mfrom: (1.5.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20101019233745-xey8xlf91rpkth51
Tags: 1.28.3-1
* New upstream stable release.
  + Fixes SIGFPE in opentype renderer. Closes: #598166.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="lowlevel.html" title="Low Level Functionality">
9
9
<link rel="prev" href="PangoFcFont.html" title="PangoFcFont">
10
10
<link rel="next" href="pango-OpenType-Font-Handling.html" title="OpenType Font Handling">
11
 
<meta name="generator" content="GTK-Doc V1.13 (XML mode)">
 
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
28
                  <a href="#PangoFcDecoder.object-hierarchy" class="shortcut">Object Hierarchy</a>
50
29
</td></tr>
51
30
</table>
52
 
<div class="refentry" title="PangoFcDecoder">
 
31
<div class="refentry">
53
32
<a name="PangoFcDecoder"></a><div class="titlepage"></div>
54
33
<div class="refnamediv"><table width="100%"><tr>
55
34
<td valign="top">
58
37
</td>
59
38
<td valign="top" align="right"></td>
60
39
</tr></table></div>
61
 
<div class="refsynopsisdiv" title="Synopsis">
 
40
<div class="refsynopsisdiv">
62
41
<a name="PangoFcDecoder.synopsis"></a><h2>Synopsis</h2>
63
 
<pre class="synopsis">                    <a class="link" href="PangoFcDecoder.html#PangoFcDecoder-struct" title="PangoFcDecoder">PangoFcDecoder</a>;
64
 
                    <a class="link" href="PangoFcDecoder.html#PangoFcDecoderClass" title="PangoFcDecoderClass">PangoFcDecoderClass</a>;
65
 
<span class="returnvalue">FcCharSet</span> *         <a class="link" href="PangoFcDecoder.html#pango-fc-decoder-get-charset" title="pango_fc_decoder_get_charset ()">pango_fc_decoder_get_charset</a>        (<a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="returnvalue">PangoFcDecoder</span></a> *decoder,
66
 
                                                         <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="returnvalue">PangoFcFont</span></a> *fcfont);
67
 
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a>          <a class="link" href="PangoFcDecoder.html#pango-fc-decoder-get-glyph" title="pango_fc_decoder_get_glyph ()">pango_fc_decoder_get_glyph</a>          (<a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="returnvalue">PangoFcDecoder</span></a> *decoder,
68
 
                                                         <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="returnvalue">PangoFcFont</span></a> *fcfont,
69
 
                                                         <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> wc);
 
42
<pre class="synopsis">struct              <a class="link" href="PangoFcDecoder.html#PangoFcDecoder-struct" title="struct PangoFcDecoder">PangoFcDecoder</a>;
 
43
struct              <a class="link" href="PangoFcDecoder.html#PangoFcDecoderClass" title="struct PangoFcDecoderClass">PangoFcDecoderClass</a>;
 
44
<span class="returnvalue">FcCharSet</span> *         <a class="link" href="PangoFcDecoder.html#pango-fc-decoder-get-charset" title="pango_fc_decoder_get_charset ()">pango_fc_decoder_get_charset</a>        (<em class="parameter"><code><a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a> *decoder</code></em>,
 
45
                                                         <em class="parameter"><code><a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> *fcfont</code></em>);
 
46
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a>          <a class="link" href="PangoFcDecoder.html#pango-fc-decoder-get-glyph" title="pango_fc_decoder_get_glyph ()">pango_fc_decoder_get_glyph</a>          (<em class="parameter"><code><a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a> *decoder</code></em>,
 
47
                                                         <em class="parameter"><code><a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> *fcfont</code></em>,
 
48
                                                         <em class="parameter"><code><span class="type">guint32</span> wc</code></em>);
70
49
</pre>
71
50
</div>
72
 
<div class="refsect1" title="Object Hierarchy">
 
51
<div class="refsect1">
73
52
<a name="PangoFcDecoder.object-hierarchy"></a><h2>Object Hierarchy</h2>
74
53
<pre class="synopsis">
75
 
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
54
  GObject
76
55
   +----PangoFcDecoder
77
56
</pre>
78
57
</div>
79
 
<div class="refsect1" title="Description">
 
58
<div class="refsect1">
80
59
<a name="PangoFcDecoder.description"></a><h2>Description</h2>
81
60
<p>
82
61
PangoFcDecoder represents a decoder that an application provides
83
62
for handling a font that is encoded in a custom way.
84
63
</p>
85
64
</div>
86
 
<div class="refsect1" title="Details">
 
65
<div class="refsect1">
87
66
<a name="PangoFcDecoder.details"></a><h2>Details</h2>
88
 
<div class="refsect2" title="PangoFcDecoder">
89
 
<a name="PangoFcDecoder-struct"></a><h3>PangoFcDecoder</h3>
90
 
<pre class="programlisting">typedef struct _PangoFcDecoder PangoFcDecoder;</pre>
 
67
<div class="refsect2">
 
68
<a name="PangoFcDecoder-struct"></a><h3>struct PangoFcDecoder</h3>
 
69
<pre class="programlisting">struct PangoFcDecoder;</pre>
91
70
<p>
92
71
<a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a> is a virtual base class that implementations will
93
72
inherit from.  It's the interface that is used to define a custom
97
76
information about the supported charset for a font as well as the
98
77
individual character to glyph conversions.  Pango gets that
99
78
information via the <span class="type">get_charset</span> and <span class="type">get_glyph</span> callbacks into your
100
 
object implementation.</p>
 
79
object implementation.
 
80
</p>
101
81
<p class="since">Since 1.6</p>
102
82
</div>
103
83
<hr>
104
 
<div class="refsect2" title="PangoFcDecoderClass">
105
 
<a name="PangoFcDecoderClass"></a><h3>PangoFcDecoderClass</h3>
106
 
<pre class="programlisting">typedef struct {
 
84
<div class="refsect2">
 
85
<a name="PangoFcDecoderClass"></a><h3>struct PangoFcDecoderClass</h3>
 
86
<pre class="programlisting">struct PangoFcDecoderClass {
107
87
  FcCharSet  *(*get_charset) (PangoFcDecoder *decoder,
108
88
                              PangoFcFont    *fcfont);
109
89
  PangoGlyph  (*get_glyph)   (PangoFcDecoder *decoder,
110
90
                              PangoFcFont    *fcfont,
111
91
                              guint32         wc);
112
 
} PangoFcDecoderClass;
 
92
};
113
93
</pre>
114
94
<p>
115
 
Class structure for <a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a>.</p>
 
95
Class structure for <a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a>.
 
96
</p>
116
97
<div class="variablelist"><table border="0">
117
98
<col align="left" valign="top">
118
99
<tbody>
119
100
<tr>
120
101
<td><p><span class="term"><em class="structfield"><code><a name="PangoFcDecoderClass.get-charset"></a>get_charset</code></em> ()</span></p></td>
121
 
<td> This returns an <span class="type">FcCharset</span> given a <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> that
 
102
<td>This returns an <span class="type">FcCharset</span> given a <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> that
122
103
 includes a list of supported characters in the font.  The
123
104
 <span class="type">FcCharSet</span> that is returned should be an internal reference to your
124
105
 code.  Pango will not free this structure.  It is important that
128
109
</tr>
129
110
<tr>
130
111
<td><p><span class="term"><em class="structfield"><code><a name="PangoFcDecoderClass.get-glyph"></a>get_glyph</code></em> ()</span></p></td>
131
 
<td> This returns a single <a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> for a given Unicode
 
112
<td>This returns a single <a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> for a given Unicode
132
113
 code point.
133
114
</td>
134
115
</tr>
137
118
<p class="since">Since 1.6</p>
138
119
</div>
139
120
<hr>
140
 
<div class="refsect2" title="pango_fc_decoder_get_charset ()">
 
121
<div class="refsect2">
141
122
<a name="pango-fc-decoder-get-charset"></a><h3>pango_fc_decoder_get_charset ()</h3>
142
 
<pre class="programlisting"><span class="returnvalue">FcCharSet</span> *         pango_fc_decoder_get_charset        (<a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="returnvalue">PangoFcDecoder</span></a> *decoder,
143
 
                                                         <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="returnvalue">PangoFcFont</span></a> *fcfont);</pre>
 
123
<pre class="programlisting"><span class="returnvalue">FcCharSet</span> *         pango_fc_decoder_get_charset        (<em class="parameter"><code><a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a> *decoder</code></em>,
 
124
                                                         <em class="parameter"><code><a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> *fcfont</code></em>);</pre>
144
125
<p>
145
126
Generates an <span class="type">FcCharSet</span> of supported characters for the fcfont
146
127
given.  The returned <span class="type">FcCharSet</span> will be a reference to an
147
128
internal value stored by the <a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a> and must not
148
 
be modified or freed.</p>
 
129
be modified or freed.
 
130
</p>
149
131
<div class="variablelist"><table border="0">
150
132
<col align="left" valign="top">
151
133
<tbody>
152
134
<tr>
153
135
<td><p><span class="term"><em class="parameter"><code>decoder</code></em> :</span></p></td>
154
 
<td> a <a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a>
 
136
<td>a <a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a>
155
137
</td>
156
138
</tr>
157
139
<tr>
158
140
<td><p><span class="term"><em class="parameter"><code>fcfont</code></em> :</span></p></td>
159
 
<td> the <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> to query.
 
141
<td>the <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> to query.
160
142
</td>
161
143
</tr>
162
144
<tr>
171
153
<p class="since">Since 1.6</p>
172
154
</div>
173
155
<hr>
174
 
<div class="refsect2" title="pango_fc_decoder_get_glyph ()">
 
156
<div class="refsect2">
175
157
<a name="pango-fc-decoder-get-glyph"></a><h3>pango_fc_decoder_get_glyph ()</h3>
176
 
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a>          pango_fc_decoder_get_glyph          (<a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="returnvalue">PangoFcDecoder</span></a> *decoder,
177
 
                                                         <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="returnvalue">PangoFcFont</span></a> *fcfont,
178
 
                                                         <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> wc);</pre>
 
158
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a>          pango_fc_decoder_get_glyph          (<em class="parameter"><code><a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a> *decoder</code></em>,
 
159
                                                         <em class="parameter"><code><a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> *fcfont</code></em>,
 
160
                                                         <em class="parameter"><code><span class="type">guint32</span> wc</code></em>);</pre>
179
161
<p>
180
162
Generates a <a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> for the given Unicode point using the
181
163
custom decoder. For complex scripts where there can be multiple
182
164
glyphs for a single character, the decoder will return whatever
183
165
glyph is most convenient for it. (Usually whatever glyph is directly
184
 
in the fonts character map table.)</p>
 
166
in the fonts character map table.)
 
167
</p>
185
168
<div class="variablelist"><table border="0">
186
169
<col align="left" valign="top">
187
170
<tbody>
188
171
<tr>
189
172
<td><p><span class="term"><em class="parameter"><code>decoder</code></em> :</span></p></td>
190
 
<td> a <a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a>
 
173
<td>a <a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a>
191
174
</td>
192
175
</tr>
193
176
<tr>
194
177
<td><p><span class="term"><em class="parameter"><code>fcfont</code></em> :</span></p></td>
195
 
<td> a <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> to query.
 
178
<td>a <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> to query.
196
179
</td>
197
180
</tr>
198
181
<tr>
199
182
<td><p><span class="term"><em class="parameter"><code>wc</code></em> :</span></p></td>
200
 
<td> the Unicode code point to convert to a single <a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a>.
 
183
<td>the Unicode code point to convert to a single <a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a>.
201
184
</td>
202
185
</tr>
203
186
<tr>
215
198
</div>
216
199
<div class="footer">
217
200
<hr>
218
 
          Generated by GTK-Doc V1.13</div>
 
201
          Generated by GTK-Doc V1.15.1</div>
219
202
</body>
220
203
</html>
 
 
b'\\ No newline at end of file'