[HarfBuzz] Some experiments with harfbuzz/OpenGL

Behdad Esfahbod behdad at behdad.org
Mon Apr 15 12:16:07 PDT 2013


On 13-04-12 07:13 PM, Khaled Hosny wrote:
> On Fri, Apr 12, 2013 at 05:29:07PM -0400, Behdad Esfahbod wrote:
>> Looks correct after adding these.  Though, I was under the impression that
>> Amiri has much better mark positioning.  Khaled, am I missing anything here?
> 
> Are you referring to the fixed Y positions of the marks?
> This was a deliberate choice, initially I had them varying as it is the
> natural choice, but it resulted in many mark collisions  for fully
> vocalised text, and fixing one breaks another. Surprisingly, putting
> (most of) the marks on the same Y positions fixes a great deal of those
> collisions, see the attached image, though it is in’t any less work than
> the other.

I see.

> I think I went too far, though, some glyph like isolated beh etc. does
> not need this, also it sometimes look bad when there is only few marks
> in the text, and I'm still looking for a better way to handle both
> cases.

Right.  The sample text that Nicolas had looks particularly bad to my eyes
(attached).  Say, sad.init, sheen.medi, ain.fina, meem.init those all look
like can have much better positioning without collisions that you point out.

Thanks,
behdad

> Regards,
> Khaled
> 

-- 
behdad
http://behdad.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amiri.png
Type: image/png
Size: 4492 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20130415/04313ef0/attachment.png>


More information about the HarfBuzz mailing list