📄 fonts.xml
字号:
<link linkend="PangoFontMetrics">PangoFontMetrics</link>* <link linkend="pango-fontset-get-metrics">pango_fontset_get_metrics</link> (<link linkend="PangoFontset">PangoFontset</link> *fontset);<link linkend="gboolean">gboolean</link> (<link linkend="PangoFontsetForeachFunc">*PangoFontsetForeachFunc</link>) (<link linkend="PangoFontset">PangoFontset</link> *fontset, <link linkend="PangoFont">PangoFont</link> *font, <link linkend="gpointer">gpointer</link> data);<link linkend="void">void</link> <link linkend="pango-fontset-foreach">pango_fontset_foreach</link> (<link linkend="PangoFontset">PangoFontset</link> *fontset, <link linkend="PangoFontsetForeachFunc">PangoFontsetForeachFunc</link> func, <link linkend="gpointer">gpointer</link> data); <link linkend="PangoFontsetSimple-struct">PangoFontsetSimple</link>;#define <link linkend="PANGO-TYPE-FONTSET-SIMPLE:CAPS">PANGO_TYPE_FONTSET_SIMPLE</link><link linkend="PangoFontsetSimple">PangoFontsetSimple</link>* <link linkend="pango-fontset-simple-new">pango_fontset_simple_new</link> (<link linkend="PangoLanguage">PangoLanguage</link> *language);<link linkend="void">void</link> <link linkend="pango-fontset-simple-append">pango_fontset_simple_append</link> (<link linkend="PangoFontsetSimple">PangoFontsetSimple</link> *fontset, <link linkend="PangoFont">PangoFont</link> *font);<link linkend="int">int</link> <link linkend="pango-fontset-simple-size">pango_fontset_simple_size</link> (<link linkend="PangoFontsetSimple">PangoFontsetSimple</link> *fontset);</synopsis></refsynopsisdiv><refsect1 id="object_hierarchy"><title id="object_hierarchy.title">Object Hierarchy</title><synopsis> <link linkend="GObject">GObject</link> +----PangoFont +----<link linkend="PangoFcFont">PangoFcFont</link></synopsis><synopsis> <link linkend="GObject">GObject</link> +----PangoFontFamily</synopsis><synopsis> <link linkend="GObject">GObject</link> +----PangoFontFace</synopsis><synopsis> <link linkend="GObject">GObject</link> +----PangoFontMap +----<link linkend="PangoFcFontMap">PangoFcFontMap</link></synopsis><synopsis> <link linkend="GObject">GObject</link> +----PangoFontset +----<link linkend="PangoFontsetSimple">PangoFontsetSimple</link></synopsis><synopsis> <link linkend="GObject">GObject</link> +----<link linkend="PangoFontset">PangoFontset</link> +----PangoFontsetSimple</synopsis></refsect1><refsect1 id="derived_interfaces"><title id="derived_interfaces.title">Known Derived Interfaces</title><para>PangoFontMap is required by <link linkend="PangoCairoFontMap">PangoCairoFontMap</link>.</para></refsect1><refsect1 id="desc"><title id="desc.title">Description</title><para>Pango supports a flexible architecture where aparticular rendering architecture can supply animplementation of fonts. The <link linkend="PangoFont"><type>PangoFont</type></link> structurerepresents an abstract rendering-system-independent font.Pango provides routines to list available fonts, andto load a font of a given description.</para></refsect1><refsect1 id="details"><title id="details.title">Details</title><refsect2><title><anchor id="PangoFontDescription" role="struct"/>PangoFontDescription</title><indexterm><primary>PangoFontDescription</primary></indexterm><programlisting>typedef struct _PangoFontDescription PangoFontDescription;</programlisting><para>The <link linkend="PangoFontDescription"><type>PangoFontDescription</type></link> 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.</para></refsect2><refsect2><title><anchor id="PANGO-TYPE-FONT-DESCRIPTION:CAPS" role="macro"/>PANGO_TYPE_FONT_DESCRIPTION</title><indexterm><primary>PANGO_TYPE_FONT_DESCRIPTION</primary></indexterm><programlisting>#define PANGO_TYPE_FONT_DESCRIPTION (pango_font_description_get_type ())</programlisting><para>The <link linkend="GObject"><type>GObject</type></link> type for <link linkend="PangoFontDescription"><type>PangoFontDescription</type></link>.</para></refsect2><refsect2><title><anchor id="PangoStyle" role="enum"/>enum PangoStyle</title><indexterm><primary>PangoStyle</primary></indexterm><programlisting>typedef enum { PANGO_STYLE_NORMAL, PANGO_STYLE_OBLIQUE, PANGO_STYLE_ITALIC} PangoStyle;</programlisting><para>An enumeration specifying the various slant styles possible for a font.</para><para></para><variablelist role="enum"><varlistentry><term><anchor id="PANGO-STYLE-NORMAL:CAPS" role="constant"/><literal>PANGO_STYLE_NORMAL</literal></term><listitem><simpara> the font is upright.</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-STYLE-OBLIQUE:CAPS" role="constant"/><literal>PANGO_STYLE_OBLIQUE</literal></term><listitem><simpara> the font is slanted, but in a roman style.</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-STYLE-ITALIC:CAPS" role="constant"/><literal>PANGO_STYLE_ITALIC</literal></term><listitem><simpara> the font is slanted in an italic style.</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="PANGO-TYPE-STYLE:CAPS" role="macro"/>PANGO_TYPE_STYLE</title><indexterm><primary>PANGO_TYPE_STYLE</primary></indexterm><programlisting>#define PANGO_TYPE_STYLE (pango_style_get_type())</programlisting><para>The <link linkend="GObject"><type>GObject</type></link> type for <link linkend="PangoStyle"><type>PangoStyle</type></link>.</para></refsect2><refsect2><title><anchor id="PangoWeight" role="enum"/>enum PangoWeight</title><indexterm><primary>PangoWeight</primary></indexterm><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;</programlisting><para>An enumeration specifying the weight (boldness) of a font. This is a numericalvalue ranging from 100 to 900, but there are some predefined values:</para><variablelist role="enum"><varlistentry><term><anchor id="PANGO-WEIGHT-ULTRALIGHT:CAPS" role="constant"/><literal>PANGO_WEIGHT_ULTRALIGHT</literal></term><listitem><simpara>the ultralight weight (= 200)</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-WEIGHT-LIGHT:CAPS" role="constant"/><literal>PANGO_WEIGHT_LIGHT</literal></term><listitem><simpara> the light weight (=300)</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-WEIGHT-NORMAL:CAPS" role="constant"/><literal>PANGO_WEIGHT_NORMAL</literal></term><listitem><simpara>the default weight (= 400)</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-WEIGHT-SEMIBOLD:CAPS" role="constant"/><literal>PANGO_WEIGHT_SEMIBOLD</literal></term><listitem><simpara>a weight intermediate between normal and bold (=600)</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-WEIGHT-BOLD:CAPS" role="constant"/><literal>PANGO_WEIGHT_BOLD</literal></term><listitem><simpara>the bold weight (= 700)</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-WEIGHT-ULTRABOLD:CAPS" role="constant"/><literal>PANGO_WEIGHT_ULTRABOLD</literal></term><listitem><simpara>the ultrabold weight (= 800)</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-WEIGHT-HEAVY:CAPS" role="constant"/><literal>PANGO_WEIGHT_HEAVY</literal></term><listitem><simpara>the heavy weight (= 900)</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="PANGO-TYPE-WEIGHT:CAPS" role="macro"/>PANGO_TYPE_WEIGHT</title><indexterm><primary>PANGO_TYPE_WEIGHT</primary></indexterm><programlisting>#define PANGO_TYPE_WEIGHT (pango_weight_get_type())</programlisting>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -