Xfontcache


HOME

Xfontcache

NAME
SYNOPSIS
DESCRIPTION
ERRORS
SEE ALSO
AUTHOR
STABILITY

NAME

Xfontcache − X-TrueType font cache extension client library

SYNOPSIS

#include <X11/extensions/FontCache.h>

typedef struct {

long

himark;

long

lowmark;

long

balance;

} FontCacheSettings, *FontCacheSettingsPtr;

struct cacheinfo {

long

hits;

long

misshits;

long

purged;

long

usage;

};

typedef struct {

long

purge_runs;

long

purge_stat;

long

balance;

struct cacheinfof;

struct cacheinfov;

} FontCacheStatistics, *FontCacheStatisticsPtr;

Bool FontCacheQueryExtension(Display *dpy, int *event_base_return, int *error_base_return);

Status FontCacheQueryVersion(Display *dpy, int *major_version_return, int *minor_version_return);

Status FontCacheGetCacheSettings(Display *dpy, FontCacheSettings *cache info);

Status FontCacheChangeCacheSettings(Display *dpy, FontCacheSettings *cache info);

Status FontCacheGetCacheStatistics(Display *dpy, FontCacheStatistics *cache statistics info);

DESCRIPTION

FontCache is an extension that is used by X-TrueType to cache informations about fonts.

FontCacheQueryExtension returns True if the FontCache extension is available on the given display. A client must call FontCacheQueryExtension before calling any other Xfontcache function in order to negotiate a compatible protocol version; otherwise the client will get undefined behavior (Xfontcache may or may not work).

FontCacheQueryVersion returns True if the request succeeded; the values of the major and minor protocol versions supported by the server are returned in major_version_return and minor_version_return .

FontCacheGetCacheSettings should be documented here. Returns True on success or False on failure.

FontCacheChangeCacheSettings should be documented here. Returns True on success or False on failure.

FontCacheGetCacheStatistics should be documented here. Returns True on success or False on failure.

ERRORS

FontCacheChangeCacheSettings will return BadValue if passed an illegal parameters for lowmark, himark or balance fields.

SEE ALSO

X(7)

AUTHOR

Akio Morita, X-TrueType team, Nozomi Ytow.

STABILITY

This API is considered as experimental. The Xfontcache library major revision may be incremented whenever incompatible changes are done to the API without notice. Use with care.



More Linux Commands

manpages/XSetWindowAttributes.3.html
XSetWindowAttributes(3) - create windows and window attribut
XSetWindowAttributes.3 - The XCreateWindow function creates an unmapped subwindow for a specified parent window, returns the window ID of the created window, an

manpages/gnutls_x509_crt_get_crl_dist_points.3.html
gnutls_x509_crt_get_crl_dist_points(3) - API function.......
This function retrieves the CRL distribution points (2.5.29.31), contained in the given certificate in the X509v3 Certificate Extensions. reason_flags should be

manpages/glCullFace.3gl.html
glCullFace(3gl) - specify whether front- or back-facing face
glCullFace specifies whether front- or back-facing facets are culled (as specified by mode) when facet culling is enabled. Facet culling is initially disabled.

manpages/form_init.3form.html
form_init(3form) - set hooks for automatic invocation by app
These functions make it possible to set hook functions to be called at various points in the automatic processing of input event codes by form_driver. The funct

manpages/gnutls_x509_crl_verify.3.html
gnutls_x509_crl_verify(3) - API function - Linux man page...
This function will try to verify the given crl and return its status. See gnutls_x509_crt_list_verify() for a detailed description of return values. RETURNS On

manpages/Tk_TextWidth.3.html
Tk_TextWidth(3) - routines to measure and display simple sin
These routines are for measuring and displaying simple single-font, single-line strings. To measure and display single-font, multi-line, justified text, refer t

manpages/sasl_client_start.3.html
sasl_client_start(3) - Begin an authentication negotiation
sasl_client_start() selects a mechanism for authentication and starts the authentication session. The mechlist is the list of mechanisms the client might like t

manpages/new_menu.3menu.html
new_menu(3menu) - create and destroy menus - Linux man page
The function new_menu creates a new menu connected to a specified item pointer array (which must be NULL-terminated). The function free_menu disconnects menu fr

manpages/Exporter.3pm.html
Exporter(3pm) - Implements default import method for modules
The Exporter module implements an import method which allows a module to export functions and variables to its users namespaces. Many modules use Exporter rathe

manpages/XGetWindowAttributes.3.html
XGetWindowAttributes(3) - get current window attribute or ge
The XGetWindowAttributes function returns the current attributes for the specified window to an XWindowAttributes structure. It returns a nonzero status on succ

manpages/Ttk_RelievePadding.3.html
Ttk_RelievePadding(3) - Tk themed geometry utilities........
The Ttk_Box structure represents a rectangular region of a window: typedef struct { int x; int y; int width; int height; } Ttk_Box; All coordinates are relative

manpages/wbkgdset.3ncurses.html
wbkgdset(3ncurses) - curses window background manipulation r
The bkgdset and wbkgdset routines manipulate the background of the named window. The window background is a chtype consisting of any combination of attributes (





We can't live, work or learn in freedom unless the software we use is free.