]> git.lyx.org Git - features.git/commitdiff
Limit RTL hack to classic engines (#12919)
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 30 Sep 2023 14:59:37 +0000 (16:59 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 30 Sep 2023 15:00:51 +0000 (17:00 +0200)
It breaks with LuaTeX, is definitely not needed with XeTeX, and it is
doubted whether it is needed at all (but this needs further testing).

src/BufferParams.cpp

index 8a8422a7ff206441b5cf5c5309468695f4681964..36ebb21e99cc95db360546f5880eb216153509c3 100644 (file)
@@ -1593,7 +1593,8 @@ void BufferParams::validate(LaTeXFeatures & features) const
 {
        features.require(documentClass().required());
 
-       if (columns > 1 && language->rightToLeft())
+       if (columns > 1 && language->rightToLeft()
+           && !features.runparams().isFullUnicode())
                features.require("rtloutputdblcol");
 
        if (output_changes) {