Commits

Akira TAGOH  committed 19d9a66

Add a missing file

  • Participants
  • Parent commits bd4f6f4
  • Branches gh-pages

Comments (0)

Files changed (1)

File docs/libeasyfc-Fonts.html

+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Fonts</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<link rel="home" href="index.html" title="libeasyfc Documentation">
+<link rel="up" href="ch01.html" title="libeasyfc API References">
+<link rel="prev" href="libeasyfc-ezfc-error-t.html" title="ezfc_error_t">
+<link rel="next" href="libeasyfc-Utilities.html" title="Utilities">
+<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
+<tr valign="middle">
+<td><a accesskey="p" href="libeasyfc-ezfc-error-t.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
+<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
+<th width="100%" align="center">libeasyfc Documentation</th>
+<td><a accesskey="n" href="libeasyfc-Utilities.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+</tr>
+<tr><td colspan="5" class="shortcuts">
+<a href="#libeasyfc-Fonts.synopsis" class="shortcut">Top</a>
+                   | 
+                  <a href="#libeasyfc-Fonts.description" class="shortcut">Description</a>
+</td></tr>
+</table>
+<div class="refentry">
+<a name="libeasyfc-Fonts"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="libeasyfc-Fonts.top_of_page"></a>Fonts</span></h2>
+<p>Fonts — A collection of the functions for fonts</p>
+</td>
+<td valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsynopsisdiv">
+<a name="libeasyfc-Fonts.synopsis"></a><h2>Synopsis</h2>
+<pre class="synopsis"><span class="returnvalue">void</span>                <a class="link" href="libeasyfc-Fonts.html#ezfc-font-check-existence" title="ezfc_font_check_existence ()">ezfc_font_check_existence</a>           (<em class="parameter"><code><a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>,
+                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> flag</code></em>);
+<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="libeasyfc-Fonts.html#ezfc-font-get-alias-name-from-pattern" title="ezfc_font_get_alias_name_from_pattern ()">ezfc_font_get_alias_name_from_pattern</a>
+                                                        (<em class="parameter"><code>const <span class="type">FcPattern</span> *pattern</code></em>);
+const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="libeasyfc-Fonts.html#ezfc-font-get-family" title="ezfc_font_get_family ()">ezfc_font_get_family</a>                (<em class="parameter"><code><a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);
+<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="libeasyfc-Fonts.html#ezfc-font-get-list" title="ezfc_font_get_list ()">ezfc_font_get_list</a>                  (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *language</code></em>,
+                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *alias_name</code></em>,
+                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> localized_font_name</code></em>);
+<span class="returnvalue">FcPattern</span> *         <a class="link" href="libeasyfc-Fonts.html#ezfc-font-get-pattern" title="ezfc_font_get_pattern ()">ezfc_font_get_pattern</a>               (<em class="parameter"><code><a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);
+<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="libeasyfc-Fonts.html#ezfc-font-get-pattern-list" title="ezfc_font_get_pattern_list ()">ezfc_font_get_pattern_list</a>          (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *language</code></em>,
+                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *alias_name</code></em>);
+<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libeasyfc-Fonts.html#ezfc-font-is-alias-font" title="ezfc_font_is_alias_font ()">ezfc_font_is_alias_font</a>             (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *alias_name</code></em>);
+<a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="returnvalue">ezfc_font_t</span></a> *       <a class="link" href="libeasyfc-Fonts.html#ezfc-font-new" title="ezfc_font_new ()">ezfc_font_new</a>                       (<em class="parameter"><code><span class="type">void</span></code></em>);
+<a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="returnvalue">ezfc_font_t</span></a> *       <a class="link" href="libeasyfc-Fonts.html#ezfc-font-ref" title="ezfc_font_ref ()">ezfc_font_ref</a>                       (<em class="parameter"><code><a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);
+<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libeasyfc-Fonts.html#ezfc-font-set-family" title="ezfc_font_set_family ()">ezfc_font_set_family</a>                (<em class="parameter"><code><a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>,
+                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *font_name</code></em>,
+                                                         <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
+<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libeasyfc-Fonts.html#ezfc-font-set-pattern" title="ezfc_font_set_pattern ()">ezfc_font_set_pattern</a>               (<em class="parameter"><code><a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>,
+                                                         <em class="parameter"><code>const <span class="type">FcPattern</span> *pattern</code></em>,
+                                                         <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
+                    <a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t">ezfc_font_t</a>;
+<span class="returnvalue">void</span>                <a class="link" href="libeasyfc-Fonts.html#ezfc-font-unref" title="ezfc_font_unref ()">ezfc_font_unref</a>                     (<em class="parameter"><code><a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);
+</pre>
+</div>
+<div class="refsect1">
+<a name="libeasyfc-Fonts.description"></a><h2>Description</h2>
+<p>
+This collects some functions related to fonts.
+</p>
+</div>
+<div class="refsect1">
+<a name="libeasyfc-Fonts.details"></a><h2>Details</h2>
+<div class="refsect2">
+<a name="ezfc-font-check-existence"></a><h3>ezfc_font_check_existence ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>                ezfc_font_check_existence           (<em class="parameter"><code><a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>,
+                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> flag</code></em>);</pre>
+<p>
+Set a flag whether checking the font existence when invoking
+<a class="link" href="libeasyfc-Fonts.html#ezfc-font-set-family" title="ezfc_font_set_family ()"><code class="function">ezfc_font_set_family()</code></a>.
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
+<td>a <a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</td>
+</tr>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>flag</code></em> :</span></p></td>
+<td>a boolean value.</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="ezfc-font-get-alias-name-from-pattern"></a><h3>ezfc_font_get_alias_name_from_pattern ()</h3>
+<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             ezfc_font_get_alias_name_from_pattern
+                                                        (<em class="parameter"><code>const <span class="type">FcPattern</span> *pattern</code></em>);</pre>
+<p>
+Analize <em class="parameter"><code>pattern</code></em> and returns a alias name string according to the result.
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
+<td>a <span class="type">FcPattern</span>.</td>
+</tr>
+<tr>
+<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
+<td>a <a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> containing
+a static string for the alias name. <span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="ezfc-font-get-family"></a><h3>ezfc_font_get_family ()</h3>
+<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       ezfc_font_get_family                (<em class="parameter"><code><a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);</pre>
+<p>
+Obtains the font family name in <em class="parameter"><code>font</code></em>.
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
+<td>a <a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</td>
+</tr>
+<tr>
+<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
+<td>the font name.</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="ezfc-font-get-list"></a><h3>ezfc_font_get_list ()</h3>
+<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             ezfc_font_get_list                  (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *language</code></em>,
+                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *alias_name</code></em>,
+                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> localized_font_name</code></em>);</pre>
+<p>
+Obtains the fonts list being assigned to <em class="parameter"><code>alias_name</code></em> for <em class="parameter"><code>language</code></em>.
+</p>
+<p>
+Note that <em class="parameter"><code>localized_font_name</code></em> doesn't take effect yet. this is just
+a reservation for future improvement.
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
+<td>the language name fontconfig can deal with. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
+</td>
+</tr>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>alias_name</code></em> :</span></p></td>
+<td>the alias name to obtain the fonts list for. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
+</td>
+</tr>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>localized_font_name</code></em> :</span></p></td>
+<td>
+<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to include the localized font name if available,
+<a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for English font name only.</td>
+</tr>
+<tr>
+<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
+<td>a <a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> contains the font family name.
+if no valid families, <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="ezfc-font-get-pattern"></a><h3>ezfc_font_get_pattern ()</h3>
+<pre class="programlisting"><span class="returnvalue">FcPattern</span> *         ezfc_font_get_pattern               (<em class="parameter"><code><a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);</pre>
+<p>
+Obtains <span class="type">FcPattern</span> in <a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
+<td>a <a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</td>
+</tr>
+<tr>
+<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
+<td>a duplicate of <span class="type">FcPattern</span> in the instance. it has to be freed.
+<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>font</code></em> doesn't have any font pattern.</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="ezfc-font-get-pattern-list"></a><h3>ezfc_font_get_pattern_list ()</h3>
+<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             ezfc_font_get_pattern_list          (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *language</code></em>,
+                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *alias_name</code></em>);</pre>
+<p>
+Obtains <span class="type">FcPattern</span> list being assigned to <em class="parameter"><code>alias_name</code></em> for <em class="parameter"><code>language</code></em>.
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
+<td>the language name fontconfig can deal with. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
+</td>
+</tr>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>alias_name</code></em> :</span></p></td>
+<td>the alias name to obtain the fonts pettern list for. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
+</td>
+</tr>
+<tr>
+<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
+<td>a <a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> contains <span class="type">FcPattern</span>, otherwise <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> FcPattern][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="ezfc-font-is-alias-font"></a><h3>ezfc_font_is_alias_font ()</h3>
+<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            ezfc_font_is_alias_font             (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *alias_name</code></em>);</pre>
+<p>
+Checks if <em class="parameter"><code>alias_name</code></em> is one of sans-serif, serif, monospace, cursive or fantasy.
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>alias_name</code></em> :</span></p></td>
+<td>the alias font name</td>
+</tr>
+<tr>
+<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
+<td>
+<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>alias_name</code></em> is an alias font name, otherwise <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="ezfc-font-new"></a><h3>ezfc_font_new ()</h3>
+<pre class="programlisting"><a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="returnvalue">ezfc_font_t</span></a> *       ezfc_font_new                       (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
+<p>
+Create an instance of <a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody><tr>
+<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
+<td>a <a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</td>
+</tr></tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="ezfc-font-ref"></a><h3>ezfc_font_ref ()</h3>
+<pre class="programlisting"><a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="returnvalue">ezfc_font_t</span></a> *       ezfc_font_ref                       (<em class="parameter"><code><a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);</pre>
+<p>
+Increases the reference count of <em class="parameter"><code>font</code></em>.
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
+<td>a <a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</td>
+</tr>
+<tr>
+<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
+<td>the same <em class="parameter"><code>font</code></em> object. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="ezfc-font-set-family"></a><h3>ezfc_font_set_family ()</h3>
+<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            ezfc_font_set_family                (<em class="parameter"><code><a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>,
+                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *font_name</code></em>,
+                                                         <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
+<p>
+Set <em class="parameter"><code>font_name</code></em> as the font family name used for the font font.
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
+<td>a <a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</td>
+</tr>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>font_name</code></em> :</span></p></td>
+<td>a font name.</td>
+</tr>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
+<td>a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
+</td>
+</tr>
+<tr>
+<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
+<td>
+<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if it successfully is set. otherwise <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="ezfc-font-set-pattern"></a><h3>ezfc_font_set_pattern ()</h3>
+<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            ezfc_font_set_pattern               (<em class="parameter"><code><a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>,
+                                                         <em class="parameter"><code>const <span class="type">FcPattern</span> *pattern</code></em>,
+                                                         <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
+<p>
+Set <em class="parameter"><code>pattern</code></em> as the font pattern. <em class="parameter"><code>font</code></em> keeps a duplicate instance of
+<em class="parameter"><code>pattern</code></em>.
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
+<td>a <a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</td>
+</tr>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>pattern</code></em> :</span></p></td>
+<td>a <span class="type">FcPattern</span>.</td>
+</tr>
+<tr>
+<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
+<td>a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
+</td>
+</tr>
+<tr>
+<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
+<td>
+<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if it successfully is set. otherwise <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="ezfc-font-t"></a><h3>ezfc_font_t</h3>
+<pre class="programlisting">typedef struct _ezfc_font_t ezfc_font_t;</pre>
+<p>
+All the fields in the <span class="structname">ezfc_font_t</span>
+structure are private to the <a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> implementation.
+</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="ezfc-font-unref"></a><h3>ezfc_font_unref ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>                ezfc_font_unref                     (<em class="parameter"><code><a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);</pre>
+<p>
+Decreases the reference count of <em class="parameter"><code>font</code></em>. when its reference count
+drops to 0, the object is finalized (i.e. its memory is freed).
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody><tr>
+<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
+<td>a <a class="link" href="libeasyfc-Fonts.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>
+          Generated by GTK-Doc V1.18</div>
+</body>
+</html>