Testtext and bidi



The following are some user notes after having tried out the
BiDi interaction with the testtext program. Version tested 
was gtk-1.3.6 with pango-0.17.

* Mouse click to position the cursor does not work properly when 
  settings=right to left.

  The following illustration tries to explain the problem. 

     L stands for left margin
     R stands for right margin
     - stands for window width
     X stands for text
     m stands for region where mouse positioning works.

             L-----------------------------R
                      XXXXXXXXXXXXXXXXXXXXX
                      mmmmmmmmmmmmmm

  There is a region between the mouse sensitive region (m) and the
  right margin in which cursor positioning doesn't work. This is
  true both for LTR and RTL characters.

* Cursor dissapears in rtl mode at right margin. Solution would be to
  make window one pixel wider to make room for curser to the right of the
  right margin.

* "Wrap off" makes the scrollbar jump back and forth.

* "Wrap off" and RTL makes text dissapear alltogether.

* In word wrap mode of earlier lines changes depending on subsequent lines.
  To reproduce:

   - In .gtkrc-2.0 put:

      style "big-font" {
          font_name = "Tahoma 24"
      }

      class "GtkTextView" style "big-font"
      
   - With hebrew keyboard or through cut and paste enter

          XXX XXXX XXX XXXX XXX XX

   where X stands for ALEF.

   The second from last ALEF entered causes a line wrap. But the
   additional ALEF entered causes the previous word (XXX) to wrap as
   well. 

   Even stranger wrapping behaviour is experienced if the following is
   entered
          XXX IIII XXX IIII XXX IIII XXX IIII XXXX III

   where X stands for ALEF (U05D0)and I for VAV (U05D5). 

That's it for tonight.

Regards,
Dov
  




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]