Re: Automatic paragraph direction and BiDirection layouts in Gtk+



On Wed, Mar 03, 2004 at 07:35:21AM -0500, Behdad Esfahbod wrote:
> 
> Background:  This was supposed to be posted on bugzilla for this
> bug: http://bugzilla.gnome.org/show_bug.cgi?id=70451
> But since it turned out to be too long and a bit wider than that
> bug, I decided to post on gtk-i18n-list instead.  In this mail I
> try to discuss my ideal model for handling bidirectional layouts
> in Gtk+.  Unfortunately I have absolutely no idea how Gtk+
> currently implements this so I may be totally off.
> 
> 
> 
> Hi Owen, Dov, and others,
> 
> 
> I wish to thank you for the nice job on this bug.  

I'm glad you like it. :-)

> I have
> successfully compiled and tested pango with auto paragraph
> direction detection and it looks fascinating.  There's a small
> but annoying problem:  I'm testing with gedit.  I enter an RTL
> line, it's right-aligned.  From the algorithm we now that the
> next line that I'm going to just enter neutral chars, is going to
> be right-aligned too, but it does not happen until I hit enter
> and just then the line jumps to right.  Let me make a raw guess,
> I saw you added a NEUTRAL paragraph direction to minifribidi, but
> AFAIU the paragraph direction cannot be really neutral.  Because
> the empty paragraph needs a direction, and it should be either
> ltr or rtl...

I admit that I have a bit of a difficulty tracing your steps on
this description. Could you please reproduce the problem step by
step for dummies?
 
As for the rest of the comment, I will reread it more properly
when I am less tired. What is clear from comments that I got
already, is that there must be a way of turning off the 
automatic BiDi direction.

Regards,
Dov

> [rest deleted]




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