~ubuntu-branches/ubuntu/precise/pango1.0/precise-updates

« back to all changes in this revision

Viewing changes to docs/html/PangoFcFontMap.html

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2011-04-06 12:19:40 UTC
  • mfrom: (1.5.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20110406121940-txe505g5c7ly32ig
Tags: 1.28.4-0ubuntu1
* New upstream release
* debian/control:
  - Bump depends on libglib2.0-dev
  - Add Vcs-Bzr link
* debian/patches/00git_gi_annotations.patch:
* debian/patches/01_CVE-2011-0020.patch:
* debian/patches/02_CVE-2011-0064.patch:
  - Applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
</tr></table></div>
40
40
<div class="refsynopsisdiv">
41
41
<a name="PangoFcFontMap.synopsis"></a><h2>Synopsis</h2>
42
 
<pre class="synopsis">struct              <a class="link" href="PangoFcFontMap.html#PangoFcFontMap-struct" title="struct PangoFcFontMap">PangoFcFontMap</a>;
43
 
struct              <a class="link" href="PangoFcFontMap.html#PangoFcFontMapClass" title="struct PangoFcFontMapClass">PangoFcFontMapClass</a>;
 
42
<pre class="synopsis">                    <a class="link" href="PangoFcFontMap.html#PangoFcFontMap-struct" title="PangoFcFontMap">PangoFcFontMap</a>;
 
43
                    <a class="link" href="PangoFcFontMap.html#PangoFcFontMapClass" title="PangoFcFontMapClass">PangoFcFontMapClass</a>;
44
44
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *      <a class="link" href="PangoFcFontMap.html#pango-fc-font-map-create-context" title="pango_fc_font_map_create_context ()">pango_fc_font_map_create_context</a>    (<em class="parameter"><code><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> *fcfontmap</code></em>);
45
45
<a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="returnvalue">PangoFcDecoder</span></a> *    (<a class="link" href="PangoFcFontMap.html#PangoFcDecoderFindFunc" title="PangoFcDecoderFindFunc ()">*PangoFcDecoderFindFunc</a>)           (<em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>,
46
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
 
46
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
47
47
<span class="returnvalue">void</span>                <a class="link" href="PangoFcFontMap.html#pango-fc-font-map-add-decoder-find-func" title="pango_fc_font_map_add_decoder_find_func ()">pango_fc_font_map_add_decoder_find_func</a>
48
48
                                                        (<em class="parameter"><code><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> *fcfontmap</code></em>,
49
49
                                                         <em class="parameter"><code><a class="link" href="PangoFcFontMap.html#PangoFcDecoderFindFunc" title="PangoFcDecoderFindFunc ()"><span class="type">PangoFcDecoderFindFunc</span></a> findfunc</code></em>,
50
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
51
 
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> dnotify</code></em>);
 
50
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
51
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> dnotify</code></em>);
52
52
<a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="returnvalue">PangoFcDecoder</span></a> *    <a class="link" href="PangoFcFontMap.html#pango-fc-font-map-find-decoder" title="pango_fc_font_map_find_decoder ()">pango_fc_font_map_find_decoder</a>      (<em class="parameter"><code><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> *fcfontmap</code></em>,
53
53
                                                         <em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>);
54
54
<span class="returnvalue">void</span>                <a class="link" href="PangoFcFontMap.html#pango-fc-font-map-cache-clear" title="pango_fc_font_map_cache_clear ()">pango_fc_font_map_cache_clear</a>       (<em class="parameter"><code><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> *fcfontmap</code></em>);
55
55
<span class="returnvalue">void</span>                <a class="link" href="PangoFcFontMap.html#pango-fc-font-map-shutdown" title="pango_fc_font_map_shutdown ()">pango_fc_font_map_shutdown</a>          (<em class="parameter"><code><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> *fcfontmap</code></em>);
56
56
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="PangoFcFontMap.html#pango-fc-font-description-from-pattern" title="pango_fc_font_description_from_pattern ()">pango_fc_font_description_from_pattern</a>
57
57
                                                        (<em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>,
58
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> include_size</code></em>);
 
58
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> include_size</code></em>);
59
59
#define             <a class="link" href="PangoFcFontMap.html#PANGO-FC-GRAVITY:CAPS" title="PANGO_FC_GRAVITY">PANGO_FC_GRAVITY</a>
60
60
#define             <a class="link" href="PangoFcFontMap.html#PANGO-FC-VERSION:CAPS" title="PANGO_FC_VERSION">PANGO_FC_VERSION</a>
61
61
#define             <a class="link" href="PangoFcFontMap.html#PANGO-FC-PRGNAME:CAPS" title="PANGO_FC_PRGNAME">PANGO_FC_PRGNAME</a>
62
62
 
