~ubuntu-branches/ubuntu/karmic/pango1.0/karmic-security

« back to all changes in this revision

Viewing changes to docs/html/PangoFcFont.html

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2007-12-18 21:11:37 UTC
  • mfrom: (1.2.44 upstream)
  • Revision ID: james.westby@ubuntu.com-20071218211137-0ibmwreimvxf3cp1
Tags: 1.19.2-1ubuntu1
* Sync with Debian; Ubuntu changes are:
  - Add patch 30_anymetrics, turns on FC_ANY_METRICS whenever looking up
    fonts with fontconfig; lets fontconfig's configuration know that we
    don't care about getting a font with exactly the same shape as the
    family we asked for and fixes (eg) a firefox vs. evince font metrics
    ugliness issue.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
<th width="100%" align="center">Pango Reference Manual</th>
38
38
<td><a accesskey="n" href="PangoFcDecoder.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
39
39
</tr>
40
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3208351" class="shortcut">Top</a>
41
 
                  &#160;|&#160;
42
 
                  <a href="#id3208624" class="shortcut">Description</a>
43
 
                  &#160;|&#160;
44
 
                  <a href="#id3208550" class="shortcut">Object Hierarchy</a>
45
 
                  &#160;|&#160;
46
 
                  <a href="#id3208589" class="shortcut">Properties</a></nobr></td></tr>
 
40
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3225389" class="shortcut">Top</a>
 
41
                  &#160;|&#160;
 
42
                  <a href="#id3225661" class="shortcut">Description</a>
 
43
                  &#160;|&#160;
 
44
                  <a href="#id3225588" class="shortcut">Object Hierarchy</a>
 
45
                  &#160;|&#160;
 
46
                  <a href="#id3225627" class="shortcut">Properties</a></nobr></td></tr>
47
47
</table>
48
48
<div class="refentry" lang="en">
49
49
<a name="PangoFcFont"></a><div class="titlepage"></div>
50
50
<div class="refnamediv"><table width="100%"><tr>
51
51
<td valign="top">
52
52
<h2>
53
 
<a name="id3208351"></a><span class="refentrytitle">PangoFcFont</span>
 
53
<a name="id3225389"></a><span class="refentrytitle">PangoFcFont</span>
54
54
</h2>
55
55
<p>PangoFcFont &#8212; Base font class for Fontconfig-based backends</p>
56
56
</td>
90
90
</pre>
91
91
</div>
92
92
<div class="refsect1" lang="en">
93
 
<a name="id3208550"></a><h2>Object Hierarchy</h2>
 
93
<a name="id3225588"></a><h2>Object Hierarchy</h2>
94
94
<pre class="synopsis">
95
95
 
96
96
  <a
102
102
</pre>
103
103
</div>
104
104
<div class="refsect1" lang="en">
105
 
<a name="id3208589"></a><h2>Properties</h2>
 
105
<a name="id3225627"></a><h2>Properties</h2>
106
106
<pre class="synopsis">
107
107
 
108
108
  "<a class="link" href="PangoFcFont.html#PangoFcFont--pattern">pattern</a>"                  <a
111
111
</pre>
112
112
</div>
113
113
<div class="refsect1" lang="en">
114
 
<a name="id3208624"></a><h2>Description</h2>
 
114
<a name="id3225661"></a><h2>Description</h2>
115
115
<p>
116
116
<a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> is a base class for font implementation using the
117
117
Fontconfig and FreeType libraries. It is used in the
124
124
</p>
125
125
</div>
126
126
<div class="refsect1" lang="en">
127
 
<a name="id3208667"></a><h2>Details</h2>
 
127
<a name="id3225704"></a><h2>Details</h2>
128
128
<div class="refsect2" lang="en">
129
 
<a name="id3208677"></a><h3>
 
129
<a name="id3225715"></a><h3>
130
130
<a name="PangoFcFont-struct"></a>PangoFcFont</h3>
131
 
