drawinglayer/source/primitive2d/textprimitive2d.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit 7c3a9cb27b5c2ce268c68730bcc0b68adb70e5d8 Author: Xisco Fauli <[email protected]> AuthorDate: Tue Dec 9 16:52:22 2025 +0100 Commit: Xisco Fauli <[email protected]> CommitDate: Thu Dec 11 09:29:19 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/+/195351 diff --git a/drawinglayer/source/primitive2d/textprimitive2d.cxx b/drawinglayer/source/primitive2d/textprimitive2d.cxx index ae1b049db574..b16c530f04c2 100644 --- a/drawinglayer/source/primitive2d/textprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/textprimitive2d.cxx @@ -348,10 +348,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); } }
