summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2016-10-11 15:11:58 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2016-10-11 15:56:47 +0200
commitfaddf2aefd5874b2bbd6c3b7bbed0812de911f47 (patch)
treede2881fc3e03ae48d7ad0941827f7f8dd0d7e41a /vcl
parentb193f283457c290e2cd75df0f3f6a185b66a516d (diff)
Revert "Hack to make Arabic subtending marks work"
This reverts commit 983e03a7d81c0ab24782b28ab899452fa6fd99ac. Fixes part of tdf#103103. Change-Id: Ib9026044b19b353e8156bc039a4a84fdeb1ec415
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/sallayout.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index ea16f4fca659..8aaefbfdb4ee 100644
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -1031,10 +1031,6 @@ void GenericSalLayout::ApplyDXArray( ImplLayoutArgs& rArgs )
nDelta += nDiff;
}
- // Hack to make Arabic subtending marks work e.g. in Amiri.
- if (nNewClusterWidth != nOldClusterWidth && nNewClusterWidth == 0)
- m_GlyphItems[i].maLinearPos.X() += m_GlyphItems[i].mnXOffset;
-
nNewPos += nNewClusterWidth;
}