pango r2725 - in trunk: . pango/opentype



Author: behdad
Date: Mon Sep 29 22:28:47 2008
New Revision: 2725
URL: http://svn.gnome.org/viewvc/pango?rev=2725&view=rev

Log:
2008-09-29  Behdad Esfahbod  <behdad gnome org>

        * pango/opentype/harfbuzz-gpos.c (Position_CursiveChain):
        Fix left-to-right positioning.  Reported by Peter Hunter.

Modified:
   trunk/ChangeLog
   trunk/pango/opentype/harfbuzz-gpos.c

Modified: trunk/pango/opentype/harfbuzz-gpos.c
==============================================================================
--- trunk/pango/opentype/harfbuzz-gpos.c	(original)
+++ trunk/pango/opentype/harfbuzz-gpos.c	Mon Sep 29 22:28:47 2008
@@ -5962,7 +5962,7 @@
   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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]