[gimp] Bug 783614 - On a 4k Screen, the text/graphics are too small to...



commit 89445edee12e0341adaa6927695cad074e450b2d
Author: Jehan <jehan girinstud io>
Date:   Fri Jan 12 21:03:55 2018 +0100

    Bug 783614 - On a 4k Screen, the text/graphics are too small to...
    
    ... be used effectively.
    We have had display pixel density detection for quite some time, but I
    guess the step I set to switch to the "Huge" icon size (48px for the
    toolbox icons) was too high at 300 PPI. Someone with a screen of about
    280PPI reported the icons to be far too small on GIMP 2.9.8.
    It seems that 240PPI is already even considered as XDPI already. Let's
    just set our new "Huge" step at the 250PPI intermediate.
    
    In any case, it seems GIMP 2.10 will have problems with even denser
    displays, but the way GTK+2 handles icon sizes with a GTK_ICON_SIZE_*
    enum is quite limited. That is quite a problem considering screens
    getting denser in pixels nowadays. Hopefully GTK+ 3 will improve the
    situation.

 app/config/gimpguiconfig.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/config/gimpguiconfig.c b/app/config/gimpguiconfig.c
index 9304e3f..b5e1f32 100644
--- a/app/config/gimpguiconfig.c
+++ b/app/config/gimpguiconfig.c
@@ -915,8 +915,8 @@ gimp_gui_config_detect_icon_size (GimpGuiConfig *gui_config)
       else if (display_config->monitor_xres < 192.0 ||
                display_config->monitor_yres < 192.0)
         size = GIMP_ICON_SIZE_MEDIUM;
-      else if (display_config->monitor_xres < 300.0 ||
-               display_config->monitor_yres < 300.0)
+      else if (display_config->monitor_xres < 250.0 ||
+               display_config->monitor_yres < 250.0)
         size = GIMP_ICON_SIZE_LARGE;
       else
         size = GIMP_ICON_SIZE_HUGE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]