[pygtk] Arabic text display problem
fredrik.corneliusson at gmail.com
Fri Feb 23 21:52:30 WST 2007
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).
On 2/23/07, Danni M. <isotop at gmail.com> 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 =
> a code and a screenshot to see what happens?
> Cheers, dani.
> On 2/23/07, Fredrik Corneliusson <fredrik.corneliusson at gmail.com> 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 pygtk at daa.com.au
> > http://www.daa.com.au/mailman/listinfo/pygtk
> > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 13537 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20070223/85653ab6/a=
More information about the pygtk