[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - sc/source
Eike Rathke
erack at redhat.com
Tue Jul 3 21:30:25 UTC 2018
sc/source/ui/view/output2.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 8bb1ab5c4456526e2411ba8f953e41daef8b429b
Author: Eike Rathke <erack at redhat.com>
Date: Tue Jul 3 15:00:26 2018 +0200
Resolves: tdf#118221 whole cell kerning default is off
So set that at OutputDevice, there is no cell attribute for
kerning, all kerning on is handled by EditEngine output.
Change-Id: I23ac2b2cf59f3a4651cc9b614df03860a9cb9146
Reviewed-on: https://gerrit.libreoffice.org/56866
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Jenkins
(cherry picked from commit 36eed54d3dfed6551fd2ad944feff7e217c56e82)
Reviewed-on: https://gerrit.libreoffice.org/56877
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index 49bfb0670dc4..3dfaaa9889f9 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -392,6 +392,10 @@ void ScDrawStringsVars::SetPattern(
if (pOutput->mbSyntaxMode)
pOutput->SetSyntaxColor(&aFont, rCell);
+ // There is no cell attribute for kerning, default is kerning OFF, all
+ // kerning is stored at an EditText object that is drawn using EditEngine.
+ aFont.SetKerning( FontKerning::NONE);
+
pDev->SetFont( aFont );
if ( pFmtDevice != pDev )
pFmtDevice->SetFont( aFont );
More information about the Libreoffice-commits
mailing list