/usr/share/doc/libghc-pango-doc/html/Graphics-Rendering-Pango-Font.html is in libghc-pango-doc 0.13.4.0-1build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | <!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/html; charset=UTF-8" /><title>Graphics.Rendering.Pango.Font</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-Rendering-Pango-Font.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-Rendering-Pango-Font.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">pango-0.13.4.0: Binding to the Pango text rendering engine.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Maintainer</th><td>gtk2hs-users@lists.sourceforge.net</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Portability</th><td>portable (depends on GHC)</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Graphics.Rendering.Pango.Font</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#section.orphans">Orphan instances</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Fonts. The selection of an appropriate font to render text becomes a
substantial task in the presence of Unicode where a single font does not
cover the whole range of possible characters. Pango provides several
concepts to find appropriate fonts and to query information about them:</p><ul><li><code><a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a></code>: Font descriptions provide a way to query and state
requirements on
fonts. This data structure has several fields describing different
characteristics of a font. Each of these fields can be set of left
unspecified.</li><li><code><a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a></code> : A font map represents the set of fonts available for a
particular rendering system. In particular this map defines the
relation between font size and pixel size in terms of the output medium.</li><li><code><a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a></code> : A font family represents a set of fonts that have
related faces, that is, their faces share a common design, but differ
in slant, weight, width and other aspects.</li><li><code><a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a></code>: A face is a specific font where all characteristics are
fixed except for the size.</li><li><code><a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a></code>: A font in the underlying rendering system.</li><li><code><a href="Graphics-Rendering-Pango-Enums.html#t:FontMetrics">FontMetrics</a></code>: Information about the font that will be used to render
a specific <code>Context</code> or <code><a href="Graphics-Rendering-Pango-Rendering.html#t:PangoItem">PangoItem</a></code>.</li></ul></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span> <a href="#t:FontDescription">FontDescription</a></li><li class="src short"><a href="#v:fontDescriptionNew">fontDescriptionNew</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a></li><li class="src short"><a href="#v:fontDescriptionCopy">fontDescriptionCopy</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a></li><li class="src short"><a href="#v:fontDescriptionSetFamily">fontDescriptionSetFamily</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string => <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> string -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fontDescriptionGetFamily">fontDescriptionGetFamily</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string => <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> string)</li><li class="src short"><a href="#v:fontDescriptionSetStyle">fontDescriptionSetStyle</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="Graphics-Rendering-Pango-Enums.html#t:FontStyle">FontStyle</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fontDescriptionGetStyle">fontDescriptionGetStyle</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Pango-Enums.html#t:FontStyle">FontStyle</a>)</li><li class="src short"><a href="#v:fontDescriptionSetVariant">fontDescriptionSetVariant</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="Graphics-Rendering-Pango-Enums.html#t:Variant">Variant</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fontDescriptionGetVariant">fontDescriptionGetVariant</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Pango-Enums.html#t:Variant">Variant</a>)</li><li class="src short"><a href="#v:fontDescriptionSetWeight">fontDescriptionSetWeight</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="Graphics-Rendering-Pango-Enums.html#t:Weight">Weight</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fontDescriptionGetWeight">fontDescriptionGetWeight</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Pango-Enums.html#t:Weight">Weight</a>)</li><li class="src short"><a href="#v:fontDescriptionSetStretch">fontDescriptionSetStretch</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="Graphics-Rendering-Pango-Enums.html#t:Stretch">Stretch</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fontDescriptionGetStretch">fontDescriptionGetStretch</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Pango-Enums.html#t:Stretch">Stretch</a>)</li><li class="src short"><a href="#v:fontDescriptionSetSize">fontDescriptionSetSize</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fontDescriptionGetSize">fontDescriptionGetSize</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a>)</li><li class="src short"><span class="keyword">data</span> <a href="#t:FontMask">FontMask</a><ul class="subs"><li>= <a href="#v:PangoFontMaskFamily">PangoFontMaskFamily</a></li><li>| <a href="#v:PangoFontMaskStyle">PangoFontMaskStyle</a></li><li>| <a href="#v:PangoFontMaskVariant">PangoFontMaskVariant</a></li><li>| <a href="#v:PangoFontMaskWeight">PangoFontMaskWeight</a></li><li>| <a href="#v:PangoFontMaskStretch">PangoFontMaskStretch</a></li><li>| <a href="#v:PangoFontMaskSize">PangoFontMaskSize</a></li><li>| <a href="#v:PangoFontMaskGravity">PangoFontMaskGravity</a></li></ul></li><li class="src short"><a href="#v:fontDescriptionUnsetFields">fontDescriptionUnsetFields</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> [<a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fontDescriptionMerge">fontDescriptionMerge</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fontDescriptionBetterMatch">fontDescriptionBetterMatch</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:fontDescriptionFromString">fontDescriptionFromString</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string => string -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a></li><li class="src short"><a href="#v:fontDescriptionToString">fontDescriptionToString</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string => <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> string</li><li class="src short"><span class="keyword">data</span> <a href="#t:FontMap">FontMap</a></li><li class="src short"><span class="keyword">class</span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a href="#t:FontMapClass">FontMapClass</a> o</li><li class="src short"><a href="#v:pangoFontMapListFamilies">pangoFontMapListFamilies</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> [<a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a>]</li><li class="src short"><span class="keyword">data</span> <a href="#t:FontFamily">FontFamily</a></li><li class="src short"><span class="keyword">class</span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a href="#t:FontFamilyClass">FontFamilyClass</a> o</li><li class="src short"><a href="#v:pangoFontFamilyIsMonospace">pangoFontFamilyIsMonospace</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:pangoFontFamilyListFaces">pangoFontFamilyListFaces</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> [<a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a>]</li><li class="src short"><span class="keyword">data</span> <a href="#t:FontFace">FontFace</a></li><li class="src short"><span class="keyword">class</span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a href="#t:FontFaceClass">FontFaceClass</a> o</li><li class="src short"><a href="#v:pangoFontFaceListSizes">pangoFontFaceListSizes</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a>])</li><li class="src short"><a href="#v:pangoFontFaceDescribe">pangoFontFaceDescribe</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Font">Font</a></li><li class="src short"><span class="keyword">class</span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a href="#t:FontClass">FontClass</a> o</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:FontDescription" class="def">FontDescription</a> <a href="src/Graphics-Rendering-Pango-BasicTypes.html#FontDescription" class="link">Source</a> <a href="#t:FontDescription" class="selflink">#</a></p><div class="doc"><p>A possibly partial description of font(s).</p></div><div class="subs instances"><p id="control.i:FontDescription" class="caption collapser" onclick="toggleSection('i:FontDescription')">Instances</p><div id="section.i:FontDescription" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FontDescription:Show:1" class="instance expander" onclick="toggleSection('i:id:FontDescription:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a></span> <a href="src/Graphics-Rendering-Pango-BasicTypes.html#line-351" class="link">Source</a> <a href="#t:FontDescription" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:FontDescription:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:fontDescriptionNew" class="def">fontDescriptionNew</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionNew" class="link">Source</a> <a href="#v:fontDescriptionNew" class="selflink">#</a></p><div class="doc"><p>Create a new font description.</p><ul><li>All field are unset.</li></ul></div></div><div class="top"><p class="src"><a id="v:fontDescriptionCopy" class="def">fontDescriptionCopy</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionCopy" class="link">Source</a> <a href="#v:fontDescriptionCopy" class="selflink">#</a></p><div class="doc"><p>Make a deep copy of a font description.</p></div></div><div class="top"><p class="src"><a id="v:fontDescriptionSetFamily" class="def">fontDescriptionSetFamily</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string => <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> string -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionSetFamily" class="link">Source</a> <a href="#v:fontDescriptionSetFamily" class="selflink">#</a></p><div class="doc"><p>Set the font famliy.</p><ul><li>A font family is a name designating the design of the font (e.g. Sans
or Times) without the variant.</li><li>In some contexts a comma separated list of font families can be used.</li></ul></div></div><div class="top"><p class="src"><a id="v:fontDescriptionGetFamily" class="def">fontDescriptionGetFamily</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string => <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> string) <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionGetFamily" class="link">Source</a> <a href="#v:fontDescriptionGetFamily" class="selflink">#</a></p><div class="doc"><p>Get the font family.</p><ul><li><code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code> is returned if the font family is not set.</li></ul></div></div><div class="top"><p class="src"><a id="v:fontDescriptionSetStyle" class="def">fontDescriptionSetStyle</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="Graphics-Rendering-Pango-Enums.html#t:FontStyle">FontStyle</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionSetStyle" class="link">Source</a> <a href="#v:fontDescriptionSetStyle" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:fontDescriptionGetStyle" class="def">fontDescriptionGetStyle</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Pango-Enums.html#t:FontStyle">FontStyle</a>) <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionGetStyle" class="link">Source</a> <a href="#v:fontDescriptionGetStyle" class="selflink">#</a></p><div class="doc"><p>Get the style field.</p></div></div><div class="top"><p class="src"><a id="v:fontDescriptionSetVariant" class="def">fontDescriptionSetVariant</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="Graphics-Rendering-Pango-Enums.html#t:Variant">Variant</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionSetVariant" class="link">Source</a> <a href="#v:fontDescriptionSetVariant" class="selflink">#</a></p><div class="doc"><p>Set the variant field.</p></div></div><div class="top"><p class="src"><a id="v:fontDescriptionGetVariant" class="def">fontDescriptionGetVariant</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Pango-Enums.html#t:Variant">Variant</a>) <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionGetVariant" class="link">Source</a> <a href="#v:fontDescriptionGetVariant" class="selflink">#</a></p><div class="doc"><p>Get the variant field.</p></div></div><div class="top"><p class="src"><a id="v:fontDescriptionSetWeight" class="def">fontDescriptionSetWeight</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="Graphics-Rendering-Pango-Enums.html#t:Weight">Weight</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionSetWeight" class="link">Source</a> <a href="#v:fontDescriptionSetWeight" class="selflink">#</a></p><div class="doc"><p>Set the weight field.</p></div></div><div class="top"><p class="src"><a id="v:fontDescriptionGetWeight" class="def">fontDescriptionGetWeight</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Pango-Enums.html#t:Weight">Weight</a>) <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionGetWeight" class="link">Source</a> <a href="#v:fontDescriptionGetWeight" class="selflink">#</a></p><div class="doc"><p>Get the weight field.</p></div></div><div class="top"><p class="src"><a id="v:fontDescriptionSetStretch" class="def">fontDescriptionSetStretch</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="Graphics-Rendering-Pango-Enums.html#t:Stretch">Stretch</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionSetStretch" class="link">Source</a> <a href="#v:fontDescriptionSetStretch" class="selflink">#</a></p><div class="doc"><p>Set the stretch field.</p></div></div><div class="top"><p class="src"><a id="v:fontDescriptionGetStretch" class="def">fontDescriptionGetStretch</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Pango-Enums.html#t:Stretch">Stretch</a>) <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionGetStretch" class="link">Source</a> <a href="#v:fontDescriptionGetStretch" class="selflink">#</a></p><div class="doc"><p>Get the stretch field.</p></div></div><div class="top"><p class="src"><a id="v:fontDescriptionSetSize" class="def">fontDescriptionSetSize</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionSetSize" class="link">Source</a> <a href="#v:fontDescriptionSetSize" class="selflink">#</a></p><div class="doc"><p>Set the size field.</p><ul><li>The given size is in points (pts). One point is 1/72 inch.</li></ul></div></div><div class="top"><p class="src"><a id="v:fontDescriptionGetSize" class="def">fontDescriptionGetSize</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a>) <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionGetSize" class="link">Source</a> <a href="#v:fontDescriptionGetSize" class="selflink">#</a></p><div class="doc"><p>Get the size field.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:FontMask" class="def">FontMask</a> <a href="src/Graphics-Rendering-Pango-Description.html#FontMask" class="link">Source</a> <a href="#t:FontMask" class="selflink">#</a></p><div class="doc"><p>Flags denoting which fields in a font description are set.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:PangoFontMaskFamily" class="def">PangoFontMaskFamily</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:PangoFontMaskStyle" class="def">PangoFontMaskStyle</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:PangoFontMaskVariant" class="def">PangoFontMaskVariant</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:PangoFontMaskWeight" class="def">PangoFontMaskWeight</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:PangoFontMaskStretch" class="def">PangoFontMaskStretch</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:PangoFontMaskSize" class="def">PangoFontMaskSize</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:PangoFontMaskGravity" class="def">PangoFontMaskGravity</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:FontMask" class="caption collapser" onclick="toggleSection('i:FontMask')">Instances</p><div id="section.i:FontMask" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FontMask:Bounded:1" class="instance expander" onclick="toggleSection('i:id:FontMask:Bounded:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Bounded">Bounded</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a></span> <a href="src/Graphics-Rendering-Pango-Description.html#line-111" class="link">Source</a> <a href="#t:FontMask" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:FontMask:Bounded:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:minBound">minBound</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a> <a href="#v:minBound" class="selflink">#</a></p><p class="src"><a href="#v:maxBound">maxBound</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a> <a href="#v:maxBound" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FontMask:Enum:2" class="instance expander" onclick="toggleSection('i:id:FontMask:Enum:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a></span> <a href="src/Graphics-Rendering-Pango-Description.html#line-112" class="link">Source</a> <a href="#t:FontMask" class="selflink">#</a></td><td class="doc"><p>Set the style field.</p><ul><li>Most fonts will have either a <code><a href="Graphics-Rendering-Pango-Enums.html#v:StyleItalic">StyleItalic</a></code> or <code><a href="Graphics-Rendering-Pango-Enums.html#v:StyleOblique">StyleOblique</a></code>
but rarely both.</li></ul></td></tr><tr><td colspan="2"><div id="section.i:id:FontMask:Enum:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a> <a href="#v:succ" class="selflink">#</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a> <a href="#v:pred" class="selflink">#</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a> -> [<a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a>] <a href="#v:enumFrom" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a> -> [<a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a>] <a href="#v:enumFromThen" class="selflink">#</a></p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a> -> [<a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a>] <a href="#v:enumFromTo" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a> -> [<a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a>] <a href="#v:enumFromThenTo" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FontMask:Flags:3" class="instance expander" onclick="toggleSection('i:id:FontMask:Flags:3')"></span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Flags.html#t:Flags">Flags</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a></span> <a href="src/Graphics-Rendering-Pango-Description.html#line-106" class="link">Source</a> <a href="#t:FontMask" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:FontMask:Flags:3" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:fontDescriptionUnsetFields" class="def">fontDescriptionUnsetFields</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> [<a href="Graphics-Rendering-Pango-Font.html#t:FontMask">FontMask</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionUnsetFields" class="link">Source</a> <a href="#v:fontDescriptionUnsetFields" class="selflink">#</a></p><div class="doc"><p>Reset fields in a font description.</p></div></div><div class="top"><p class="src"><a id="v:fontDescriptionMerge" class="def">fontDescriptionMerge</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionMerge" class="link">Source</a> <a href="#v:fontDescriptionMerge" class="selflink">#</a></p><div class="doc"><p>Merge two font descriptions.</p><ul><li>Copy fields from the second description to the first. If the boolean
parameter is set, existing fields in the first description will be
replaced.</li></ul></div></div><div class="top"><p class="src"><a id="v:fontDescriptionBetterMatch" class="def">fontDescriptionBetterMatch</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionBetterMatch" class="link">Source</a> <a href="#v:fontDescriptionBetterMatch" class="selflink">#</a></p><div class="doc"><p>Determine which of two descriptions matches a given description better.</p><ul><li>Returns <code>True</code> if the last description is a better match to the first
arguement than the middle one.</li><li>Approximate matching is done on weight and style. If the other
attributes do not match, the function returns <code>False</code>.</li></ul></div></div><div class="top"><p class="src"><a id="v:fontDescriptionFromString" class="def">fontDescriptionFromString</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string => string -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionFromString" class="link">Source</a> <a href="#v:fontDescriptionFromString" class="selflink">#</a></p><div class="doc"><p>Create a font description from a string.</p><ul><li>The given argument must have the form
<code>[FAMILY-LIST] [STYLE-OPTIONS] [SIZE]</code> where <code>FAMILY_LIST</code> is a comma
separated list of font families optionally terminated by a comma,
<code>STYLE_OPTIONS</code> is a whitespace separated list of words where each
word describes one of style, variant, weight or stretch. <code>SIZE</code> is
a decimal number giving the size of the font in points. If any of
these fields is absent, the resulting <code><a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a></code> will have
the corresponing fields unset.</li></ul></div></div><div class="top"><p class="src"><a id="v:fontDescriptionToString" class="def">fontDescriptionToString</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string => <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> string <a href="src/Graphics-Rendering-Pango-Description.html#fontDescriptionToString" class="link">Source</a> <a href="#v:fontDescriptionToString" class="selflink">#</a></p><div class="doc"><p>Convert a font description to a string.</p><ul><li>Creates a string representation of a font description. See
<code><a href="Graphics-Rendering-Pango-Font.html#v:fontDescriptionFromString">fontDescriptionFromString</a></code> for the format of the string.</li></ul></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:FontMap" class="def">FontMap</a> <a href="src/Graphics-Rendering-Pango-Types.html#FontMap" class="link">Source</a> <a href="#t:FontMap" class="selflink">#</a></p><div class="subs instances"><p id="control.i:FontMap" class="caption collapser" onclick="toggleSection('i:FontMap')">Instances</p><div id="section.i:FontMap" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FontMap:Eq:1" class="instance expander" onclick="toggleSection('i:id:FontMap:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-214" class="link">Source</a> <a href="#t:FontMap" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:FontMap:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FontMap:Ord:2" class="instance expander" onclick="toggleSection('i:id:FontMap:Ord:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-214" class="link">Source</a> <a href="#t:FontMap" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:FontMap:Ord:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(<)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(<=)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(>)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(>=)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FontMap:GObjectClass:3" class="instance expander" onclick="toggleSection('i:id:FontMap:GObjectClass:3')"></span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-224" class="link">Source</a> <a href="#t:FontMap" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:FontMap:GObjectClass:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toGObject">toGObject</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> <a href="#v:toGObject" class="selflink">#</a></p><p class="src"><a href="#v:unsafeCastGObject">unsafeCastGObject</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> <a href="#v:unsafeCastGObject" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FontMap:FontMapClass:4" class="instance expander" onclick="toggleSection('i:id:FontMap:FontMapClass:4')"></span> <a href="Graphics-Rendering-Pango-Font.html#t:FontMapClass">FontMapClass</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-223" class="link">Source</a> <a href="#t:FontMap" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:FontMap:FontMapClass:4" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a id="t:FontMapClass" class="def">FontMapClass</a> o <a href="src/Graphics-Rendering-Pango-Types.html#FontMapClass" class="link">Source</a> <a href="#t:FontMapClass" class="selflink">#</a></p><div class="subs instances"><p id="control.i:FontMapClass" class="caption collapser" onclick="toggleSection('i:FontMapClass')">Instances</p><div id="section.i:FontMapClass" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:FontMapClass:FontMapClass:1" class="instance expander" onclick="toggleSection('i:ic:FontMapClass:FontMapClass:1')"></span> <a href="Graphics-Rendering-Pango-Font.html#t:FontMapClass">FontMapClass</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-223" class="link">Source</a> <a href="#t:FontMapClass" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:FontMapClass:FontMapClass:1" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:pangoFontMapListFamilies" class="def">pangoFontMapListFamilies</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> [<a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a>] <a href="src/Graphics-Rendering-Pango-Font.html#pangoFontMapListFamilies" class="link">Source</a> <a href="#v:pangoFontMapListFamilies" class="selflink">#</a></p><div class="doc"><p>Ask for the different font families that a particular back-end supports.</p><ul><li>The <code><a href="Graphics-Rendering-Pango-Font.html#t:FontMap">FontMap</a></code> can be acquired by calling
<code><a href="Graphics-Rendering-Pango-Cairo.html#v:cairoFontMapGetDefault">cairoFontMapGetDefault</a></code>.</li></ul></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:FontFamily" class="def">FontFamily</a> <a href="src/Graphics-Rendering-Pango-Types.html#FontFamily" class="link">Source</a> <a href="#t:FontFamily" class="selflink">#</a></p><div class="subs instances"><p id="control.i:FontFamily" class="caption collapser" onclick="toggleSection('i:FontFamily')">Instances</p><div id="section.i:FontFamily" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FontFamily:Eq:1" class="instance expander" onclick="toggleSection('i:id:FontFamily:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-168" class="link">Source</a> <a href="#t:FontFamily" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:FontFamily:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FontFamily:Ord:2" class="instance expander" onclick="toggleSection('i:id:FontFamily:Ord:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-168" class="link">Source</a> <a href="#t:FontFamily" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:FontFamily:Ord:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(<)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(<=)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(>)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(>=)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FontFamily:GObjectClass:3" class="instance expander" onclick="toggleSection('i:id:FontFamily:GObjectClass:3')"></span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-178" class="link">Source</a> <a href="#t:FontFamily" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:FontFamily:GObjectClass:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toGObject">toGObject</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> <a href="#v:toGObject" class="selflink">#</a></p><p class="src"><a href="#v:unsafeCastGObject">unsafeCastGObject</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> <a href="#v:unsafeCastGObject" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FontFamily:FontFamilyClass:4" class="instance expander" onclick="toggleSection('i:id:FontFamily:FontFamilyClass:4')"></span> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamilyClass">FontFamilyClass</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-177" class="link">Source</a> <a href="#t:FontFamily" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:FontFamily:FontFamilyClass:4" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a id="t:FontFamilyClass" class="def">FontFamilyClass</a> o <a href="src/Graphics-Rendering-Pango-Types.html#FontFamilyClass" class="link">Source</a> <a href="#t:FontFamilyClass" class="selflink">#</a></p><div class="subs instances"><p id="control.i:FontFamilyClass" class="caption collapser" onclick="toggleSection('i:FontFamilyClass')">Instances</p><div id="section.i:FontFamilyClass" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:FontFamilyClass:FontFamilyClass:1" class="instance expander" onclick="toggleSection('i:ic:FontFamilyClass:FontFamilyClass:1')"></span> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamilyClass">FontFamilyClass</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-177" class="link">Source</a> <a href="#t:FontFamilyClass" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:FontFamilyClass:FontFamilyClass:1" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:pangoFontFamilyIsMonospace" class="def">pangoFontFamilyIsMonospace</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-Rendering-Pango-Font.html#pangoFontFamilyIsMonospace" class="link">Source</a> <a href="#v:pangoFontFamilyIsMonospace" class="selflink">#</a></p><div class="doc"><p>Ask if the given family contains monospace fonts.</p><ul><li>A monospace font is a font designed for text display where the
characters form a regular grid. For Western languages this would
mean that the advance width of all characters are the same, but
this categorization also includes Asian fonts which include
double-width characters: characters that occupy two grid cells.</li><li>The best way to find out the grid-cell size is to query the members
of the according <code><a href="Graphics-Rendering-Pango-Enums.html#t:FontMetrics">FontMetrics</a></code> structure.</li></ul></div></div><div class="top"><p class="src"><a id="v:pangoFontFamilyListFaces" class="def">pangoFontFamilyListFaces</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> [<a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a>] <a href="src/Graphics-Rendering-Pango-Font.html#pangoFontFamilyListFaces" class="link">Source</a> <a href="#v:pangoFontFamilyListFaces" class="selflink">#</a></p><div class="doc"><p>Ask for the faces contained in a particular family.</p><ul><li>Asks for all font faces in the given family. The faces in a family
share a common design, but differ in slant, weight, width and other
aspects. For example, the font family <a href="Sans.html">Sans</a> contains several fonts
such as Helvetica and Arial.</li></ul></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:FontFace" class="def">FontFace</a> <a href="src/Graphics-Rendering-Pango-Types.html#FontFace" class="link">Source</a> <a href="#t:FontFace" class="selflink">#</a></p><div class="subs instances"><p id="control.i:FontFace" class="caption collapser" onclick="toggleSection('i:FontFace')">Instances</p><div id="section.i:FontFace" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FontFace:Eq:1" class="instance expander" onclick="toggleSection('i:id:FontFace:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-191" class="link">Source</a> <a href="#t:FontFace" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:FontFace:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FontFace:Ord:2" class="instance expander" onclick="toggleSection('i:id:FontFace:Ord:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-191" class="link">Source</a> <a href="#t:FontFace" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:FontFace:Ord:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(<)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(<=)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(>)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(>=)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FontFace:GObjectClass:3" class="instance expander" onclick="toggleSection('i:id:FontFace:GObjectClass:3')"></span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-201" class="link">Source</a> <a href="#t:FontFace" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:FontFace:GObjectClass:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toGObject">toGObject</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> <a href="#v:toGObject" class="selflink">#</a></p><p class="src"><a href="#v:unsafeCastGObject">unsafeCastGObject</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> <a href="#v:unsafeCastGObject" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FontFace:FontFaceClass:4" class="instance expander" onclick="toggleSection('i:id:FontFace:FontFaceClass:4')"></span> <a href="Graphics-Rendering-Pango-Font.html#t:FontFaceClass">FontFaceClass</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-200" class="link">Source</a> <a href="#t:FontFace" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:FontFace:FontFaceClass:4" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a id="t:FontFaceClass" class="def">FontFaceClass</a> o <a href="src/Graphics-Rendering-Pango-Types.html#FontFaceClass" class="link">Source</a> <a href="#t:FontFaceClass" class="selflink">#</a></p><div class="subs instances"><p id="control.i:FontFaceClass" class="caption collapser" onclick="toggleSection('i:FontFaceClass')">Instances</p><div id="section.i:FontFaceClass" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:FontFaceClass:FontFaceClass:1" class="instance expander" onclick="toggleSection('i:ic:FontFaceClass:FontFaceClass:1')"></span> <a href="Graphics-Rendering-Pango-Font.html#t:FontFaceClass">FontFaceClass</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-200" class="link">Source</a> <a href="#t:FontFaceClass" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:FontFaceClass:FontFaceClass:1" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:pangoFontFaceListSizes" class="def">pangoFontFaceListSizes</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a>]) <a href="src/Graphics-Rendering-Pango-Font.html#pangoFontFaceListSizes" class="link">Source</a> <a href="#v:pangoFontFaceListSizes" class="selflink">#</a></p><div class="doc"><p>Ask for available sizes of this font face.</p><ul><li>List the available sizes for a font. This is only applicable to bitmap
fonts since all other fonts can be scaled arbitrarily. For scalable
fonts, this function returns <code>Nothing</code>. The sizes returned are in
ascending order, their unit is points (1/72 inch).</li></ul></div></div><div class="top"><p class="src"><a id="v:pangoFontFaceDescribe" class="def">pangoFontFaceDescribe</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontDescription">FontDescription</a> <a href="src/Graphics-Rendering-Pango-Font.html#pangoFontFaceDescribe" class="link">Source</a> <a href="#v:pangoFontFaceDescribe" class="selflink">#</a></p><div class="doc"><p>Ask for a description of this face.</p><ul><li>Returns the family, style, variant, weight and stretch of a <code><a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a></code>.
The size field of the resulting font description will be unset.</li></ul></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Font" class="def">Font</a> <a href="src/Graphics-Rendering-Pango-Types.html#Font" class="link">Source</a> <a href="#t:Font" class="selflink">#</a></p><div class="subs instances"><p id="control.i:Font" class="caption collapser" onclick="toggleSection('i:Font')">Instances</p><div id="section.i:Font" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Font:Eq:1" class="instance expander" onclick="toggleSection('i:id:Font:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-145" class="link">Source</a> <a href="#t:Font" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Font:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Font:Ord:2" class="instance expander" onclick="toggleSection('i:id:Font:Ord:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-145" class="link">Source</a> <a href="#t:Font" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Font:Ord:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(<)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(<=)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(>)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(>=)</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Font:GObjectClass:3" class="instance expander" onclick="toggleSection('i:id:Font:GObjectClass:3')"></span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-155" class="link">Source</a> <a href="#t:Font" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Font:GObjectClass:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toGObject">toGObject</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> -> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> <a href="#v:toGObject" class="selflink">#</a></p><p class="src"><a href="#v:unsafeCastGObject">unsafeCastGObject</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a> <a href="#v:unsafeCastGObject" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Font:FontClass:4" class="instance expander" onclick="toggleSection('i:id:Font:FontClass:4')"></span> <a href="Graphics-Rendering-Pango-Font.html#t:FontClass">FontClass</a> <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-154" class="link">Source</a> <a href="#t:Font" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Font:FontClass:4" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a id="t:FontClass" class="def">FontClass</a> o <a href="src/Graphics-Rendering-Pango-Types.html#FontClass" class="link">Source</a> <a href="#t:FontClass" class="selflink">#</a></p><div class="subs instances"><p id="control.i:FontClass" class="caption collapser" onclick="toggleSection('i:FontClass')">Instances</p><div id="section.i:FontClass" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:FontClass:FontClass:1" class="instance expander" onclick="toggleSection('i:ic:FontClass:FontClass:1')"></span> <a href="Graphics-Rendering-Pango-Font.html#t:FontClass">FontClass</a> <a href="Graphics-Rendering-Pango-Font.html#t:Font">Font</a></span> <a href="src/Graphics-Rendering-Pango-Types.html#line-154" class="link">Source</a> <a href="#t:FontClass" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:FontClass:FontClass:1" class="inst-details hide"></div></td></tr></table></div></div></div><h1>Orphan instances</h1><div id="section.orphans" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:o:ic:Show:Show:1" class="instance expander" onclick="toggleSection('i:o:ic:Show:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a></span> <a href="src/Graphics-Rendering-Pango-Font.html#line-145" class="link">Source</a> <a href="#v:-36-fShowFontFace" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:o:ic:Show:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Graphics-Rendering-Pango-Font.html#t:FontFace">FontFace</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:o:ic:Show:Show:2" class="instance expander" onclick="toggleSection('i:o:ic:Show:Show:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a></span> <a href="src/Graphics-Rendering-Pango-Font.html#line-106" class="link">Source</a> <a href="#v:-36-fShowFontFamily" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:o:ic:Show:Show:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Graphics-Rendering-Pango-Font.html#t:FontFamily">FontFamily</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>
|