Fix left-to-right positioning. Reported by Peter Hunter.

2008-09-29  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz-gpos.c (Position_CursiveChain):
        Fix left-to-right positioning.  Reported by Peter Hunter.
This commit is contained in:
Behdad Esfahbod 2008-09-29 22:28:47 +00:00 committed by Behdad Esfahbod
parent b6c06c56a3
commit a26c6ae705
1 changed files with 1 additions and 1 deletions

View File

@ -5962,7 +5962,7 @@ static HB_Error Position_CursiveChain ( HB_Buffer buffer )
HB_Position positions = buffer->positions;
/* First handle all left-to-right connections */
for (j = 0; j < buffer->in_length; j--)
for (j = 0; j < buffer->in_length; j++)
{
if (positions[j].cursive_chain > 0)
positions[j].y_pos += positions[j - positions[j].cursive_chain].y_pos;