commit e9c8b10c1da939d1ab63f4d8b558dbbf90f3bc74
Author: Juergen Spitzmueller <[email protected]>
Date: Mon Apr 10 08:24:46 2023 +0200
Do not forceLTR math with Xe/Lua (part of #12731)
---
src/mathed/InsetMathHull.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/mathed/InsetMathHull.h b/src/mathed/InsetMathHull.h
index 92903c5..f57fdbc 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);
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs