diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/fontspec/fontspec.lua')
-rw-r--r-- | Master/texmf-dist/tex/latex/fontspec/fontspec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/fontspec/fontspec.lua b/Master/texmf-dist/tex/latex/fontspec/fontspec.lua index 06be52164de..04f3de54d22 100644 --- a/Master/texmf-dist/tex/latex/fontspec/fontspec.lua +++ b/Master/texmf-dist/tex/latex/fontspec/fontspec.lua @@ -73,7 +73,7 @@ end local function check_feature(id, feature, language, script) local s = string.lower(script) local l = string.lower(language) - local f = string.lower(feature:gsub("^[+-]", "")) + local f = string.lower(feature:gsub("^[+-]", ""):gsub("=.*$", "")) if id and id > 0 then local otfdata = fonts.identifiers[id].shared.otfdata if otfdata then |