summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@aliftype.com>2022-08-13 00:00:27 +0200
committerCaolán McNamara <caolanm@redhat.com>2022-08-14 21:13:04 +0200
commit895843ad466954b63f6f99a1b6319b7813d0dbe1 (patch)
tree4d25fc42c984d2422ddd8c512229d4ee6b217d26 /editeng
parent3836b99f335ac9e6890545607d07124e455eb531 (diff)
tdf#103492: Messed Arabic letter spacing in text starting with LTR character(s)
This partially reverts the still relevant parts of commit commit 41007842ed9bb5d6165792a197769f72dae55a2c Author: Martin Hosken <martin_hosken@sil.org> Date: Thu Sep 10 10:14:18 2015 +0700 Refactor graphite integration and update graphite Change-Id: I09db7262c2a6180a078620ba086dd7a4c132bd82 Reviewed-on: https://gerrit.libreoffice.org/18459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: László Németh <nemeth@numbertext.org> Reviewed-by: Martin Hosken <martin_hosken@sil.org> No mention of the commit about this change or its relevance to Graphite integration. But the separate Graphite layout engine is long gone and Graphite handling goes through HarfBuzz now, so whatever the change was for is probably no longer relevant. I reverted only one the two changes in impedit3.cxx, as the other one does not seem to make any difference for this issue. Change-Id: Id70a711d6231cce52c9a32dbc3604860b1da9f4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138217 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit3.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index 6195b0e8e606..5ff196f02040 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -838,8 +838,6 @@ bool ImpEditEngine::CreateLines( sal_Int32 nPara, sal_uInt32 nStartPosY )
EditLine aSaveLine( *pLine );
SvxFont aTmpFont( pNode->GetCharAttribs().GetDefFont() );
- ImplInitLayoutMode(*GetRefDevice(), nPara, nIndex);
-
std::vector<sal_Int32> aBuf( pNode->Len() );
bool bSameLineAgain = false; // For TextRanger, if the height changes.