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

Re: Fwd: [ xchat-Bugs-956606 ] LANGUAGE=ar xchat bug



So how does gedit behave?  Does gedit autodetect paragraph
direction on your machine?  Of course not.  They all have the
same bug.


On Sat, 22 May 2004, Munzir Taha wrote:

> On Wednesday 19 May 2004 07:23 pm, ahmad khalifa wrote:
> > >From: Munzir Taha <munzirtaha at newhorizons dot com dot sa>
> > >
> > > > > please help by suggestions on this bug.
> > > > > It seems to be very simple but you decide.
> > > > >
> > > > > ----------  Forwarded Message  ----------
> > > > >
> > > > > Subject: [ xchat-Bugs-956606 ] LANGUAGE=ar xchat bug
> > > > > Date: Wednesday 19 May 2004 09:37 am
> > > > > From: "SourceForge.net" <noreply at sourceforge dot net>
> > > > > To: noreply at sourceforge dot net
> > > > >
> > > > > Bugs item #956606, was opened at 2004-05-19 09:51
> > > > > Message generated for change (Comment added) made by zed
> > > > > You can respond by visiting:
> > >
> > >https://sourceforge.net/tracker/?func=detail&atid=100239&aid=956606&group
> > >
> > > > >_id= 239
> > > > >
> > > > > Category: None
> > > > > Group: None
> > > > > Status: Open
> > > > > Resolution: None
> > > > > Priority: 5
> > > > > Submitted By: Munzir Taha (munzirtaha)
> > > > > Assigned to: Nobody/Anonymous (nobody)
> > > > > Summary: LANGUAGE=ar xchat bug
> > > > >
> > > > > Initial Comment:
> > > > > If the LANGUAGE variable is set to ar (Arabic), the direction
> > > > > of the English text typed would be left to right (LTR) which
> > > > > would cause readability issues and display problems e.g.
> > > > > typing:
> > > > >
> > > > > /help will aappear as help/
> > > > > hi ;) will appear as (; hi
> > > > > /join # will appear as # join/
> >
> > a better explanation to the bug is that, the bidi implementation (done
> > by GTK/Pango as behdad noted) sets the paragraph level to '1' (odd)
>
> GTK/Pango which is used in most gnome apps doesn't do this.
>
> > this is not XCHAT specific i think..
>
> It's an Xchat only issue.
>
> > the solution for this problem is that the BIDI implementation needs to
> > set the paragraph level according to how the Bidi Algorithm says it
> > should be, which is look for the first strong char, and set accordingly.
> >
> > a quick look at XCHAT's code or a post to their list, would reveal the
> > Bidi engine.
>
> Other than this you seems right. Just if it's a GTK/Pango why isn't it
> available in other apps? If it's not, then what?
>
>

--behdad
  behdad.org