[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - vcl/headless
Jan Holesovsky
kendy at collabora.com
Mon Mar 19 11:14:35 UTC 2018
vcl/headless/svpframe.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 8e98b3150f7ac0b569b686dd67f4699b307b30f8
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>
diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx
index 76a7ae70f915..b71e1e3e912a 100644
--- a/vcl/headless/svpframe.cxx
+++ b/vcl/headless/svpframe.cxx
@@ -427,6 +427,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