From: Juergen Spitzmueller Date: Mon, 10 Apr 2023 06:24:46 +0000 (+0200) Subject: Do not forceLTR math with Xe/Lua (part of #12731) X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e9c8b10c1da939d1ab63f4d8b558dbbf90f3bc74;p=features.git Do not forceLTR math with Xe/Lua (part of #12731) --- 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);