[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[developers] Fwd: [FriBidi] fribidi-vs-unicode, PyArabicShaping, PyByeDie, UAX#9 draft, etc
- To: Development Discussions <developer at arabeyes dot org>
- Subject: [developers] Fwd: [FriBidi] fribidi-vs-unicode, PyArabicShaping, PyByeDie, UAX#9 draft, etc
- From: Ahmed MANSOUR <911freak at gmail dot com>
- Date: Sat, 12 Jan 2013 16:41:45 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=zpNg0fd4LGW/EVS9V49D/qnPnuKU1zr1MRoLhPRjkL0=; b=bOqPUSpWNb5eZxubdLzWWnB6mBhoJnQJ0T8qnrruuo9lbCE5gLym6R1viAMubqTOEw nhwKu6gXE/IiDz6WZh3hTRVr2yFZyPXlgBYBTCsC5VpDfVEbFlaR6sXUV+BffeX8nlhu DuSsGVlsZVHWnwzIavoYPErKYHW5/uQu5o825tAjUXXBijit4MYBjMKy2UOF/MEYeZHE Bd8t/DYi0DAYU4EO9I6WwyGRNXRFQnsXUrK9wvJBQWzyOo5NeM6r9TMsEVI7UKQAUPK9 yeIsdtNn9xIlVh2eviKUVb8f2hj4Cp5WTdzTreNBMwRhtezU1Y7zmWstzp8LkoGDouW/ yvQw==
---------- Forwarded message ----------
From: Behdad Esfahbod <behdad at behdad dot org>
Date: 2013/1/7
Subject: [FriBidi] fribidi-vs-unicode, PyArabicShaping, PyByeDie,
UAX#9 draft, etc
To: FriBidi <fribidi at lists dot freedesktop dot org>
Hi,
Some of you may have noticed that (after about 8 years) I fixed a couple real
bugs (though very insignificant) in the bidi algorithm in FriBidi. Those were
discovered by running FriBidi against the Unicode BidiTest.txt test suite.
The code for that is here:
https://github.com/behdad/fribidi-vs-unicode
A while back, I ported the Arabic shaping logic in FriBidi to Python. That
can be found here:
https://github.com/behdad/pyarabicshaping
Finally, yesterday I wrote a Python reference bidi implementation from
scratch. Note, it's a *reference* implementation. Very slow. It's 150 times
slower than FriBidi. It does pass all tests and I'm fairly sure that it's
bugfree now:
https://github.com/behdad/pybyedie
Finally, there's a new draft of UAX#9 out that adds "bidi isolates". It's a
major update to the algorithm. The current draft is at:
http://www.unicode.org/reports/tr9/tr9-28.html#I1
I'm implementing that in the 6.3 branch of pybyedie. Eventually I hope it
will make it in FriBidi too, though the N0 rule is hard to implement given
FriBidi's API.
Cheers,
--
behdad
http://behdad.org/
_______________________________________________
fribidi mailing list
fribidi at lists dot freedesktop dot org
http://lists.freedesktop.org/mailman/listinfo/fribidi
--
Ahmed Mansour
http://olpc-maroc.blogspot.com
http://twitter.com/OLPCMorocco