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.

Attachment: 0001-efl-evas-text-Fix-rendering-issue-with-changed-texts.patch
Description: unix

-- 
Paulo Cavalcanti, Intel Open Source Technology Center
I speak only for myself.
------------------------------------------------------------------------------
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