[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Fix combo: lookup parsing by adjusting priority (d820858)

Marcel Fabian Krüger tex at 2krueger.de
Thu Sep 1 22:04:46 CEST 2022


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/d8208586f9cd8a35bd77c67cb630d37bdb2f11f8

>---------------------------------------------------------------

commit d8208586f9cd8a35bd77c67cb630d37bdb2f11f8
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Thu Sep 1 22:04:46 2022 +0200

    Fix combo: lookup parsing by adjusting priority


>---------------------------------------------------------------

d8208586f9cd8a35bd77c67cb630d37bdb2f11f8
 src/luaotfload-parsers.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/luaotfload-parsers.lua b/src/luaotfload-parsers.lua
index 807c0d5..a41cdf8 100644
--- a/src/luaotfload-parsers.lua
+++ b/src/luaotfload-parsers.lua
@@ -638,8 +638,8 @@ local features          = Cg(feature_list, "features")
 local specification     = (path_lookup + prefixed + unprefixed)
                         * maybe_subfont
                         * modifier_list
-local font_request      = Ct(specification * (colon^-1 * features)^-1
-                           + combo) --> TODO: feature list needed?
+local font_request      = Ct(combo --> TODO: feature list needed?
+                           + specification * (colon^-1 * features)^-1)
 
 --  lpeg.print(font_request)
 --- v2.5 parser: 1065 rules





More information about the latex3-commits mailing list.