discomfitor pushed a commit to branch enlightenment-0.21. http://git.enlightenment.org/core/enlightenment.git/commit/?id=f9f75df3092bf5c3620118ddd1fbb2073922ab46
commit f9f75df3092bf5c3620118ddd1fbb2073922ab46 Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Fri Aug 18 15:52:52 2017 -0400 clamp xsettings font size to 12 when size is 0 font class config does not require the user to select a size, so do extra clamping here when a size isn't set fix T3093 --- src/bin/e_xsettings.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bin/e_xsettings.c b/src/bin/e_xsettings.c index fcc6c85af..f7d0f4b01 100644 --- a/src/bin/e_xsettings.c +++ b/src/bin/e_xsettings.c @@ -529,9 +529,10 @@ _e_xsettings_font_set(void) const char *p; /* TODO better way to convert evas font sizes? */ - if (size < 0) size /= -10; - if (size < 5) size = 5; - if (size > 25) size = 25; + if (!size) size = 12; + else if (size < 0) size /= -10; + else if (size < 5) size = 5; + else if (size > 25) size = 25; snprintf(size_buf, sizeof(size_buf), "%d", size); buf = eina_strbuf_new(); --