hpux man page for xloadfont

Query: xloadfont

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XLoadFont()															       XLoadFont()

Name
  XLoadFont - load a font if not already loaded; get font ID.

Synopsis
  Font XLoadFont(display, name)
	Display *display;
	char *name;

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

  name	    Specifies  the  name of the font in a NULL-terminated string.  As of Release 4, the * and ? wildcards are allowed and may be sup-
	    ported by the server.  Uppercase or lowercase is not important.  If the font name is not in the Host Portable Character Encoding,
	    the result is implementation-dependent.

Returns
  The Font ID.

Description
  XLoadFont()  loads  a  font into the server if it has not already been loaded by another client.  XLoadFont() returns the font ID or, if it
  was unsuccessful, generates a BadName error.	When the font is no longer needed, the client should call XUnloadFont().  Fonts are not asso-
  ciated with a particular screen.  Once the font ID is available, it can be set in the font member of any GC, and thereby used in subsequent
  drawing requests.

  Font information is usually necessary for locating the text.	Call XLoadFontWithInfo() to get the info at the time you load  the  font,  or
  call XQueryFont() if you used XLoadFont() to load the font.

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

Errors
  BadAlloc  Server has insufficient memory to store font.

  BadName   name specifies an unavailable font.

See Also
  XCreateFontCursor(),	XFreeFont(),  XFreeFontInfo(),	XFreeFontNames(),  XFreeFontPath(), XGetFontPath(), XGetFontProperty(), XListFonts(),
  XListFontsWithInfo(), XLoadQueryFont(), XQueryFont(), XSetFont(), XSetFontPath(), XUnloadFont().

Xlib - Fonts															       XLoadFont()
Related Man Pages
xfreefontnames(3) - debian
xlistfontswithinfo(3) - debian
xlistfontswithinfo(3) - centos
xfreefontinfo(3) - hpux
xloadqueryfont(3) - hpux
Similar Topics in the Unix Linux Community
How to extract every repeated string between two specific string?
Sequence extraction
Hpux 11iV3 administration document
awk - Multi-line data to be stored in variable
Wrong Array...