~ubuntu-branches/debian/sid/pango1.0/sid

« back to all changes in this revision

Viewing changes to docs/html/PangoFcFontMap.html

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2014-03-20 18:01:45 UTC
  • mfrom: (1.9.3)
  • Revision ID: package-import@ubuntu.com-20140320180145-y2zs0pzp6390a6y9
Tags: 1.36.3-1
* Add xauth test-dep, needed for xvfb-run
* New upstream release
  - Fix builddir != srdir builds
    + Drop 0001-Fix-tests-for-builddir-srcdir-by-setting-G_TEST_-SRC.patch,
      which was a cherry-pick of this fix.
  - Avoid a crash when FT_Face is NULL
  - Update pango_color_parse docs

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="PangoRenderer.html" title="PangoRenderer">
10
10
<link rel="next" href="PangoFcFont.html" title="PangoFcFont">
11
 
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.20.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="10"><tr valign="middle">
16
 
<td width="100%" align="left">
17
 
<a href="#" class="shortcut">Top</a>
18
 
                   | 
19
 
                  <a href="#PangoFcFontMap.description" class="shortcut">Description</a>
20
 
                   | 
21
 
                  <a href="#PangoFcFontMap.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
 
16
<td width="100%" align="left" class="shortcuts">
 
17
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
 
18
                  <a href="#PangoFcFontMap.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
 
19
                  <a href="#PangoFcFontMap.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
22
20
</td>
23
21
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
24
22
<td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
32
30
<h2><span class="refentrytitle"><a name="PangoFcFontMap.top_of_page"></a>PangoFcFontMap</span></h2>
33
31
<p>PangoFcFontMap — Base fontmap class for Fontconfig-based backends</p>
34
32
</td>
35
 
<td valign="top" align="right"></td>
 
33
<td class="gallery_image" valign="top" align="right"></td>
36
34
</tr></table></div>
37
 
<div class="refsynopsisdiv">
38
 
<a name="PangoFcFontMap.synopsis"></a><h2>Synopsis</h2>
39
 
<pre class="synopsis">struct              <a class="link" href="PangoFcFontMap.html#PangoFcFontMap-struct" title="struct PangoFcFontMap">PangoFcFontMap</a>;
40
 
struct              <a class="link" href="PangoFcFontMap.html#PangoFcFontMapClass" title="struct PangoFcFontMapClass">PangoFcFontMapClass</a>;
41
 
<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>);
42
 
<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>,
43
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
44
 
<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>
45
 
                                                        (<em class="parameter"><code><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> *fcfontmap</code></em>,
46
 
                                                         <em class="parameter"><code><a class="link" href="PangoFcFontMap.html#PangoFcDecoderFindFunc" title="PangoFcDecoderFindFunc ()"><span class="type">PangoFcDecoderFindFunc</span></a> findfunc</code></em>,
47
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
48
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> dnotify</code></em>);
49
 
<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>,
50
 
                                                         <em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>);
51
 
<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>);
52
 
<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>);
53
 
<a class="link" href="pango-Fonts.html#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>
54
 
                                                        (<em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>,
55
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> include_size</code></em>);
56
 
#define             <a class="link" href="PangoFcFontMap.html#PANGO-FC-FONT-FEATURES:CAPS" title="PANGO_FC_FONT_FEATURES">PANGO_FC_FONT_FEATURES</a>
57
 
#define             <a class="link" href="PangoFcFontMap.html#PANGO-FC-GRAVITY:CAPS" title="PANGO_FC_GRAVITY">PANGO_FC_GRAVITY</a>
58
 
#define             <a class="link" href="PangoFcFontMap.html#PANGO-FC-VERSION:CAPS" title="PANGO_FC_VERSION">PANGO_FC_VERSION</a>
59
 
#define             <a class="link" href="PangoFcFontMap.html#PANGO-FC-PRGNAME:CAPS" title="PANGO_FC_PRGNAME">PANGO_FC_PRGNAME</a>
60
 
 
61
 
 
62
 
                    <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey">PangoFcFontsetKey</a>;
63
 
<a href="http://library.gnome.org/devel/glib/unstable/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>
64
 
                                                        (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);
65
 
const <a class="link" href="pango-Fonts.html#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>
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
 
<a class="link" href="pango-Scripts-and-Languages.html#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>);
68
 
const <a class="link" href="pango-Glyph-Storage.html#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>);
69
 
<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>
70
 
                                                        (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);
71
 
<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>);
72
 
                    <a class="link" href="PangoFcFontMap.html#PangoFcFontKey" title="PangoFcFontKey">PangoFcFontKey</a>;
73
 
<a href="http://library.gnome.org/devel/glib/unstable/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>);
74
 
const <a class="link" href="pango-Glyph-Storage.html#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
 
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>);
76
 
</pre>
 
35
<div class="refsect1">
 
36
<a name="PangoFcFontMap.functions"></a><h2>Functions</h2>
 
37
<div class="informaltable"><table width="100%" border="0">
 
38
<colgroup>
 
39
<col width="150px" class="functions_return">
 
40
<col class="functions_name">
 
41
</colgroup>
 
42
<tbody>
 
43
<tr>
 
44
<td class="function_type">
 
45
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *
 
46
</td>
 
47
<td class="function_name">
 
48
<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> <span class="c_punctuation">()</span>
 
49
</td>
 
50
</tr>
 
51
<tr>
 
52
<td class="function_type">
 
53
<a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="returnvalue">PangoFcDecoder</span></a> *
 
54
</td>
 
55
<td class="function_name">
 
