Evas textblock: Fix rendering of spaces in some cases.
authorTom Hacohen <tom@stosb.com>
Mon, 10 Feb 2014 14:10:54 +0000 (14:10 +0000)
committerTom Hacohen <tom@stosb.com>
Mon, 10 Feb 2014 14:17:03 +0000 (14:17 +0000)
The issue was with a textblock that's being resized and a space between formats.
The problem is, that the text would get trimmed when wrapping, and then not
restored, because it had nothing to merge to.

This fixes T924.

src/lib/evas/canvas/evas_object_textblock.c

index caf7c5531e9c15649a922883b537751c5ab7adf9..a911a7e3f079c3b4fdd51317c7889097e948372d 100644 (file)
@@ -4491,6 +4491,7 @@ _layout_par(Ctxt *c)
                     }
                   else
                     {
+                       ititr->visually_deleted = EINA_FALSE;
                        prev_it = ititr;
                     }
                }