Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XwcTextEscapement − obtain the width of internationalized wide-character text. 

Synopsis

int XwcTextEscapement(font_set, string, num_wchars)

   XFontSet font_set;
   wchar_t *string;
   int num_wchars;

Arguments

font_setSpecifies the font set. 

stringSpecifies the character string. 

num_wchars
Specifies the number of characters in the string argument.

Availability

Release 5 and later. 

Description

XwcTextEscapement() returns the escapement in pixels of the specified wide-character 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

XwcTextExtents(), XwcTextPerCharExtents(), XmbTextEscapement(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026