<a class="indexterm" name="id3208690"></a><pre class="programlisting">typedef struct _PangoFcFont PangoFcFont;</pre>
 
131
<a class="indexterm" name="id3225727"></a><pre class="programlisting">typedef struct _PangoFcFont PangoFcFont;</pre>
132
132
<p>
133
133
<a class="link" href="PangoFcFont.html" title="PangoFcFont"><span class="type">PangoFcFont</span></a> is a base class for font implementations
134
134
using the Fontconfig and FreeType libraries and is used in
142
142
</div>
143
143
<hr>
144
144
<div class="refsect2" lang="en">
145
 
<a name="id3208758"></a><h3>
 
145
<a name="id3225796"></a><h3>
146
146
<a name="PangoFcFontClass"></a>PangoFcFontClass</h3>
147
 
<a class="indexterm" name="id3208771"></a><pre class="programlisting">typedef struct {
 
147
<a class="indexterm" name="id3225808"></a><pre class="programlisting">typedef struct {
148
148
  FT_Face    (*lock_face)         (PangoFcFont      *font);
149
149
  void       (*unlock_face)       (PangoFcFont      *font);
150
150
  gboolean   (*has_char)          (PangoFcFont      *font,
216
216
</div>
217
217
<hr>
218
218
<div class="refsect2" lang="en">
219
 
<a name="id3208939"></a><h3>
 
219
<a name="id3225976"></a><h3>
220
220
<a name="PANGO-RENDER-TYPE-FC:CAPS"></a>PANGO_RENDER_TYPE_FC</h3>
221
 
<a class="indexterm" name="id3208952"></a><pre class="programlisting">#define PANGO_RENDER_TYPE_FC "PangoRenderFc"
 
221
<a class="indexterm" name="id3225990"></a><pre class="programlisting">#define PANGO_RENDER_TYPE_FC "PangoRenderFc"
222
222
</pre>
223
223
<p>
224
224
A string constant used to identify shape engines that work
230
230
</div>
231
231
<hr>
232
232
<div class="refsect2" lang="en">
233
 
<a name="id3208987"></a><h3>
 
233
<a name="id3226024"></a><h3>
234
234
<a name="pango-fc-font-lock-face"></a>pango_fc_font_lock_face ()</h3>
235
 
<a class="indexterm" name="id3209003"></a><pre class="programlisting">FT_Face             pango_fc_font_lock_face             (<a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a> *font);</pre>
 
235
<a class="indexterm" name="id3226040"></a><pre class="programlisting">FT_Face             pango_fc_font_lock_face             (<a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a> *font);</pre>
236
236
<p>
237
237
Gets the FreeType <span class="type">FT_Face</span> associated with a font,
238
238
This face will be kept around until you call
261
261
</div>
262
262
<hr>
263
263
<div class="refsect2" lang="en">
264
 
<a name="id3209103"></a><h3>
 
264
<a name="id3226140"></a><h3>
265
265
<a name="pango-fc-font-unlock-face"></a>pango_fc_font_unlock_face ()</h3>
266
 
<a class="indexterm" name="id3209118"></a><pre class="programlisting">void                pango_fc_font_unlock_face           (<a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a> *font);</pre>
 
266
<a class="indexterm" name="id3226156"></a><pre class="programlisting">void                pango_fc_font_unlock_face           (<a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a> *font);</pre>
267
267
<p>
268
268
Releases a font previously obtained with
269
269
<a class="link" href="PangoFcFont.html#pango-fc-font-lock-face"><code class="function">pango_fc_font_lock_face()</code></a>.</p>
283
283
</div>
284
284
<hr>
285
285
<div class="refsect2" lang="en">
286
 
<a name="id3209193"></a><h3>
 
286
<a name="id3226230"></a><h3>
287
287
<a name="pango-fc-font-has-char"></a>pango_fc_font_has_char ()</h3>
288
 
<a class="indexterm" name="id3209209"></a><pre class="programlisting"><a
 
288
<a class="indexterm" name="id3226246"></a><pre class="programlisting"><a
289
289
href="../glib/glib-Basic-Types.html#gboolean"
290
290
>gboolean</a>            pango_fc_font_has_char              (<a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a> *font,
291
291
                                                         <a
324
324
</div>
325
325
<hr>
326
326
<div class="refsect2" lang="en">
327
 
<a name="id3209333"></a><h3>
 
327
<a name="id3226371"></a><h3>
328
328
<a name="pango-fc-font-get-glyph"></a>pango_fc_font_get_glyph ()</h3>
329
 
<a class="indexterm" name="id3209349"></a><pre class="programlisting"><a
 
329
<a class="indexterm" name="id3226386"></a><pre class="programlisting"><a
330
330
href="../glib/glib-Basic-Types.html#guint"
331
331
>guint</a>               pango_fc_font_get_glyph             (<a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a> *font,
332
332
                                                         <a
366
366
</div>
367
367
<hr>
368
368
<div class="refsect2" lang="en">
369
 
<a name="id3209465"></a><h3>
 
369
<a name="id3226502"></a><h3>
370
370
<a name="pango-fc-font-get-unknown-glyph"></a>pango_fc_font_get_unknown_glyph ()</h3>
371
 
<a class="indexterm" name="id3209481"></a><a class="indexterm" name="id3209490"></a><pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph">PangoGlyph</a>          pango_fc_font_get_unknown_glyph     (<a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a> *font,
 
371
<a class="indexterm" name="id3226519"></a><a class="indexterm" name="id3226527"></a><pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph">PangoGlyph</a>          pango_fc_font_get_unknown_glyph     (<a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a> *font,
372
372
                                                         <a
373
373
href="../glib/glib-Unicode-Manipulation.html#gunichar"
374
374
>gunichar</a> wc);</pre>
411
411
</div>
412
412
<hr>
413
413
<div class="refsect2" lang="en">
414
 
<a name="id3209625"></a><h3>
 
414
<a name="id3226662"></a><h3>
415
415
<a name="pango-fc-font-kern-glyphs"></a>pango_fc_font_kern_glyphs ()</h3>
416
 
<a class="indexterm" name="id3209641"></a><pre class="programlisting">void                pango_fc_font_kern_glyphs           (<a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a> *font,
 
416
<a class="indexterm" name="id3226678"></a><pre class="programlisting">void                pango_fc_font_kern_glyphs           (<a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a> *font,
417
417
                                                         <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString">PangoGlyphString</a> *glyphs);</pre>
418
418
<p>
419
419
Adjust each adjacent pair of glyphs in <em class="parameter"><code>glyphs</code></em> according to
441
441
</div>
442
442
</div>
443
443
<div class="refsect1" lang="en">
444
 
<a name="id3209748"></a><h2>Property Details</h2>
 
444
<a name="id3226785"></a><h2>Property Details</h2>
445
445
<div class="refsect2" lang="en">
446
 
<a name="id3209759"></a><h3>
 
446
<a name="id3226796"></a><h3>
447
447
<a name="PangoFcFont--pattern"></a>The "<code class="literal">pattern</code>" property</h3>
448
 
<a class="indexterm" name="id3209775"></a><pre class="programlisting">  "pattern"                  <a
 
448
<a class="indexterm" name="id3226813"></a><pre class="programlisting">  "pattern"                  <a
449
449
href="../glib/glib-Basic-Types.html#gpointer"
450
450
>gpointer</a>              : Write / Construct Only</pre>
451
451
<p>The fontconfig pattern for this font.</p>
452
452
</div>
453
453
</div>
454
454
<div class="refsect1" lang="en">
455
 
<a name="id3209800"></a><h2>See Also</h2>
 
455
<a name="id3226837"></a><h2>See Also</h2>
456
456
<p>
457
457
</p>
458
458
<div class="variablelist"><table border="0">