Dear All,

[Current Issue]
 - The API applies the changes with elm_config_font_overlay_set(). 
   But at the first time, application fonts have not been changed after
elm_config_font_overlay_apply api is called.
   The application fonts changed only when the display is updated or
elm_config_font_overlay_apply api is called again.

[Main cause]
 - When the elm_config_font_overlay_apply is called at fist time, it calls
edje_text_class_del and edje_text_class_set in locally. But
edje_text_class_set just returns without _ejde_reclc() when new text class
is ceated. 
  So in this case, there is nothing to be changed.
  Since second call the api, edje_text_class_del api calls _edje_recalc() in
locally. So the application fonts are changed.

[Change Description]
 - There is two method. The first is to enable ejde_test_class_set api is
can be recalced when the fist calling.
   The second is to add _elm_rescale() function in
elm_config_font_overlay_apply API. This occurs edje_recalc effect after font
overay set.
   I attached the second method.

Please review the attached patch for elm_config_font_overay_apply bug
fixing.

Thanks.

Attachment: elm_config_font_overlay_apply_bug_fix.diff
Description: Binary data

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to