diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/sallayout.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx index 8aaefbfdb4ee..ea16f4fca659 100644 --- a/vcl/source/gdi/sallayout.cxx +++ b/vcl/source/gdi/sallayout.cxx @@ -1031,6 +1031,10 @@ 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; } |