[HarfBuzz] Arabic and diacritics: problems with Arial and Arial Unicode

Behdad Esfahbod behdad at behdad.org
Mon Jul 11 15:14:06 PDT 2011

On 07/11/11 18:09, Grigori Goronzy wrote:
> Hi,
> I'm having some odd issues with Arial and Arial Unicode. When I use
> these fonts to render Arabic text with diacritics, there are "gaps"
> inside the words. The diacritics have non-zero advance, this seems to
> cause it. Are these fonts just buggy or am I doing something wrong?
> There are no such problems with other fonts, such as DejaVu Sans.

It's a bug in HarfBuzz.  Jonathan has fixed that in Mozilla, but I haven't
adopted the fix upstream yet.  It's a muddy area, there are many differently
buggy fonts, and we need to work around them all.  I'll take a look tonight.


> What is the correct way to render all glyphs that belong to a certain
> cluster? I'm a bit at loss at the moment.
> Best regards,
> Grigori

More information about the HarfBuzz mailing list