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

📄 pango-xft-fonts-and-rendering.html

📁 linux
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<a name="id3217440"></a><h3><a name="pango-xft-get-font-map"></a>pango_xft_get_font_map ()</h3><a class="indexterm" name="id3217456"></a><pre class="programlisting"><a href="pango-Fonts.html#PangoFontMap">PangoFontMap</a>*       pango_xft_get_font_map              (Display *display,                                                         int screen);</pre><p>Returns the <span class="type">PangoXftFontmap</span> for the given display and screen.The fontmap is owned by Pango and will be valid untilthe display is closed.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>display</code></em>&#160;:</span></td><td> an X display</td></tr><tr><td><span class="term"><em class="parameter"><code>screen</code></em>&#160;:</span></td><td> the screen number of a screen within <em class="parameter"><code>display</code></em></td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td><td> a <a href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> object, owned by Pango.</td></tr></tbody></table></div><p class="since">Since  1.2</p></div><hr><div class="refsect2" lang="en"><a name="id3217571"></a><h3><a name="pango-xft-set-default-substitute"></a>pango_xft_set_default_substitute ()</h3><a class="indexterm" name="id3217587"></a><pre class="programlisting">void                pango_xft_set_default_substitute    (Display *display,                                                         int screen,                                                         <a href="pango-Xft-Fonts-and-Rendering.html#PangoXftSubstituteFunc">PangoXftSubstituteFunc</a> func,                                                         <ahref="../glib/glib-Basic-Types.html#gpointer">gpointer</a> data,                                                         <ahref="../glib/glib-Datasets.html#GDestroyNotify">GDestroyNotify</a> notify);</pre><p>Sets a function that will be called to do final configurationsubstitution on a <span class="type">FcPattern</span> before it is used to loadthe font. This function can be used to do things like sethinting and antialiasing options.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>display</code></em>&#160;:</span></td><td> an X Display</td></tr><tr><td><span class="term"><em class="parameter"><code>screen</code></em>&#160;:</span></td><td> the screen number of a screen within <em class="parameter"><code>display</code></em></td></tr><tr><td><span class="term"><em class="parameter"><code>func</code></em>&#160;:</span></td><td> function to call to to do final config tweaking       on <span class="type">FcPattern</span> objects.</td></tr><tr><td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td><td> data to pass to <em class="parameter"><code>func</code></em></td></tr><tr><td><span class="term"><em class="parameter"><code>notify</code></em>&#160;:</span></td><td> function to call when <em class="parameter"><code>data</code></em> is no longer used.</td></tr></tbody></table></div><p class="since">Since  1.2</p></div><hr><div class="refsect2" lang="en"><a name="id3217769"></a><h3><a name="PangoXftSubstituteFunc"></a>PangoXftSubstituteFunc ()</h3><a class="indexterm" name="id3217783"></a><pre class="programlisting">void                (*PangoXftSubstituteFunc)           (FcPattern *pattern,                                                         <ahref="../glib/glib-Basic-Types.html#gpointer">gpointer</a> data);</pre><p>Function type for doing final config tweaking on prepared FcPatterns.</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>pattern</code></em>&#160;:</span></td><td>the FcPattern to tweak.</td></tr><tr><td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td><td>user data.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3217853"></a><h3><a name="pango-xft-substitute-changed"></a>pango_xft_substitute_changed ()</h3><a class="indexterm" name="id3217869"></a><pre class="programlisting">void                pango_xft_substitute_changed        (Display *display,                                                         int screen);</pre><p>Call this function any time the results of thedefault substitution function set with<a href="pango-Xft-Fonts-and-Rendering.html#pango-xft-set-default-substitute"><code class="function">pango_xft_set_default_substitute()</code></a> change.That is, if your substitution function will return differentresults for the same input pattern, you must call this function.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>display</code></em>&#160;:</span></td><td> an X Display</td></tr><tr><td><span class="term"><em class="parameter"><code>screen</code></em>&#160;:</span></td><td> the screen number of a screen within <em class="parameter"><code>display</code></em></td></tr></tbody></table></div><p class="since">Since  1.2</p></div><hr><div class="refsect2" lang="en"><a name="id3217968"></a><h3><a name="pango-xft-shutdown-display"></a>pango_xft_shutdown_display ()</h3><a class="indexterm" name="id3217984"></a><pre class="programlisting">void                pango_xft_shutdown_display          (Display *display,                                                         int screen);</pre><p>Release any resources that have been cached for thecombination of <em class="parameter"><code>display</code></em> and <em class="parameter"><code>screen</code></em>. Note that when theX display is closed, resources are released automatically,without needing to call this function.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>display</code></em>&#160;:</span></td><td> an X display</td></tr><tr><td><span class="term"><em class="parameter"><code>screen</code></em>&#160;:</span></td><td> the screen number of a screen within <em class="parameter"><code>display</code></em></td></tr></tbody></table></div><p class="since">Since  1.2</p></div><hr><div class="refsect2" lang="en"><a name="id3218082"></a><h3><a name="pango-xft-font-get-font"></a>pango_xft_font_get_font ()</h3><a class="indexterm" name="id3218096"></a><pre class="programlisting">XftFont*            pango_xft_font_get_font             (<a href="pango-Fonts.html#PangoFont">PangoFont</a> *font);</pre><p>Returns the XftFont of a font.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>font</code></em>&#160;:</span></td><td> a <a href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td><td> the XftFont associated to <em class="parameter"><code>font</code></em>.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3218170"></a><h3><a name="pango-xft-font-get-display"></a>pango_xft_font_get_display ()</h3><a class="indexterm" name="id3218184"></a><pre class="programlisting">Display*            pango_xft_font_get_display          (<a href="pango-Fonts.html#PangoFont">PangoFont</a> *font);</pre><p>Returns the X display of the XftFont of a font.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>font</code></em>&#160;:</span></td><td> a <a href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td><td> the X display of the XftFont associated to <em class="parameter"><code>font</code></em>.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3218258"></a><h3><a name="pango-xft-font-has-char"></a>pango_xft_font_has_char ()</h3><a class="indexterm" name="id3218274"></a><a class="indexterm" name="id3218282"></a><pre class="programlisting"><ahref="../glib/glib-Basic-Types.html#gboolean">gboolean</a>            pango_xft_font_has_char             (<a href="pango-Fonts.html#PangoFont">PangoFont</a> *font,                                                         <ahref="../glib/glib-Unicode-Manipulation.html#gunichar">gunichar</a> wc);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">pango_xft_font_has_char</code> is deprecated and should not be used in newly-written code.</p></div><p>Determines whether <em class="parameter"><code>font</code></em> has a glyph for the codepoint <em class="parameter"><code>wc</code></em>.</p><p>Use <a href="PangoFcFont.html#pango-fc-font-has-char"><code class="function">pango_fc_font_has_char()</code></a> instead.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>font</code></em>&#160;:</span></td><td> a <a href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> for the Xft backend</td></tr><tr><td><span class="term"><em class="parameter"><code>wc</code></em>&#160;:</span></td><td> Unicode codepoint to look up</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td><td> <ahref="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>font</code></em> has the requested codepoint.</td></tr></tbody></table></div><p class="since">Since  1.2</p></div><hr><div class="refsect2" lang="en"><a name="id3218434"></a><h3><a name="pango-xft-font-lock-face"></a>pango_xft_font_lock_face ()</h3><a class="indexterm" name="id3218450"></a><a class="indexterm" name="id3218458"></a><pre class="programlisting">FT_Face             pango_xft_font_lock_face            (<a href="pango-Fonts.html#PangoFont">PangoFont</a> *font);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">pango_xft_font_lock_face</code> is deprecated and should not be used in newly-written code.</p></div><p>Gets the FreeType <span class="type">FT_Face</span> associated with a font,This face will be kept around until you call<a href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-unlock-face"><code class="function">pango_xft_font_unlock_face()</code></a>.</p><p>Use <a href="PangoFcFont.html#pango-fc-font-lock-face"><code class="function">pango_fc_font_lock_face()</code></a> instead.</p><p>

⌨️ 快捷键说明

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