Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ezfc_font_t: libeasyfc Documentation</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<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.27 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#libeasyfc-ezfc-font-t.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="libeasyfc-ezfc-error-t.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="libeasyfc-Utilities.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="libeasyfc-ezfc-font-t"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libeasyfc-ezfc-font-t.top_of_page"></a>ezfc_font_t</span></h2>
<p>ezfc_font_t — A class for managing the font properties</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="libeasyfc-ezfc-font-t.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-is-alias-font" title="ezfc_font_is_alias_font ()">ezfc_font_is_alias_font</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GList</span> *
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-get-list" title="ezfc_font_get_list ()">ezfc_font_get_list</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GList</span> *
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-get-pattern-list" title="ezfc_font_get_pattern_list ()">ezfc_font_get_pattern_list</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GList</span> *
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-get-alias-name-from-pattern" title="ezfc_font_get_alias_name_from_pattern ()">ezfc_font_get_alias_name_from_pattern</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="returnvalue">ezfc_font_t</span></a> *
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-new" title="ezfc_font_new ()">ezfc_font_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="returnvalue">ezfc_font_t</span></a> *
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-ref" title="ezfc_font_ref ()">ezfc_font_ref</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-unref" title="ezfc_font_unref ()">ezfc_font_unref</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">FcPattern</span> *
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-get-pattern" title="ezfc_font_get_pattern ()">ezfc_font_get_pattern</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-set-pattern" title="ezfc_font_set_pattern ()">ezfc_font_set_pattern</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-get-family" title="ezfc_font_get_family ()">ezfc_font_get_family</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GList</span> *
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-get-families" title="ezfc_font_get_families ()">ezfc_font_get_families</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-find" title="ezfc_font_find ()">ezfc_font_find</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-add-family" title="ezfc_font_add_family ()">ezfc_font_add_family</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-remove" title="ezfc_font_remove ()">ezfc_font_remove</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-remove-family" title="ezfc_font_remove_family ()">ezfc_font_remove_family</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-check-existence" title="ezfc_font_check_existence ()">ezfc_font_check_existence</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-get-check-existence" title="ezfc_font_get_check_existence ()">ezfc_font_get_check_existence</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-set-hinting" title="ezfc_font_set_hinting ()">ezfc_font_set_hinting</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-get-hinting" title="ezfc_font_get_hinting ()">ezfc_font_get_hinting</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-set-autohinting" title="ezfc_font_set_autohinting ()">ezfc_font_set_autohinting</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-get-autohinting" title="ezfc_font_get_autohinting ()">ezfc_font_get_autohinting</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-set-antialiasing" title="ezfc_font_set_antialiasing ()">ezfc_font_set_antialiasing</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-get-antialiasing" title="ezfc_font_get_antialiasing ()">ezfc_font_get_antialiasing</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-set-hintstyle" title="ezfc_font_set_hintstyle ()">ezfc_font_set_hintstyle</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-hintstyle-t" title="enum ezfc_font_hintstyle_t"><span class="returnvalue">ezfc_font_hintstyle_t</span></a>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-get-hintstyle" title="ezfc_font_get_hintstyle ()">ezfc_font_get_hintstyle</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-set-embedded-bitmap" title="ezfc_font_set_embedded_bitmap ()">ezfc_font_set_embedded_bitmap</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-get-embedded-bitmap" title="ezfc_font_get_embedded_bitmap ()">ezfc_font_get_embedded_bitmap</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-set-rgba" title="ezfc_font_set_rgba ()">ezfc_font_set_rgba</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-get-rgba" title="ezfc_font_get_rgba ()">ezfc_font_get_rgba</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-set-subpixel-rendering" title="ezfc_font_set_subpixel_rendering ()">ezfc_font_set_subpixel_rendering</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-subpixel-render-t" title="enum ezfc_font_subpixel_render_t"><span class="returnvalue">ezfc_font_subpixel_render_t</span></a>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-get-subpixel-rendering" title="ezfc_font_get_subpixel_rendering ()">ezfc_font_get_subpixel_rendering</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-add-feature" title="ezfc_font_add_feature ()">ezfc_font_add_feature</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-remove-feature" title="ezfc_font_remove_feature ()">ezfc_font_remove_feature</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GList</span> *
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-get-features" title="ezfc_font_get_features ()">ezfc_font_get_features</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GList</span> *
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-get-available-features" title="ezfc_font_get_available_features ()">ezfc_font_get_available_features</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GList</span> *
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-canonicalize" title="ezfc_font_canonicalize ()">ezfc_font_canonicalize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-set-family" title="ezfc_font_set_family ()">ezfc_font_set_family</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="libeasyfc-ezfc-font-t.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-subpixel-render-t" title="enum ezfc_font_subpixel_render_t">ezfc_font_subpixel_render_t</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-hintstyle-t" title="enum ezfc_font_hintstyle_t">ezfc_font_hintstyle_t</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t">ezfc_font_t</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="libeasyfc-ezfc-font-t.description"></a><h2>Description</h2>
<p>This class provides an easy access to the font properties</p>
</div>
<div class="refsect1">
<a name="libeasyfc-ezfc-font-t.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="ezfc-font-is-alias-font"></a><h3>ezfc_font_is_alias_font ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
ezfc_font_is_alias_font (<em class="parameter"><code>const <span class="type">gchar</span> *alias_name</code></em>);</pre>
<p>Checks if <em class="parameter"><code>alias_name</code></em>
 is one of sans-serif, serif, monospace, cursive, fantasy,
