diff options
author | Balazs Varga <balazs.varga991@gmail.com> | 2020-10-16 13:45:20 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2020-10-26 09:15:00 +0100 |
commit | 0f0a5b63b19196f9463149a0a1991704c940efe2 (patch) | |
tree | bea69c0f7e905639428f022d0e0d5e2a3e59ca77 /chart2/source | |
parent | fc58d7d65b9683db7b7632137126680b8483f6c5 (diff) |
tdf#137505 OOXML Import: Custom shape in chart: fix font size
The default font size of text in shapes is 12pt in LibreOffice,
nevertheless, we used 24 pt for font size in custom shapes inside
chart objects during ooxml import.
Change-Id: I69d02374bc4b4781e2ca617913c642999b3d5fa6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104429
Tested-by: Jenkins
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/view/main/DrawModelWrapper.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/source/view/main/DrawModelWrapper.cxx b/chart2/source/view/main/DrawModelWrapper.cxx index 1d9bc2914ce2..c581b3871300 100644 --- a/chart2/source/view/main/DrawModelWrapper.cxx +++ b/chart2/source/view/main/DrawModelWrapper.cxx @@ -73,6 +73,7 @@ DrawModelWrapper::DrawModelWrapper() } pPool->SetSecondaryPool(m_pChartItemPool); pMasterPool->FreezeIdRanges(); + SetTextDefaults(); //this factory needs to be created before first use of 3D scenes once upon an office runtime //@todo in future this should be done by drawing engine itself on demand |