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 <xiscofauli@libreoffice.org>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user