Re: RTL support in hippo canvas



On Mon, Jul 14, 2008 at 6:17 PM, Owen Taylor <otaylor redhat com> wrote:
> Well, GtkHBox isn't really completely "auto" ...there is
> gtk_widget_set_text_direction() to override the false-positive cases.

Yeah, sure.

> I think the approach of auto+overrides is the right thing to do.

Ok.

> Doing that in the stylesheets ... hmm ... we haven't really used
> the stylesheet to control layout properties yet, other than the basic
> border and padding. But it is a possible approach.
>
> Does CSS normally have any handling for this? (language-sensitive
> layout?)

I think setting direction:rtl on the body affect a few things, text
and table layout for example. But nothing as deep as gtk "mirroring".

It seem like web page authors usually just provide a css for the rtl
layout. Someone even wrote a converter:
http://code.google.com/p/cssjanus/

Marco


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