XTextWidth(3X) XTextWidth(3X)NAME XTextWidth, XTextWidth16 - compute text width SYNOPSIS int XTextWidth (font-struct, string, count) XFontStruct *font-struct; char *string; int count; int XTextWidth16 (font-struct, string, count) XFontStruct *font-struct; XChar2b *string; int count; DESCRIPTION The XTextWidth and XTextWidth16 functions return the width of the specified 8-bit or 2-byte character strings. Size bearings are ignored. Arguments These functions accept the following arguments: count Specifies the character count in the specified string. font-struct Specifies the font used for the width computation. string Specifies the character string. SEE ALSO XLoadFont(3X), XTextExtents(3X)Xlib - C Language InterfaceNovember, 1990 1