https://bugs.documentfoundation.org/show_bug.cgi?id=173342

--- Comment #7 from gio.bertelli <[email protected]> ---
Ok, I,ve checked, the toolbar is actually smaller than the standard mac status
bar font size (10 vs 11 points). Below is a fix that should restore the
standard behaviour in libreoffice (13 pt as the rest if the interface).

--- a/vcl/source/window/settings.cxx
+++ b/vcl/source/window/settings.cxx
@@ -171,8 +171,10 @@ void Window::ImplUpdateGlobalSettings( AllSettings&
rSettings, bool bCallHdl ) c

     // i22098, toolfont will be scaled differently to avoid bloated rulers and
status bars for big fonts
     int toolfontheight = defFontheight;
+#ifndef MACOSX // macOS font sizes are in logical pixels and not "big", keep
the tool font as is
     if( toolfontheight > 9 )
         toolfontheight = (defFontheight+8) / 2;
+#endif

Otherwise here is a fix that should use the standard 11 pt font size for
toolbars while keeping the right size everywhere else

--- a/vcl/source/window/settings.cxx
+++ b/vcl/source/window/settings.cxx
@@ -171,8 +171,10 @@ void Window::ImplUpdateGlobalSettings( AllSettings&
rSettings, bool bCallHdl ) c

     // i22098, toolfont will be scaled differently to avoid bloated rulers and
status bars for big fonts
     int toolfontheight = defFontheight;
+#ifndef MACOSX // macOS font sizes are in logical pixels and not "big", keep
the tool font as is
     if( toolfontheight > 9 )
         toolfontheight = (defFontheight+8) / 2;
+#endif

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to