The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Projects
Module Owners
Blue Sky
New Layout
Mail/News
Ports
Other
Source Code
Getting It
Documentation
License Terms
Bugs
Search
Feedback
DevEdge Online


PUBLIC int INTL_ColumnWidth ( int winCharSetID, unsigned char *pstr )

Returns the column width of the given character

Documentation

Returns the column width of the given character. In some countries, old terminals use full-width and half-width characters. This function returns the number of "columns" taken up by the given character. For example, in Japan, normal characters take up 2 columns, while half-width characters take up 1 column each. Returns 1 for charsets that do not distinguish between half-width and full-width characters.
Returns:
The column width of the given character
Parameters:
winCharSetID - Specifies the charset ID of the text
pstr - Specifies the character
See Also:
INTL_IsHalfWidth

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++



Copyright © 1998 Netscape Communications Corporation.