summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-12-03 20:43:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-12-04 10:23:59 +0000
commitadcedbea71024470783406a187516be4b7bfb4d6 (patch)
treef840f77892c21232c155636615b9f326b4436fd2
parent9935fdbcb45ef021c4a25aaced19bcefce5301d7 (diff)
Resolves: tdf#152196 visible gaps with glyph fallback in Arabic/Persian text
Change-Id: I0bf5a10940782f4507e7d632ec37bc4eaa710b03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143624 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/source/gdi/sallayout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index 2d5a33237e1b..85ad838615d9 100644
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -771,7 +771,7 @@ void MultiSalLayout::ImplAdjustMultiLayout(vcl::text::ImplLayoutArgs& rArgs,
mnLevel = nLevel;
// prepare merge the fallback levels
- DeviceCoordinate nXPos = 0;
+ double nXPos = 0;
for( n = 0; n < nLevel; ++n )
maFallbackRuns[n].ResetPos();