[HarfBuzz] Arabic decoder

Evan Martin evan at chromium.org
Fri Dec 4 09:18:13 PST 2009


On Thu, Dec 3, 2009 at 11:21 PM, Nicolas Lacombe <n.lacombe at gmail.com> wrote:
> I'm still having problem rendering complexe sentances, but it looks like
> working fine on small letter... I'm wondering if I have to take into account
> the advances given by the shaper... for now I'm just letting freetype taking
> care of it for me... need some test.

The code under contrib/ (I notice you're using
hb_utf16_script_run_next) was code cooked up just for Google Chrome on
Linux.  It has some bugs in more complicated Arabic text and rather
than track those down I plan to just port to harfbuzz-ng and switch to
using ICU in the process.

I'm not certain that's the cause of your problem, but to save yourself
some time you might want to compare the misrendering you're getting
against the way Google Chrome fails on sites like
http://www.quranexplorer.com/Quran/Default.aspx .



More information about the HarfBuzz mailing list