56
<span class="c_punctuation">(</span><a class="link" href="PangoFcFontMap.html#PangoFcDecoderFindFunc" title="PangoFcDecoderFindFunc ()">*PangoFcDecoderFindFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
 
57
</td>
 
58
</tr>
 
59
<tr>
 
60
<td class="function_type">
 
61
<span class="returnvalue">void</span>
 
62
</td>
 
63
<td class="function_name">
 
64
<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> <span class="c_punctuation">()</span>
 
65
</td>
 
66
</tr>
 
67
<tr>
 
68
<td class="function_type">
 
69
<a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="returnvalue">PangoFcDecoder</span></a> *
 
70
</td>
 
71
<td class="function_name">
 
72
<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> <span class="c_punctuation">()</span>
 
73
</td>
 
74
</tr>
 
75
<tr>
 
76
<td class="function_type">
 
77
<span class="returnvalue">void</span>
 
78
</td>
 
79
<td class="function_name">
 
80
<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> <span class="c_punctuation">()</span>
 
81
</td>
 
82
</tr>
 
83
<tr>
 
84
<td class="function_type">
 
85
<span class="returnvalue">void</span>
 
86
</td>
 
87
<td class="function_name">
 
88
<a class="link" href="PangoFcFontMap.html#pango-fc-font-map-shutdown" title="pango_fc_font_map_shutdown ()">pango_fc_font_map_shutdown</a> <span class="c_punctuation">()</span>
 
89
</td>
 
90
</tr>
 
91
<tr>
 
92
<td class="function_type">
 
93
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
 
94
</td>
 
95
<td class="function_name">
 
96
<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> <span class="c_punctuation">()</span>
 
97
</td>
 
98
</tr>
 
99
<tr>
 
100
<td class="function_type">
 
101
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
 
102
</td>
 
103
<td class="function_name">
 
104
<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> <span class="c_punctuation">()</span>
 
105
</td>
 
106
</tr>
 
107
<tr>
 
108
<td class="function_type">const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
 
109
</td>
 
110
<td class="function_name">
 
111
<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> <span class="c_punctuation">()</span>
 
112
</td>
 
113
</tr>
 
114
<tr>
 
115
<td class="function_type">
 
116
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *
 
117
</td>
 
118
<td class="function_name">
 
119
<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> <span class="c_punctuation">()</span>
 
120
</td>
 
121
</tr>
 
122
<tr>
 
123
<td class="function_type">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> *
 
124
</td>
 
125
<td class="function_name">
 
126
<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> <span class="c_punctuation">()</span>
 
127
</td>
 
128
</tr>
 
129
<tr>
 
130
<td class="function_type">
 
131
<span class="returnvalue">double</span>
 
132
</td>
 
133
<td class="function_name">
 
134
<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> <span class="c_punctuation">()</span>
 
135
</td>
 
136
</tr>
 
137
<tr>
 
138
<td class="function_type">
 
139
<span class="returnvalue">double</span>
 
140
</td>
 
141
<td class="function_name">
 
142
<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> <span class="c_punctuation">()</span>
 
143
</td>
 
144
</tr>
 
145
<tr>
 
146
<td class="function_type">
 
147
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
 
148
</td>
 
149
<td class="function_name">
 
150
<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> <span class="c_punctuation">()</span>
 
151
</td>
 
152
</tr>
 
153
<tr>
 
154
<td class="function_type">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> *
 
155
</td>
 
156
<td class="function_name">
 
157
<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> <span class="c_punctuation">()</span>
 
158
</td>
 
159
</tr>
 
160
<tr>
 
161
<td class="function_type">const <span class="returnvalue">FcPattern</span> *
 
162
</td>
 
163
<td class="function_name">
 
164
<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> <span class="c_punctuation">()</span>
 
165
</td>
 
166
</tr>
 
167
</tbody>
 
168
</table></div>
 
169
</div>
 
170
<div class="refsect1">
 
171
<a name="PangoFcFontMap.other"></a><h2>Types and Values</h2>
 
172
<div class="informaltable"><table width="100%" border="0">
 
173
<colgroup>
 
174
<col width="150px" class="name">
 
175
<col class="description">
 
176
</colgroup>
 
177
<tbody>
 
178
<tr>
 
179
<td class="datatype_keyword">struct</td>
 
180
<td class="function_name"><a class="link" href="PangoFcFontMap.html#PangoFcFontMap-struct" title="struct PangoFcFontMap">PangoFcFontMap</a></td>
 
181
</tr>
 
182
<tr>
 
183
<td class="datatype_keyword">struct</td>
 
184
<td class="function_name"><a class="link" href="PangoFcFontMap.html#PangoFcFontMapClass" title="struct PangoFcFontMapClass">PangoFcFontMapClass</a></td>
 
185
</tr>
 
186
<tr>
 
187
<td class="define_keyword">#define</td>
 
188
<td class="function_name"><a class="link" href="PangoFcFontMap.html#PANGO-FC-FONT-FEATURES:CAPS" title="PANGO_FC_FONT_FEATURES">PANGO_FC_FONT_FEATURES</a></td>
 
189
</tr>
 
190
<tr>
 
191
<td class="define_keyword">#define</td>
 
192
<td class="function_name"><a class="link" href="PangoFcFontMap.html#PANGO-FC-GRAVITY:CAPS" title="PANGO_FC_GRAVITY">PANGO_FC_GRAVITY</a></td>
 
193
</tr>
 
194
<tr>
 
195
<td class="define_keyword">#define</td>
 
196
<td class="function_name"><a class="link" href="PangoFcFontMap.html#PANGO-FC-VERSION:CAPS" title="PANGO_FC_VERSION">PANGO_FC_VERSION</a></td>
 
197
</tr>
 
198
<tr>
 
199
<td class="define_keyword">#define</td>
 
200
<td class="function_name"><a class="link" href="PangoFcFontMap.html#PANGO-FC-PRGNAME:CAPS" title="PANGO_FC_PRGNAME">PANGO_FC_PRGNAME</a></td>
 
201
</tr>
 
202
<tr>
 
203
<td class="datatype_keyword"> </td>
 
204
<td class="function_name"><a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey">PangoFcFontsetKey</a></td>
 
205
</tr>
 
206
<tr>
 
207
<td class="datatype_keyword"> </td>
 
208
<td class="function_name"><a class="link" href="PangoFcFontMap.html#PangoFcFontKey" title="PangoFcFontKey">PangoFcFontKey</a></td>
 
209
</tr>
 
210
</tbody>
 
211
</table></div>
77
212
</div>
78
213
<div class="refsect1">
79
214
<a name="PangoFcFontMap.object-hierarchy"></a><h2>Object Hierarchy</h2>
80
 
<pre class="synopsis">
81
 
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
82
 
   +----<a class="link" href="pango-Fonts.html#PangoFontMap">PangoFontMap</a>
83
 
         +----PangoFcFontMap
84
 
               +----<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap">PangoFT2FontMap</a>
85
 
               +----<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFontMap">PangoXftFontMap</a>
 
215
<pre class="screen">    <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
216
    <span class="lineart">╰──</span> <a class="link" href="pango-Fonts.html#PangoFontMap">PangoFontMap</a>
 
217
        <span class="lineart">╰──</span> PangoFcFontMap
 
218
            <span class="lineart">├──</span> <a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap">PangoFT2FontMap</a>
 
219
            <span class="lineart">╰──</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFontMap">PangoXftFontMap</a>
86
220
</pre>
87
221
</div>
88
222
<div class="refsect1">
89
223
<a name="PangoFcFontMap.description"></a><h2>Description</h2>
90
 
<p>
91
 
PangoFcFontMap is a base class for font map implementations using the
92
 
Fontconfig and FreeType libraries. It is used in the
 
224
<p>PangoFcFontMap is a base class for font map implementations using the
 
225
Fontconfig and FreeType libraries. It is used in the</p>
93
226
<a class="link" href="pango-Xft-Fonts-and-Rendering.html" title="Xft Fonts and Rendering">Xft</a> and
94
 
<a class="link" href="pango-FreeType-Fonts-and-Rendering.html" title="FreeType Fonts and Rendering">FreeType</a>
95
 
backends shipped with Pango, but can also be used when creating
 
227
<a class="link" href="pango-FreeType-Fonts-and-Rendering.html" title="FreeType Fonts and Rendering">FreeType</a><p>backends shipped with Pango, but can also be used when creating
96
228
new backends. Any backend deriving from this base class will
97
229
take advantage of the wide range of shapers implemented using
98
230
FreeType that come with Pango.</p>
99
231
</div>
100
232
<div class="refsect1">
101
 
<a name="PangoFcFontMap.details"></a><h2>Details</h2>
 
233
<a name="PangoFcFontMap.functions_details"></a><h2>Functions</h2>
 
234
<div class="refsect2">
 
235
<a name="pango-fc-font-map-create-context"></a><h3>pango_fc_font_map_create_context ()</h3>
 
236
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *
 
237
pango_fc_font_map_create_context (<em class="parameter"><code><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> *fcfontmap</code></em>);</pre>
 
238
<div class="warning">
 
239
<p><code class="literal">pango_fc_font_map_create_context</code> has been deprecated since version 1.22 and should not be used in newly-written code.</p>
 
240
<p>Use <a class="link" href="pango-Fonts.html#pango-font-map-create-context" title="pango_font_map_create_context ()"><code class="function">pango_font_map_create_context()</code></a> instead.</p>
 
241
</div>
 
242
<p>Creates a new context for this fontmap. This function is intended
 
243
only for backend implementations deriving from <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a>;
 
244
it is possible that a backend will store additional information
 
245
needed for correct operation on the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> after calling
 
246
this function.</p>
 
247
<div class="refsect3">
 
248
<a name="id-1.4.3.7.2.7"></a><h4>Parameters</h4>
 
249
<div class="informaltable"><table width="100%" border="0">
 
250
<colgroup>
 
251
<col width="150px" class="parameters_name">
 
252
<col class="parameters_description">
 
253
<col width="200px" class="parameters_annotations">
 
254
</colgroup>
 
255
<tbody><tr>
 
256
<td class="parameter_name"><p>fcfontmap</p></td>
 
257
<td class="parameter_description"><p>a <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a></p></td>
 
258
<td class="parameter_annotations"> </td>
 
259
</tr></tbody>
 
260
</table></div>
 
261
</div>
 
262
<div class="refsect3">
 
263
<a name="id-1.4.3.7.2.8"></a><h4>Returns</h4>
 
264
<p> a new <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p>
 
265
<p></p>
 
266
</div>
 
267
<p class="since">Since 1.4</p>
 
268
</div>
 
269
<hr>
 
270
<div class="refsect2">
 
271
<a name="PangoFcDecoderFindFunc"></a><h3>PangoFcDecoderFindFunc ()</h3>
 
272
<pre class="programlisting"><a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="returnvalue">PangoFcDecoder</span></a> *
 
273
<span class="c_punctuation">(</span>*PangoFcDecoderFindFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>,
 
274
                           <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
 
275
<p>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>.</p>
 
276
<div class="refsect3">
 
277
<a name="id-1.4.3.7.3.5"></a><h4>Parameters</h4>
 
278
<div class="informaltable"><table width="100%" border="0">
 
279
<colgroup>
 
280
<col width="150px" class="parameters_name">
 
281
<col class="parameters_description">
 
282
<col width="200px" class="parameters_annotations">
 
283
</colgroup>
 
284
<tbody>
 
285
<tr>
 
286
<td class="parameter_name"><p>pattern</p></td>
 
287
<td class="parameter_description"><p>a fully resolved <span class="type">FcPattern</span> specifying the font on the system</p></td>
 
288
<td class="parameter_annotations"> </td>
 
289
</tr>
 
290
<tr>
 
291
<td class="parameter_name"><p>user_data</p></td>
 
292
<td class="parameter_description"><p>user data 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></p></td>
 
293
<td class="parameter_annotations"> </td>
 
294
</tr>
 
295
</tbody>
 
296
</table></div>
 
297
</div>
 
298
<div class="refsect3">
 
299
<a name="id-1.4.3.7.3.6"></a><h4>Returns</h4>
 
300
<p> a new reference to a custom decoder for this pattern,
 
301
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the default decoder handling should be used.</p>
 
302
<p></p>
 
303
</div>
 
304
</div>
 
305
<hr>
 
306
<div class="refsect2">
 
307
<a name="pango-fc-font-map-add-decoder-find-func"></a><h3>pango_fc_font_map_add_decoder_find_func ()</h3>
 
308
<pre class="programlisting"><span class="returnvalue">void</span>
 
309
pango_fc_font_map_add_decoder_find_func
 
310
                               (<em class="parameter"><code><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> *fcfontmap</code></em>,
 
311
                                <em class="parameter"><code><a class="link" href="PangoFcFontMap.html#PangoFcDecoderFindFunc" title="PangoFcDecoderFindFunc ()"><span class="type">PangoFcDecoderFindFunc</span></a> findfunc</code></em>,
 
312
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
313
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> dnotify</code></em>);</pre>
 
314
<p>This function saves a callback method in the <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> that
 
315
will be called whenever new fonts are created.  If the
 
316
function returns a <a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a>, that decoder will be used to
 
317
determine both coverage via a <span class="type">FcCharSet</span> and a one-to-one mapping of
 
318
characters to glyphs.  This will allow applications to have
 
319
application-specific encodings for various fonts.</p>
 
320
<div class="refsect3">
 
321
<a name="id-1.4.3.7.4.5"></a><h4>Parameters</h4>
 
322
<div class="informaltable"><table width="100%" border="0">
 
323
<colgroup>
 
324
<col width="150px" class="parameters_name">
 
325
<col class="parameters_description">
 
326
<col width="200px" class="parameters_annotations">
 
327
</colgroup>
 
328
<tbody>
 
329
<tr>
 
330
<td class="parameter_name"><p>fcfontmap</p></td>
 
331
<td class="parameter_description"><p>The <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> to add this method to.</p></td>
 
332
<td class="parameter_annotations"> </td>
 
333
</tr>
 
334
<tr>
 
335
<td class="parameter_name"><p>findfunc</p></td>
 
336
<td class="parameter_description"><p>The <a class="link" href="PangoFcFontMap.html#PangoFcDecoderFindFunc" title="PangoFcDecoderFindFunc ()"><span class="type">PangoFcDecoderFindFunc</span></a> callback function</p></td>
 
337
<td class="parameter_annotations"> </td>
 
338
</tr>
 
339
<tr>
 
340
<td class="parameter_name"><p>user_data</p></td>
 
341
<td class="parameter_description"><p>User data.</p></td>
 
342
<td class="parameter_annotations"> </td>
 
343
</tr>
 
344
<tr>
 
345
<td class="parameter_name"><p>dnotify</p></td>
 
346
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> callback that will be called when the
 
347
fontmap is finalized and the decoder is released.</p></td>
 
348
<td class="parameter_annotations"> </td>
 
349
</tr>
 
350
</tbody>
 
351
</table></div>
 
352
</div>
 
353
<p class="since">Since 1.6</p>
 
354
</div>
 
355
<hr>
 
356
<div class="refsect2">
 
357
<a name="pango-fc-font-map-find-decoder"></a><h3>pango_fc_font_map_find_decoder ()</h3>
 
358
<pre class="programlisting"><a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="returnvalue">PangoFcDecoder</span></a> *
 
359
pango_fc_font_map_find_decoder (<em class="parameter"><code><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> *fcfontmap</code></em>,
 
360
                                <em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>);</pre>
 
361
<p>Finds the decoder to use for <em class="parameter"><code>pattern</code></em>
 
362
.  Decoders can be added to
 
363
a font map using <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>.</p>
 
364
<div class="refsect3">
 
365
<a name="id-1.4.3.7.5.5"></a><h4>Parameters</h4>
 
366
<div class="informaltable"><table width="100%" border="0">
 
367
<colgroup>
 
368
<col width="150px" class="parameters_name">
 
369
<col class="parameters_description">
 
370
<col width="200px" class="parameters_annotations">
 
371
</colgroup>
 
372
<tbody>
 
373
<tr>
 
374
<td class="parameter_name"><p>fcfontmap</p></td>
 
375
<td class="parameter_description"><p>The <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> to use.</p></td>
 
376
<td class="parameter_annotations"> </td>
 
377
</tr>
 
378
<tr>
 
379
<td class="parameter_name"><p>pattern</p></td>
 
380
<td class="parameter_description"><p>The <span class="type">FcPattern</span> to find the decoder for.</p></td>
 
381
<td class="parameter_annotations"> </td>
 
382
</tr>
 
383
</tbody>
 
384
</table></div>
 
385
</div>
 
386
<div class="refsect3">
 
387
<a name="id-1.4.3.7.5.6"></a><h4>Returns</h4>
 
388
<p> a newly created <a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a> object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
 
389
no decoder is set for <em class="parameter"><code>pattern</code></em>
 
390
.</p>
 
391
<p></p>
 
392
</div>
 
393
<p class="since">Since 1.26</p>
 
394
</div>
 
395
<hr>
 
396
<div class="refsect2">
 
397
<a name="pango-fc-font-map-cache-clear"></a><h3>pango_fc_font_map_cache_clear ()</h3>
 
398
<pre class="programlisting"><span class="returnvalue">void</span>
 
399
pango_fc_font_map_cache_clear (<em class="parameter"><code><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> *fcfontmap</code></em>);</pre>
 
400
<p>Clear all cached information and fontsets for this font map;
 
401
this should be called whenever there is a change in the
 
402
output of the <code class="function">default_substitute()</code> virtual function of the
 
403
font map, or if fontconfig has been reinitialized to new
 
404
configuration.</p>
 
405
<div class="refsect3">
 
406
<a name="id-1.4.3.7.6.5"></a><h4>Parameters</h4>
 
407
<div class="informaltable"><table width="100%" border="0">
 
408
<colgroup>
 
409
<col width="150px" class="parameters_name">
 
410
<col class="parameters_description">
 
411
<col width="200px" class="parameters_annotations">
 
412
</colgroup>
 
413
<tbody><tr>
 
414
<td class="parameter_name"><p>fcfontmap</p></td>
 
415
<td class="parameter_description"><p>a <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a></p></td>
 
416
<td class="parameter_annotations"> </td>
 
417
</tr></tbody>
 
418
</table></div>
 
419
</div>
 
420
<p class="since">Since 1.4</p>
 
421
</div>
 
422
<hr>
 
423
<div class="refsect2">
 
424
<a name="pango-fc-font-map-shutdown"></a><h3>pango_fc_font_map_shutdown ()</h3>
 
425
<pre class="programlisting"><span class="returnvalue">void</span>
 
426
pango_fc_font_map_shutdown (<em class="parameter"><code><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> *fcfontmap</code></em>);</pre>
 
427
<p>Clears all cached information for the fontmap and marks
 
428
all fonts open for the fontmap as dead. (See the <code class="function">shutdown()</code>
 
429
virtual function of <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a>.) This function might be used
 
430
by a backend when the underlying windowing system for the font
 
431
map exits. This function is only intended to be called
 
432
only for backend implementations deriving from <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a>.</p>
 
433
<div class="refsect3">
 
434
<a name="id-1.4.3.7.7.5"></a><h4>Parameters</h4>
 
435
<div class="informaltable"><table width="100%" border="0">
 
436
<colgroup>
 
437
<col width="150px" class="parameters_name">
 
438
<col class="parameters_description">
 
439
<col width="200px" class="parameters_annotations">
 
440
</colgroup>
 
441
<tbody><tr>
 
442
<td class="parameter_name"><p>fcfontmap</p></td>
 
443
<td class="parameter_description"><p>a <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a></p></td>
 
444
<td class="parameter_annotations"> </td>
 
445
</tr></tbody>
 
446
</table></div>
 
447
</div>
 
448
<p class="since">Since 1.4</p>
 
449
</div>
 
450
<hr>
 
451
<div class="refsect2">
 
452
<a name="pango-fc-font-description-from-pattern"></a><h3>pango_fc_font_description_from_pattern ()</h3>
 
453
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
 
454
pango_fc_font_description_from_pattern
 
455
                               (<em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>,
 
456
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> include_size</code></em>);</pre>
 
457
<p>Creates a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> that matches the specified
 
458
Fontconfig pattern as closely as possible. Many possible Fontconfig
 
459
pattern values, such as <code class="literal">FC_RASTERIZER</code> or <code class="literal">FC_DPI</code>, don't make sense in
 
460
the context of <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, so will be ignored.</p>
 
461
<div class="refsect3">
 
462
<a name="id-1.4.3.7.8.5"></a><h4>Parameters</h4>
 
463
<div class="informaltable"><table width="100%" border="0">
 
464
<colgroup>
 
465
<col width="150px" class="parameters_name">
 
466
<col class="parameters_description">
 
467
<col width="200px" class="parameters_annotations">
 
468
</colgroup>
 
469
<tbody>
 
470
<tr>
 
471
<td class="parameter_name"><p>pattern</p></td>
 
472
<td class="parameter_description"><p>a <span class="type">FcPattern</span></p></td>
 
473
<td class="parameter_annotations"> </td>
 
474
</tr>
 
475
<tr>
 
476
<td class="parameter_name"><p>include_size</p></td>
 
477
<td class="parameter_description"><p>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the pattern will include the size from
 
478
the <em class="parameter"><code>pattern</code></em>
 
479
; otherwise the resulting pattern will be unsized.
 
480
(only <code class="literal">FC_SIZE</code> is examined, not <code class="literal">FC_PIXEL_SIZE</code>)</p></td>
 
481
<td class="parameter_annotations"> </td>
 
482
</tr>
 
483
</tbody>
 
484
</table></div>
 
485
</div>
 
486
<div class="refsect3">
 
487
<a name="id-1.4.3.7.8.6"></a><h4>Returns</h4>
 
488
<p> a new <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. Free with
 
489
<a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>.</p>
 
490
<p></p>
 
491
</div>
 
492
<p class="since">Since 1.4</p>
 
493
</div>
 
494
<hr>
 
495
<div class="refsect2">
 
496
<a name="pango-fc-fontset-key-get-context-key"></a><h3>pango_fc_fontset_key_get_context_key ()</h3>
 
497
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
 
498
pango_fc_fontset_key_get_context_key (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);</pre>
 
499
<p>Gets the context key member of <em class="parameter"><code>key</code></em>
 
500
.</p>
 
501
<div class="refsect3">
 
502
<a name="id-1.4.3.7.9.5"></a><h4>Parameters</h4>
 
503
<div class="informaltable"><table width="100%" border="0">
 
504
<colgroup>
 
505
<col width="150px" class="parameters_name">
 
506
<col class="parameters_description">
 
507
<col width="200px" class="parameters_annotations">
 
508
</colgroup>
 
509
<tbody><tr>
 
510
<td class="parameter_name"><p>key</p></td>
 
511
<td class="parameter_description"><p>the font key</p></td>
 
512
<td class="parameter_annotations"> </td>
 
513
</tr></tbody>
 
514
</table></div>
 
515
</div>
 
516
<div class="refsect3">
 
517
<a name="id-1.4.3.7.9.6"></a><h4>Returns</h4>
 
518
<p> the context key, which is owned by <em class="parameter"><code>key</code></em>
 
519
and should not be modified.</p>
 
520
<p></p>
 
521
</div>
 
522
<p class="since">Since 1.24</p>
 
523
</div>
 
524
<hr>
 
525
<div class="refsect2">
 
526
<a name="pango-fc-fontset-key-get-description"></a><h3>pango_fc_fontset_key_get_description ()</h3>
 
527
<pre class="programlisting">const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
 
528
pango_fc_fontset_key_get_description (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);</pre>
 
529
<p>Gets the font description of <em class="parameter"><code>key</code></em>
 
530
.</p>
 
531
<div class="refsect3">
 
532
<a name="id-1.4.3.7.10.5"></a><h4>Parameters</h4>
 
533
<div class="informaltable"><table width="100%" border="0">
 
534
<colgroup>
 
535
<col width="150px" class="parameters_name">
 
536
<col class="parameters_description">
 
537
<col width="200px" class="parameters_annotations">
 
538
</colgroup>
 
539
<tbody><tr>
 
540
<td class="parameter_name"><p>key</p></td>
 
541
<td class="parameter_description"><p>the fontset key</p></td>
 
542
<td class="parameter_annotations"> </td>
 
543
</tr></tbody>
 
544
</table></div>
 
545
</div>
 
546
<div class="refsect3">
 
547
<a name="id-1.4.3.7.10.6"></a><h4>Returns</h4>
 
548
<p> the font description, which is owned by <em class="parameter"><code>key</code></em>
 
549
and should not be modified.</p>
 
550
<p></p>
 
551
</div>
 
552
<p class="since">Since 1.24</p>
 
553
</div>
 
554
<hr>
 
555
<div class="refsect2">
 
556
<a name="pango-fc-fontset-key-get-language"></a><h3>pango_fc_fontset_key_get_language ()</h3>
 
557
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *
 
558
pango_fc_fontset_key_get_language (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);</pre>
 
559
<p>Gets the language member of <em class="parameter"><code>key</code></em>
 
560
.</p>
 
561
<div class="refsect3">
 
562
<a name="id-1.4.3.7.11.5"></a><h4>Parameters</h4>
 
563
<div class="informaltable"><table width="100%" border="0">
 
564
<colgroup>
 
565
<col width="150px" class="parameters_name">
 
566
<col class="parameters_description">
 
567
<col width="200px" class="parameters_annotations">
 
568
</colgroup>
 
569
<tbody><tr>
 
570
<td class="parameter_name"><p>key</p></td>
 
571
<td class="parameter_description"><p>the fontset key</p></td>
 
572
<td class="parameter_annotations"> </td>
 
573
</tr></tbody>
 
574
</table></div>
 
575
</div>
 
576
<div class="refsect3">
 
577
<a name="id-1.4.3.7.11.6"></a><h4>Returns</h4>
 
578
<p> the language</p>
 
579
<p></p>
 
580
</div>
 
581
<p class="since">Since 1.24</p>
 
582
</div>
 
583
<hr>
 
584
<div class="refsect2">
 
585
<a name="pango-fc-fontset-key-get-matrix"></a><h3>pango_fc_fontset_key_get_matrix ()</h3>
 
586
<pre class="programlisting">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> *
 
587
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>
 
588
<p>Gets the matrix member of <em class="parameter"><code>key</code></em>
 
589
.</p>
 
590
<div class="refsect3">
 
591
<a name="id-1.4.3.7.12.5"></a><h4>Parameters</h4>
 
592
<div class="informaltable"><table width="100%" border="0">
 
593
<colgroup>
 
594
<col width="150px" class="parameters_name">
 
595
<col class="parameters_description">
 
596
<col width="200px" class="parameters_annotations">
 
597
</colgroup>
 
598
<tbody><tr>
 
599
<td class="parameter_name"><p>key</p></td>
 
600
<td class="parameter_description"><p>the fontset key</p></td>
 
601
<td class="parameter_annotations"> </td>
 
602
</tr></tbody>
 
603
</table></div>
 
604
</div>
 
605
<div class="refsect3">
 
606
<a name="id-1.4.3.7.12.6"></a><h4>Returns</h4>
 
607
<p> the matrix, which is owned by <em class="parameter"><code>key</code></em>
 
608
and should not be modified.</p>
 
609
<p></p>
 
610
</div>
 
611
<p class="since">Since 1.24</p>
 
612
</div>
 
613
<hr>
 
614
<div class="refsect2">
 
615
<a name="pango-fc-fontset-key-get-absolute-size"></a><h3>pango_fc_fontset_key_get_absolute_size ()</h3>
 
616
<pre class="programlisting"><span class="returnvalue">double</span>
 
617
pango_fc_fontset_key_get_absolute_size
 
618
                               (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);</pre>
 
619
<p>Gets the absolute font size of <em class="parameter"><code>key</code></em>
 
620
 in Pango units.  This is adjusted
 
621
for both resolution and transformation matrix.</p>
 
622
<div class="refsect3">
 
623
<a name="id-1.4.3.7.13.5"></a><h4>Parameters</h4>
 
624
<div class="informaltable"><table width="100%" border="0">
 
625
<colgroup>
 
626
<col width="150px" class="parameters_name">
 
627
<col class="parameters_description">
 
628
<col width="200px" class="parameters_annotations">
 
629
</colgroup>
 
630
<tbody><tr>
 
631
<td class="parameter_name"><p>key</p></td>
 
632
<td class="parameter_description"><p>the fontset key</p></td>
 
633
<td class="parameter_annotations"> </td>
 
634
</tr></tbody>
 
635
</table></div>
 
636
</div>
 
637
<div class="refsect3">
 
638
<a name="id-1.4.3.7.13.6"></a><h4>Returns</h4>
 
639
<p> the pixel size of <em class="parameter"><code>key</code></em>
 
640
.</p>
 
641
<p></p>
 
642
</div>
 
643
<p class="since">Since 1.24</p>
 
644
</div>
 
645
<hr>
 
646
<div class="refsect2">
 
647
<a name="pango-fc-fontset-key-get-resolution"></a><h3>pango_fc_fontset_key_get_resolution ()</h3>
 
648
<pre class="programlisting"><span class="returnvalue">double</span>
 
649
pango_fc_fontset_key_get_resolution (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);</pre>
 
650
<p>Gets the resolution of <em class="parameter"><code>key</code></em>
 
651
</p>
 
652
<div class="refsect3">
 
653
<a name="id-1.4.3.7.14.5"></a><h4>Parameters</h4>
 
654
<div class="informaltable"><table width="100%" border="0">
 
655
<colgroup>
 
656
<col width="150px" class="parameters_name">
 
657
<col class="parameters_description">
 
658
<col width="200px" class="parameters_annotations">
 
659
</colgroup>
 
660
<tbody><tr>
 
661
<td class="parameter_name"><p>key</p></td>
 
662
<td class="parameter_description"><p>the fontset key</p></td>
 
663
<td class="parameter_annotations"> </td>
 
664
</tr></tbody>
 
665
</table></div>
 
666
</div>
 
667
<div class="refsect3">
 
668
<a name="id-1.4.3.7.14.6"></a><h4>Returns</h4>
 
669
<p> the resolution of <em class="parameter"><code>key</code></em>
 
670
</p>
 
671
<p></p>
 
672
</div>
 
673
<p class="since">Since 1.24</p>
 
674
</div>
 
675
<hr>
 
676
<div class="refsect2">
 
677
<a name="pango-fc-font-key-get-context-key"></a><h3>pango_fc_font_key_get_context_key ()</h3>
 
678
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
 
679
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>
 
680
<p>Gets the context key member of <em class="parameter"><code>key</code></em>
 
681
.</p>
 
682
<div class="refsect3">
 
683
<a name="id-1.4.3.7.15.5"></a><h4>Parameters</h4>
 
684
<div class="informaltable"><table width="100%" border="0">
 
685
<colgroup>
 
686
<col width="150px" class="parameters_name">
 
687
<col class="parameters_description">
 
688
<col width="200px" class="parameters_annotations">
 
689
</colgroup>
 
690
<tbody><tr>
 
691
<td class="parameter_name"><p>key</p></td>
 
692
<td class="parameter_description"><p>the font key</p></td>
 
693
<td class="parameter_annotations"> </td>
 
694
</tr></tbody>
 
695
</table></div>
 
696
</div>
 
697
<div class="refsect3">
 
698
<a name="id-1.4.3.7.15.6"></a><h4>Returns</h4>
 
699
<p> the context key, which is owned by <em class="parameter"><code>key</code></em>
 
700
and should not be modified.</p>
 
701
<p></p>
 
702
</div>
 
703
<p class="since">Since 1.24</p>
 
704
</div>
 
705
<hr>
 
706
<div class="refsect2">
 
707
<a name="pango-fc-font-key-get-matrix"></a><h3>pango_fc_font_key_get_matrix ()</h3>
 
708
<pre class="programlisting">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> *
 
709
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>
 
710
<p>Gets the matrix member of <em class="parameter"><code>key</code></em>
 
711
.</p>
 
712
<div class="refsect3">
 
713
<a name="id-1.4.3.7.16.5"></a><h4>Parameters</h4>
 
714
<div class="informaltable"><table width="100%" border="0">
 
715
<colgroup>
 
716
<col width="150px" class="parameters_name">
 
717
<col class="parameters_description">
 
718
<col width="200px" class="parameters_annotations">
 
719
</colgroup>
 
720
<tbody><tr>
 
721
<td class="parameter_name"><p>key</p></td>
 
722
<td class="parameter_description"><p>the font key</p></td>
 
723
<td class="parameter_annotations"> </td>
 
724
</tr></tbody>
 
725
</table></div>
 
726
</div>
 
727
<div class="refsect3">
 
728
<a name="id-1.4.3.7.16.6"></a><h4>Returns</h4>
 
729
<p> the matrix, which is owned by <em class="parameter"><code>key</code></em>
 
730
and should not be modified.</p>
 
731
<p></p>
 
732
</div>
 
733
<p class="since">Since 1.24</p>
 
734
</div>
 
735
<hr>
 
736
<div class="refsect2">
 
737
<a name="pango-fc-font-key-get-pattern"></a><h3>pango_fc_font_key_get_pattern ()</h3>
 
738
<pre class="programlisting">const <span class="returnvalue">FcPattern</span> *
 
739
pango_fc_font_key_get_pattern (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontKey" title="PangoFcFontKey"><span class="type">PangoFcFontKey</span></a> *key</code></em>);</pre>
 
740
<p>Gets the fontconfig pattern member of <em class="parameter"><code>key</code></em>
 
741
.</p>
 
742
<div class="refsect3">
 
743
<a name="id-1.4.3.7.17.5"></a><h4>Parameters</h4>
 
744
<div class="informaltable"><table width="100%" border="0">
 
745
<colgroup>
 
746
<col width="150px" class="parameters_name">
 
747
<col class="parameters_description">
 
748
<col width="200px" class="parameters_annotations">
 
749
</colgroup>
 
750
<tbody><tr>
 
751
<td class="parameter_name"><p>key</p></td>
 
752
<td class="parameter_description"><p>the font key</p></td>
 
753
<td class="parameter_annotations"> </td>
 
754
</tr></tbody>
 
755
</table></div>
 
756
</div>
 
757
<div class="refsect3">
 
758
<a name="id-1.4.3.7.17.6"></a><h4>Returns</h4>
 
759
<p> the pattern, which is owned by <em class="parameter"><code>key</code></em>
 
760
and should not be modified.</p>
 
761
<p></p>
 
762
</div>
 
763
<p class="since">Since 1.24</p>
 
764
</div>
 
765
</div>
 
766
<div class="refsect1">
 
767
<a name="PangoFcFontMap.other_details"></a><h2>Types and Values</h2>
102
768
<div class="refsect2">
103
769
<a name="PangoFcFontMap-struct"></a><h3>struct PangoFcFontMap</h3>
104
770
<pre class="programlisting">struct PangoFcFontMap;</pre>
105
 
<p>
106
 
<a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> is a base class for font map implementations
 
771
<p><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> is a base class for font map implementations
107
772
using the Fontconfig and FreeType libraries. To create a new
108
773
backend using Fontconfig and FreeType, you derive from this class
109
774
and implement a <code class="function">new_font()</code> virtual function that creates an
142
807
                                      PangoFcFontKey             *fontkey);
143
808
};
144
809
</pre>
145
 
<p>
146
 
Class structure for <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a>.</p>
147
 
<div class="variablelist"><table border="0" class="variablelist">
 
810
<p>Class structure for <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a>.</p>
 
811
<div class="refsect3">
 
812
<a name="id-1.4.3.8.3.5"></a><h4>Members</h4>
 
813
<div class="informaltable"><table width="100%" border="0">
148
814
<colgroup>
149
 
<col align="left" valign="top">
150
 
<col>
 
815
<col width="300px" class="struct_members_name">
 
816
<col class="struct_members_description">
 
817
<col width="200px" class="struct_members_annotations">
151
818
</colgroup>
152
819
<tbody>
153
820
<tr>
154
 
<td><p><span class="term"><em class="structfield"><code><a name="PangoFcFontMapClass.default-substitute"></a>default_substitute</code></em> ()</span></p></td>
155
 
<td>Substitutes in default values for
 
821
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFcFontMapClass.default-substitute"></a>default_substitute</code></em> ()</p></td>
 
822
<td class="struct_member_description"><p>Substitutes in default values for
156
823
unspecified fields in a <span class="type">FcPattern</span>. This will be called
157
824
prior to creating a font for the pattern. May be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
158
 
Deprecated in favor of <em class="parameter"><code><code class="function">font_key_substitute()</code></code></em>.</td>
 
825
Deprecated in favor of <em class="parameter"><code><code class="function">font_key_substitute()</code></code></em>
 
826
.</p></td>
 
827
<td class="struct_member_annotations"> </td>
159
828
</tr>
160
829
<tr>
161
 
<td><p><span class="term"><em class="structfield"><code><a name="PangoFcFontMapClass.new-font"></a>new_font</code></em> ()</span></p></td>
162
 
<td>Creates a new <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> for the specified
 
830
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFcFontMapClass.new-font"></a>new_font</code></em> ()</p></td>
 
831
<td class="struct_member_description"><p>Creates a new <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> for the specified
163
832
pattern of the appropriate type for this font map. The
164
 
<em class="parameter"><code>pattern</code></em> argument must be passed to the "pattern" property
 
833
<em class="parameter"><code>pattern</code></em>
 
834
argument must be passed to the "pattern" property
165
835
of <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> when you call <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-new"><code class="function">g_object_new()</code></a>. Deprecated
166
 
in favor of <em class="parameter"><code><code class="function">create_font()</code></code></em>.</td>
 
836
in favor of <em class="parameter"><code><code class="function">create_font()</code></code></em>
 
837
.</p></td>
 
838
<td class="struct_member_annotations"> </td>
167
839
</tr>
168
840
<tr>
169
 
<td><p><span class="term"><em class="structfield"><code><a name="PangoFcFontMapClass.get-resolution"></a>get_resolution</code></em> ()</span></p></td>
170
 
<td>Gets the resolution (the scale factor
 
841
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFcFontMapClass.get-resolution"></a>get_resolution</code></em> ()</p></td>
 
842
<td class="struct_member_description"><p>Gets the resolution (the scale factor
171
843
between logical and absolute font sizes) that the backend
172
844
will use for a particular fontmap and context. <em class="parameter"><code>context</code></em>
173
 
may be null.</td>
 
845
may be null.</p></td>
 
846
<td class="struct_member_annotations"> </td>
174
847
</tr>
175
848
<tr>
176
 
<td><p><span class="term"><em class="structfield"><code><a name="PangoFcFontMapClass.context-key-get"></a>context_key_get</code></em> ()</span></p></td>
177
 
<td>Gets an opaque key holding backend
 
849
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFcFontMapClass.context-key-get"></a>context_key_get</code></em> ()</p></td>
 
850
<td class="struct_member_description"><p>Gets an opaque key holding backend
178
851
specific options for the context that will affect
179
 
fonts created by <em class="parameter"><code><code class="function">create_font()</code></code></em>. The result must point to
 
852
fonts created by <em class="parameter"><code><code class="function">create_font()</code></code></em>
 
853
. The result must point to
180
854
persistant storage owned by the fontmap. This key
181
855
is used to index hash tables used to look up fontsets
182
 
and fonts.</td>
 
856
and fonts.</p></td>
 
857
<td class="struct_member_annotations"> </td>
183
858
</tr>
184
859
<tr>
185
 
<td><p><span class="term"><em class="structfield"><code><a name="PangoFcFontMapClass.context-key-copy"></a>context_key_copy</code></em> ()</span></p></td>
186
 
<td>Copies a context key. Pango uses this
 
860
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFcFontMapClass.context-key-copy"></a>context_key_copy</code></em> ()</p></td>
 
861
<td class="struct_member_description"><p>Copies a context key. Pango uses this
187
862
to make a persistant copy of the value returned from
188
 
<em class="parameter"><code>context_key_get</code></em>.</td>
189
 
</tr>
190
 
<tr>
191
 
<td><p><span class="term"><em class="structfield"><code><a name="PangoFcFontMapClass.context-key-free"></a>context_key_free</code></em> ()</span></p></td>
192
 
<td>Frees a context key copied with
193
 
<em class="parameter"><code>context_key_copy</code></em>.</td>
194
 
</tr>
195
 
<tr>
196
 
<td><p><span class="term"><em class="structfield"><code><a name="PangoFcFontMapClass.context-key-hash"></a>context_key_hash</code></em> ()</span></p></td>
197
 
<td>Gets a hash value for a context key</td>
198
 
</tr>
199
 
<tr>
200
 
<td><p><span class="term"><em class="structfield"><code><a name="PangoFcFontMapClass.context-key-equal"></a>context_key_equal</code></em> ()</span></p></td>
201
 
<td>Compares two context keys for equality.</td>
202
 
</tr>
203
 
<tr>
204
 
<td><p><span class="term"><em class="structfield"><code><a name="PangoFcFontMapClass.fontset-key-substitute"></a>fontset_key_substitute</code></em> ()</span></p></td>
205
 
<td>Substitutes in default values for
 
863
<em class="parameter"><code>context_key_get</code></em>
 
864
.</p></td>
 
865
<td class="struct_member_annotations"> </td>
 
866
</tr>
 
867
<tr>
 
868
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFcFontMapClass.context-key-free"></a>context_key_free</code></em> ()</p></td>
 
869
<td class="struct_member_description"><p>Frees a context key copied with
 
870
<em class="parameter"><code>context_key_copy</code></em>
 
871
.</p></td>
 
872
<td class="struct_member_annotations"> </td>
 
873
</tr>
 
874
<tr>
 
875
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFcFontMapClass.context-key-hash"></a>context_key_hash</code></em> ()</p></td>
 
876
<td class="struct_member_description"><p>Gets a hash value for a context key</p></td>
 
877
<td class="struct_member_annotations"> </td>
 
878
</tr>
 
879
<tr>
 
880
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFcFontMapClass.context-key-equal"></a>context_key_equal</code></em> ()</p></td>
 
881
<td class="struct_member_description"><p>Compares two context keys for equality.</p></td>
 
882
<td class="struct_member_annotations"> </td>
 
883
</tr>
 
884
<tr>
 
885
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFcFontMapClass.fontset-key-substitute"></a>fontset_key_substitute</code></em> ()</p></td>
 
886
<td class="struct_member_description"><p>Substitutes in default values for
206
887
unspecified fields in a <span class="type">FcPattern</span>. This will be called
207
888
prior to creating a font for the pattern. May be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
208
 
(Since: 1.24)</td>
 
889
(Since: 1.24)</p></td>
 
890
<td class="struct_member_annotations"> </td>
209
891
</tr>
210
892
<tr>
211
 
<td><p><span class="term"><em class="structfield"><code><a name="PangoFcFontMapClass.create-font"></a>create_font</code></em> ()</span></p></td>
212
 
<td>Creates a new <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> for the specified
 
893
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoFcFontMapClass.create-font"></a>create_font</code></em> ()</p></td>
 
894
<td class="struct_member_description"><p>Creates a new <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> for the specified
213
895
pattern of the appropriate type for this font map using
214
896
information from the font key that is passed in. The
215
 
<em class="parameter"><code>pattern</code></em> member of <em class="parameter"><code>font_key</code></em> can be retrieved using
216
 
<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
 
897
<em class="parameter"><code>pattern</code></em>
 
898
member of <em class="parameter"><code>font_key</code></em>
 
899
can be retrieved using
 
900
<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
217
901
the "pattern" property of <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> when you call
218
902
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-new"><code class="function">g_object_new()</code></a>.  If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, <code class="function">new_font()</code> is used.
219
 
(Since: 1.24)</td>
220
 
</tr>
221
 
</tbody>
222
 
</table></div>
223
 
</div>
224
 
<hr>
225
 
<div class="refsect2">
226
 
<a name="pango-fc-font-map-create-context"></a><h3>pango_fc_font_map_create_context ()</h3>
227
 
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *      pango_fc_font_map_create_context    (<em class="parameter"><code><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> *fcfontmap</code></em>);</pre>
228
 
<div class="warning">
229
 
<h3 class="title">Warning</h3>
230
 
<p><code class="literal">pango_fc_font_map_create_context</code> has been deprecated since version 1.22 and should not be used in newly-written code. Use <a class="link" href="pango-Fonts.html#pango-font-map-create-context" title="pango_font_map_create_context ()"><code class="function">pango_font_map_create_context()</code></a> instead.</p>
231
 
</div>
232
 
<p>
233
 
Creates a new context for this fontmap. This function is intended
234
 
only for backend implementations deriving from <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a>;
235
 
it is possible that a backend will store additional information
236
 
needed for correct operation on the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> after calling
237
 
this function.</p>
238
 
<div class="variablelist"><table border="0" class="variablelist">
239
 
<colgroup>
240
 
<col align="left" valign="top">
241
 
<col>
242
 
</colgroup>
243
 
<tbody>
244
 
<tr>
245
 
<td><p><span class="term"><em class="parameter"><code>fcfontmap</code></em> :</span></p></td>
246
 
<td>a <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a>
247
 
</td>
248
 
</tr>
249
 
<tr>
250
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
251
 
<td>a new <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>
252
 
</td>
253
 
</tr>
254
 
</tbody>
255
 
</table></div>
256
 
<p class="since">Since 1.4</p>
257
 
</div>
258
 
<hr>
259
 
<div class="refsect2">
260
 
<a name="PangoFcDecoderFindFunc"></a><h3>PangoFcDecoderFindFunc ()</h3>
261
 
<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>,
262
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
263
 
<p>
264
 
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>.</p>
265
 
<div class="variablelist"><table border="0" class="variablelist">
266
 
<colgroup>
267
 
<col align="left" valign="top">
268
 
<col>
269
 
</colgroup>
270
 
<tbody>
271
 
<tr>
272
 
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
273
 
<td>a fully resolved <span class="type">FcPattern</span> specifying the font on the system</td>
274
 
</tr>
275
 
<tr>
276
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
277
 
<td>user data 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>
278
 
</td>
279
 
</tr>
280
 
<tr>
281
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
282
 
<td>a new reference to a custom decoder for this pattern,
283
 
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the default decoder handling should be used.</td>
284
 
</tr>
285
 
</tbody>
286
 
</table></div>
287
 
</div>
288
 
<hr>
289
 
<div class="refsect2">
290
 
<a name="pango-fc-font-map-add-decoder-find-func"></a><h3>pango_fc_font_map_add_decoder_find_func ()</h3>
291
 
<pre class="programlisting"><span class="returnvalue">void</span>                pango_fc_font_map_add_decoder_find_func
292
 
                                                        (<em class="parameter"><code><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> *fcfontmap</code></em>,
293
 
                                                         <em class="parameter"><code><a class="link" href="PangoFcFontMap.html#PangoFcDecoderFindFunc" title="PangoFcDecoderFindFunc ()"><span class="type">PangoFcDecoderFindFunc</span></a> findfunc</code></em>,
294
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
295
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> dnotify</code></em>);</pre>
296
 
<p>
297
 
This function saves a callback method in the <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> that
298
 
will be called whenever new fonts are created.  If the
299
 
function returns a <a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a>, that decoder will be used to
300
 
determine both coverage via a <span class="type">FcCharSet</span> and a one-to-one mapping of
301
 
characters to glyphs.  This will allow applications to have
302
 
application-specific encodings for various fonts.</p>
303
 
<div class="variablelist"><table border="0" class="variablelist">
304
 
<colgroup>
305
 
<col align="left" valign="top">
306
 
<col>
307
 
</colgroup>
308
 
<tbody>
309
 
<tr>
310
 
<td><p><span class="term"><em class="parameter"><code>fcfontmap</code></em> :</span></p></td>
311
 
<td>The <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> to add this method to.</td>
312
 
</tr>
313
 
<tr>
314
 
<td><p><span class="term"><em class="parameter"><code>findfunc</code></em> :</span></p></td>
315
 
<td>The <a class="link" href="PangoFcFontMap.html#PangoFcDecoderFindFunc" title="PangoFcDecoderFindFunc ()"><span class="type">PangoFcDecoderFindFunc</span></a> callback function</td>
316
 
</tr>
317
 
<tr>
318
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
319
 
<td>User data.</td>
320
 
</tr>
321
 
<tr>
322
 
<td><p><span class="term"><em class="parameter"><code>dnotify</code></em> :</span></p></td>
323
 
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> callback that will be called when the
324
 
fontmap is finalized and the decoder is released.</td>
325
 
</tr>
326
 
</tbody>
327
 
</table></div>
328
 
<p class="since">Since 1.6</p>
329
 
</div>
330
 
<hr>
331
 
<div class="refsect2">
332
 
<a name="pango-fc-font-map-find-decoder"></a><h3>pango_fc_font_map_find_decoder ()</h3>
333
 
<pre class="programlisting"><a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="returnvalue">PangoFcDecoder</span></a> *    pango_fc_font_map_find_decoder      (<em class="parameter"><code><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> *fcfontmap</code></em>,
334
 
                                                         <em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>);</pre>
335
 
<p>
336
 
Finds the decoder to use for <em class="parameter"><code>pattern</code></em>.  Decoders can be added to
337
 
a font map using <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>.</p>
338
 
<div class="variablelist"><table border="0" class="variablelist">
339
 
<colgroup>
340
 
<col align="left" valign="top">
341
 
<col>
342
 
</colgroup>
343
 
<tbody>
344
 
<tr>
345
 
<td><p><span class="term"><em class="parameter"><code>fcfontmap</code></em> :</span></p></td>
346
 
<td>The <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> to use.</td>
347
 
</tr>
348
 
<tr>
349
 
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
350
 
<td>The <span class="type">FcPattern</span> to find the decoder for.</td>
351
 
</tr>
352
 
<tr>
353
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
354
 
<td>a newly created <a class="link" href="PangoFcDecoder.html" title="PangoFcDecoder"><span class="type">PangoFcDecoder</span></a> object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
355
 
no decoder is set for <em class="parameter"><code>pattern</code></em>.</td>
356
 
</tr>
357
 
</tbody>
358
 
</table></div>
359
 
<p class="since">Since 1.26</p>
360
 
</div>
361
 
<hr>
362
 
<div class="refsect2">
363
 
<a name="pango-fc-font-map-cache-clear"></a><h3>pango_fc_font_map_cache_clear ()</h3>
364
 
<pre class="programlisting"><span class="returnvalue">void</span>                pango_fc_font_map_cache_clear       (<em class="parameter"><code><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> *fcfontmap</code></em>);</pre>
365
 
<p>
366
 
Clear all cached information and fontsets for this font map;
367
 
this should be called whenever there is a change in the
368
 
output of the <code class="function">default_substitute()</code> virtual function of the
369
 
font map, or if fontconfig has been reinitialized to new
370
 
configuration.</p>
371
 
<div class="variablelist"><table border="0" class="variablelist">
372
 
<colgroup>
373
 
<col align="left" valign="top">
374
 
<col>
375
 
</colgroup>
376
 
<tbody><tr>
377
 
<td><p><span class="term"><em class="parameter"><code>fcfontmap</code></em> :</span></p></td>
378
 
<td>a <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a>
379
 
</td>
380
 
</tr></tbody>
381
 
</table></div>
382
 
<p class="since">Since 1.4</p>
383
 
</div>
384
 
<hr>
385
 
<div class="refsect2">
386
 
<a name="pango-fc-font-map-shutdown"></a><h3>pango_fc_font_map_shutdown ()</h3>
387
 
<pre class="programlisting"><span class="returnvalue">void</span>                pango_fc_font_map_shutdown          (<em class="parameter"><code><a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a> *fcfontmap</code></em>);</pre>
388
 
<p>
389
 
Clears all cached information for the fontmap and marks
390
 
all fonts open for the fontmap as dead. (See the <code class="function">shutdown()</code>
391
 
virtual function of <a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a>.) This function might be used
392
 
by a backend when the underlying windowing system for the font
393
 
map exits. This function is only intended to be called
394
 
only for backend implementations deriving from <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a>.</p>
395
 
<div class="variablelist"><table border="0" class="variablelist">
396
 
<colgroup>
397
 
<col align="left" valign="top">
398
 
<col>
399
 
</colgroup>
400
 
<tbody><tr>
401
 
<td><p><span class="term"><em class="parameter"><code>fcfontmap</code></em> :</span></p></td>
402
 
<td>a <a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap"><span class="type">PangoFcFontMap</span></a>
403
 
</td>
404
 
</tr></tbody>
405
 
</table></div>
406
 
<p class="since">Since 1.4</p>
407
 
</div>
408
 
<hr>
409
 
<div class="refsect2">
410
 
<a name="pango-fc-font-description-from-pattern"></a><h3>pango_fc_font_description_from_pattern ()</h3>
411
 
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_fc_font_description_from_pattern
412
 
                                                        (<em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>,
413
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> include_size</code></em>);</pre>
414
 
<p>
415
 
Creates a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> that matches the specified
416
 
Fontconfig pattern as closely as possible. Many possible Fontconfig
417
 
pattern values, such as <code class="literal">FC_RASTERIZER</code> or <code class="literal">FC_DPI</code>, don't make sense in
418
 
the context of <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, so will be ignored.</p>
419
 
<div class="variablelist"><table border="0" class="variablelist">
420
 
<colgroup>
421
 
<col align="left" valign="top">
422
 
<col>
423
 
</colgroup>
424
 
<tbody>
425
 
<tr>
426
 
<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
427
 
<td>a <span class="type">FcPattern</span>
428
 
</td>
429
 
</tr>
430
 
<tr>
431
 
<td><p><span class="term"><em class="parameter"><code>include_size</code></em> :</span></p></td>
432
 
<td>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the pattern will include the size from
433
 
the <em class="parameter"><code>pattern</code></em>; otherwise the resulting pattern will be unsized.
434
 
(only <code class="literal">FC_SIZE</code> is examined, not <code class="literal">FC_PIXEL_SIZE</code>)</td>
435
 
</tr>
436
 
<tr>
437
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
438
 
<td>a new <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>. Free with
439
 
<a class="link" href="pango-Fonts.html#pango-font-description-free" title="pango_font_description_free ()"><code class="function">pango_font_description_free()</code></a>.</td>
440
 
</tr>
441
 
</tbody>
442
 
</table></div>
443
 
<p class="since">Since 1.4</p>
 
903
(Since: 1.24)</p></td>
 
904
<td class="struct_member_annotations"> </td>
 
905
</tr>
 
906
</tbody>
 
907
</table></div>
 
908
</div>
444
909
</div>
445
910
<hr>
446
911
<div class="refsect2">
447
912
<a name="PANGO-FC-FONT-FEATURES:CAPS"></a><h3>PANGO_FC_FONT_FEATURES</h3>
448
913
<pre class="programlisting">#define PANGO_FC_FONT_FEATURES "fontfeatures"
449
914
</pre>
450
 
<p>
451
 
String representing a fontconfig property name that Pango reads from font
 
915
<p>String representing a fontconfig property name that Pango reads from font
452
916
patterns to populate list of OpenType features to be enabled for the font
453
917
by default.</p>
454
 
<p>
455
 
The property will have a number of string elements, each of which is the
 
918
<p>The property will have a number of string elements, each of which is the
456
919
OpenType feature tag of one feature to enable.</p>
457
 
<p>
458
 
This is equivalent to FC_FONT_FEATURES in versions of fontconfig that have that.</p>
 
920
<p>This is equivalent to FC_FONT_FEATURES in versions of fontconfig that have that.</p>
459
921
<p class="since">Since 1.34</p>
460
922
</div>
461
923
<hr>
463
925
<a name="PANGO-FC-GRAVITY:CAPS"></a><h3>PANGO_FC_GRAVITY</h3>
464
926
<pre class="programlisting">#define PANGO_FC_GRAVITY "pangogravity"
465
927
</pre>
466
 
<p>
467
 
String representing a fontconfig property name that Pango sets on any
468
 
fontconfig pattern it passes to fontconfig if a <a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> other
 
928
<p>String representing a fontconfig property name that Pango sets on any
 
929
fontconfig pattern it passes to fontconfig if a <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> other
469
930
than <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-SOUTH:CAPS"><code class="literal">PANGO_GRAVITY_SOUTH</code></a> is desired.</p>
470
 
<p>
471
 
The property will have a <a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> value as a string, like "east".
 
931
<p>The property will have a <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> value as a string, like "east".
472
932
This can be used to write fontconfig configuration rules to choose
473
933
different fonts for horizontal and vertical writing directions.</p>
474
934
<p class="since">Since 1.20</p>
478
938
<a name="PANGO-FC-VERSION:CAPS"></a><h3>PANGO_FC_VERSION</h3>
479
939
<pre class="programlisting">#define PANGO_FC_VERSION "pangoversion"
480
940
</pre>
481
 
<p>
482
 
String representing a fontconfig property name that Pango sets on any
 
941
<p>String representing a fontconfig property name that Pango sets on any
483
942
fontconfig pattern it passes to fontconfig.</p>
484
 
<p>
485
 
The property will have an integer value equal to what
486
 
<a class="link" href="pango-Version-Checking.html#pango-version" title="pango_version ()"><code class="function">pango_version()</code></a> returns.
 
943
<p>The property will have an integer value equal to what
 
944
<a class="link" href="pango-Version-Checking.html#pango-version" title="pango_version ()"><code class="function">pango_version()</code></a> returns.
487
945
This can be used to write fontconfig configuration rules that only affect
488
946
certain pango versions (or only pango-using applications, or only
489
947
non-pango-using applications).</p>
494
952
<a name="PANGO-FC-PRGNAME:CAPS"></a><h3>PANGO_FC_PRGNAME</h3>
495
953
<pre class="programlisting">#define PANGO_FC_PRGNAME "prgname"
496
954
</pre>
497
 
<p>
498
 
String representing a fontconfig property name that Pango sets on any
 
955
<p>String representing a fontconfig property name that Pango sets on any
499
956
fontconfig pattern it passes to fontconfig.</p>
500
 
<p>
501
 
The property will have a string equal to what
 
957
<p>The property will have a string equal to what
502
958
<a href="http://library.gnome.org/devel/glib/unstable/glib-Miscellaneous-Utility-Functions.html#g-get-prgname"><code class="function">g_get_prgname()</code></a> returns.
503
959
This can be used to write fontconfig configuration rules that only affect
504
960
certain applications.</p>
505
 
<p>
506
 
This is equivalent to FC_PRGNAME in versions of fontconfig that have that.</p>
 
961
<p>This is equivalent to FC_PRGNAME in versions of fontconfig that have that.</p>
507
962
<p class="since">Since 1.24</p>
508
963
</div>
509
964
<hr>
510
965
<div class="refsect2">
511
966
<a name="PangoFcFontsetKey"></a><h3>PangoFcFontsetKey</h3>
512
967
<pre class="programlisting">typedef struct _PangoFcFontsetKey PangoFcFontsetKey;</pre>
513
 
<p>
514
 
An opaque structure containing all the information needed for
 
968
<p>An opaque structure containing all the information needed for
515
969
loading a fontset with the PangoFc fontmap.</p>
516
970
<p class="since">Since 1.24</p>
517
971
</div>
518
972
<hr>
519
973
<div class="refsect2">
520
 
<a name="pango-fc-fontset-key-get-context-key"></a><h3>pango_fc_fontset_key_get_context_key ()</h3>
521
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            pango_fc_fontset_key_get_context_key
522
 
                                                        (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);</pre>
523
 
<p>
524
 
Gets the context key member of <em class="parameter"><code>key</code></em>.</p>
525
 
<div class="variablelist"><table border="0" class="variablelist">
526
 
<colgroup>
527
 
<col align="left" valign="top">
528
 
<col>
529
 
</colgroup>
530
 
<tbody>
531
 
<tr>
532
 
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
533
 
<td>the font key</td>
534
 
</tr>
535
 
<tr>
536
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
537
 
<td>the context key, which is owned by <em class="parameter"><code>key</code></em> and should not be modified.</td>
538
 
</tr>
539
 
</tbody>
540
 
</table></div>
541
 
<p class="since">Since 1.24</p>
542
 
</div>
543
 
<hr>
544
 
<div class="refsect2">
545
 
<a name="pango-fc-fontset-key-get-description"></a><h3>pango_fc_fontset_key_get_description ()</h3>
546
 
<pre class="programlisting">const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_fc_fontset_key_get_description
547
 
                                                        (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);</pre>
548
 
<p>
549
 
Gets the font description of <em class="parameter"><code>key</code></em>.</p>
550
 
<div class="variablelist"><table border="0" class="variablelist">
551
 
<colgroup>
552
 
<col align="left" valign="top">
553
 
<col>
554
 
</colgroup>
555
 
<tbody>
556
 
<tr>
557
 
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
558
 
<td>the fontset key</td>
559
 
</tr>
560
 
<tr>
561
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
562
 
<td>the font description, which is owned by <em class="parameter"><code>key</code></em> and should not be modified.</td>
563
 
</tr>
564
 
</tbody>
565
 
</table></div>
566
 
<p class="since">Since 1.24</p>
567
 
</div>
568
 
<hr>
569
 
<div class="refsect2">
570
 
<a name="pango-fc-fontset-key-get-language"></a><h3>pango_fc_fontset_key_get_language ()</h3>
571
 
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *     pango_fc_fontset_key_get_language   (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);</pre>
572
 
<p>
573
 
Gets the language member of <em class="parameter"><code>key</code></em>.</p>
574
 
<div class="variablelist"><table border="0" class="variablelist">
575
 
<colgroup>
576
 
<col align="left" valign="top">
577
 
<col>
578
 
</colgroup>
579
 
<tbody>
580
 
<tr>
581
 
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
582
 
<td>the fontset key</td>
583
 
</tr>
584
 
<tr>
585
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
586
 
<td>the language</td>
587
 
</tr>
588
 
</tbody>
589
 
</table></div>
590
 
<p class="since">Since 1.24</p>
591
 
</div>
592
 
<hr>
593
 
<div class="refsect2">
594
 
<a name="pango-fc-fontset-key-get-matrix"></a><h3>pango_fc_fontset_key_get_matrix ()</h3>
595
 
<pre class="programlisting">const <a class="link" href="pango-Glyph-Storage.html#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>
596
 
<p>
597
 
Gets the matrix member of <em class="parameter"><code>key</code></em>.</p>
598
 
<div class="variablelist"><table border="0" class="variablelist">
599
 
<colgroup>
600
 
<col align="left" valign="top">
601
 
<col>
602
 
</colgroup>
603
 
<tbody>
604
 
<tr>
605
 
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
606
 
<td>the fontset key</td>
607
 
</tr>
608
 
<tr>
609
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
610
 
<td>the matrix, which is owned by <em class="parameter"><code>key</code></em> and should not be modified.</td>
611
 
</tr>
612
 
</tbody>
613
 
</table></div>
614
 
<p class="since">Since 1.24</p>
615
 
</div>
616
 
<hr>
617
 
<div class="refsect2">
618
 
<a name="pango-fc-fontset-key-get-absolute-size"></a><h3>pango_fc_fontset_key_get_absolute_size ()</h3>
619
 
<pre class="programlisting"><span class="returnvalue">double</span>              pango_fc_fontset_key_get_absolute_size
620
 
                                                        (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);</pre>
621
 
<p>
622
 
Gets the absolute font size of <em class="parameter"><code>key</code></em> in Pango units.  This is adjusted
623
 
for both resolution and transformation matrix.</p>
624
 
<div class="variablelist"><table border="0" class="variablelist">
625
 
<colgroup>
626
 
<col align="left" valign="top">
627
 
<col>
628
 
</colgroup>
629
 
<tbody>
630
 
<tr>
631
 
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
632
 
<td>the fontset key</td>
633
 
</tr>
634
 
<tr>
635
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
636
 
<td>the pixel size of <em class="parameter"><code>key</code></em>.</td>
637
 
</tr>
638
 
</tbody>
639
 
</table></div>
640
 
<p class="since">Since 1.24</p>
641
 
</div>
642
 
<hr>
643
 
<div class="refsect2">
644
 
<a name="pango-fc-fontset-key-get-resolution"></a><h3>pango_fc_fontset_key_get_resolution ()</h3>
645
 
<pre class="programlisting"><span class="returnvalue">double</span>              pango_fc_fontset_key_get_resolution (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontsetKey" title="PangoFcFontsetKey"><span class="type">PangoFcFontsetKey</span></a> *key</code></em>);</pre>
646
 
<p>
647
 
Gets the resolution of <em class="parameter"><code>key</code></em></p>
648
 
<div class="variablelist"><table border="0" class="variablelist">
649
 
<colgroup>
650
 
<col align="left" valign="top">
651
 
<col>
652
 
</colgroup>
653
 
<tbody>
654
 
<tr>
655
 
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
656
 
<td>the fontset key</td>
657
 
</tr>
658
 
<tr>
659
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
660
 
<td>the resolution of <em class="parameter"><code>key</code></em>
661
 
</td>
662
 
</tr>
663
 
</tbody>
664
 
</table></div>
665
 
<p class="since">Since 1.24</p>
666
 
</div>
667
 
<hr>
668
 
<div class="refsect2">
669
974
<a name="PangoFcFontKey"></a><h3>PangoFcFontKey</h3>
670
975
<pre class="programlisting">typedef struct _PangoFcFontKey PangoFcFontKey;</pre>
671
 
<p>
672
 
An opaque structure containing all the information needed for
 
976
<p>An opaque structure containing all the information needed for
673
977
loading a font with the PangoFc fontmap.</p>
674
978
<p class="since">Since 1.24</p>
675
979
</div>
676
 
<hr>
677
 
<div class="refsect2">
678
 
<a name="pango-fc-font-key-get-context-key"></a><h3>pango_fc_font_key_get_context_key ()</h3>
679
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/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>
680
 
<p>
681
 
Gets the context key member of <em class="parameter"><code>key</code></em>.</p>
682
 
<div class="variablelist"><table border="0" class="variablelist">
683
 
<colgroup>
684
 
<col align="left" valign="top">
685
 
<col>
686
 
</colgroup>
687
 
<tbody>
688
 
<tr>
689
 
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
690
 
<td>the font key</td>
691
 
</tr>
692
 
<tr>
693
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
694
 
<td>the context key, which is owned by <em class="parameter"><code>key</code></em> and should not be modified.</td>
695
 
</tr>
696
 
</tbody>
697
 
</table></div>
698
 
<p class="since">Since 1.24</p>
699
 
</div>
700
 
<hr>
701
 
<div class="refsect2">
702
 
<a name="pango-fc-font-key-get-matrix"></a><h3>pango_fc_font_key_get_matrix ()</h3>
703
 
<pre class="programlisting">const <a class="link" href="pango-Glyph-Storage.html#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>
704
 
<p>
705
 
Gets the matrix member of <em class="parameter"><code>key</code></em>.</p>
706
 
<div class="variablelist"><table border="0" class="variablelist">
707
 
<colgroup>
708
 
<col align="left" valign="top">
709
 
<col>
710
 
</colgroup>
711
 
<tbody>
712
 
<tr>
713
 
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
714
 
<td>the font key</td>
715
 
</tr>
716
 
<tr>
717
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
718
 
<td>the matrix, which is owned by <em class="parameter"><code>key</code></em> and should not be modified.</td>
719
 
</tr>
720
 
</tbody>
721
 
</table></div>
722
 
<p class="since">Since 1.24</p>
723
 
</div>
724
 
<hr>
725
 
<div class="refsect2">
726
 
<a name="pango-fc-font-key-get-pattern"></a><h3>pango_fc_font_key_get_pattern ()</h3>
727
 
<pre class="programlisting">const <span class="returnvalue">FcPattern</span> *   pango_fc_font_key_get_pattern       (<em class="parameter"><code>const <a class="link" href="PangoFcFontMap.html#PangoFcFontKey" title="PangoFcFontKey"><span class="type">PangoFcFontKey</span></a> *key</code></em>);</pre>
728
 
<p>
729
 
Gets the fontconfig pattern member of <em class="parameter"><code>key</code></em>.</p>
730
 
<div class="variablelist"><table border="0" class="variablelist">
731
 
<colgroup>
732
 
<col align="left" valign="top">
733
 
<col>
734
 
</colgroup>
735
 
<tbody>
736
 
<tr>
737
 
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
738
 
<td>the font key</td>
739
 
</tr>
740
 
<tr>
741
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
742
 
<td>the pattern, which is owned by <em class="parameter"><code>key</code></em> and should not be modified.</td>
743
 
</tr>
744
 
</tbody>
745
 
</table></div>
746
 
<p class="since">Since 1.24</p>
747
 
</div>
748
980
</div>
749
981
<div class="refsect1">
750
982
<a name="PangoFcFontMap.see-also"></a><h2>See Also</h2>
764
996
</div>
765
997
<div class="footer">
766
998
<hr>
767
 
          Generated by GTK-Doc V1.19.1</div>
 
999
          Generated by GTK-Doc V1.20.1</div>
768
1000
</body>
769
1001
</html>
 
 
b'\\ No newline at end of file'