raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=b08ad06ede97c176f0af33813150aa688d8eb6ff

commit b08ad06ede97c176f0af33813150aa688d8eb6ff
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Fri Jan 8 22:31:11 2021 +0000

    xsettings - if we set font from e use same size not 0.75 times size
    
    xft.dpi + xsettings dpi should be dealing with this these days
---
 src/bin/e_xsettings.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_xsettings.c b/src/bin/e_xsettings.c
index 4fe460837..345c5319f 100644
--- a/src/bin/e_xsettings.c
+++ b/src/bin/e_xsettings.c
@@ -563,7 +563,7 @@ _e_xsettings_font_set(void)
              if      (size < 5)   size  =    5; // don't allow too small
              else if (size > 100) size  =  100; // don't allow silly sizes
 
-             _dbl_to_str(size_buf, sizeof(size_buf), (double)size * 0.75, 0);
+             _dbl_to_str(size_buf, sizeof(size_buf), (double)size, 0);
 
              buf = eina_strbuf_new();
              eina_strbuf_append(buf, efp->name);

-- 


Reply via email to