/** @file\r
This module provide help function for displaying unicode string.\r
\r
- Copyright (c) 2006, Intel Corporation<BR>\r
+ Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
};\r
\r
/**\r
- This function computes and returns the width of the Unicode character \r
- specified by UnicodeChar.\r
+ Retrieves the width of a Unicode character.\r
+\r
+ This function computes and returns the width of the Unicode character specified\r
+ by UnicodeChar.\r
\r
@param UnicodeChar A Unicode character.\r
\r
}\r
\r
/**\r
- This function computes and returns the display length of\r
- the Null-terminated Unicode string specified by String.\r
- If String is NULL, then 0 is returned.\r
- If any of the widths of the Unicode characters in String\r
- can not be determined, then 0 is returned.\r
+ Computes the display length of a Null-terminated Unicode String.\r
+\r
+ This function computes and returns the display length of the Null-terminated Unicode\r
+ string specified by String. If String is NULL then 0 is returned. If any of the widths\r
+ of the Unicode characters in String can not be determined, then 0 is returned. The display\r
+ width of String can be computed by summing the display widths of each Unicode character\r
+ in String. Unicode characters that are narrow glyphs have a width of 1, and Unicode\r
+ characters that are width glyphs have a width of 2. \r
+ If String is not aligned on a 16-bit boundary, then ASSERT().\r
\r
@param String A pointer to a Null-terminated Unicode string.\r
\r