63
63
 
64
64
                    <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey">PangoFcFontsetKey</a>;
65
 
<span class="returnvalue">gpointer</span>            <a class="link" href="PangoFcFontMap.html#pango-fc-fontset-key-get-context-key" title="pango_fc_fontset_key_get_context_key ()">pango_fc_fontset_key_get_context_key</a>
 
65
<a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="PangoFcFontMap.html#pango-fc-fontset-key-get-context-key" title="pango_fc_fontset_key_get_context_key ()">pango_fc_fontset_key_get_context_key</a>
66
66
                                                        (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);
67
67
const <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="PangoFcFontMap.html#pango-fc-fontset-key-get-description" title="pango_fc_fontset_key_get_description ()">pango_fc_fontset_key_get_description</a>
68
68
                                                        (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);
69
69
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage" title="PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *     <a class="link" href="PangoFcFontMap.html#pango-fc-fontset-key-get-language" title="pango_fc_fontset_key_get_language ()">pango_fc_fontset_key_get_language</a>   (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);
70
 
const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * <a class="link" href="PangoFcFontMap.html#pango-fc-fontset-key-get-matrix" title="pango_fc_fontset_key_get_matrix ()">pango_fc_fontset_key_get_matrix</a>     (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);
 
70
const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * <a class="link" href="PangoFcFontMap.html#pango-fc-fontset-key-get-matrix" title="pango_fc_fontset_key_get_matrix ()">pango_fc_fontset_key_get_matrix</a>     (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);
71
71
<span class="returnvalue">double</span>              <a class="link" href="PangoFcFontMap.html#pango-fc-fontset-key-get-absolute-size" title="pango_fc_fontset_key_get_absolute_size ()">pango_fc_fontset_key_get_absolute_size</a>
72
72
                                                        (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);
73
73
<span class="returnvalue">double</span>              <a class="link" href="PangoFcFontMap.html#pango-fc-fontset-key-get-resolution" title="pango_fc_fontset_key_get_resolution ()">pango_fc_fontset_key_get_resolution</a> (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);
74
74
                    <a class="link" href="PangoFcFontMap.html#PangoFcFontKey" title="PangoFcFontKey">PangoFcFontKey</a>;
75
 
