freetype
[Top][All Lists]
Advanced

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

Re: [ft] Arabic text (was Re: _sprintf already defined)


From: Lawrence D'Oliveiro
Subject: Re: [ft] Arabic text (was Re: _sprintf already defined)
Date: Fri, 14 Jun 2019 12:20:57 +1200

On Thu, 13 Jun 2019 15:19:11 +0100, Tim Orton wrote:

> How do I render Arabic text?

You need the Unicode bidirectional layout algorithm. This is
implemented in FriBidi <https://github.com/ldo/pybidi>, and that may be
enough for simple text needs -- namely, those that can be rendered
using the standard Unicode Arabic “presentation forms”.

For more high-quality work, you will need a text-shaping library that
understands OpenType glyph substitution/placement rules. Like HarfBuzz
<https://github.com/ldo/harfpy>.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]