XContextDependentDrawing(3)


HOME

XFontsOfFontSet

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO

NAME

XFontsOfFontSet, XBaseFontNameListOfFontSet, XLocaleOfFontSet, XContextDependentDrawing, XContextualDrawing, XDirectionalDependentDrawing − obtain fontset information

SYNTAX

int XFontsOfFontSet(XFontSet font_set, XFontStruct ***font_struct_list_return, char ***font_name_list_return);

char *XBaseFontNameListOfFontSet(XFontSet font_set);

char *XLocaleOfFontSet(XFontSet font_set);

Bool XContextDependentDrawing(XFontSet font_set);

Bool XContextualDrawing(XFontSet font_set);

Bool XDirectionalDependentDrawing(XFontSet font_set);

ARGUMENTS

font_set

Specifies the font set.

font_name_list_return

Returns the list of font names.

font_struct_list_return

Returns the list of font structs.

DESCRIPTION

The XFontsOfFontSet function returns a list of one or more XFontStructs and font names for the fonts used by the Xmb and Xwc layers for the given font set. A list of pointers to the XFontStruct structures is returned to font_struct_list_return. A list of pointers to null-terminated, fully specified font name strings in the locale of the font set is returned to font_name_list_return. The font_name_list order corresponds to the font_struct_list order. The number of XFontStruct structures and font names is returned as the value of the function.

Because it is not guaranteed that a given character will be imaged using a single font glyph, there is no provision for mapping a character or default string to the font properties, font ID, or direction hint for the font for the character. The client may access the XFontStruct list to obtain these values for all the fonts currently in use.

Xlib does not guarantee that fonts are loaded from the server at the creation of an XFontSet. Xlib may choose to cache font data, loading it only as needed to draw text or compute text dimensions. Therefore, existence of the per_char metrics in the XFontStruct structures in the XFontStructSet is undefined. Also, note that all properties in the XFontStruct structures are in the STRING encoding.

The XFontStruct and font name lists are owned by Xlib and should not be modified or freed by the client. They will be freed by a call to XFreeFontSet with the associated XFontSet. Until freed, their contents will not be modified by Xlib.

The XBaseFontNameListOfFontSet function returns the original base font name list supplied by the client when the XFontSet was created. A null-terminated string containing a list of comma-separated font names is returned as the value of the function. White space may appear immediately on either side of separating commas.

If XCreateFontSet obtained an XLFD name from the font properties for the font specified by a non-XLFD base name, the XBaseFontNameListOfFontSet function will return the XLFD name instead of the non-XLFD base name.

The base font name list is owned by Xlib and should not be modified or freed by the client. It will be freed by a call to XFreeFontSet with the associated XFontSet. Until freed, its contents will not be modified by Xlib.

The XLocaleOfFontSet function returns the name of the locale bound to the specified XFontSet, as a null-terminated string.

The returned locale name string is owned by Xlib and should not be modified or freed by the client. It may be freed by a call to XFreeFontSet with the associated XFontSet. Until freed, it will not be modified by Xlib.

The XContextDependentDrawing function returns True if the drawing functions implement implicit text directionality or if text drawn with the font_set might include context-dependent drawing; otherwise, it returns False.

The XContextualDrawing function returns True if text drawn with the font set might include context-dependent drawing; otherwise, it returns False.

The XDirectionalDependentDrawing function returns True if the drawing functions implement implicit text directionality; otherwise, it returns False.

SEE ALSO

XCreateFontSet(3), XCreateOM(3), XCreateOC(3), XExtentsOfFontSet(3), XFontSetExtents(3)
Xlib − C Language X Interface



More Linux Commands

manpages/blockdev.8.html
blockdev(8) - call block device ioctls from the command line
The utility blockdev allows one to call block device ioctls from the command line. OPTIONS -V Print version and exit. -q Be quiet. -v Be verbose. --report Print

manpages/atanhf.3.html
atanhf(3) - inverse hyperbolic tangent function (Man Page)
The atanh() function calculates the inverse hyperbolic tangent of x; that is the value whose hyperbolic tangent is x. RETURN VALUE On success, these functions r

manpages/xml_split.1.html
xml_split(1) (Commands - Linux manual page)................
xml_split takes a (presumably big) XML file and split it in several smaller files. The memory used is the memory needed for the biggest chunk (ie memory is reus

manpages/ExtUtils::MM_OS2.3pm.html
ExtUtils::MM_OS2(3pm) - methods to override UN*X behaviour i
See ExtUtils::MM_Unix for a documentation of the methods provided there. This package overrides the implementation of these methods, not the semantics. METHODS

manpages/log10l.3.html
log10l(3) - base-10 logarithmic function - Linux man page...
The log10() function returns the base 10 logarithm of x. RETURN VALUE On success, these functions return the base 10 logarithm of x. For special cases, includin

manpages/mdoc-assemble.1.html
mdoc-assemble(1) - (unknown subject) - Linux manual page....
mdoc assemble creates .tree and .zip files from PATHS for use in the monodoc(1) documentation browser. The input files must have a supported format, specified w

manpages/glEvalPoint1.3gl.html
glEvalPoint1(3gl) - generate and evaluate a single point in
glMapGrid and glEvalMesh are used in tandem to efficiently generate and evaluate a series of evenly spaced map domain values. glEvalPoint can be used to evaluat

manpages/wrjpgcom.1.html
wrjpgcom(1) - insert text comments into a JPEG file.........
wrjpgcom reads the named JPEG/JFIF file, or the standard input if no file is named, and generates a new JPEG/JFIF file on standard output. A comment block is ad

manpages/raise.3.html
raise(3) - send a signal to the caller - Linux manual page
The raise() function sends a signal to the calling process or thread. In a single-threaded program it is equivalent to kill(getpid(), sig); In a multithreaded p

manpages/glGetMaterial.3gl.html
glGetMaterial(3gl) - return material parameters (Man Page)
glGetMaterial returns in params the value or values of parameter pname of material face. Six parameters are defined: GL_AMBIENT params returns four integer or f

manpages/gvfs-save.1.html
gvfs-save(1) Save standard input (Commands - Linux man page)
gvfs-save reads from the standard input and saves the data to the given location. This is similar to just redirecting output to a file using traditional shell s

manpages/colors.n.html
colors(n) - symbolic color names recognized by Tk (ManPage)
Tk recognizes many symbolic color names (e.g., red) when specifying colors. The symbolic names recognized by Tk and their 8-bit-per-channel RGB values are: Name





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