Hi,

trunk/9040 and trunk/9041 contain preliminary UI support for
RTL (Right-To-Left) languages (e.g: Hebrew).

The change (in font.cpp) is currently activated only when
the environment variable WANT_RTL is defined. This is because
this change requires that correct clipping areas are passed
to the draw_text_line() calls (most callers up to now where
just passing screen_area()).

People that use LTR languages (e.g: English) SHOULD NOT notice
any change (regardless of the WANT_RTL setting). While I did
test this, I really want to verify this with more people.

The most important callers are now fixed (label, button,
menu and show_dialog) and therefore, the UI is usable to
Hebrew users both with/without WANT_RTL.

Known bugs:
 - My changes to widgets/menu.cpp are ugly (but the original
   code wasn't that pretty either :-)
 - The menu column header highlighting is positioned in the wrong
   column (mirrored coordinates).

Other bugs? Better ideas? Feedback is welcome.

-- 
Oron Peled                             Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]                  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"C++ is more of a rube-goldberg type thing full of high-voltages,
 large chain-driven gears, sharp edges, exploding widgets, and spots to
 get your fingers crushed. And because of it's complexity many (if not
 most) of it's users don't know how it works, and can't tell ahead of
 time what's going to cause them to loose an arm." -- Grant Edwards

Reply via email to