OSDN Git Service

fix "Command `\colon' already defined" error when fontspec is loaded without no-math...
[luatex-ja/luatexja.git] / src / jfm-min.lua
index 91a71a4..b59b532 100644 (file)
@@ -1,6 +1,6 @@
 -- -*- coding: utf-8 -*-
 -- jfm-min.lua: min10 互換
--- Besed on umin10.tfm (a counterpart of min10.tfm for upTeX).
+-- Based on umin10.tfm (a counterpart of min10.tfm for upTeX).
 
 local vscale = 0.916443 / 0.962216
 local vht = 0.777588 / 0.962216
@@ -9,11 +9,9 @@ local vdp = 0.138855 / 0.962216
 luatexja.jfont.define_jfm {
    dir = 'yoko',
    zw = 1.0, zh = vscale,
-
+   kanjiskip = { 0.0, 0.091641/0.962216, 0.0 },
+   xkanjiskip = { 0.229101/0.962216, 0.183283/0.962216, 0.114551/0.962216 },
    [0] = {
-      chars = {'parbdd'}, 
-        -- this line has no effect, but it is useful to note 
-        -- that 'parbdd' is in the character class 0.
       align = 'left', left = 0.0, down = 0.0,
       width = 1.0, height = vht, depth = vdp, italic=0.0,
       glue = {
@@ -258,6 +256,6 @@ luatexja.jfont.define_jfm {
    },
 
    [99] = { -- box末尾
-      chars = {'boxbdd'},
+      chars = {'boxbdd', 'parbdd'},
    },
 }