OSDN Git Service

Fix a crash by "\ruby{Weierstraß}{ワイエルシュトラス}"
[luatex-ja/luatexja.git] / src / jfm-ujisv.lua
index 182a682..9e643c8 100644 (file)
@@ -78,7 +78,7 @@ local t = {
    },
 
    [3] = { -- 中点類
-      chars = {'・', ':', ';'},
+      chars = {'・', ':', ';', '·'},
       align = 'middle', left = 0.0, down = 0.0,
       width = 0.5, height = 0.50, depth = 0.50, italic=0.0,
       --end_stretch = 0.25,
@@ -280,5 +280,15 @@ for i,v in pairs(t) do
     if v.kern and v.kern[0] then v.kern[100] = v.kern[0] end
   end
 end
+t[200]=table.fastcopy(t[0])
+t[200].chars={'〱', '〲'}
+t[200].width = 2.0
+t[200].left=-0.5
+for i,v in pairs(t) do
+  if type(v)=='table' then
+    if v.glue and v.glue[0] then v.glue[200] = v.glue[0] end
+    if v.kern and v.kern[0] then v.kern[200] = v.kern[0] end
+  end
+end
 
 luatexja.jfont.define_jfm(t)