OSDN Git Service

ltj-jfont.lua: emergency bugfix
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Sun, 17 May 2020 04:22:24 +0000 (13:22 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Sun, 17 May 2020 04:22:24 +0000 (13:22 +0900)
src/ltj-jfont.lua

index cecb8d6..a15b761 100644 (file)
@@ -188,7 +188,7 @@ do
    local function myround(a) return floor(a+0.5) end
    local mult_ignore_key = {
      round_threshold=true, kanjiskip_natural=true, kanjiskip_stretch=true, kanjiskip_shrink=true,
-     raio=true, priority=true
+     ratio=true, priority=true
    }
    local function mult_table(old,scale) -- modified from table.fastcopy
       if old then
@@ -226,7 +226,7 @@ do
                   kanjiskip_stretch = w.kanjiskip_stretch,
                   kanjiskip_shrink =  w.kanjiskip_shrink,
                   round_threshold = w.round_threshold,
-               }
+                 }
             end
             for k,w in pairs(v.kern) do
                local g = node_new(id_kern, 1)