--- /home/marik/orca-trunk2/src/orca/brlmon.py	2009-01-19 17:47:40.000000000 +0200
+++ /home/marik/orca-trunk/src/orca/brlmon.py	2009-01-19 17:31:51.000000000 +0200
@@ -27,6 +27,7 @@
 __license__   = "LGPL"
 
 import gtk
+import pyfribidi
 
 # Attribute/Selection mask strings:
 #
@@ -70,8 +71,8 @@
         - cellWidth: width of each cell in pixels
         - cellHeight: height of each cell in pixels
         """
-
-        gtk.Window.__init__(self, gtk.WINDOW_TOPLEVEL)
+        gtk.widget_set_default_direction (gtk.TEXT_DIR_LTR) 
+        gtk.Window.__init__(self, gtk.WINDOW_TOPLEVEL)      
         self.set_title("Braille Monitor")
         self.set_default_size(cellWidth * numCells, cellHeight)
         hbox = gtk.HBox(True)
@@ -80,7 +81,7 @@
         self.cellLabels = []
         i = 0
         while (i < numCells):
-            frame = gtk.Frame()
+            frame = gtk.Frame()       
             frame.set_shadow_type(gtk.SHADOW_OUT)
             label = gtk.Label(" ")
             label.set_use_markup(True)
@@ -148,6 +149,7 @@
         #
         try:
             string = string.decode("UTF-8")
+            string = pyfribidi.log2vis (string)        
         except:
             string = ""
 
