]> git.lyx.org Git - features.git/commitdiff
Do not forceLTR math with Xe/Lua (part of #12731)
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 10 Apr 2023 06:24:46 +0000 (08:24 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 10 Apr 2023 06:24:46 +0000 (08:24 +0200)
src/mathed/InsetMathHull.h

index 92903c5e424b034a584c9f42b501749d538a690c..f57fdbca410907885f1800911bfbe689e0403ddf 100644 (file)
@@ -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);