Manual Pages for Linux CentOS command on man XContextDependentDrawing
MyWebUniversity

Manual Pages for Linux CentOS command on man XContextDependentDrawing

XFontsOfFontSet(3) XLIB FUNCTIONS XFontsOfFontSet(3)

NAME XFontsOfFontSet, XBaseFontNameListOfFontSet, XLocaleOfFontSet, XCon‐ textDependentDrawing, XContextualDrawing, XDirectionalDependentDrawing

- obtain fontset information SYNTAX int XFontsOfFontSet(XFontSet fontset, XFontStruct ***fontstructlistreturn, char ***fontnamelistreturn); char *XBaseFontNameListOfFontSet(XFontSet fontset); char *XLocaleOfFontSet(XFontSet fontset); Bool XContextDependentDrawing(XFontSet fontset); Bool XContextualDrawing(XFontSet fontset); Bool XDirectionalDependentDrawing(XFontSet fontset); ARGUMENTS fontset Specifies the font set. fontnamelistreturn Returns the list of font names. fontstructlistreturn 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 fontstructlistreturn. A list of pointers to null-termi‐ nated, fully specified font name strings in the locale of the font set is returned to fontnamelistreturn. The fontnamelist order corre‐ sponds to the fontstructlist order. The number of XFontStruct struc‐ tures 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 charac‐ ter 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 perchar 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 imme‐ diately 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 XBaseFontNameListOf‐

FontSet 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 modi‐ fied 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 mod‐ ified or freed by the client. It may be freed by a call to XFree‐ FontSet with the associated XFontSet. Until freed, it will not be mod‐ ified by Xlib. The XContextDependentDrawing function returns True if the drawing func‐ tions implement implicit text directionality or if text drawn with the

fontset 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 X Version 11 libX11 1.6.5 XFontsOfFontSet(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™