From e9c8b10c1da939d1ab63f4d8b558dbbf90f3bc74 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 10 Apr 2023 08:24:46 +0200 Subject: [PATCH] Do not forceLTR math with Xe/Lua (part of #12731) --- src/mathed/InsetMathHull.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mathed/InsetMathHull.h b/src/mathed/InsetMathHull.h index 92903c5e42..f57fdbca41 100644 --- a/src/mathed/InsetMathHull.h +++ b/src/mathed/InsetMathHull.h @@ -174,7 +174,8 @@ public: void initUnicodeMath() const override; /// Force inset into LTR environment if surroundings are RTL - bool forceLTR(OutputParams const &) const override { return true; } + /// FIXME Really needed? (see #12731) + bool forceLTR(OutputParams const & rp) const override { return !rp.isFullUnicode(); } /// void recordLocation(DocIterator const & di);