Evas textblock: Advancement within a line should be according to advance size, and...
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 30 Jan 2011 10:33:50 +0000 (10:33 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 30 Jan 2011 10:33:50 +0000 (10:33 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@56430 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_textblock.c

index 1d45100..781c194 100644 (file)
@@ -2178,7 +2178,7 @@ _layout_line_advance(Ctxt *c, Evas_Object_Textblock_Format *fmt)
                }
           }
 
-        endx = it->x + it->w;
+        endx = it->x + it->adv;
         if (endx > c->ln->w) c->ln->w = endx;
      }