From 7545c1b3358585d530d262260f3f2a09197177db Mon Sep 17 00:00:00 2001 From: Hironori Kitagawa Date: Sun, 2 Mar 2014 06:24:07 +0900 Subject: [PATCH] Typo --- src/ltj-jfont.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ltj-jfont.lua b/src/ltj-jfont.lua index c3ffb6a..45bf490 100644 --- a/src/ltj-jfont.lua +++ b/src/ltj-jfont.lua @@ -383,7 +383,7 @@ function set_alt_font(b,e,ind,bfnt) -- ind: 新フォント, bfnt: 基底フォント if b>e then b, e = e, b end if b*e<=0 then - ltjb.package_eror('luatexja', + ltjb.package_error('luatexja', 'bad character range ([' .. b .. ',' .. e .. ']). ' .. 'I take the intersection with [0x80, 0x10ffff].') b, e = math.max(0x80,b),math.min(ucs_out-1,e) @@ -443,7 +443,7 @@ function set_alt_font_latex(b,e,ind,bbase) -- ind: Alt font の enc/fam/ser/shape, bbase: 基底フォントの enc/fam/ser/shape if b>e then b, e = e, b end if b*e<=0 then - ltjb.package_eror('luatexja', + ltjb.package_error('luatexja', 'bad character range ([' .. b .. ',' .. e .. ']). ' .. 'I take the intersection with [0x80, 0x10ffff].') b, e = math.max(0x80,b),math.min(ucs_out-1,e) -- 2.11.0