Skip to main content

Mozilla

  • About
  • Foundation
  • Contribute
  • Community
  • Developers
  • Projects

  • Roadmap
  • Projects
  • Coding
    • Module Owners
    • Hacking
    • Get the Source
    • Build It
  • Testing
    • Releases
    • Nightly Builds
    • Report A Problem
  • Tools
    • Bugzilla
    • Tinderbox
    • Bonsai
    • LXR
  • FAQs

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++


  • Support Options
  • Security Center
  • Privacy Policy
  • Contact Us

International Affiliates: Mozilla Europe - Mozilla Japan - Mozilla China

Portions of this content are © 1998–2008 by individual mozilla.org contributors
Content available under a Creative Commons license

Last modified April 16, 1998 Document History Edit this Page (or via CVS)