forked from enlightenment/efl
Subject: [E-devel] [Patch] elm_config_font_overlay_apply bug fix [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. SVN revision: 72124 |
||
---|---|---|
legacy/elementary |