[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [developers] Arabic shaping and reversing
- To: Development Discussions <developer at arabeyes dot org>
- Subject: Re: [developers] Arabic shaping and reversing
- From: Khaled Hosny <khaledhosny at eglug dot org>
- Date: Thu, 4 Feb 2010 22:15:17 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=UVf76lF2gp7WKhbfVcQcrkrEqDgv2dy2+iE5WP11goo=; b=Au1rsc4Vh31NKJgFk8IfsohYEJ9UJJlViistW3A2n8Gz88rzr6kdIZFKoURE2RA/CC 0JfMx6TqzkYhd/KcqgxoQi4F6gqK42UJZy/I/UibxKSQoZUkBg4tGJiXv+3sbxcp974r rb7xK4eqKiEiYCgj42lLoRWBVMjLfqXQDio1w=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=PRonw/Yia/8573GyZjFZn3vvAsWwI+76xzl0ttfw5QT+MIN90QTCW5JGxPgIDAr2O/ Zz9H0txnpAorLjgWadLcZqgMPPP1d3gv6J7VYZH4UJzE2/0iEE8jw4goaZrwYBS9QLUs DCo5Xj/T7Ec28hd5ns5CJkfcKQ/6LpUdB6l14=
- User-agent: Mutt/1.5.20 (2009-06-14)
On Thu, Feb 04, 2010 at 11:52:22AM +0000, Meitham Jamaa wrote:
> Hello,
>
> I am new to the list so I am not sure this is the right place to ask.
>
> We are working on adding Arabic support for ReportLab (our opensource python-based pdf library). We
> would like to rely on calling a library that supports Arabic shaping (and character revering)
> than inventing this in our library.
>
> Some contributors have submitted batches to the reportlab-users list with working code that can
> print Hebrew and Arabic using PyFriBidi, however some users said that batch could not do Farsi (or
> Pashto) shaping. Here is the thread for that conversation
> http://two.pairlist.net/pipermail/reportlab-users/2009-November/008992.html
>
> We have also looked at the PyICU library but we could not figure out if the layout engine binding
> to ICU4C has been implemented or not.
>
> I'm wondering if anyone on this list has any experience with a good library that can handle the
> shaping for us, or has any suggestion or recommendation.
HarfBuzz[1] would be the most sensible option for you. However, the
current library have no python bindings (the next version which is
undergoing a rewrite had a preliminary python bindings[2]).
[1] http://www.freedesktop.org/wiki/Software/HarfBuzz
[2] http://lists.freedesktop.org/archives/harfbuzz/2009-December/000497.html
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer