XFreeFont man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XFreeFont()							   XFreeFont()

Name
  XFreeFont – unload a font and free storage for the font structure.

Synopsis
  XFreeFont(display, font_struct)
	Display *display;
	XFontStruct *font_struct;

Arguments
  display   Specifies	a  connection  to  an  X  server;  returned  from
	    XOpenDisplay().

  font_struct
	    Specifies the storage associated with the font.

Description
  XFreeFont() frees the memory allocated for the font_struct font  infor‐
  mation  structure  (XFontStruct)  filled by XQueryFont() or XLoadQuery‐
  Font().  XFreeFont() frees all storage associated with the  font_struct
  argument.  Neither the data nor the font should be referenced again.

  The  server  unloads	and  frees the font itself if no other client has
  loaded it.

  For more information, see Volume One, Chapter 6, Drawing  Graphics  and
  Text.

Structures
     typedef struct {
	 XExtData *ext_data;	     /* hook for extension to hang data */
	 Font fid;		     /* Font ID for this font */
	 unsigned direction;	     /* hint about direction the font is painted */
	 unsigned min_char_or_byte2; /* first character */
	 unsigned max_char_or_byte2; /* last character */
	 unsigned min_byte1;	     /* first row that exists */
	 unsigned max_byte1;	     /* last row that exists */
	 Bool all_chars_exist;	     /* flag if all characters have non-zero size*/
	 unsigned default_char;	     /* char to print for undefined character */
	 int n_properties;	     /* how many properties there are */
	 XFontProp *properties;	     /* pointer to array of additional properties*/
	 XCharStruct min_bounds;     /* minimum bounds over all existing char*/
	 XCharStruct max_bounds;     /* maximum bounds over all existing char*/
	 XCharStruct *per_char;	     /* first_char to last_char information */
	 int ascent;		     /* logical extent above baseline for spacing */
	 int descent;		     /* logical descent below baseline for spacing */
     } XFontStruct;

Errors
  BadFont

See Also
  XCreateFontCursor(),	 XFreeFontInfo(),   XFreeFontNames(),  XFreeFont‐
  Path(),  XGetFontPath(),   XGetFontProperty(),   XListFonts(),   XList‐
  FontsWithInfo(),  XLoadFont(),  XLoadQueryFont(),  XQueryFont(),  XSet‐
  Font(), XSetFontPath(), XUnloadFont().

Xlib - Fonts							   XFreeFont()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net