On Fri, Mar 1, 2013 at 11:10 PM, Cedric BAIL <cedric.b...@free.fr> wrote:
> On Fri, Mar 1, 2013 at 7:12 AM, Paulo Cavalcanti <pca...@zytor.com> wrote:
>> Hi Cedric,
>>
>> Cedric BAIL <cedric.b...@free.fr> writes:
>>
>>> I now understand your problem. I still have a few question. What
>>> happen if you rotate an edje object with a GROUP part that has an
>>> animated text in that group. My guess looking at the code is that it
>>> wont work also.
>>>
>>> I also think that if you change the font and pick one that doesn't
>>> change the size of the rendered text, the same issue will happen. I
>>> believe that textgrid font/text/palette change will also not affect
>>> the mapped surface. Maybe even textblock will be affected by this
>>> issue. I think we need a way to tell that the content of the widget
>>> change to evas_render_mapped, so that we could add that to the
>>> surface_{w,h} != s{w,h}. Something like an evas_object_content_change.
>>>
>>> If any of those point are true, I think that your patch is not the
>>> correct one. If I am wrong, then I will push it.
>>
>> Here goes a patch that add introduces evas_object_content_change() and
>> it's used in evas_object_text_text_set() for making sure to delete map
>> surfaces before entering Evas render internal.
>>
>> We should use this new function in font_set() and some other similar
>> set of functions later - but for now this patch is *only* fixing that
>> specific text rendering issue.
>
> This patch look good for me. If nobody push it until monday, I will.

I pushed that patch with a small. I moved the content_change call into
the relayout function. So any relayout of the content of a text object
will trigger that surface drop, this should fix more bugs.
-- 
Cedric BAIL

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to