⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pango-fonts.html

📁 GTK+-2.0源码之pango-1.15.6.tar.gz
💻 HTML
📖 第 1 页 / 共 5 页
字号:
                                             <ahref="../glib/glib-Basic-Types.html#gpointer">gpointer</a> data);            <a href="pango-Fonts.html#PangoFontsetSimple-struct">PangoFontsetSimple</a>;#define     <a href="pango-Fonts.html#PANGO-TYPE-FONTSET-SIMPLE:CAPS">PANGO_TYPE_FONTSET_SIMPLE</a><a href="pango-Fonts.html#PangoFontsetSimple">PangoFontsetSimple</a>* <a href="pango-Fonts.html#pango-fontset-simple-new">pango_fontset_simple_new</a>                                            (<a href="pango-Text-Attributes.html#PangoLanguage">PangoLanguage</a> *language);void        <a href="pango-Fonts.html#pango-fontset-simple-append">pango_fontset_simple_append</a>     (<a href="pango-Fonts.html#PangoFontsetSimple">PangoFontsetSimple</a> *fontset,                                             <a href="pango-Fonts.html#PangoFont">PangoFont</a> *font);int         <a href="pango-Fonts.html#pango-fontset-simple-size">pango_fontset_simple_size</a>       (<a href="pango-Fonts.html#PangoFontsetSimple">PangoFontsetSimple</a> *fontset);</pre></div><div class="refsect1" lang="en"><a name="object_hierarchy"></a><h2>Object Hierarchy</h2><pre class="synopsis">  <ahref="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>   +----PangoFont         +----<a href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a></pre><pre class="synopsis">  <ahref="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>   +----PangoFontFamily</pre><pre class="synopsis">  <ahref="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>   +----PangoFontFace</pre><pre class="synopsis">  <ahref="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>   +----PangoFontMap         +----<a href="PangoFcFontMap.html" title="PangoFcFontMap">PangoFcFontMap</a></pre><pre class="synopsis">  <ahref="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>   +----PangoFontset         +----<a href="pango-Fonts.html#PangoFontsetSimple">PangoFontsetSimple</a></pre><pre class="synopsis">  <ahref="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>   +----<a href="pango-Fonts.html#PangoFontset">PangoFontset</a>         +----PangoFontsetSimple</pre></div><div class="refsect1" lang="en"><a name="derived_interfaces"></a><h2>Known Derived Interfaces</h2><p>PangoFontMap is required by <a href="pango-Cairo-Rendering.html#PangoCairoFontMap">PangoCairoFontMap</a>.</p></div><div class="refsect1" lang="en"><a name="desc"></a><h2>Description</h2><p>Pango supports a flexible architecture where aparticular rendering architecture can supply animplementation of fonts. The <a href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> structurerepresents an abstract rendering-system-independent font.Pango provides routines to list available fonts, andto load a font of a given description.</p></div><div class="refsect1" lang="en"><a name="details"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id2785556"></a><h3><a name="PangoFontDescription"></a>PangoFontDescription</h3><a class="indexterm" name="id2785568"></a><pre class="programlisting">typedef struct _PangoFontDescription PangoFontDescription;</pre><p>The <a href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure represents the descriptionof an ideal font. These structures are used both to listwhat fonts are available on the system and also for specifyingthe characteristics of a font to load.</p></div><hr><div class="refsect2" lang="en"><a name="id2785596"></a><h3><a name="PANGO-TYPE-FONT-DESCRIPTION:CAPS"></a>PANGO_TYPE_FONT_DESCRIPTION</h3><a class="indexterm" name="id2785610"></a><pre class="programlisting">#define PANGO_TYPE_FONT_DESCRIPTION (pango_font_description_get_type ())</pre><p>The <ahref="../gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>.</p></div><hr><div class="refsect2" lang="en"><a name="id2785643"></a><h3><a name="PangoStyle"></a>enum PangoStyle</h3><a class="indexterm" name="id2785655"></a><pre class="programlisting">typedef enum {  PANGO_STYLE_NORMAL,  PANGO_STYLE_OBLIQUE,  PANGO_STYLE_ITALIC} PangoStyle;</pre><p>An enumeration specifying the various slant styles possible for a font.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><a name="PANGO-STYLE-NORMAL:CAPS"></a><code class="literal">PANGO_STYLE_NORMAL</code></span></td><td> the font is upright.</td></tr><tr><td><span class="term"><a name="PANGO-STYLE-OBLIQUE:CAPS"></a><code class="literal">PANGO_STYLE_OBLIQUE</code></span></td><td> the font is slanted, but in a roman style.</td></tr><tr><td><span class="term"><a name="PANGO-STYLE-ITALIC:CAPS"></a><code class="literal">PANGO_STYLE_ITALIC</code></span></td><td> the font is slanted in an italic style.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2785749"></a><h3><a name="PANGO-TYPE-STYLE:CAPS"></a>PANGO_TYPE_STYLE</h3><a class="indexterm" name="id2785762"></a><pre class="programlisting">#define PANGO_TYPE_STYLE (pango_style_get_type())</pre><p>The <ahref="../gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a href="pango-Fonts.html#PangoStyle"><span class="type">PangoStyle</span></a>.</p></div><hr><div class="refsect2" lang="en"><a name="id2785794"></a><h3><a name="PangoWeight"></a>enum PangoWeight</h3><a class="indexterm" name="id2785806"></a><pre class="programlisting">typedef enum {  PANGO_WEIGHT_ULTRALIGHT = 200,  PANGO_WEIGHT_LIGHT = 300,  PANGO_WEIGHT_NORMAL = 400,  PANGO_WEIGHT_SEMIBOLD = 600,  PANGO_WEIGHT_BOLD = 700,  PANGO_WEIGHT_ULTRABOLD = 800,  PANGO_WEIGHT_HEAVY = 900} PangoWeight;</pre><p>An enumeration specifying the weight (boldness) of a font. This is a numericalvalue ranging from 100 to 900, but there are some predefined values:</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><a name="PANGO-WEIGHT-ULTRALIGHT:CAPS"></a><code class="literal">PANGO_WEIGHT_ULTRALIGHT</code></span></td><td>the ultralight weight (= 200)</td></tr><tr><td><span class="term"><a name="PANGO-WEIGHT-LIGHT:CAPS"></a><code class="literal">PANGO_WEIGHT_LIGHT</code></span></td><td> the light weight (=300)</td></tr><tr><td><span class="term"><a name="PANGO-WEIGHT-NORMAL:CAPS"></a><code class="literal">PANGO_WEIGHT_NORMAL</code></span></td><td>the default weight (= 400)</td></tr><tr><td><span class="term"><a name="PANGO-WEIGHT-SEMIBOLD:CAPS"></a><code class="literal">PANGO_WEIGHT_SEMIBOLD</code></span></td><td>a weight intermediate between normal and bold (=600)</td></tr><tr><td><span class="term"><a name="PANGO-WEIGHT-BOLD:CAPS"></a><code class="literal">PANGO_WEIGHT_BOLD</code></span></td><td>the bold weight (= 700)</td></tr><tr><td><span class="term"><a name="PANGO-WEIGHT-ULTRABOLD:CAPS"></a><code class="literal">PANGO_WEIGHT_ULTRABOLD</code></span></td><td>the ultrabold weight (= 800)</td></tr><tr><td><span class="term"><a name="PANGO-WEIGHT-HEAVY:CAPS"></a><code class="literal">PANGO_WEIGHT_HEAVY</code></span></td><td>the heavy weight (= 900)</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2785990"></a><h3><a name="PANGO-TYPE-WEIGHT:CAPS"></a>PANGO_TYPE_WEIGHT</h3><a class="indexterm" name="id2786004"></a><pre class="programlisting">#define PANGO_TYPE_WEIGHT (pango_weight_get_type())</pre><p>The <ahref="../gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a href="pango-Fonts.html#PangoWeight"><span class="type">PangoWeight</span></a>.</p></div><hr><div class="refsect2" lang="en"><a name="id2786035"></a><h3><a name="PangoVariant"></a>enum PangoVariant</h3><a class="indexterm" name="id2786048"></a><pre class="programlisting">typedef enum {  PANGO_VARIANT_NORMAL,  PANGO_VARIANT_SMALL_CAPS} PangoVariant;</pre><p>An enumeration specifying capitalization variant of the font.</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><a name="PANGO-VARIANT-NORMAL:CAPS"></a><code class="literal">PANGO_VARIANT_NORMAL</code></span></td><td>A normal font.</td></tr><tr><td><span class="term"><a name="PANGO-VARIANT-SMALL-CAPS:CAPS"></a><code class="literal">PANGO_VARIANT_SMALL_CAPS</code></span></td><td>A font with the lower case characters  replaced by smaller variants of the capital characters.</td></tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -