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

Re: shaping arabic



--- Chris Whiting <chris at riverslime dot com> wrote:&#10;> &#10;[snip]&#10;>&#10;> >
Looks right to me.  In passing I believe you were _not_ running the&#10;> >
shape_arabic.pl script (and fribidi) correctly.  I have the feeling&#10;> > you
were running fribidi before the shaping script (it needs to be&#10;> > the
other way around).  I'm attaching a screenshot and the short&#10;> > sample
file used (note the command-lines used within the shot).&#10;>&#10;> You are
correct.  I will try it the other way.&#10;&#10;Cool.&#10;&#10;> > Once I get
some free time (don't know when), I was hoping of&#10;> > implementing the bidi
algorithm (Unicode's TR-9 - also known as&#10;> > UAX #9) in perl (just for
kicks and to prove to myself that I&#10;> > understand it fully - nothing you
should wait for though).&#10;> &#10;> Well I had some free time in the past
week waiting at airports for&#10;> some delayed flights.  I implemented the
bidi algorithm using Perl&#10;> (without the explicit codes or overrides).  It
works - almost.  For&#10;> the few items that don't work, I still believe that
I am following&#10;> the algorithm correctly. I print out the results after
applying each&#10;> rule and cannot see my mistake.&#10;&#10;I suggest to do
the following - mail your code and results to the fribidi&#10;list for their
inspection since the experts all reside on those lists :-)&#10;fribidi.sf.net
(soon to be part of gnu.org instead).&#10;&#10;> If you want I can send you the
module, a test script, and some test files.&#10;&#10;Sure, but I will make my
own implementation at some point (again to better&#10;understand the algorithm
and to prove it to myself), but your code would&#10;be nice to
have.&#10;&#10;Regards,&#10;&#10; - Nadim&#10;

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/