The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

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-2000 The Mozilla Organization.
Last modified April 17, 1998.