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

📄 xlistfonts.html

📁 linux图形界面x liberary手册
💻 HTML
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: XListFonts</TITLE></HEAD><BODY><H1 ALIGN=center>XListFonts</H1><H2>Syntax</H2><!.IN "XListFonts" "" "@DEF@"><CODE><PRE>char **XListFonts(<B>display</B>, <B>pattern</B>, <B>maxnames</B>, <B>actual_count_return</B>)      <A HREF="../../display/opening.html#Display">Display</A> *<B>display</B>;      char *<B>pattern</B>;      int <B>maxnames</B>;      int *<B>actual_count_return</B>;</PRE></CODE><H2>Arguments</H2><TABLE><TR><TD> <B>display</B><TD> Specifies the connection to the X server.<TR><TD> <B>pattern</B><TD> Specifies the null-terminated pattern string that can contain wildcard characters.<TR><TD> <B>maxnames</B><TD> Specifies the maximum number of names to be returned.<TR><TD> <B>actual_count_return</B><TD> Returns the actual number of font names.</TABLE><H2>Description</H2>The<B>XListFonts()</B>function returns an array of available font names (as controlled by the font search path; see<B><A HREF="XSetFontPath.html">XSetFontPath()</A></B>)that match the string you passed to the pattern argument.The pattern string can contain any characters,but each asterisk (*) is a wildcard for any number of characters,and each question mark (?) is a wildcard for a single character.If the pattern string is not in the Host Portable Character Encoding,the result is implementation dependent.Use of uppercase or lowercase does not matter.Each returned string is null-terminated.If the data returned by the server is in the Latin Portable Character Encoding,then the returned strings are in the Host Portable Character Encoding.Otherwise, the result is implementation dependent.If there are no matching font names,<B>XListFonts()</B>returns NULL.The client should call<B><A HREF="XFreeFontNames.html">XFreeFontNames()</A></B>when finished with the result to free the memory.<H2>See also</H2><B><A HREF="XFreeFontInfo.html">XFreeFontInfo()</A></B>,<B><A HREF="XFreeFontNames.html">XFreeFontNames()</A></B>,<B>XListFonts()</B>,<B><A HREF="XListFontsWithInfo.html">XListFontsWithInfo()</A></B>,<B><A HREF="XLoadFont.html">XLoadFont()</A></B>,<B><A HREF="XSetFontPath.html">XSetFontPath()</A></B>,"<A HREF="names.html">Obtaining and Freeing Font Names and Information</A>".<HR><ADDRESS><A HREF="http://tronche.com/">Christophe Tronche</A>, <A HREF="mailto:ch.tronche@computer.org">ch.tronche@computer.org</A></ADDRESS></BODY></HTML>

⌨️ 快捷键说明

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