drawinglayer/source/primitive2d/textprimitive2d.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 968fb9d7a8d426b0bde160d3cfd9f9f1a6fb924c
Author:     Xisco Fauli <[email protected]>
AuthorDate: Tue Dec 9 16:52:22 2025 +0100
Commit:     Christian Lohmaier <[email protected]>
CommitDate: Wed Dec 10 21:57:08 2025 +0100

    tdf#169730: partially revert the fix for tdf#168452
    
    Revert the problematic part from e5f0dad2b38d2a3902a9cd6b9d434abc206590a4
    "tdf#168452: support unicode-bidi in svg"
    until a better solution is found
    
    Change-Id: If21b0c38b5fd8bdade0538e4960353d156e17e2a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195307
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <[email protected]>
    (cherry picked from commit d3df96b5482d10aa4c74c00d21fb3fcddeb6edd0)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195353
    Tested-by: Christian Lohmaier <[email protected]>
    Reviewed-by: Christian Lohmaier <[email protected]>

diff --git a/drawinglayer/source/primitive2d/textprimitive2d.cxx 
b/drawinglayer/source/primitive2d/textprimitive2d.cxx
index 43d27411ea68..1fb1f3f99644 100644
--- a/drawinglayer/source/primitive2d/textprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/textprimitive2d.cxx
@@ -349,10 +349,7 @@ void 
TextSimplePortionPrimitive2D::createTextLayouter(TextLayouterDevice& rTextL
         // tdf#101686: This is LTR text, but the output device may have RTL 
state.
         vcl::text::ComplexTextLayoutFlags 
nLTRLayoutMode(rTextLayouter.getLayoutMode());
         nLTRLayoutMode = nLTRLayoutMode & 
~vcl::text::ComplexTextLayoutFlags::BiDiRtl;
-        if (getFontAttribute().getBiDiStrong())
-            nLTRLayoutMode |= vcl::text::ComplexTextLayoutFlags::BiDiStrong;
-        else
-            nLTRLayoutMode = nLTRLayoutMode & 
~vcl::text::ComplexTextLayoutFlags::BiDiStrong;
+        nLTRLayoutMode = nLTRLayoutMode & 
~vcl::text::ComplexTextLayoutFlags::BiDiStrong;
         rTextLayouter.setLayoutMode(nLTRLayoutMode);
     }
 }

Reply via email to