XmbTextEscapement − obtain the width of internationalized multi-byte text.
Synopsis
int XmbTextEscapement(font_set, string, num_bytes)
XFontSet font_set;
char *string;
int num_bytes;
Arguments
font_setSpecifies the font set.
stringSpecifies the character string.
num_bytesSpecifies the number of bytes in the string argument.
Availability
Release 5 and later.
Description
XmbTextEscapement() returns the escapement in pixels of the specified multi-byte string using the fonts loaded for the specified font set. The escapement is the distance in pixels in the primary draw direction from the drawing origin to the origin of the next character to be drawn, assuming that the rendering of the next character is not dependent on the supplied string. The escapement is always positive, regardless of the character rendering order.
See Also
XmbTextExtents(), XmbTextPerCharExtents(), XwcTextEscapement().
Copyright O’Reilly & Assoc. —