[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Correct language tags (44dcd1c)

Marcel Fabian Krüger tex at 2krueger.de
Sun May 1 14:21:24 CEST 2022


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

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

commit 44dcd1ccc416296f35660012d89f39b8a4274e4b
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sun May 1 14:21:24 2022 +0200

    Correct language tags


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

44dcd1ccc416296f35660012d89f39b8a4274e4b
 src/luaotfload-case.lua | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/luaotfload-case.lua b/src/luaotfload-case.lua
index 78051b7..5bbfbf6 100644
--- a/src/luaotfload-case.lua
+++ b/src/luaotfload-case.lua
@@ -39,8 +39,8 @@ local disc = node.id'disc'
 
 -- Here we manipulate the uppercase table a bit to add the `de-alt` language using capital eszett.
 
-uppercase[0x00DF]['de-xeszett'] = { _ = { 0x1E9E } }
-uppercase[0x00DF]['de-alt'] = uppercase[0x00DF]['de-xeszett']
+uppercase[0x00DF]['de-x-eszett'] = { _ = { 0x1E9E } }
+uppercase[0x00DF]['de-alt'] = uppercase[0x00DF]['de-x-eszett']
 
 local UPPER_MASK = 0x3FF
 local HAS_VOWEL = 0x200000
@@ -251,12 +251,12 @@ local function process(table, feature)
   local function processor(head, font, after, seen_cased, seen_soft_dotted, seen_I, seen_greek)
     local lang = font_lang[font]
     local greek, greek_iota
-    if lang == 'el' or lang == 'el-xiota' then
+    if lang == 'el' or lang == 'el-x-iota' then
       if table == uppercase then
         if not greek_data then
           init_greek_data()
         end
-        greek, greek_iota = greek_data, lang == 'el-xiota'
+        greek, greek_iota = greek_data, lang == 'el-x-iota'
       end
       lang = false
     end
@@ -296,7 +296,7 @@ local function process(table, feature)
             -- TODO: Keep dialytika node around
             datum = datum | diacritic_data
             -- Preserve ypogegrammeni (iota subscript) but convert them into capital iotas.
-            -- If el-xiota is active keep the combining character instead.
+            -- If el-x-iota is active keep the combining character instead.
             if diacritic_data & HAS_YPOGEGRAMMENI ~= 0 then
               has_ypogegrammeni = true
               if not greek_iota then





More information about the latex3-commits mailing list.