[pygtk] Text Tag "direction" property not respected?
Fredrik Corneliusson
fredrik.corneliusson at gmail.com
Mon Mar 12 20:05:47 WST 2007
Hi Helm,
Well that is how it works by default, and setting the direction for a
text span explicitly using gtk.TextTag direction property does not
change this behaviour, so I wonder what this property is supposed to
do.
Regards,
Fredrik
On 3/9/07, Volker Helm <Helm.volker at gmx.de> wrote:
> I would guess this is a bug (or feature)!
>
> If you insert the text starting with a letter, it works like it should. But numbers and hyphen (maybe more) at the beginning are ignored.
>
> Bye,
>
> Volker
>
>
> -------- Original-Nachricht --------
> Datum: Fri, 9 Mar 2007 11:32:54 +0100
> Von: "Fredrik Corneliusson" <fredrik.corneliusson at gmail.com>
> An: pygtk at daa.com.au
> CC:
> Betreff: [pygtk] Text Tag "direction" property not respected?
>
> > Hi,
> > I have a BIDI question regarding the Text Tag property "direction". It
> > says in the documentation it can be set to TEXT_DIR_LTR, TEXT_DIR_RTL
> > or TEXT_DIR_NONE. However I cant detect that it makes any difference.
> > The only way I can get the desired behaviour is using Unicode
> > directional markers but that is sub optimal in my case
> > I've tried both on both Ubuntu and win32 and they behave the same.
> >
> > I've attached a screen shot of the issue and a pygtk example (the
> > embedded LTR text "1-left-to-right-2" should be displayed exactly like
> > that).
> >
> > Regards,
> > Fredrik
>
> --
> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
>
More information about the pygtk
mailing list