summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-06-08 11:17:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-06-08 14:22:36 +0200
commit6f17d42f251bf4a20b4192c16fa007226dcf17ed (patch)
tree91f42c38aa4cefb02584d196ab6c4eb3cc36dc04 /cui/source
parente3f8a433799b2ccc2f16ba7691f790bd98febb16 (diff)
tdf#119827 implement GtkBuilder "scale" property for font size
and use it for the case in charnamepage Change-Id: I5920aa429c750e9b147cbc09a6f3814166851a8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135493 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/tabpages/chardlg.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index 638643601980..226fe846ee3d 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -258,15 +258,6 @@ SvxCharNamePage::SvxCharNamePage(weld::Container* pPage, weld::DialogController*
else if (!bShowCTL) m_xCJK_CTL->remove_page("nbCTL");
- // info at 80% font size
- vcl::Font aFont(m_xWestFontTypeFT->get_font());
- Size aSize(aFont.GetFontSize());
- aSize.setHeight(aSize.Height() * 0.8);
- aFont.SetFontSize(aSize);
- m_xWestFontTypeFT->set_font(aFont);
- m_xEastFontTypeFT->set_font(aFont);
- m_xCTLFontTypeFT->set_font(aFont);
-
//In MacOSX the standard dialogs name font-name, font-style as
//Family, Typeface
//In GNOME the standard dialogs name font-name, font-style as