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:
parent
b6c06c56a3
commit
a26c6ae705
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue