Tor Lillquist found the issue, it was the GTK runtime I was using
(gladewin32.sourceforge.net) that was not built with win32 Uniscribe
support.
I tried his build and it did not have this problem.

Regards,
Fredrik

On 2/23/07, Fredrik Corneliusson <[EMAIL PROTECTED]> wrote:
Sorry for not making it clear that the problem is not pyGtk specific
as both the GTK+ demo and pygtk demo has the same problem as well as
Gaim. I based the assumption that it works on screen shots of GTK apps
I've seen where it is ok.
I've attached a zip with screenshots of the problem and one how it
looks when with the same text pasted into firefox.
It also contains a python example based on the pygtk demo (textview.py).

Regards,
Fredrik

On 2/23/07, Danni M. <[EMAIL PROTECTED]> wrote:
> Hi fredrik,
> Did  you tried to change the font, on ubuntu though the gnome app, or
> manually "hard-coding" it?
> As for RTL, as a hebrew user, most of the widgets works OK, can you give us
> a code and a screenshot to see what happens?
>
> Cheers, dani.
>
>
> On 2/23/07, Fredrik Corneliusson <[EMAIL PROTECTED]> wrote:
> >
> > Hi all,
> > I got a problem with displaying Arabic text correctly. The problem is
> > the shaping of the characters that should differ depending on the
> > position where the character occurs (beginning,middle,ending). Now
> > they are all displayed as they are separate. I have tested on Win32
> > and Linux (Ubuntu) and they both have the same problem. The pygtk-demo
> > " textview.py" have this problem with the "right to left"-example text
> > as well so it's not just my code.
> >
> > I know gtk/pango should be able to render this correctly, but what do
> > I have to do to get it working?
> >
> > This page has some general information about Arabic font rendering:
> > http://foolab.org/node/533
> >
> > Thanks for your splendid work!
> > /Fredrik
> > _______________________________________________
> > pygtk mailing list   [email protected]
> > http://www.daa.com.au/mailman/listinfo/pygtk
> > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
> >
>
>


_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to