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

📄 x-fonts.xml

📁 GTK+-2.0源码之pango-1.15.6.tar.gz
💻 XML
📖 第 1 页 / 共 4 页
字号:
<varlistentry><term><parameter>charsets</parameter>&nbsp;:</term><listitem><simpara> An array of charsets.</simpara></listitem></varlistentry><varlistentry><term><parameter>n_charsets</parameter>&nbsp;:</term><listitem><simpara> The number of charsets in <parameter>charsets</parameter>.</simpara></listitem></varlistentry><varlistentry><term><parameter>rfont</parameter>&nbsp;:</term><listitem><simpara> A pointer to a <link linkend="PangoXSubfont"><type>PangoXSubfont</type></link>.</simpara></listitem></varlistentry><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if *<parameter>rfont</parameter> now contains a font.</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="pango-x-font-get-unknown-glyph" role="function" condition="deprecated:"/>pango_x_font_get_unknown_glyph ()</title><indexterm role="deprecated"><primary>pango_x_font_get_unknown_glyph</primary></indexterm><programlisting><link linkend="PangoGlyph">PangoGlyph</link>  pango_x_font_get_unknown_glyph  (<link linkend="PangoFont">PangoFont</link> *font,                                             <link linkend="gunichar">gunichar</link> wc);</programlisting><warning><para><literal>pango_x_font_get_unknown_glyph</literal> is deprecated and should not be used in newly-written code.</para></warning><para>Returns the index of a glyph suitable for drawing <parameter>wc</parameter> as anunknown character.</para><para>Use <link linkend="PANGO-GET-UNKNOWN-GLYPH:CAPS"><function>PANGO_GET_UNKNOWN_GLYPH()</function></link> instead.</para><para></para><variablelist role="params"><varlistentry><term><parameter>font</parameter>&nbsp;:</term><listitem><simpara> a <link linkend="PangoFont"><type>PangoFont</type></link>.</simpara></listitem></varlistentry><varlistentry><term><parameter>wc</parameter>&nbsp;:</term><listitem><simpara> the Unicode character for which a glyph is needed.</simpara></listitem></varlistentry><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a glyph index into <parameter>font</parameter>.</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="pango-x-apply-ligatures" role="function" condition="deprecated:"/>pango_x_apply_ligatures ()</title><indexterm role="deprecated"><primary>pango_x_apply_ligatures</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    pango_x_apply_ligatures         (<link linkend="PangoFont">PangoFont</link> *font,                                             <link linkend="PangoXSubfont">PangoXSubfont</link> subfont,                                             <link linkend="gunichar">gunichar</link> **glyphs,                                             <link linkend="int">int</link> *n_glyphs,                                             <link linkend="int">int</link> **clusters);</programlisting><warning><para><literal>pango_x_apply_ligatures</literal> is deprecated and should not be used in newly-written code.</para></warning><para>Previously did subfont-specific ligation. Now a no-op.</para><para></para><variablelist role="params"><varlistentry><term><parameter>font</parameter>&nbsp;:</term><listitem><simpara> unused</simpara></listitem></varlistentry><varlistentry><term><parameter>subfont</parameter>&nbsp;:</term><listitem><simpara> unused</simpara></listitem></varlistentry><varlistentry><term><parameter>glyphs</parameter>&nbsp;:</term><listitem><simpara> unused</simpara></listitem></varlistentry><varlistentry><term><parameter>n_glyphs</parameter>&nbsp;:</term><listitem><simpara> unused</simpara></listitem></varlistentry><varlistentry><term><parameter>clusters</parameter>&nbsp;:</term><listitem><simpara> unused</simpara></listitem></varlistentry><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>, always.</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="pango-x-fallback-shape" role="function" condition="deprecated:"/>pango_x_fallback_shape ()</title><indexterm role="deprecated"><primary>pango_x_fallback_shape</primary></indexterm><programlisting><link linkend="void">void</link>        pango_x_fallback_shape          (<link linkend="PangoFont">PangoFont</link> *font,                                             <link linkend="PangoGlyphString">PangoGlyphString</link> *glyphs,                                             const <link linkend="char">char</link> *text,                                             <link linkend="int">int</link> n_chars);</programlisting><warning><para><literal>pango_x_fallback_shape</literal> is deprecated and should not be used in newly-written code.</para></warning><para>This is a simple fallback shaper, that can be usedif no subfont that supports a given script is found.For every character in <parameter>text</parameter>, it puts the unknown glyph.</para><para></para><variablelist role="params"><varlistentry><term><parameter>font</parameter>&nbsp;:</term><listitem><simpara> A <link linkend="PangoFont"><type>PangoFont</type></link>.</simpara></listitem></varlistentry><varlistentry><term><parameter>glyphs</parameter>&nbsp;:</term><listitem><simpara> A pointer to a <link linkend="PangoGlyphString"><type>PangoGlyphString</type></link>.</simpara></listitem></varlistentry><varlistentry><term><parameter>text</parameter>&nbsp;:</term><listitem><simpara> UTF-8 string.</simpara></listitem></varlistentry><varlistentry><term><parameter>n_chars</parameter>&nbsp;:</term><listitem><simpara> Number of UTF-8 seqs in <parameter>text</parameter>.</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="PangoXFontCache" role="struct" condition="deprecated:"/>PangoXFontCache</title><indexterm role="deprecated"><primary>PangoXFontCache</primary></indexterm><programlisting>typedef struct _PangoXFontCache PangoXFontCache;</programlisting><warning><para><literal>PangoXFontCache</literal> is deprecated and should not be used in newly-written code.</para></warning><para>A <link linkend="PangoXFontCache"><type>PangoXFontCache</type></link> caches<type>XFontStructs</type> for a single display by their XLFD name. </para></refsect2><refsect2><title><anchor id="pango-x-font-cache-new" role="function" condition="deprecated:"/>pango_x_font_cache_new ()</title><indexterm role="deprecated"><primary>pango_x_font_cache_new</primary></indexterm><programlisting><link linkend="PangoXFontCache">PangoXFontCache</link>* pango_x_font_cache_new     (<link linkend="Display">Display</link> *display);</programlisting><warning><para><literal>pango_x_font_cache_new</literal> is deprecated and should not be used in newly-written code.</para></warning><para>Creates a font cache for the specified display.</para><para></para><variablelist role="params"><varlistentry><term><parameter>display</parameter>&nbsp;:</term><listitem><simpara> an X display.</simpara></listitem></varlistentry><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The newly allocated <link linkend="PangoXFontCache"><type>PangoXFontCache</type></link>, which should be              freed with <link linkend="pango-x-font-cache-free"><function>pango_x_font_cache_free()</function></link>.</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="pango-x-font-cache-free" role="function" condition="deprecated:"/>pango_x_font_cache_free ()</title><indexterm role="deprecated"><primary>pango_x_font_cache_free</primary></indexterm><programlisting><link linkend="void">void</link>        pango_x_font_cache_free         (<link linkend="PangoXFontCache">PangoXFontCache</link> *cache);</programlisting><warning><para><literal>pango_x_font_cache_free</literal> is deprecated and should not be used in newly-written code.</para></warning><para>Frees a <link linkend="PangoXFontCache"><type>PangoXFontCache</type></link> and all associated memory. All fonts loadedthrough this font cache will be freed along with the cache.</para><para></para><variablelist role="params"><varlistentry><term><parameter>cache</parameter>&nbsp;:</term><listitem><simpara> a <link linkend="PangoXFontCache"><type>PangoXFontCache</type></link></simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="pango-x-font-cache-load" role="function" condition="deprecated:"/>pango_x_font_cache_load ()</title><indexterm role="deprecated"><primary>pango_x_font_cache_load</primary></indexterm><programlisting><link linkend="XFontStruct">XFontStruct</link>* pango_x_font_cache_load        (<link linkend="PangoXFontCache">PangoXFontCache</link> *cache,                                             const <link linkend="char">char</link> *xlfd);</programlisting><warning><para><literal>pango_x_font_cache_load</literal> is deprecated and should not be used in newly-written code.</para></warning><para>Loads a <link linkend="XFontStruct"><type>XFontStruct</type></link> from a X Logical Font Description. Theresult may be newly loaded, or it may have been previouslystored.</para><para></para><variablelist role="params"><varlistentry><term><parameter>cache</parameter>&nbsp;:</term><listitem><simpara> a <link linkend="PangoXFontCache"><type>PangoXFontCache</type></link></simpara></listitem></varlistentry><varlistentry><term><parameter>xlfd</parameter>&nbsp;:</term><listitem><simpara> the X Logical Font Description to load.</simpara></listitem></varlistentry><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The font structure, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if the font couldnot be loaded. In order to free this structure, you must call<link linkend="pango-x-font-cache-unload"><function>pango_x_font_cache_unload()</function></link>.</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="pango-x-font-cache-unload" role="function" condition="deprecated:"/>pango_x_font_cache_unload ()</title><indexterm role="deprecated"><primary>pango_x_font_cache_unload</primary></indexterm><programlisting><link linkend="void">void</link>        pango_x_font_cache_unload       (<link linkend="PangoXFontCache">PangoXFontCache</link> *cache,                                             <link linkend="XFontStruct">XFontStruct</link> *fs);</programlisting><warning><para><literal>pango_x_font_cache_unload</literal> is deprecated and should not be used in newly-written code.</para></warning><para>Frees a font structure previously loaded with <link linkend="pango-x-font-cache-load"><function>pango_x_font_cache_load()</function></link>.</para><para></para><variablelist role="params"><varlistentry><term><parameter>cache</parameter>&nbsp;:</term><listitem><simpara> a <link linkend="PangoXFontCache"><type>PangoXFontCache</type></link></simpara></listitem></varlistentry><varlistentry><term><parameter>fs</parameter>&nbsp;:</term><listitem><simpara> the font structure to unload</simpara></listitem></varlistentry></variablelist></refsect2></refsect1></refentry>

⌨️ 快捷键说明

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