emoji or math.</p>
<div class="refsect3">
<a name="ezfc-font-is-alias-font.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>alias_name</p></td>
<td class="parameter_description"><p>the alias font name</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-is-alias-font.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>alias_name</code></em>
is an alias font name, otherwise <code class="literal">FALSE</code>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-get-list"></a><h3>ezfc_font_get_list ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *
ezfc_font_get_list (<em class="parameter"><code>const <span class="type">gchar</span> *language</code></em>,
                    <em class="parameter"><code>const <span class="type">gchar</span> *alias_name</code></em>,
                    <em class="parameter"><code><span class="type">gboolean</span> 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="refsect3">
<a name="ezfc-font-get-list.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>language</p></td>
<td class="parameter_description"><p>the language name fontconfig can deal with. </p></td>
<td class="parameter_annotations"><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 class="parameter_name"><p>alias_name</p></td>
<td class="parameter_description"><p>the alias name to obtain the fonts list for. </p></td>
<td class="parameter_annotations"><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 class="parameter_name"><p>localized_font_name</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> to include the localized font name if available,
<code class="literal">FALSE</code> for English font name only.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-get-list.returns"></a><h4>Returns</h4>
<p>a <span class="type">GList</span> contains the font family name.
if no valid families, <code class="literal">NULL</code> then. </p>
<p><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></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-get-pattern-list"></a><h3>ezfc_font_get_pattern_list ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *
ezfc_font_get_pattern_list (<em class="parameter"><code>const <span class="type">gchar</span> *language</code></em>,
                            <em class="parameter"><code>const <span class="type">gchar</span> *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="refsect3">
<a name="ezfc-font-get-pattern-list.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>language</p></td>
<td class="parameter_description"><p>the language name fontconfig can deal with. </p></td>
<td class="parameter_annotations"><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 class="parameter_name"><p>alias_name</p></td>
<td class="parameter_description"><p>the alias name to obtain the fonts pettern list for. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-get-pattern-list.returns"></a><h4>Returns</h4>
<p>a <span class="type">GList</span> contains <span class="type">FcPattern</span>, otherwise <code class="literal">NULL</code>. </p>
<p><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></p>
</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"><span class="returnvalue">GList</span> *
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="refsect3">
<a name="ezfc-font-get-alias-name-from-pattern.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>pattern</p></td>
<td class="parameter_description"><p>a <span class="type">FcPattern</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-get-alias-name-from-pattern.returns"></a><h4>Returns</h4>
<p>a <span class="type">GList</span> containing
a static string for the alias name. </p>
<p><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></p>
</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-ezfc-font-t.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-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p>
<div class="refsect3">
<a name="ezfc-font-new.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p>
</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-ezfc-font-t.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-ezfc-font-t.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="refsect3">
<a name="ezfc-font-ref.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-ref.returns"></a><h4>Returns</h4>
<p>the same <em class="parameter"><code>font</code></em>
object. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</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-ezfc-font-t.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="refsect3">
<a name="ezfc-font-unref.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</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-ezfc-font-t.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-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p>
<div class="refsect3">
<a name="ezfc-font-get-pattern.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-get-pattern.returns"></a><h4>Returns</h4>
<p> a duplicate of <span class="type">FcPattern</span> in the instance. it has to be freed.
<code class="literal">NULL</code> if <em class="parameter"><code>font</code></em>
doesn't have any font pattern.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-set-pattern"></a><h3>ezfc_font_set_pattern ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
ezfc_font_set_pattern (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.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><span class="type">GError</span> **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="refsect3">
<a name="ezfc-font-set-pattern.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>pattern</p></td>
<td class="parameter_description"><p>a <span class="type">FcPattern</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a <span class="type">GError</span>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-set-pattern.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if it successfully is set. otherwise <code class="literal">FALSE</code>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-get-family"></a><h3>ezfc_font_get_family ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
ezfc_font_get_family (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.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 first place in <em class="parameter"><code>font</code></em>
.</p>
<div class="refsect3">
<a name="ezfc-font-get-family.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-get-family.returns"></a><h4>Returns</h4>
<p> the font name.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-get-families"></a><h3>ezfc_font_get_families ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *
ezfc_font_get_families (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);</pre>
<p>Obtains font family names in <em class="parameter"><code>font</code></em>
.</p>
<div class="refsect3">
<a name="ezfc-font-get-families.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-get-families.returns"></a><h4>Returns</h4>
<p>a <span class="type">GList</span> containing
the static string of font family names. </p>
<p><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></p>
</div>
<p class="since">Since: 0.11</p>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-find"></a><h3>ezfc_font_find ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
ezfc_font_find (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.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">gchar</span> *font_name</code></em>);</pre>
<p>Check if <em class="parameter"><code>font</code></em>
 contains <em class="parameter"><code>font_name</code></em>
.</p>
<div class="refsect3">
<a name="ezfc-font-find.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>font_name</p></td>
<td class="parameter_description"><p>a font name.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-find.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if it contains, otherwise <code class="literal">FALSE</code>.</p>
</div>
<p class="since">Since: 0.11</p>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-add-family"></a><h3>ezfc_font_add_family ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
ezfc_font_add_family (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.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">gchar</span> *font_name</code></em>,
                      <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Add <em class="parameter"><code>font_name</code></em>
 as the font family name used for the font font.</p>
<div class="refsect3">
<a name="ezfc-font-add-family.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>font_name</p></td>
<td class="parameter_description"><p>a font name.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a <span class="type">GError</span>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-add-family.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if it successfully is set. otherwise <code class="literal">FALSE</code>.</p>
</div>
<p class="since">Since: 0.11</p>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-remove"></a><h3>ezfc_font_remove ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
ezfc_font_remove (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>,
                  <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Removes all of families in <em class="parameter"><code>font</code></em>
.</p>
<div class="refsect3">
<a name="ezfc-font-remove.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a <span class="type">GError</span>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-remove.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if it's successfully completed, otherwise <code class="literal">FALSE</code>.</p>
</div>
<p class="since">Since: 0.11</p>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-remove-family"></a><h3>ezfc_font_remove_family ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
ezfc_font_remove_family (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.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">gchar</span> *font_name</code></em>,
                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Removes <em class="parameter"><code>font_name</code></em>
 from <em class="parameter"><code>font</code></em>
.</p>
<div class="refsect3">
<a name="ezfc-font-remove-family.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>font_name</p></td>
<td class="parameter_description"><p>a font name to be removed.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a <span class="type">GError</span>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-remove-family.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if it's successfully completed, otherwise <code class="literal">FALSE</code>.</p>
</div>
<p class="since">Since: 0.11</p>
</div>
<hr>
<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-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>,
                           <em class="parameter"><code><span class="type">gboolean</span> flag</code></em>);</pre>
<p>Set a flag whether checking the font existence when invoking
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-set-family" title="ezfc_font_set_family ()"><code class="function">ezfc_font_set_family()</code></a>.</p>
<div class="refsect3">
<a name="ezfc-font-check-existence.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flag</p></td>
<td class="parameter_description"><p>a boolean value.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-get-check-existence"></a><h3>ezfc_font_get_check_existence ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
ezfc_font_get_check_existence (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);</pre>
<p>Obtain a flag in <em class="parameter"><code>font</code></em>
 if it's supposed to check the font existence when invoking</p>
<div class="refsect3">
<a name="ezfc-font-get-check-existence.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-get-check-existence.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if it does otherwise <code class="literal">FALSE</code>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-set-hinting"></a><h3>ezfc_font_set_hinting ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
ezfc_font_set_hinting (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>,
                       <em class="parameter"><code><span class="type">gboolean</span> flag</code></em>);</pre>
<p>Set a flag whether the font use the own hints for rendering</p>
<div class="refsect3">
<a name="ezfc-font-set-hinting.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flag</p></td>
<td class="parameter_description"><p>a boolean value.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-get-hinting"></a><h3>ezfc_font_get_hinting ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
ezfc_font_get_hinting (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);</pre>
<p>Obtain a boolean value about the hinting usage in <em class="parameter"><code>font</code></em>
.</p>
<div class="refsect3">
<a name="ezfc-font-get-hinting.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-get-hinting.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the hinting is enabled. otherwise <code class="literal">FALSE</code>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-set-autohinting"></a><h3>ezfc_font_set_autohinting ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
ezfc_font_set_autohinting (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>,
                           <em class="parameter"><code><span class="type">gboolean</span> flag</code></em>);</pre>
<p>Set a flag whether the font use the auto-hinting for rendering</p>
<div class="refsect3">
<a name="ezfc-font-set-autohinting.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flag</p></td>
<td class="parameter_description"><p>a boolean value.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-get-autohinting"></a><h3>ezfc_font_get_autohinting ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
ezfc_font_get_autohinting (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);</pre>
<p>Obtain a boolean value about the auto-hinting usage in <em class="parameter"><code>font</code></em>
.</p>
<div class="refsect3">
<a name="ezfc-font-get-autohinting.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-get-autohinting.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the auto-hinting is enabled. otherwise <code class="literal">FALSE</code>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-set-antialiasing"></a><h3>ezfc_font_set_antialiasing ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
ezfc_font_set_antialiasing (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>,
                            <em class="parameter"><code><span class="type">gboolean</span> flag</code></em>);</pre>
<p>Set a flag whether the font use the antialiasing.</p>
<div class="refsect3">
<a name="ezfc-font-set-antialiasing.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flag</p></td>
<td class="parameter_description"><p>a boolean value.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-get-antialiasing"></a><h3>ezfc_font_get_antialiasing ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
ezfc_font_get_antialiasing (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);</pre>
<p>Obtain a boolean value about the anti-aliasing usage in <em class="parameter"><code>font</code></em>
.</p>
<div class="refsect3">
<a name="ezfc-font-get-antialiasing.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-get-antialiasing.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the antialiasing is enabled. otherwise <code class="literal">FALSE</code>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-set-hintstyle"></a><h3>ezfc_font_set_hintstyle ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
ezfc_font_set_hintstyle (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>,
                         <em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-hintstyle-t" title="enum ezfc_font_hintstyle_t"><span class="type">ezfc_font_hintstyle_t</span></a> hintstyle</code></em>);</pre>
<p>Set a hintstyle for <em class="parameter"><code>font</code></em>
.</p>
<div class="refsect3">
<a name="ezfc-font-set-hintstyle.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>hintstyle</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-hintstyle-t" title="enum ezfc_font_hintstyle_t"><span class="type">ezfc_font_hintstyle_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-get-hintstyle"></a><h3>ezfc_font_get_hintstyle ()</h3>
<pre class="programlisting"><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-hintstyle-t" title="enum ezfc_font_hintstyle_t"><span class="returnvalue">ezfc_font_hintstyle_t</span></a>
ezfc_font_get_hintstyle (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);</pre>
<p>Obtain the hintstyle in <em class="parameter"><code>font</code></em>
.</p>
<div class="refsect3">
<a name="ezfc-font-get-hintstyle.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-get-hintstyle.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-hintstyle-t" title="enum ezfc_font_hintstyle_t"><span class="type">ezfc_font_hintstyle_t</span></a>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-set-embedded-bitmap"></a><h3>ezfc_font_set_embedded_bitmap ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
ezfc_font_set_embedded_bitmap (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>,
                               <em class="parameter"><code><span class="type">gboolean</span> flag</code></em>);</pre>
<p>Set a flag whether the font use the embedded bitmap.
Note that Enabling the embedded bitmap may causes disabling the antialias.</p>
<div class="refsect3">
<a name="ezfc-font-set-embedded-bitmap.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flag</p></td>
<td class="parameter_description"><p>a boolean value.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-get-embedded-bitmap"></a><h3>ezfc_font_get_embedded_bitmap ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
ezfc_font_get_embedded_bitmap (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);</pre>
<p>Obtain a boolean value about the embedded bitmap usage in <em class="parameter"><code>font</code></em>
.</p>
<div class="refsect3">
<a name="ezfc-font-get-embedded-bitmap.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-get-embedded-bitmap.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the embedded bitmap is enabled, otherwise <code class="literal">FALSE</code>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-set-rgba"></a><h3>ezfc_font_set_rgba ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
ezfc_font_set_rgba (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>,
                    <em class="parameter"><code><span class="type">gint</span> val</code></em>);</pre>
<p>Set <em class="parameter"><code>val</code></em>
 as the sub-pixel ordering</p>
<div class="refsect3">
<a name="ezfc-font-set-rgba.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>val</p></td>
<td class="parameter_description"><p>an integer value corresponding to FC_RGBA_*.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-get-rgba"></a><h3>ezfc_font_get_rgba ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
ezfc_font_get_rgba (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);</pre>
<p>Obtains current sub-pixel ordering in <em class="parameter"><code>font</code></em>
.</p>
<div class="refsect3">
<a name="ezfc-font-get-rgba.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-get-rgba.returns"></a><h4>Returns</h4>
<p> the sub-pixel ordering value in the integer.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-set-subpixel-rendering"></a><h3>ezfc_font_set_subpixel_rendering ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
ezfc_font_set_subpixel_rendering (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>,
                                  <em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-subpixel-render-t" title="enum ezfc_font_subpixel_render_t"><span class="type">ezfc_font_subpixel_render_t</span></a> mode</code></em>);</pre>
<p>This is just convenient to change the several configuration for subpixel
rendering.</p>
<div class="refsect3">
<a name="ezfc-font-set-subpixel-rendering.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mode</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-subpixel-render-t" title="enum ezfc_font_subpixel_render_t"><span class="type">ezfc_font_subpixel_render_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-set-subpixel-rendering.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the sub-pixel rendering is enabled. otherwise <code class="literal">FALSE</code>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-get-subpixel-rendering"></a><h3>ezfc_font_get_subpixel_rendering ()</h3>
<pre class="programlisting"><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-subpixel-render-t" title="enum ezfc_font_subpixel_render_t"><span class="returnvalue">ezfc_font_subpixel_render_t</span></a>
ezfc_font_get_subpixel_rendering (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);</pre>
<p>Obtain current status about the sub-pixel rendering in <em class="parameter"><code>font</code></em>
.</p>
<div class="refsect3">
<a name="ezfc-font-get-subpixel-rendering.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-get-subpixel-rendering.returns"></a><h4>Returns</h4>
<p> current mode in the sub-pixel rendering.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-add-feature"></a><h3>ezfc_font_add_feature ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
ezfc_font_add_feature (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.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">gchar</span> *feature</code></em>);</pre>
<p>Add <em class="parameter"><code>feature</code></em>
 font feature to <em class="parameter"><code>font</code></em>
.</p>
<div class="refsect3">
<a name="ezfc-font-add-feature.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>feature</p></td>
<td class="parameter_description"><p>feature name to be added</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-add-feature.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if it's successfully completed, otherwise <code class="literal">FALSE</code>.</p>
</div>
<p class="since">Since: 0.12</p>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-remove-feature"></a><h3>ezfc_font_remove_feature ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
ezfc_font_remove_feature (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.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">gchar</span> *feature</code></em>);</pre>
<p>Remove <em class="parameter"><code>feature</code></em>
 from <em class="parameter"><code>font</code></em>
 if available.</p>
<div class="refsect3">
<a name="ezfc-font-remove-feature.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>feature</p></td>
<td class="parameter_description"><p>feature name to be removed</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-remove-feature.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if it's successfully completed, otherwise <code class="literal">FALSE</code>.</p>
</div>
<p class="since">Since: 0.12</p>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-get-features"></a><h3>ezfc_font_get_features ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *
ezfc_font_get_features (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);</pre>
<p>Obtains font features list that <em class="parameter"><code>font</code></em>
 has.</p>
<div class="refsect3">
<a name="ezfc-font-get-features.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-get-features.returns"></a><h4>Returns</h4>
<p>a <span class="type">GList</span> containing
the static string of feature name. </p>
<p><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></p>
</div>
<p class="since">Since: 0.12</p>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-get-available-features"></a><h3>ezfc_font_get_available_features ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *
ezfc_font_get_available_features (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>);</pre>
<p>Obtains available font features in <em class="parameter"><code>font</code></em>
.</p>
<div class="refsect3">
<a name="ezfc-font-get-available-features.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-get-available-features.returns"></a><h4>Returns</h4>
<p>a <span class="type">GList</span> containing
memory-allocated string of feature name that is available
in <em class="parameter"><code>font</code></em>
. strings in <span class="type">GList</span> has to be freed when it isn't
needed anymore. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span></p>
</div>
<p class="since">Since: 0.12</p>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-canonicalize"></a><h3>ezfc_font_canonicalize ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *
ezfc_font_canonicalize (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> *font</code></em>,
                        <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>Split up <em class="parameter"><code>font</code></em>
 to <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> that has one family name only.</p>
<div class="refsect3">
<a name="ezfc-font-canonicalize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a <span class="type">GError</span>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-canonicalize.returns"></a><h4>Returns</h4>
<p>a <span class="type">GList</span> contains
<a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>, otherwise <code class="literal">NULL</code>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> ezfc_font_t]</span></p>
</div>
<p class="since">Since: 0.11</p>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-set-family"></a><h3>ezfc_font_set_family ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
ezfc_font_set_family (<em class="parameter"><code><a class="link" href="libeasyfc-ezfc-font-t.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">gchar</span> *font_name</code></em>,
                      <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<div class="warning">
<p><code class="literal">ezfc_font_set_family</code> has been deprecated since version 0.11. and should not be used in newly-written code.</p>
<p>Use <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-add-family" title="ezfc_font_add_family ()"><code class="function">ezfc_font_add_family()</code></a>.</p>
</div>
<p>Set <em class="parameter"><code>font_name</code></em>
 as the font family name used for the font font.</p>
<div class="refsect3">
<a name="ezfc-font-set-family.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>font</p></td>
<td class="parameter_description"><p>a <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>font_name</p></td>
<td class="parameter_description"><p>a font name.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a <span class="type">GError</span>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ezfc-font-set-family.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if it successfully is set. otherwise <code class="literal">FALSE</code>.</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="libeasyfc-ezfc-font-t.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="ezfc-font-subpixel-render-t"></a><h3>enum ezfc_font_subpixel_render_t</h3>
<p>The sub-pixel rendering option to be used in <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-set-subpixel-rendering" title="ezfc_font_set_subpixel_rendering ()"><code class="function">ezfc_font_set_subpixel_rendering()</code></a>.</p>
<div class="refsect3">
<a name="ezfc-font-subpixel-render-t.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="EZFC-FONT-ANTIALIAS-UNKNOWN:CAPS"></a>EZFC_FONT_ANTIALIAS_UNKNOWN</p></td>
<td class="enum_member_description">
<p>unknown state on using the sub-pixel rendering.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="EZFC-FONT-ANTIALIAS-NONE:CAPS"></a>EZFC_FONT_ANTIALIAS_NONE</p></td>
<td class="enum_member_description">
<p>no use of the sub-pixel rendering</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="EZFC-FONT-ANTIALIAS-GRAY:CAPS"></a>EZFC_FONT_ANTIALIAS_GRAY</p></td>
<td class="enum_member_description">
<p>Use the gray-scaled sub-pixel rendering</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="EZFC-FONT-ANTIALIAS-RGB:CAPS"></a>EZFC_FONT_ANTIALIAS_RGB</p></td>
<td class="enum_member_description">
<p>Use the sub-pixel rendering with the sub-pixel geometry RGB.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="EZFC-FONT-ANTIALIAS-BGR:CAPS"></a>EZFC_FONT_ANTIALIAS_BGR</p></td>
<td class="enum_member_description">
<p>Use the sub-pixel rendering with the sub-pixel geometry BGR.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="EZFC-FONT-ANTIALIAS-VRGB:CAPS"></a>EZFC_FONT_ANTIALIAS_VRGB</p></td>
<td class="enum_member_description">
<p>Use the sub-pixel rendering with the sub-pixel geometry VRGB.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="EZFC-FONT-ANTIALIAS-VBGR:CAPS"></a>EZFC_FONT_ANTIALIAS_VBGR</p></td>
<td class="enum_member_description">
<p>Use the sub-pixel rendering with the sub-pixel geometry VBGR.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="EZFC-FONT-ANTIALIAS-END:CAPS"></a>EZFC_FONT_ANTIALIAS_END</p></td>
<td class="enum_member_description">
<p>No real value, but just a terminator.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ezfc-font-hintstyle-t"></a><h3>enum ezfc_font_hintstyle_t</h3>
<p>The hintstyle option to be used for <a class="link" href="libeasyfc-ezfc-font-t.html#ezfc-font-set-hintstyle" title="ezfc_font_set_hintstyle ()"><code class="function">ezfc_font_set_hintstyle()</code></a>.</p>
<div class="refsect3">
<a name="ezfc-font-hintstyle-t.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="EZFC-FONT-HINTSTYLE-UNKNOWN:CAPS"></a>EZFC_FONT_HINTSTYLE_UNKNOWN</p></td>
<td class="enum_member_description">
<p>unknown state in the hintstyle.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="EZFC-FONT-HINTSTYLE-NONE:CAPS"></a>EZFC_FONT_HINTSTYLE_NONE</p></td>
<td class="enum_member_description">
<p>No use of autohinting</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="EZFC-FONT-HINTSTYLE-SLIGHT:CAPS"></a>EZFC_FONT_HINTSTYLE_SLIGHT</p></td>
<td class="enum_member_description">
<p>Use slight autohinting</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="EZFC-FONT-HINTSTYLE-MEDIUM:CAPS"></a>EZFC_FONT_HINTSTYLE_MEDIUM</p></td>
<td class="enum_member_description">
<p>Use medium autohinting</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="EZFC-FONT-HINTSTYLE-FULL:CAPS"></a>EZFC_FONT_HINTSTYLE_FULL</p></td>
<td class="enum_member_description">
<p>Use full autohinting</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="EZFC-FONT-HINTSTYLE-END:CAPS"></a>EZFC_FONT_HINTSTYLE_END</p></td>
<td class="enum_member_description">
<p>No real value, but just a terminator.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</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-ezfc-font-t.html#ezfc-font-t" title="ezfc_font_t"><span class="type">ezfc_font_t</span></a> implementation.</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>