<span class="returnvalue">gpointer</span>            <a class="link" href="PangoFcFontMap.html#pango-fc-font-key-get-context-key" title="pango_fc_font_key_get_context_key ()">pango_fc_font_key_get_context_key</a>   (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontKey" title="PangoFcFontKey"><span class="type">PangoFcFontKey</span></a> *key</code></em>);
76
 
const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * <a class="link" href="PangoFcFontMap.html#pango-fc-font-key-get-matrix" title="pango_fc_font_key_get_matrix ()">pango_fc_font_key_get_matrix</a>        (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontKey" title="PangoFcFontKey"><span class="type">PangoFcFontKey</span></a> *key</code></em>);
 
75
<a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="PangoFcFontMap.html#pango-fc-font-key-get-context-key" title="pango_fc_font_key_get_context_key ()">pango_fc_font_key_get_context_key</a>   (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontKey" title="PangoFcFontKey"><span class="type">PangoFcFontKey</span></a> *key</code></em>);
 
76
const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * <a class="link" href="PangoFcFontMap.html#pango-fc-font-key-get-matrix" title="pango_fc_font_key_get_matrix ()">pango_fc_font_key_get_matrix</a>        (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontKey" title="PangoFcFontKey"><span class="type">PangoFcFontKey</span></a> *key</code></em>);
77
77
const <span class="returnvalue">FcPattern</span> *   <a class="link" href="PangoFcFontMap.html#pango-fc-font-key-get-pattern" title="pango_fc_font_key_get_pattern ()">pango_fc_font_key_get_pattern</a>       (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontKey" title="PangoFcFontKey"><span class="type">PangoFcFontKey</span></a> *key</code></em>);
78
78
</pre>
79
79
</div>
80
80
<div class="refsect1">
81
81
<a name="PangoFcFontMap.object-hierarchy"></a><h2>Object Hierarchy</h2>
82
82
<pre class="synopsis">
83
 
  GObject
 
83
  <a href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
84
84
   +----<a class="link" href="pango-Fonts.html#PangoFontMap">PangoFontMap</a>
85
85
         +----PangoFcFontMap
86
86
               +----<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap">PangoFT2FontMap</a>
103
103
<div class="refsect1">
104
104
<a name="PangoFcFontMap.details"></a><h2>Details</h2>
105
105
<div class="refsect2">
106
 
<a name="PangoFcFontMap-struct"></a><h3>struct PangoFcFontMap</h3>
107
 
<pre class="programlisting">struct PangoFcFontMap;</pre>
 
106
<a name="PangoFcFontMap-struct"></a><h3>PangoFcFontMap</h3>
 
107
<pre class="programlisting">typedef struct _PangoFcFontMap PangoFcFontMap;</pre>
108
108
<p>
109
109
<a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> is a base class for font map implementations
110
110
using the Fontconfig and FreeType libraries. To create a new
115
115
</div>
116
116
<hr>
117
117
<div class="refsect2">
118
 
<a name="PangoFcFontMapClass"></a><h3>struct PangoFcFontMapClass</h3>
119
 
<pre class="programlisting">struct PangoFcFontMapClass {
 
118
<a name="PangoFcFontMapClass"></a><h3>PangoFcFontMapClass</h3>
 
119
<pre class="programlisting">typedef struct {
120
120
  /* Deprecated in favor of fontset_key_substitute */
121
121
  void         (*default_substitute) (PangoFcFontMap   *fontmap,
122
122
                                      FcPattern        *pattern);
144
144
                                      FcPattern                  *pattern);
145
145
  PangoFcFont  *(*create_font)       (PangoFcFontMap             *fontmap,
146
146
                                      PangoFcFontKey             *fontkey);
147
 
};
 
147
} PangoFcFontMapClass;
148
148
</pre>
149
149
<p>
150
150
Class structure for <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a>.
156
156
<td><p><span class="term"><em class="structfield"><code><a name="PangoFcFontMapClass.default-substitute"></a>default_substitute</code></em> ()</span></p></td>
157
157
<td>Substitutes in default values for
158
158
 unspecified fields in a <span class="type">FcPattern</span>. This will be called
159
 
 prior to creating a font for the pattern. May be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
159
 prior to creating a font for the pattern. May be <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
160
160
 Deprecated in favor of @<code class="function">font_key_substitute()</code>.
161
161
</td>
162
162
</tr>
165
165
<td>Creates a new <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> for the specified
166
166
 pattern of the appropriate type for this font map. The
167
167
 <em class="parameter"><code>pattern</code></em> argument must be passed to the "pattern" property
168
 
 of <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> when you call <code class="function">g_object_new()</code>. Deprecated
 
168
 of <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> when you call <a href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-new"><code class="function">g_object_new()</code></a>. Deprecated
169
169
 in favor of @<code class="function">create_font()</code>.
170
170
</td>
171
171
</tr>
214
214
<td><p><span class="term"><em class="structfield"><code><a name="PangoFcFontMapClass.fontset-key-substitute"></a>fontset_key_substitute</code></em> ()</span></p></td>
215
215
<td>Substitutes in default values for
216
216
 unspecified fields in a <span class="type">FcPattern</span>. This will be called
217
 
 prior to creating a font for the pattern. May be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
217
 prior to creating a font for the pattern. May be <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
218
218
 (Since: 1.24)
219
219
</td>
220
220
</tr>
226
226
 <em class="parameter"><code>pattern</code></em> member of <em class="parameter"><code>font_key</code></em> can be retrieved using
227
227
 <a class="link" href="PangoFcFontMap.html#pango-fc-font-key-get-pattern" title="pango_fc_font_key_get_pattern ()"><code class="function">pango_fc_font_key_get_pattern()</code></a> and must be passed to
228
228
 the "pattern" property of <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> when you call
229
 
 <code class="function">g_object_new()</code>.  If <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, <code class="function">new_font()</code> is used.
 
229
 <a href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-new"><code class="function">g_object_new()</code></a>.  If <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, <code class="function">new_font()</code> is used.
230
230
 (Since: 1.24)
231
231
</td>
232
232
</tr>
270
270
<div class="refsect2">
271
271
<a name="PangoFcDecoderFindFunc"></a><h3>PangoFcDecoderFindFunc ()</h3>
272
272
<pre class="programlisting"><a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="returnvalue">PangoFcDecoder</span></a> *    (*PangoFcDecoderFindFunc)           (<em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>,
273
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
 
273
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
274
274
<p>
275
275
Callback function passed to <a class="link" href="PangoFcFontMap.html#pango-fc-font-map-add-decoder-find-func" title="pango_fc_font_map_add_decoder_find_func ()"><code class="function">pango_fc_font_map_add_decoder_find_func()</code></a>.
276
276
</p>
290
290
<tr>
291
291
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
292
292
<td> a new reference to a custom decoder for this pattern,
293
 
 or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if the default decoder handling should be used.
 
293
 or <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the default decoder handling should be used.
294
294
</td>
295
295
</tr>
296
296
</tbody>
302
302
<pre class="programlisting"><span class="returnvalue">void</span>                pango_fc_font_map_add_decoder_find_func
303
303
                                                        (<em class="parameter"><code><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> *fcfontmap</code></em>,
304
304
                                                         <em class="parameter"><code><a class="link" href="PangoFcFontMap.html#PangoFcDecoderFindFunc" title="PangoFcDecoderFindFunc ()"><span class="type">PangoFcDecoderFindFunc</span></a> findfunc</code></em>,
305
 
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
306
 
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> dnotify</code></em>);</pre>
 
305
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
306
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> dnotify</code></em>);</pre>
307
307
<p>
308
308
This function saves a callback method in the <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> that
309
309
will be called whenever new fonts are created.  If the
332
332
</tr>
333
333
<tr>
334
334
<td><p><span class="term"><em class="parameter"><code>dnotify</code></em> :</span></p></td>
335
 
<td>A <span class="type">GDestroyNotify</span> callback that will be called when the
 
335
<td>A <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> callback that will be called when the
336
336
 fontmap is finalized and the decoder is released.
337
337
</td>
338
338
</tr>
364
364
</tr>
365
365
<tr>
366
366
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
367
 
<td> a newly created <a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a> object or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if
 
367
<td> a newly created <a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a> object or <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
368
368
         no decoder is set for <em class="parameter"><code>pattern</code></em>.
369
369
 
370
370
</td>
421
421
<a name="pango-fc-font-description-from-pattern"></a><h3>pango_fc_font_description_from_pattern ()</h3>
422
422
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_fc_font_description_from_pattern
423
423
                                                        (<em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>,
424
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> include_size</code></em>);</pre>
 
424
                                                         <em class="parameter"><code><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> include_size</code></em>);</pre>
425
425
<p>
426
426
Creates a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> that matches the specified
427
427
Fontconfig pattern as closely as possible. Many possible Fontconfig
438
438
</tr>
439
439
<tr>
440
440
<td><p><span class="term"><em class="parameter"><code>include_size</code></em> :</span></p></td>
441
 
<td>if <code class="literal">TRUE</code>, the pattern will include the size from
 
441
<td>if <a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the pattern will include the size from
442
442
  the <em class="parameter"><code>pattern</code></em>; otherwise the resulting pattern will be unsized.
443
443
  (only <code class="literal">FC_SIZE</code> is examined, not <code class="literal">FC_PIXEL_SIZE</code>)
444
444
</td>
500
500
</p>
501
501
<p>
502
502
The property will have a string equal to what
503
 
<code class="function">g_get_prgname()</code> returns.
 
503
<a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html#g-get-prgname"><code class="function">g_get_prgname()</code></a> returns.
504
504
This can be used to write fontconfig configuration rules that only affect
505
505
certain applications.
506
506
</p>
519
519
<hr>
520
520
<div class="refsect2">
521
521
<a name="pango-fc-fontset-key-get-context-key"></a><h3>pango_fc_fontset_key_get_context_key ()</h3>
522
 
<pre class="programlisting"><span class="returnvalue">gpointer</span>            pango_fc_fontset_key_get_context_key
 
522
<pre class="programlisting"><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            pango_fc_fontset_key_get_context_key
523
523
                                                        (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);</pre>
524
524
<p>
525
525
Gets the context key member of <em class="parameter"><code>key</code></em>.
596
596
<hr>
597
597
<div class="refsect2">
598
598
<a name="pango-fc-fontset-key-get-matrix"></a><h3>pango_fc_fontset_key_get_matrix ()</h3>
599
 
<pre class="programlisting">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * pango_fc_fontset_key_get_matrix     (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);</pre>
 
599
<pre class="programlisting">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * pango_fc_fontset_key_get_matrix     (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);</pre>
600
600
<p>
601
601
Gets the matrix member of <em class="parameter"><code>key</code></em>.
602
602
</p>
683
683
<hr>
684
684
<div class="refsect2">
685
685
<a name="pango-fc-font-key-get-context-key"></a><h3>pango_fc_font_key_get_context_key ()</h3>
686
 
<pre class="programlisting"><span class="returnvalue">gpointer</span>            pango_fc_font_key_get_context_key   (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontKey" title="PangoFcFontKey"><span class="type">PangoFcFontKey</span></a> *key</code></em>);</pre>
 
686
<pre class="programlisting"><a href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            pango_fc_font_key_get_context_key   (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontKey" title="PangoFcFontKey"><span class="type">PangoFcFontKey</span></a> *key</code></em>);</pre>
687
687
<p>
688
688
Gets the context key member of <em class="parameter"><code>key</code></em>.
689
689
</p>
708
708
<hr>
709
709
<div class="refsect2">
710
710
<a name="pango-fc-font-key-get-matrix"></a><h3>pango_fc_font_key_get_matrix ()</h3>
711
 
<pre class="programlisting">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * pango_fc_font_key_get_matrix        (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontKey" title="PangoFcFontKey"><span class="type">PangoFcFontKey</span></a> *key</code></em>);</pre>
 
711
<pre class="programlisting">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * pango_fc_font_key_get_matrix        (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontKey" title="PangoFcFontKey"><span class="type">PangoFcFontKey</span></a> *key</code></em>);</pre>
712
712
<p>
713
713
Gets the matrix member of <em class="parameter"><code>key</code></em>.
714
714
</p>