NBidi 11-09-2007

NBidi project is a .NET implementation of the BIDI algorithm as described in http://www.unicode.org/reports/tr9/.

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!
send us
an update
LGPL (GNU Lesser General Public License) 
3.0/5 9
Itai Bar-Haim
ROOT \ Programming \ UI (User Interfaces)
NBidi project is a .NET implementation of the BIDI algorithm as described in http://www.unicode.org/reports/tr9/.


The Unicode Standard prescribes a memory representation order known as logical order. When text is presented in horizontal lines, most scripts display characters from left to right. However, there are several scripts (such as Arabic or Hebrew) where the natural ordering of horizontal text in display is from right to left. If all of the text has the same horizontal direction, then the ordering of the display text is unambiguous. However, when bidirectional text (a mixture of left-to-right and right-to-left horizontal text) is present, some ambiguities can arise in determining the ordering of the displayed characters.

This annex describes the algorithm used to determine the directionality for bidirectional Unicode text. The algorithm extends the implicit model currently employed by a number of existing implementations and adds explicit format codes for special circumstances. In most cases, there is no need to include additional information with the text to obtain correct display ordering.

However, in the case of bidirectional text, there are circumstances where an implicit bidirectional ordering is not sufficient to produce comprehensible text. To deal with these cases, a minimal set of directional formatting codes is defined to control the ordering of characters when rendered. This allows exact control of the display ordering for legible interchange and ensures that plain text used for simple items like filenames or labels can always be correctly ordered for display.

The directional formatting codes are used only to influence the display ordering of text. In all other respects they should be ignored—they have no effect on the comparison of text or on word breaks, parsing, or numeric analysis.

When working with bidirectional text, the characters are still interpreted in logical order—only the display is affected. The display ordering of bidirectional text depends on the directional properties of the characters in the text.

What's New in This Release:

· This release improves both source code and binary (compiled) dick size and memory footprint.
· The binary has shrank by over 50%, and generated source code has shrank by over 1MB. Itai.

Last updated on September 12th, 2007

#.NET implementation #BIDI algorithm #user interfaces #NBidi #.NET #implementation #BIDI

Add your review!