[Libreoffice-commits] core.git: vcl/headless
Jan Holesovsky
kendy at collabora.com
Mon Mar 19 14:14:38 UTC 2018
vcl/headless/svpframe.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 2dd2d2fd9924e50c5b68c8942c26bf8a07fa2bf0
Author: Jan Holesovsky <kendy at collabora.com>
Date: Fri Mar 16 21:19:10 2018 +0100
lok: 14pt font is too large for the context menus.
Change-Id: I8403b2bea81e61c4fa24ed205b8d2c77a235238b
Reviewed-on: https://gerrit.libreoffice.org/51438
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Tested-by: Michael Meeks <michael.meeks at collabora.com>
(cherry picked from commit 8e98b3150f7ac0b569b686dd67f4699b307b30f8)
Reviewed-on: https://gerrit.libreoffice.org/51439
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jenkins <ci at libreoffice.org>
diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx
index 27d98f62d856..724220ad60a9 100644
--- a/vcl/headless/svpframe.cxx
+++ b/vcl/headless/svpframe.cxx
@@ -421,6 +421,9 @@ void SvpSalFrame::UpdateSettings( AllSettings& rSettings )
aStdFont.SetWeight( WEIGHT_NORMAL );
aStdFont.SetFamilyName( "Liberation Sans" );
aStyleSettings.BatchSetFonts( aStdFont, aStdFont );
+
+ aStdFont.SetFontSize(Size(0, 12));
+ aStyleSettings.SetMenuFont(aStdFont);
}
rSettings.SetStyleSettings( aStyleSettings );
More information about the Libreoffice-commits
mailing list