Re: Bidi: contextual ordering of text




Behdad Esfahbod <behdad cs toronto edu> wrote on 04/09/2005 17:35:39:

Thanks for prompt responce.

> On Sun, 4 Sep 2005, Semion Chichelnitsky wrote:
>
> > Hello.
> >
> > Can somebody help me and explain, how direction of the text in such
> > widgets, like label, text entry or view, can be defined strongly in
> > accordance with the current "widget direction"? Auto direction of the
text
> > is great, but in some cases strong LTR or RTL orientation is more
> > preferable, than contextual. I see, that auto_dir flag in pango-layout
can
> > be turned off, and base direction from the pango-context is used in
this
> > case. But how I can, for example, prevent text entry from changing its
base
> > direction or how I can create new label with the text, which have
needed
> > type of text ordering?
>
> I'm not sure what you really want to do here, doesn't prepending
> an LRM or RLM do it?

Do you mean, that LRM/RLM should be added to the text buffer? If no, can
you,please, explain, what do you mean? If yes, you understand, that using
bidi markers needs additional logic in GTK application. It is good for some
specific cases, but not always. What I really want here is simple API (in
the widget level), which allows to switch from contextual (default)
ordering to the "strong" ordering, that corresponds to current widget
direction.

>
> > I found in archive some mails, where this problem is discussed, but I
don't
> > see, that it is solved. Is it correct? Is it planned to be solved?
>
> No, nothing is planned.  I still don't quite understand what
> people want.
>
>
> > Thanks in advance,
> > Semion
>
> --behdad
> http://behdad.org/




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