woohyun pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=ece7010a4a780b5460c0a50c1884445ad0df75c9
commit ece7010a4a780b5460c0a50c1884445ad0df75c9 Author: WooHyun Jung <wh0705.j...@samsung.com> Date: Fri Aug 28 10:16:29 2020 +0900 elm_config: rescale is needed when font or font size is changed Summary: This patch fixes the issue that any application is not rescaled when font or font size is changed by elementary_config. Test Plan: 1. run elementary_test 2. run elementary_config 3. change the font in elementary_config 4. check the button size in elementary_test Reviewers: id213sin, ali.alzyod, devilhorns, raster Reviewed By: devilhorns, raster Subscribers: devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12117 --- src/lib/elementary/elm_config.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c index 0298b26b45..96384d37e9 100644 --- a/src/lib/elementary/elm_config.c +++ b/src/lib/elementary/elm_config.c @@ -4460,6 +4460,7 @@ _elm_config_reload(void) unsigned char ppassword_show_last; double ppassword_show_last_timeout; int pweek_start, pweekend_start, pweekend_len, pyear_min, pyear_max; + Eina_List *pfont_overlays; #define STO(x) if (_elm_config->x) p##x = eina_stringshare_add(_elm_config->x) STO(theme); @@ -4478,6 +4479,7 @@ _elm_config_reload(void) STO(weekend_len); STO(year_min); STO(year_max); + STO(font_overlays); #undef STO is_mirrored = _elm_config->is_mirrored; @@ -4512,6 +4514,7 @@ _elm_config_reload(void) || CMP(theme) || CMP(modules) || CMP(icon_theme) + || CMP(font_overlays) ) _elm_rescale(); #undef DBL_CMP --