From: Hironori Kitagawa Date: Sat, 10 Oct 2020 08:02:56 +0000 (+0900) Subject: jfm-ujis[v].lua: parbdd and ideo. middle dots X-Git-Tag: 20201030.0~5 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=98f4b4e2cb69bc1a96c55b5b23d3ee81afe1a7ff;p=luatex-ja%2Fluatexja.git jfm-ujis[v].lua: parbdd and ideo. middle dots --- diff --git a/src/jfm-ujis.lua b/src/jfm-ujis.lua index a1f12f6..07c51b5 100644 --- a/src/jfm-ujis.lua +++ b/src/jfm-ujis.lua @@ -6,7 +6,6 @@ -- kanjiskip: 0pt plus .25zw minus 0pt -- xkanjiskip: .25zw plus .25zw (or .0833zw) minus .125zw - local t = { version = 3, dir = 'yoko', @@ -337,9 +336,6 @@ local t = { }, [199] = { -- box末尾 chars = {'parbdd'}, - glue = { - [3] = { 0.25, 0.0, 0.25, priority=1, ratio=1 }, - } }, } @@ -361,4 +357,9 @@ for i,v in pairs(t) do end end +local jf = luatexja.jfont.jfm_feature +if jf and jf.beginpar_middledot_zw==true then + t[199].kern = { [3] = 0.25 } +end + luatexja.jfont.define_jfm(t) diff --git a/src/jfm-ujisv.lua b/src/jfm-ujisv.lua index ee078ae..62becb2 100644 --- a/src/jfm-ujisv.lua +++ b/src/jfm-ujisv.lua @@ -6,7 +6,6 @@ -- kanjiskip: 0pt plus .25zw minus 0pt -- xkanjiskip: .25zw plus .25zw (or .0833zw) minus .125zw - local t = { version = 3, dir = 'tate', @@ -279,9 +278,6 @@ local t = { }, [199] = { -- box末尾 chars = {'parbdd'}, - glue = { - [3] = { 0.25, 0.0, 0.25, priority=1, ratio=1 }, - } }, } @@ -311,4 +307,9 @@ for i,v in pairs(t) do end end +local jf = luatexja.jfont.jfm_feature +if jf and jf.beginpar_middledot_zw==true then + t[199].kern = { [3] = 0.25 } +end + luatexja.jfont.define_jfm(t)