Xfontcache
NAMESYNOPSIS
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/XtRemoveWorkProc.3.html
XtRemoveWorkProc(3) - Add and remove background processing p
The XtAppAddWorkProc function adds the specified work procedure for the application identified by app_context. The XtRemoveWorkProc function explicitly removes
manpages/lstat64.2.html
lstat64(2) - get file status (System - Linux man page)......
These functions return information about a file, in the buffer pointed to by stat. No permissions are required on the file itself, but-in the case of stat(), fs
manpages/FcConfigGetCacheDirs.3.html
FcConfigGetCacheDirs(3) - return the list of directories sea
FcConfigGetCacheDirs returns a string list containing all of the directories that fontconfig will search when attempting to load a cache file for a font directo
manpages/FcAtomicCreate.3.html
FcAtomicCreate(3) - create an FcAtomic object (Man Page)....
Creates a data structure containing data needed to control access to file. Writing is done to a separate file. Once that file is complete, the original configur
manpages/new.3menu.html
new(3menu) - create and destroy menus - Linux manual page...
new.3menu - The function new_menu creates a new menu connected to a specified item pointer array (which must be NULL-terminated). The function free_menu disconn
manpages/field_arg.3form.html
field_arg(3form) - data type validation for fields (ManPage)
The function set_field_type declares a data type for a given form field. This is the type checked by validation functions. The predefined types are as follows:
manpages/XkbBellEvent.3.html
XkbBellEvent(3) - Provides a function that initiates a bell
XkbBellEvent.3 - The core X protocol allows only applications to explicitly sound the system bell with a given duration, pitch, and volume. Xkb extends this cap
manpages/xorg.conf.d.5.html
xorg.conf.d(5) - (unknown subject) - Linux manual page......
Xorg uses a configuration file called xorg.conf and files ending in the suffix .conf from the directory xorg.conf.d for its initial setup. The xorg.conf configu
manpages/XtSetKeyTranslator.3.html
XtSetKeyTranslator(3) - convert KeySym to KeyCodes (ManPage)
The XtSetKeyTranslator function sets the specified procedure as the current key translator. The default translator is XtTranslateKey, an XtKeyProc that uses Shi
manpages/XcmsCIEuvY.3.html
XcmsCIEuvY(3) - Xcms color structure - Linux manual page....
The XcmsColor structure contains a union of substructures, each supporting color specification encoding for a particular color space. SEE ALSO XcmsAllocColor(3)
manpages/Tk_CreateWindow.3.html
Tk_CreateWindow(3) - create or delete window (Man Page).....
The procedures Tk_CreateWindow, Tk_CreateAnonymousWindow, and Tk_CreateWindowFromPath are used to create new windows for use in Tk-based applications. Each of t
manpages/DefaultScreenOfDisplay.3.html
DefaultScreenOfDisplay(3) - Display macros and functions....
The AllPlanes macro returns a value with all bits set to 1 suitable for use in a plane argument to a procedure. The BlackPixel macro returns the black pixel val
