OSDN Git Service

jfm-ujis[v].lua: parbdd and ideo. middle dots
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Sat, 10 Oct 2020 08:02:56 +0000 (17:02 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Sat, 10 Oct 2020 08:02:56 +0000 (17:02 +0900)
src/jfm-ujis.lua
src/jfm-ujisv.lua

index a1f12f6..07c51b5 100644 (file)
@@ -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)
index ee078ae..62becb2 100644 (file)
@@ -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)