Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>pangomm: Pango::FontDescription Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-extra.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">pangomm
   &#160;<span id="projectnumber">2.40.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacePango.html">Pango</a></li><li class="navelem"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#related">Related Functions</a> &#124;
<a href="classPango_1_1FontDescription-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Pango::FontDescription Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a> represents the description of an ideal font.  
 <a href="classPango_1_1FontDescription.html#details">More...</a></p>

<p><code>#include &lt;pangomm/fontdescription.h&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afdb36b4b7c50cb97c12300fe85349533"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#afdb36b4b7c50cb97c12300fe85349533">FontDescription</a> ()</td></tr>
<tr class="separator:afdb36b4b7c50cb97c12300fe85349533"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16211764b726945ba2d7ddc3d8f74b20"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a16211764b726945ba2d7ddc3d8f74b20">FontDescription</a> (PangoFontDescription* gobject, bool make_a_copy=true)</td></tr>
<tr class="separator:a16211764b726945ba2d7ddc3d8f74b20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af52b80020f13a446e1a66c07b7a525d0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#af52b80020f13a446e1a66c07b7a525d0">FontDescription</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; other)</td></tr>
<tr class="separator:af52b80020f13a446e1a66c07b7a525d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d7bd8a331801a69058145f3bbc01994"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a3d7bd8a331801a69058145f3bbc01994">operator=</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; other)</td></tr>
<tr class="separator:a3d7bd8a331801a69058145f3bbc01994"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee4c5619669e6abc5bb7bc12626607af"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#aee4c5619669e6abc5bb7bc12626607af">FontDescription</a> (<a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&amp; other) noexcept</td></tr>
<tr class="separator:aee4c5619669e6abc5bb7bc12626607af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70dea4acc3b22e0daad8374d94d21e60"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a70dea4acc3b22e0daad8374d94d21e60">operator=</a> (<a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&amp; other) noexcept</td></tr>
<tr class="separator:a70dea4acc3b22e0daad8374d94d21e60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1dc7cbdd91a9e807e64350de4af32fd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#af1dc7cbdd91a9e807e64350de4af32fd">~FontDescription</a> () noexcept</td></tr>
<tr class="separator:af1dc7cbdd91a9e807e64350de4af32fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cd01bd59ed3aa8540f6cfbbf990b7e7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a1cd01bd59ed3aa8540f6cfbbf990b7e7">swap</a> (<a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; other) noexcept</td></tr>
<tr class="separator:a1cd01bd59ed3aa8540f6cfbbf990b7e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ec35a7accdc8a55eebc9b5dfd4939bb"><td class="memItemLeft" align="right" valign="top">PangoFontDescription*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a7ec35a7accdc8a55eebc9b5dfd4939bb">gobj</a> ()</td></tr>
<tr class="memdesc:a7ec35a7accdc8a55eebc9b5dfd4939bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance.  <a href="#a7ec35a7accdc8a55eebc9b5dfd4939bb">More...</a><br /></td></tr>
<tr class="separator:a7ec35a7accdc8a55eebc9b5dfd4939bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab11803b348ef4da415fc12f99d5ad71a"><td class="memItemLeft" align="right" valign="top">const PangoFontDescription*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#ab11803b348ef4da415fc12f99d5ad71a">gobj</a> () const </td></tr>
<tr class="memdesc:ab11803b348ef4da415fc12f99d5ad71a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance.  <a href="#ab11803b348ef4da415fc12f99d5ad71a">More...</a><br /></td></tr>
<tr class="separator:ab11803b348ef4da415fc12f99d5ad71a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a7178ac7e2bbefcff35866f5ffd1ceb"><td class="memItemLeft" align="right" valign="top">PangoFontDescription*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a7a7178ac7e2bbefcff35866f5ffd1ceb">gobj_copy</a> () const </td></tr>
<tr class="memdesc:a7a7178ac7e2bbefcff35866f5ffd1ceb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.  <a href="#a7a7178ac7e2bbefcff35866f5ffd1ceb">More...</a><br /></td></tr>
<tr class="separator:a7a7178ac7e2bbefcff35866f5ffd1ceb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7382a2b612391bfaa9c3f94a6d6028d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#af7382a2b612391bfaa9c3f94a6d6028d">FontDescription</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; font_name)</td></tr>
<tr class="memdesc:af7382a2b612391bfaa9c3f94a6d6028d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a font description from a string representation.  <a href="#af7382a2b612391bfaa9c3f94a6d6028d">More...</a><br /></td></tr>
<tr class="separator:af7382a2b612391bfaa9c3f94a6d6028d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad23386ceb3e3c33d4dcf5ec0f5b0448b"><td class="memItemLeft" align="right" valign="top">guint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#ad23386ceb3e3c33d4dcf5ec0f5b0448b">hash</a> () const </td></tr>
<tr class="memdesc:ad23386ceb3e3c33d4dcf5ec0f5b0448b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes a hash of a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a> structure suitable to be used, for example, as an argument to Glib::hash_table_new().  <a href="#ad23386ceb3e3c33d4dcf5ec0f5b0448b">More...</a><br /></td></tr>
<tr class="separator:ad23386ceb3e3c33d4dcf5ec0f5b0448b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad205777ae3b5ea70c02d5563186faca3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#ad205777ae3b5ea70c02d5563186faca3">set_family</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; family)</td></tr>
<tr class="memdesc:ad205777ae3b5ea70c02d5563186faca3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the family name field of a font description.  <a href="#ad205777ae3b5ea70c02d5563186faca3">More...</a><br /></td></tr>
<tr class="separator:ad205777ae3b5ea70c02d5563186faca3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acff7e1b4779e8ed2286f2b8b3a6752b1"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#acff7e1b4779e8ed2286f2b8b3a6752b1">get_family</a> () const </td></tr>
<tr class="memdesc:acff7e1b4779e8ed2286f2b8b3a6752b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the family name field of a font description.  <a href="#acff7e1b4779e8ed2286f2b8b3a6752b1">More...</a><br /></td></tr>
<tr class="separator:acff7e1b4779e8ed2286f2b8b3a6752b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3aae73142d165637fd81a8e7853dc75"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#ae3aae73142d165637fd81a8e7853dc75">set_style</a> (<a class="el" href="group__pangommEnums.html#ga0a57bd35d5acd409367672e19b67e2f5">Style</a> style)</td></tr>
<tr class="memdesc:ae3aae73142d165637fd81a8e7853dc75"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the style field of a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>.  <a href="#ae3aae73142d165637fd81a8e7853dc75">More...</a><br /></td></tr>
<tr class="separator:ae3aae73142d165637fd81a8e7853dc75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3185cf480eed5c31d5e6ea8166d7f9b2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#ga0a57bd35d5acd409367672e19b67e2f5">Style</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a3185cf480eed5c31d5e6ea8166d7f9b2">get_style</a> () const </td></tr>
<tr class="memdesc:a3185cf480eed5c31d5e6ea8166d7f9b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the style field of a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>.  <a href="#a3185cf480eed5c31d5e6ea8166d7f9b2">More...</a><br /></td></tr>
<tr class="separator:a3185cf480eed5c31d5e6ea8166d7f9b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb5d904401a98d6461ffc8a441a8380d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#aeb5d904401a98d6461ffc8a441a8380d">set_variant</a> (<a class="el" href="group__pangommEnums.html#ga30ba1457cecb545a04d1f029ca0e86ed">Variant</a> variant)</td></tr>
<tr class="memdesc:aeb5d904401a98d6461ffc8a441a8380d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the variant field of a font description.  <a href="#aeb5d904401a98d6461ffc8a441a8380d">More...</a><br /></td></tr>
<tr class="separator:aeb5d904401a98d6461ffc8a441a8380d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ee40fab911737367bf6816b1e038704"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#ga30ba1457cecb545a04d1f029ca0e86ed">Variant</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a4ee40fab911737367bf6816b1e038704">get_variant</a> () const </td></tr>
<tr class="memdesc:a4ee40fab911737367bf6816b1e038704"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the variant field of a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>.  <a href="#a4ee40fab911737367bf6816b1e038704">More...</a><br /></td></tr>
<tr class="separator:a4ee40fab911737367bf6816b1e038704"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96e12760e3cbb25123bb26172c662864"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a96e12760e3cbb25123bb26172c662864">set_weight</a> (<a class="el" href="group__pangommEnums.html#ga12a1faf309bdcddde041a732070970f4">Weight</a> weight)</td></tr>
<tr class="memdesc:a96e12760e3cbb25123bb26172c662864"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the weight field of a font description.  <a href="#a96e12760e3cbb25123bb26172c662864">More...</a><br /></td></tr>
<tr class="separator:a96e12760e3cbb25123bb26172c662864"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ab92ba0daaaf07004eea25d296f7bcc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#ga12a1faf309bdcddde041a732070970f4">Weight</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a4ab92ba0daaaf07004eea25d296f7bcc">get_weight</a> () const </td></tr>
<tr class="memdesc:a4ab92ba0daaaf07004eea25d296f7bcc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the weight field of a font description.  <a href="#a4ab92ba0daaaf07004eea25d296f7bcc">More...</a><br /></td></tr>
<tr class="separator:a4ab92ba0daaaf07004eea25d296f7bcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50b1fbc40ebc5b321f8994639993b1bf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a50b1fbc40ebc5b321f8994639993b1bf">set_stretch</a> (<a class="el" href="group__pangommEnums.html#gac2df3c6939d06e2cd565e9c943428ad3">Stretch</a> stretch)</td></tr>
<tr class="memdesc:a50b1fbc40ebc5b321f8994639993b1bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the stretch field of a font description.  <a href="#a50b1fbc40ebc5b321f8994639993b1bf">More...</a><br /></td></tr>
<tr class="separator:a50b1fbc40ebc5b321f8994639993b1bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99432caf202bfb3cf7b7e8fd1c7521f7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#gac2df3c6939d06e2cd565e9c943428ad3">Stretch</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a99432caf202bfb3cf7b7e8fd1c7521f7">get_stretch</a> () const </td></tr>
<tr class="memdesc:a99432caf202bfb3cf7b7e8fd1c7521f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the stretch field of a font description.  <a href="#a99432caf202bfb3cf7b7e8fd1c7521f7">More...</a><br /></td></tr>
<tr class="separator:a99432caf202bfb3cf7b7e8fd1c7521f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4039245dc891fe4db4ea0c6bd01d8a77"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a4039245dc891fe4db4ea0c6bd01d8a77">set_size</a> (int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="memdesc:a4039245dc891fe4db4ea0c6bd01d8a77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the size field of a font description in fractional points.  <a href="#a4039245dc891fe4db4ea0c6bd01d8a77">More...</a><br /></td></tr>
<tr class="separator:a4039245dc891fe4db4ea0c6bd01d8a77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac507266766f3cadaf0f1d5c6fd5c0c67"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#ac507266766f3cadaf0f1d5c6fd5c0c67">get_size</a> () const </td></tr>
<tr class="memdesc:ac507266766f3cadaf0f1d5c6fd5c0c67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the size field of a font description.  <a href="#ac507266766f3cadaf0f1d5c6fd5c0c67">More...</a><br /></td></tr>
<tr class="separator:ac507266766f3cadaf0f1d5c6fd5c0c67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a804f715f977a8bdabb264a1e3e311352"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a804f715f977a8bdabb264a1e3e311352">set_absolute_size</a> (double <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="memdesc:a804f715f977a8bdabb264a1e3e311352"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the size field of a font description, in device units.  <a href="#a804f715f977a8bdabb264a1e3e311352">More...</a><br /></td></tr>
<tr class="separator:a804f715f977a8bdabb264a1e3e311352"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b85f22cde4e8486501e3fcbd389491c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a0b85f22cde4e8486501e3fcbd389491c">get_size_is_absolute</a> () const </td></tr>
<tr class="memdesc:a0b85f22cde4e8486501e3fcbd389491c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the size of the font is in points (not absolute) or device units (absolute).  <a href="#a0b85f22cde4e8486501e3fcbd389491c">More...</a><br /></td></tr>
<tr class="separator:a0b85f22cde4e8486501e3fcbd389491c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a850550316001e30d6fa1dc599a14673a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a850550316001e30d6fa1dc599a14673a">set_gravity</a> (<a class="el" href="group__pangommEnums.html#ga64db2216c86f2ce624b9ef0489bf1df4">Gravity</a> gravity)</td></tr>
<tr class="memdesc:a850550316001e30d6fa1dc599a14673a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the gravity field of a font description.  <a href="#a850550316001e30d6fa1dc599a14673a">More...</a><br /></td></tr>
<tr class="separator:a850550316001e30d6fa1dc599a14673a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ad3ef4d5a7a30e91a3f4a13e4875d33"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#ga64db2216c86f2ce624b9ef0489bf1df4">Gravity</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a4ad3ef4d5a7a30e91a3f4a13e4875d33">get_gravity</a> () const </td></tr>
<tr class="memdesc:a4ad3ef4d5a7a30e91a3f4a13e4875d33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the gravity field of a font description.  <a href="#a4ad3ef4d5a7a30e91a3f4a13e4875d33">More...</a><br /></td></tr>
<tr class="separator:a4ad3ef4d5a7a30e91a3f4a13e4875d33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad602107d9de5ac06ce09dab91a1853b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#ga1c0868659f2899d822c5c600ee57db74">FontMask</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#aad602107d9de5ac06ce09dab91a1853b">get_set_fields</a> () const </td></tr>
<tr class="memdesc:aad602107d9de5ac06ce09dab91a1853b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines which fields in a font description have been set.  <a href="#aad602107d9de5ac06ce09dab91a1853b">More...</a><br /></td></tr>
<tr class="separator:aad602107d9de5ac06ce09dab91a1853b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51e66cb7c205b4e5d3166b3ade218874"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a51e66cb7c205b4e5d3166b3ade218874">unset_fields</a> (<a class="el" href="group__pangommEnums.html#ga1c0868659f2899d822c5c600ee57db74">FontMask</a> to_unset)</td></tr>
<tr class="memdesc:a51e66cb7c205b4e5d3166b3ade218874"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsets some of the fields in a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>.  <a href="#a51e66cb7c205b4e5d3166b3ade218874">More...</a><br /></td></tr>
<tr class="separator:a51e66cb7c205b4e5d3166b3ade218874"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86d14b6b141c6b4f514111dbb6682faf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a86d14b6b141c6b4f514111dbb6682faf">merge</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; desc_to_merge, bool replace_existing)</td></tr>
<tr class="memdesc:a86d14b6b141c6b4f514111dbb6682faf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Merges the fields that are set in <em>desc_to_merge</em> into the fields in <em>desc</em>.  <a href="#a86d14b6b141c6b4f514111dbb6682faf">More...</a><br /></td></tr>
<tr class="separator:a86d14b6b141c6b4f514111dbb6682faf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2cd2cc5135124b18439d295bd974ed5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#af2cd2cc5135124b18439d295bd974ed5">better_match</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; old_match, const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; new_match) const </td></tr>
<tr class="memdesc:af2cd2cc5135124b18439d295bd974ed5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the style attributes of <em>new_match</em> are a closer match for <em>desc</em> than those of <em>old_match</em> are, or if <em>old_match</em> is <code>nullptr</code>, determines if <em>new_match</em> is a match at all.  <a href="#af2cd2cc5135124b18439d295bd974ed5">More...</a><br /></td></tr>
<tr class="separator:af2cd2cc5135124b18439d295bd974ed5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad29123a4a8f63dca8c18df97997042c3"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#ad29123a4a8f63dca8c18df97997042c3">to_string</a> () const </td></tr>
<tr class="memdesc:ad29123a4a8f63dca8c18df97997042c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a string representation of a font description.  <a href="#ad29123a4a8f63dca8c18df97997042c3">More...</a><br /></td></tr>
<tr class="separator:ad29123a4a8f63dca8c18df97997042c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29fb64d73738cb49d0100f7fbad73580"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a29fb64d73738cb49d0100f7fbad73580">to_filename</a> () const </td></tr>
<tr class="memdesc:a29fb64d73738cb49d0100f7fbad73580"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a filename representation of a font description.  <a href="#a29fb64d73738cb49d0100f7fbad73580">More...</a><br /></td></tr>
<tr class="separator:a29fb64d73738cb49d0100f7fbad73580"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aa072252664133b58aef7577e7e4e3be0"><td class="memItemLeft" align="right" valign="top">static GType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#aa072252664133b58aef7577e7e4e3be0">get_type</a> ()</td></tr>
<tr class="memdesc:aa072252664133b58aef7577e7e4e3be0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system.  <a href="#aa072252664133b58aef7577e7e4e3be0">More...</a><br /></td></tr>
<tr class="separator:aa072252664133b58aef7577e7e4e3be0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:aed270a5a8cc1dbe45e09bcd2cc4818a1"><td class="memItemLeft" align="right" valign="top">PangoFontDescription*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#aed270a5a8cc1dbe45e09bcd2cc4818a1">gobject_</a></td></tr>
<tr class="separator:aed270a5a8cc1dbe45e09bcd2cc4818a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:a1b84b607dabfa870e8e954b5563cafb5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a1b84b607dabfa870e8e954b5563cafb5">operator==</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; lhs, const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; rhs)</td></tr>
<tr class="separator:a1b84b607dabfa870e8e954b5563cafb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e916c9c005dc36d5e88fa146c599431"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a0e916c9c005dc36d5e88fa146c599431">operator!=</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; lhs, const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; rhs)</td></tr>
<tr class="separator:a0e916c9c005dc36d5e88fa146c599431"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc0a21951620902d31de28625ab7ce4c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#adc0a21951620902d31de28625ab7ce4c">swap</a> (<a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; lhs, <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; rhs) noexcept</td></tr>
<tr class="separator:adc0a21951620902d31de28625ab7ce4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92bdca662e7118ea654eb9b34ceead51"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1FontDescription.html">Pango::FontDescription</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a92bdca662e7118ea654eb9b34ceead51">wrap</a> (PangoFontDescription* object, bool take_copy=false)</td></tr>
<tr class="memdesc:a92bdca662e7118ea654eb9b34ceead51"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.  <a href="#a92bdca662e7118ea654eb9b34ceead51">More...</a><br /></td></tr>
<tr class="separator:a92bdca662e7118ea654eb9b34ceead51"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a> represents the description of an ideal font. </p>
<p>It is used both to list what fonts are available on the system and also for specifying the characteristics of a font to load. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="afdb36b4b7c50cb97c12300fe85349533"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::FontDescription::FontDescription </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a16211764b726945ba2d7ddc3d8f74b20"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Pango::FontDescription::FontDescription </td>
          <td>(</td>
          <td class="paramtype">PangoFontDescription *&#160;</td>
          <td class="paramname"><em>gobject</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>make_a_copy</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="af52b80020f13a446e1a66c07b7a525d0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::FontDescription::FontDescription </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aee4c5619669e6abc5bb7bc12626607af"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Pango::FontDescription::FontDescription </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="af1dc7cbdd91a9e807e64350de4af32fd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Pango::FontDescription::~FontDescription </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="af7382a2b612391bfaa9c3f94a6d6028d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Pango::FontDescription::FontDescription </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>font_name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructs a font description from a string representation. </p>
<p><em>font_name</em> must have the form "[FAMILY-LIST] [STYLE-OPTIONS] [SIZE]", where FAMILY-LIST is a comma separated list of families optionally terminated by a comma, STYLE_OPTIONS is a whitespace separated list of words where each WORD describes one of style, variant, weight, or stretch, and SIZE is an decimal number (size in points). Any one of the options may be absent. If FAMILY-LIST is absent, then the family_name field of the resulting font description will be initialized to 0. If STYLE-OPTIONS is missing, then all style options will be set to the default values. If SIZE is missing, the size in the resulting font description will be set to 0. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">font_name</td><td>String representation of a font description. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="af2cd2cc5135124b18439d295bd974ed5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Pango::FontDescription::better_match </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&#160;</td>
          <td class="paramname"><em>old_match</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&#160;</td>
          <td class="paramname"><em>new_match</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines if the style attributes of <em>new_match</em> are a closer match for <em>desc</em> than those of <em>old_match</em> are, or if <em>old_match</em> is <code>nullptr</code>, determines if <em>new_match</em> is a match at all. </p>
<p>Approximate matching is done for weight and style; other style attributes must match exactly. Style attributes are all attributes other than family and size-related attributes. Approximate matching for style considers PANGO_STYLE_OBLIQUE and PANGO_STYLE_ITALIC as matches, but not as good a match as when the styles are equal.</p>
<p>Note that <em>old_match</em> must match <em>desc</em>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">old_match</td><td>A <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>, or <code>nullptr</code>. </td></tr>
    <tr><td class="paramname">new_match</td><td>A <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>new_match</em> is a better match. </dd></dl>

</div>
</div>
<a class="anchor" id="acff7e1b4779e8ed2286f2b8b3a6752b1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Pango::FontDescription::get_family </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the family name field of a font description. </p>
<p>See <a class="el" href="classPango_1_1FontDescription.html#ad205777ae3b5ea70c02d5563186faca3" title="Sets the family name field of a font description. ">set_family()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>The family name field for the font description, or <code>nullptr</code> if not previously set. This has the same life-time as the font description itself and should not be freed. </dd></dl>

</div>
</div>
<a class="anchor" id="a4ad3ef4d5a7a30e91a3f4a13e4875d33"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__pangommEnums.html#ga64db2216c86f2ce624b9ef0489bf1df4">Gravity</a> Pango::FontDescription::get_gravity </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the gravity field of a font description. </p>
<p>See <a class="el" href="classPango_1_1FontDescription.html#a850550316001e30d6fa1dc599a14673a" title="Sets the gravity field of a font description. ">set_gravity()</a>.</p>
<dl class="since_1_16"><dt><b><a class="el" href="since_1_16.html#_since_1_16000010">Since pangomm 1.16:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The gravity field for the font description. Use <a class="el" href="classPango_1_1FontDescription.html#aad602107d9de5ac06ce09dab91a1853b" title="Determines which fields in a font description have been set. ">get_set_fields()</a> to find out if the field was explicitly set or not. </dd></dl>

</div>
</div>
<a class="anchor" id="aad602107d9de5ac06ce09dab91a1853b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__pangommEnums.html#ga1c0868659f2899d822c5c600ee57db74">FontMask</a> Pango::FontDescription::get_set_fields </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines which fields in a font description have been set. </p>
<dl class="section return"><dt>Returns</dt><dd>A bitmask with bits set corresponding to the fields in <em>desc</em> that have been set. </dd></dl>

</div>
</div>
<a class="anchor" id="ac507266766f3cadaf0f1d5c6fd5c0c67"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::FontDescription::get_size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the size field of a font description. </p>
<p>See <a class="el" href="classPango_1_1FontDescription.html#a4039245dc891fe4db4ea0c6bd01d8a77" title="Sets the size field of a font description in fractional points. ">set_size()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>The size field for the font description in points or device units. You must call <a class="el" href="classPango_1_1FontDescription.html#a0b85f22cde4e8486501e3fcbd389491c" title="Determines whether the size of the font is in points (not absolute) or device units (absolute)...">get_size_is_absolute()</a> to find out which is the case. Returns 0 if the size field has not previously been set or it has been set to 0 explicitly. Use <a class="el" href="classPango_1_1FontDescription.html#aad602107d9de5ac06ce09dab91a1853b" title="Determines which fields in a font description have been set. ">get_set_fields()</a> to find out if the field was explicitly set or not. </dd></dl>

</div>
</div>
<a class="anchor" id="a0b85f22cde4e8486501e3fcbd389491c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Pango::FontDescription::get_size_is_absolute </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines whether the size of the font is in points (not absolute) or device units (absolute). </p>
<p>See <a class="el" href="classPango_1_1FontDescription.html#a4039245dc891fe4db4ea0c6bd01d8a77" title="Sets the size field of a font description in fractional points. ">set_size()</a> and <a class="el" href="classPango_1_1FontDescription.html#a804f715f977a8bdabb264a1e3e311352" title="Sets the size field of a font description, in device units. ">set_absolute_size()</a>.</p>
<dl class="since_1_8"><dt><b><a class="el" href="since_1_8.html#_since_1_8000002">Since pangomm 1.8:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>Whether the size for the font description is in points or device units. Use <a class="el" href="classPango_1_1FontDescription.html#aad602107d9de5ac06ce09dab91a1853b" title="Determines which fields in a font description have been set. ">get_set_fields()</a> to find out if the size field of the font description was explicitly set or not. </dd></dl>

</div>
</div>
<a class="anchor" id="a99432caf202bfb3cf7b7e8fd1c7521f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__pangommEnums.html#gac2df3c6939d06e2cd565e9c943428ad3">Stretch</a> Pango::FontDescription::get_stretch </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the stretch field of a font description. </p>
<p>See <a class="el" href="classPango_1_1FontDescription.html#a50b1fbc40ebc5b321f8994639993b1bf" title="Sets the stretch field of a font description. ">set_stretch()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>The stretch field for the font description. Use <a class="el" href="classPango_1_1FontDescription.html#aad602107d9de5ac06ce09dab91a1853b" title="Determines which fields in a font description have been set. ">get_set_fields()</a> to find out if the field was explicitly set or not. </dd></dl>

</div>
</div>
<a class="anchor" id="a3185cf480eed5c31d5e6ea8166d7f9b2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__pangommEnums.html#ga0a57bd35d5acd409367672e19b67e2f5">Style</a> Pango::FontDescription::get_style </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the style field of a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>. </p>
<p>See <a class="el" href="classPango_1_1FontDescription.html#ae3aae73142d165637fd81a8e7853dc75" title="Sets the style field of a Pango::FontDescription. ">set_style()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>The style field for the font description. Use <a class="el" href="classPango_1_1FontDescription.html#aad602107d9de5ac06ce09dab91a1853b" title="Determines which fields in a font description have been set. ">get_set_fields()</a> to find out if the field was explicitly set or not. </dd></dl>

</div>
</div>
<a class="anchor" id="aa072252664133b58aef7577e7e4e3be0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static GType Pango::FontDescription::get_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the GType for this class, for use with the underlying GObject type system. </p>

</div>
</div>
<a class="anchor" id="a4ee40fab911737367bf6816b1e038704"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__pangommEnums.html#ga30ba1457cecb545a04d1f029ca0e86ed">Variant</a> Pango::FontDescription::get_variant </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the variant field of a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>. </p>
<p>See <a class="el" href="classPango_1_1FontDescription.html#aeb5d904401a98d6461ffc8a441a8380d" title="Sets the variant field of a font description. ">set_variant()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>The variant field for the font description. Use <a class="el" href="classPango_1_1FontDescription.html#aad602107d9de5ac06ce09dab91a1853b" title="Determines which fields in a font description have been set. ">get_set_fields()</a> to find out if the field was explicitly set or not. </dd></dl>

</div>
</div>
<a class="anchor" id="a4ab92ba0daaaf07004eea25d296f7bcc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__pangommEnums.html#ga12a1faf309bdcddde041a732070970f4">Weight</a> Pango::FontDescription::get_weight </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the weight field of a font description. </p>
<p>See <a class="el" href="classPango_1_1FontDescription.html#a96e12760e3cbb25123bb26172c662864" title="Sets the weight field of a font description. ">set_weight()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>The weight field for the font description. Use <a class="el" href="classPango_1_1FontDescription.html#aad602107d9de5ac06ce09dab91a1853b" title="Determines which fields in a font description have been set. ">get_set_fields()</a> to find out if the field was explicitly set or not. </dd></dl>

</div>
</div>
<a class="anchor" id="a7ec35a7accdc8a55eebc9b5dfd4939bb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">PangoFontDescription* Pango::FontDescription::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provides access to the underlying C instance. </p>

</div>
</div>
<a class="anchor" id="ab11803b348ef4da415fc12f99d5ad71a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const PangoFontDescription* Pango::FontDescription::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provides access to the underlying C instance. </p>

</div>
</div>
<a class="anchor" id="a7a7178ac7e2bbefcff35866f5ffd1ceb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PangoFontDescription* Pango::FontDescription::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. </p>

</div>
</div>
<a class="anchor" id="ad23386ceb3e3c33d4dcf5ec0f5b0448b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint Pango::FontDescription::hash </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes a hash of a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a> structure suitable to be used, for example, as an argument to Glib::hash_table_new(). </p>
<p>The hash value is independent of <em>desc-&gt;mask</em>.</p>
<dl class="section return"><dt>Returns</dt><dd>The hash value. </dd></dl>

</div>
</div>
<a class="anchor" id="a86d14b6b141c6b4f514111dbb6682faf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::FontDescription::merge </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&#160;</td>
          <td class="paramname"><em>desc_to_merge</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>replace_existing</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Merges the fields that are set in <em>desc_to_merge</em> into the fields in <em>desc</em>. </p>
<p>If <em>replace_existing</em> is <code>false</code>, only fields in <em>desc</em> that are not already set are affected. If <code>true</code>, then fields that are already set will be replaced as well.</p>
<p>If <em>desc_to_merge</em> is <code>nullptr</code>, this function performs nothing.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">desc_to_merge</td><td>The <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a> to merge from, or <code>nullptr</code>. </td></tr>
    <tr><td class="paramname">replace_existing</td><td>If <code>true</code>, replace fields in <em>desc</em> with the corresponding values from <em>desc_to_merge</em>, even if they are already exist. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3d7bd8a331801a69058145f3bbc01994"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; Pango::FontDescription::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a70dea4acc3b22e0daad8374d94d21e60"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp; Pango::FontDescription::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a804f715f977a8bdabb264a1e3e311352"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::FontDescription::set_absolute_size </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the size field of a font description, in device units. </p>
<p>This is mutually exclusive with <a class="el" href="classPango_1_1FontDescription.html#a4039245dc891fe4db4ea0c6bd01d8a77" title="Sets the size field of a font description in fractional points. ">set_size()</a> which sets the font size in points.</p>
<dl class="since_1_8"><dt><b><a class="el" href="since_1_8.html#_since_1_8000001">Since pangomm 1.8:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>The new size, in <a class="el" href="namespacePango.html">Pango</a> units. There are <a class="el" href="namespacePango.html#a20d9629a369a6a5ab40ed9c01f879730">Pango::SCALE</a> <a class="el" href="namespacePango.html">Pango</a> units in one device unit. For an output backend where a device unit is a pixel, a <em>size</em> value of 10* PANGO_SCALE gives a 10 pixel font. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad205777ae3b5ea70c02d5563186faca3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::FontDescription::set_family </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>family</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the family name field of a font description. </p>
<p>The family name represents a family of related font styles, and will resolve to a particular <a class="el" href="classPango_1_1FontFamily.html" title="A Pango::FontFamily is used to represent a family of related font faces. ">Pango::FontFamily</a>. In some uses of <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>, it is also possible to use a comma separated list of family names for this field.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">family</td><td>A string representing the family name. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a850550316001e30d6fa1dc599a14673a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::FontDescription::set_gravity </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__pangommEnums.html#ga64db2216c86f2ce624b9ef0489bf1df4">Gravity</a>&#160;</td>
          <td class="paramname"><em>gravity</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the gravity field of a font description. </p>
<p>The gravity field specifies how the glyphs should be rotated. If <em>gravity</em> is <a class="el" href="namespacePango.html#ga64db2216c86f2ce624b9ef0489bf1df4aacfaa02de6057a6204c40f45c7c771ca" title="Gravity is resolved from the context matrix. ">Pango::GRAVITY_AUTO</a>, this actually unsets the gravity mask on the font description.</p>
<p>This function is seldom useful to the user. Gravity should normally be set on a <a class="el" href="classPango_1_1Context.html" title="A Pango::Context stores global information used to control the itemization process. ">Pango::Context</a>.</p>
<dl class="since_1_16"><dt><b><a class="el" href="since_1_16.html#_since_1_16000009">Since pangomm 1.16:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">gravity</td><td>The gravity for the font description. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4039245dc891fe4db4ea0c6bd01d8a77"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::FontDescription::set_size </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the size field of a font description in fractional points. </p>
<p>This is mutually exclusive with <a class="el" href="classPango_1_1FontDescription.html#a804f715f977a8bdabb264a1e3e311352" title="Sets the size field of a font description, in device units. ">set_absolute_size()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>The size of the font in points, scaled by PANGO_SCALE. (That is, a <em>size</em> value of 10* PANGO_SCALE is a 10 point font. The conversion factor between points and device units depends on system configuration and the output device. For screen display, a logical DPI of 96 is common, in which case a 10 point font corresponds to a 10* (96 / 72) = 13.3 pixel font. Use <a class="el" href="classPango_1_1FontDescription.html#a804f715f977a8bdabb264a1e3e311352" title="Sets the size field of a font description, in device units. ">set_absolute_size()</a> if you need a particular size in device units. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a50b1fbc40ebc5b321f8994639993b1bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::FontDescription::set_stretch </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__pangommEnums.html#gac2df3c6939d06e2cd565e9c943428ad3">Stretch</a>&#160;</td>
          <td class="paramname"><em>stretch</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the stretch field of a font description. </p>
<p>The stretch field specifies how narrow or wide the font should be.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">stretch</td><td>The stretch for the font description. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae3aae73142d165637fd81a8e7853dc75"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::FontDescription::set_style </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__pangommEnums.html#ga0a57bd35d5acd409367672e19b67e2f5">Style</a>&#160;</td>
          <td class="paramname"><em>style</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the style field of a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>. </p>
<p>The <a class="el" href="group__pangommEnums.html#ga0a57bd35d5acd409367672e19b67e2f5" title="An enumeration specifying the various slant styles possible for a font. ">Pango::Style</a> enumeration describes whether the font is slanted and the manner in which it is slanted; it can be either <a class="el" href="namespacePango.html#ga0a57bd35d5acd409367672e19b67e2f5a1155c4b9bcdf047233eaad2fac528614" title="The font is upright. ">Pango::STYLE_NORMAL</a>, <a class="el" href="namespacePango.html#ga0a57bd35d5acd409367672e19b67e2f5ae93a3834f2d9af707bee8675eb8a9121" title="The font is slanted in an italic style. ">Pango::STYLE_ITALIC</a>, or <a class="el" href="namespacePango.html#ga0a57bd35d5acd409367672e19b67e2f5a7c395f12d271f57c1f042c8b21341688" title="The font is slanted, but in a roman style. ">Pango::STYLE_OBLIQUE</a>. Most fonts will either have a italic style or an oblique style, but not both, and font matching in <a class="el" href="namespacePango.html">Pango</a> will match italic specifications with oblique fonts and vice-versa if an exact match is not found.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">style</td><td>The style for the font description. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aeb5d904401a98d6461ffc8a441a8380d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::FontDescription::set_variant </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__pangommEnums.html#ga30ba1457cecb545a04d1f029ca0e86ed">Variant</a>&#160;</td>
          <td class="paramname"><em>variant</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the variant field of a font description. </p>
<p>The <a class="el" href="group__pangommEnums.html#ga30ba1457cecb545a04d1f029ca0e86ed" title="An enumeration specifying capitalization variant of the font. ">Pango::Variant</a> can either be <a class="el" href="namespacePango.html#ga30ba1457cecb545a04d1f029ca0e86eda5f5fdaf90dd1cc277d61a680eb0ed7bb" title="A normal font. ">Pango::VARIANT_NORMAL</a> or <a class="el" href="namespacePango.html#ga30ba1457cecb545a04d1f029ca0e86eda957d17a292c15dfaccdfe8c9a8258e83" title="A font with the lower case characters replaced by smaller variants of the capital characters...">Pango::VARIANT_SMALL_CAPS</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">variant</td><td>The variant type for the font description. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a96e12760e3cbb25123bb26172c662864"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::FontDescription::set_weight </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__pangommEnums.html#ga12a1faf309bdcddde041a732070970f4">Weight</a>&#160;</td>
          <td class="paramname"><em>weight</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the weight field of a font description. </p>
<p>The weight field specifies how bold or light the font should be. In addition to the values of the <a class="el" href="group__pangommEnums.html#ga12a1faf309bdcddde041a732070970f4" title="An enumeration specifying the weight (boldness) of a font. ">Pango::Weight</a> enumeration, other intermediate numeric values are possible.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">weight</td><td>The weight for the font description. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1cd01bd59ed3aa8540f6cfbbf990b7e7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::FontDescription::swap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a29fb64d73738cb49d0100f7fbad73580"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Pango::FontDescription::to_filename </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a filename representation of a font description. </p>
<p>The filename is identical to the result from calling <a class="el" href="classPango_1_1FontDescription.html#ad29123a4a8f63dca8c18df97997042c3" title="Creates a string representation of a font description. ">to_string()</a>, but with underscores instead of characters that are untypical in filenames, and in lower case only.</p>
<dl class="section return"><dt>Returns</dt><dd>The filename. </dd></dl>

</div>
</div>
<a class="anchor" id="ad29123a4a8f63dca8c18df97997042c3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Pango::FontDescription::to_string </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a string representation of a font description. </p>
<p>See from_string() for a description of the format of the string representation. The family list in the string description will only have a terminating comma if the last word of the list is a valid style option.</p>
<dl class="section return"><dt>Returns</dt><dd>The string. </dd></dl>

</div>
</div>
<a class="anchor" id="a51e66cb7c205b4e5d3166b3ade218874"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::FontDescription::unset_fields </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__pangommEnums.html#ga1c0868659f2899d822c5c600ee57db74">FontMask</a>&#160;</td>
          <td class="paramname"><em>to_unset</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unsets some of the fields in a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>. </p>
<p>The unset fields will get back to their default values.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">to_unset</td><td>Bitmask of fields in the <em>desc</em> to unset. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a0e916c9c005dc36d5e88fa146c599431"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#gac4373547895ec9df9035719b38a2621a">operator!</a>= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lhs</td><td>The left-hand side </td></tr>
    <tr><td class="paramname">rhs</td><td>The right-hand side </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The result </dd></dl>

</div>
</div>
<a class="anchor" id="a1b84b607dabfa870e8e954b5563cafb5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lhs</td><td>The left-hand side </td></tr>
    <tr><td class="paramname">rhs</td><td>The right-hand side </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The result </dd></dl>

</div>
</div>
<a class="anchor" id="adc0a21951620902d31de28625ab7ce4c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void swap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&amp;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lhs</td><td>The left-hand side </td></tr>
    <tr><td class="paramname">rhs</td><td>The right-hand side </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a92bdca662e7118ea654eb9b34ceead51"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1FontDescription.html">Pango::FontDescription</a> wrap </td>
          <td>(</td>
          <td class="paramtype">PangoFontDescription *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
    <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="aed270a5a8cc1dbe45e09bcd2cc4818a1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">PangoFontDescription* Pango::FontDescription::gobject_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Aug 19 2016 15:59:16 for pangomm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>