diff options
Diffstat (limited to 'vcl/source/gdi/CommonSalLayout.cxx')
-rw-r--r-- | vcl/source/gdi/CommonSalLayout.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/gdi/CommonSalLayout.cxx b/vcl/source/gdi/CommonSalLayout.cxx index de701febe63b..8c509afe3d51 100644 --- a/vcl/source/gdi/CommonSalLayout.cxx +++ b/vcl/source/gdi/CommonSalLayout.cxx @@ -723,8 +723,7 @@ bool CommonSalLayout::LayoutText(ImplLayoutArgs& rArgs) if (u_isUWhiteSpace(aChar)) nGlyphFlags |= GlyphItem::IS_SPACING; - if ((aSubRun.maScript == HB_SCRIPT_ARABIC || - aSubRun.maScript == HB_SCRIPT_SYRIAC) && + if (aSubRun.maScript == HB_SCRIPT_ARABIC && HB_DIRECTION_IS_BACKWARD(aSubRun.maDirection) && (nGlyphFlags & GlyphItem::IS_SPACING) == 0) { |