diff options
author | Eike Rathke <erack@redhat.com> | 2018-07-03 15:00:26 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-07-03 17:12:33 +0200 |
commit | 36eed54d3dfed6551fd2ad944feff7e217c56e82 (patch) | |
tree | 8db66cec37a3532157442bd256ab8c9fb24d806c | |
parent | fb84f580025503673ba45684b7c18c41b27c2a06 (diff) |
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@redhat.com>
Tested-by: Jenkins
-rw-r--r-- | sc/source/ui/view/output2.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx index ab6f0065d71c..5177e128ded2 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 ); |