Query: xgetfontproperty
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XGetFontProperty() XGetFontProperty() Name XGetFontProperty - get a font property given its atom. Synopsis Bool XGetFontProperty(font_struct, atom, value_return) XFontStruct *font_struct; Atom atom; unsigned long *value_return; Arguments font_struct Specifies the storage associated with the font. atom Specifies the atom associated with the property name you want returned. value_return Returns the value of the font property. Returns True if the atom was defined, else False. Description XGetFontProperty() returns the value of the specified font property, given the atom for that property. The function returns False if the atom was not defined, or True if was defined. There are a set of predefined atoms for font properties which can be found in <X11/Xatom.h>. These atoms are listed and described in Vol- ume One, Chapter 6, Drawing Graphics and Text. This set contains the standard properties associated with a font. The predefined font prop- erties are likely but not guaranteed to be present for any given font. See Volume 0, Appendix M, Logical Font Description Conventions, for more information on font properties. 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; See Also XChangeProperty(), XDeleteProperty(), XGetAtomName(), XGetWindowProperty(), XInternAtom(), XListProperties(), XRotateWindowProperties(), XSetStandardProperties(). Xlib - Properties XGetFontProperty()
Related Man Pages |
---|
xchar2b(3x11) - ultrix |
xgetfontproperty(3x11) - ultrix |
xfreefontinfo(3) - hpux |
xqueryfont(3) - hpux |
xtextextena(3) - hpux |
Similar Topics in the Unix Linux Community |
---|
Unix File Permissions |
How to list file size on HPUX? |
SAN Migration question |
Hpux 11iV3 administration document |