📄 xunloadfont.html
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: XUnloadFont</TITLE></HEAD><BODY><H1 ALIGN=center>XUnloadFont</H1><H2>Syntax</H2><!.IN "XUnloadFont" "" "@DEF@"><CODE><PRE>XUnloadFont(<B>display</B>, <B>font</B>) <A HREF="../../display/opening.html#Display">Display</A> *<B>display</B>; <A HREF="./">Font</A> <B>font</B>;</PRE></CODE><H2>Arguments</H2><TABLE><TR><TD> <B>display</B><TD> Specifies the connection to the X server.<TR><TD> <B>font</B><TD> Specifies the font.</TABLE><H2>Description</H2>The<B>XUnloadFont()</B>function deletes the association between the font resource ID and the specified font.The font itself will be freed when no other resource references it.The font should not be referenced again.<P><B>XUnloadFont()</B>can generate a<B>BadFont</B> error.<H2>Diagnostics</H2><TABLE><TR><TD><B>BadFont</B><TD>A value for a font argument does not name a defined font (or, in some cases, <B><A HREF="../GContext.html">GContext</A></B>).</TABLE><H2>See also</H2><B><A HREF="../../GC/XCreateGC.html">XCreateGC()</A></B>,<B><A HREF="XFreeFont.html">XFreeFont()</A></B>,<B><A HREF="XGetFontProperty.html">XGetFontProperty()</A></B>,<B><A HREF="XListFonts.html">XListFonts()</A></B>,<B><A HREF="XLoadFont.html">XLoadFont()</A></B>,<B><A HREF="XLoadQueryFont.html">XLoadQueryFont()</A></B>,<B><A HREF="XQueryFont.html">XQueryFont()</A></B>,<B><A HREF="XSetFontPath.html">XSetFontPath()</A></B>,"<A HREF="fonts.html">Loading and Freeing Fonts</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 + -