The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Search
Feedback


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 The Mozilla Organization.