diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/luatex/generic/luatexja/src/jfm-min.lua |
Initial commit
Diffstat (limited to 'macros/luatex/generic/luatexja/src/jfm-min.lua')
-rw-r--r-- | macros/luatex/generic/luatexja/src/jfm-min.lua | 261 |
1 files changed, 261 insertions, 0 deletions
diff --git a/macros/luatex/generic/luatexja/src/jfm-min.lua b/macros/luatex/generic/luatexja/src/jfm-min.lua new file mode 100644 index 0000000000..b59b5329c4 --- /dev/null +++ b/macros/luatex/generic/luatexja/src/jfm-min.lua @@ -0,0 +1,261 @@ +-- -*- coding: utf-8 -*- +-- jfm-min.lua: min10 互換 +-- Based on umin10.tfm (a counterpart of min10.tfm for upTeX). + +local vscale = 0.916443 / 0.962216 +local vht = 0.777588 / 0.962216 +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] = { + align = 'left', left = 0.0, down = 0.0, + width = 1.0, height = vht, depth = vdp, italic=0.0, + glue = { + [4] = { 0.316224, 0.0, 0.316224 }, + [5] = { 0.238097, 0.0, 0.238097 }, + [3] = { 0.111608, 0.0, 0.111608 }, + [6] = { 0.476196, 0.0, 0.476196 }, + } + }, + + [1] = { + chars = { + '〉', '》', '」', '』', '】', '〕', '〗', '〙', '〟', ')', ']', '}', '⦆ ' + }, + align = 'left', left = 0.0, down = 0.0, + width = 0.523804, height = vht, depth = vdp, italic=0.0, + glue = { + [0] = { 0.476196, 0.0, 0.238097 }, + [7] = { 0.476196, 0.0, 0.238097 }, + [12] = { 0.476196, 0.0, 0.238097 }, + [13] = { 0.476196, 0.0, 0.238097 }, + [14] = { 0.476196, 0.0, 0.238097 }, + [10] = { 0.238097, 0.238097, 0.238097 }, + [2] = { 0.238097, 0.238097, 0.238097 }, + [4] = { 0.238097, 0.238097, 0.238097 }, + [5] = { 0.238097, 0.238097, 0.238097 }, + [3] = { 0.476196, 0.0, 0.238097 }, + [6] = { 0.476196, 0.0, 0.238097 }, + [11] = { 0.0, 0.476196, 0.0 }, + [1] = { 0.0, 0.476196, 0.0 }, + } + }, + + [2] = { + chars = { + '゛', '゜' + }, + align = 'left', left = 0.0, down = 0.0, + width = 0.367552, height = vht, depth = vdp, italic=0.0, + glue = { + [0] = { 0.632447, 0.0, 0.238097 }, + [7] = { 0.632447, 0.0, 0.238097 }, + [12] = { 0.632447, 0.0, 0.238097 }, + [13] = { 0.632447, 0.0, 0.238097 }, + [14] = { 0.632447, 0.0, 0.238097 }, + [10] = { 0.0, 0.316224, 0.0 }, + [2] = { 0.0, 0.316224, 0.0 }, + [4] = { 0.476196, 0.0, 0.238097 }, + [5] = { 0.476196, 0.0, 0.238097 }, + [3] = { 0.476196, 0.0, 0.238097 }, + [6] = { 0.238097, 0.238097, 0.238097 }, + } + }, + [3] = { + chars = { + '∴', '♀', '♂', '〃', '々', 'ぁ', 'ぃ', 'ぅ', 'ぇ', 'ぉ', 'っ', 'ゃ', 'ゅ ', + 'ょ', 'ゎ', 'ゕ', 'ゖ', 'ゞ', 'ァ', 'ィ', 'ゥ', 'ェ', 'ォ', 'ッ', 'ャ', 'ュ', 'ョ', + 'ヮ', 'ヵ', 'ヶ', 'ㇰ', 'ㇱ', 'ㇲ', 'ㇳ', 'ㇴ', 'ㇵ', 'ㇶ', 'ㇷ', 'ㇸ', 'ㇹ', 'ㇺ', + 'ㇻ', 'ㇼ', 'ㇽ', 'ㇾ', 'ㇿ', '$', '¢', '£' + }, + align = 'middle', left = 0.0, down = 0.0, + width = 0.776784, height = vht, depth = vdp, italic=0.0, + glue = { + [0] = { 0.111608, 0.0, 0.111608 }, + [7] = { 0.111608, 0.0, 0.111608 }, + [12] = { 0.111608, 0.0, 0.111608 }, + [13] = { 0.111608, 0.0, 0.111608 }, + [14] = { 0.111608, 0.0, 0.111608 }, + [10] = { 0.0, 0.316224, 0.0}, + [2] = { 0.0, 0.316224, 0.0}, + [4] = { 0.316224, 0.0, 0.316224 }, + [5] = { 0.238097, 0.0, 0.238097 }, + [6] = { 0.476196, 0.0, 0.476196 }, + [11] = { 0.111608, 0.0, 0.111608 }, + [1] = { 0.111608, 0.0, 0.111608 }, + }, + }, + [4] = { + chars = { + '´', '‐', '‖', '‘', '’', '・', '!', ':', ';', '`', '|' + }, + align = 'middle', left = 0.0, down = 0.0, + width = 0.367552, height = vht, depth = vdp, italic=0.0, + glue = { + [0] = { 0.316224, 0.0, 0.316224 }, + [7] = { 0.316224, 0.0, 0.316224 }, + [12] = { 0.316224, 0.0, 0.316224 }, + [13] = { 0.316224, 0.0, 0.316224 }, + [14] = { 0.316224, 0.0, 0.316224 }, + [10] = { 0.0, 0.316224, 0.0 }, + [2] = { 0.0, 0.316224, 0.0 }, + [4] = { 0.0, 0.316224, 0.0 }, + [5] = { 0.0, 0.316224, 0.0 }, + [3] = { 0.316224, 0.0, 0.316224 }, + [6] = { 0.238097, 0.238097, 0.238097 }, + [11] = { 0.316224, 0.0, 0.316224 }, + [1] = { 0.316224, 0.0, 0.316224 }, + } + }, + [5] = { + chars = { + '§', '¨', '°', '“', '”', '′', '″', 'ゝ', 'ヽ', '?', '^' + }, + align = 'middle', left = 0.0, down = 0.0, + width = 0.523804, height = vht, depth = vdp, italic=0.0, + glue = { + [0] = { 0.238097, 0.0, 0.238097 }, + [7] = { 0.238097, 0.0, 0.238097 }, + [12] = { 0.238097, 0.0, 0.238097 }, + [13] = { 0.238097, 0.0, 0.238097 }, + [14] = { 0.238097, 0.0, 0.238097 }, + [10] = { 0.0, 0.316224, 0.0 }, + [2] = { 0.0, 0.316224, 0.0 }, + [4] = { 0.0, 0.316224, 0.0 }, + [5] = { 0.0, 0.316224, 0.0 }, + [3] = { 0.238097, 0.0, 0.238097 }, + [6] = { 0.238097, 0.238097, 0.238097 }, + [11] = { 0.238097, 0.0, 0.238097 }, + [1] = { 0.238097, 0.0, 0.238097 }, + }, + }, + [6] = { + chars = { + '〈', '《', '「', '『', '【', '〔', '〖', '〘', '〝', '(', '[', '{', '⦅' + }, + align = 'right', left = 0.0, down = 0.0, + width = 0.523804, height = vht, depth = vdp, italic=0.0, + glue = { + [4] = { 0.316224, 0.0, 0.316224 }, + [5] = { 0.238097, 0.0, 0.238097 }, + [3] = { 0.111608, 0.0, 0.111608 }, + [6] = { 0.0, 0.476196, 0.0 }, + }, + }, + [7] = { + chars = { + 'う', 'く', 'ぐ', 'け', 'げ', 'す', 'ず', 'り', 'テ', 'デ', 'ヤ' + }, + align = 'left', left = 0.0, down = 0.0, + width = 1.0, height = vht, depth = vdp, italic=0.0, + glue = { + [4] = { 0.316224, 0.0, 0.316224 }, + [5] = { 0.238097, 0.0, 0.238097 }, + [3] = { 0.111608, 0.0, 0.111608 }, + [6] = { 0.476196, 0.0, 0.238097 }, + }, + kern = { + [10] = -0.05, [11] = -0.05 + }, + }, + + [10] = { + chars = { + ',', '.' + }, + align = 'left', left = 0.0, down = 0.0, + width = 0.367552, height = vht, depth = vdp, italic=0.0, + glue = { + [0] = { 0.632447, 0.0, 0.238097 }, + [7] = { 0.632447, 0.0, 0.238097 }, + [12] = { 0.632447, 0.0, 0.238097 }, + [13] = { 0.632447, 0.0, 0.238097 }, + [14] = { 0.632447, 0.0, 0.238097 }, + [10] = { 0.0, 0.316224, 0.0 }, + [2] = { 0.0, 0.316224, 0.0 }, + [4] = { 0.476196, 0.0, 0.238097 }, + [5] = { 0.476196, 0.0, 0.238097 }, + [3] = { 0.476196, 0.0, 0.238097 }, + [6] = { 0.238097, 0.238097, 0.238097 }, + } + }, + [11] = { + chars = { + '、', '。 ' + }, + align = 'left', left = 0.0, down = 0.0, + width = 0.523804, height = vht, depth = vdp, italic=0.0, + glue = { + [0] = { 0.476196, 0.0, 0.238097 }, + [7] = { 0.476196, 0.0, 0.238097 }, + [12] = { 0.476196, 0.0, 0.238097 }, + [13] = { 0.476196, 0.0, 0.238097 }, + [14] = { 0.476196, 0.0, 0.238097 }, + [10] = { 0.238097, 0.238097, 0.238097 }, + [2] = { 0.238097, 0.238097, 0.238097 }, + [4] = { 0.238097, 0.238097, 0.238097 }, + [5] = { 0.238097, 0.238097, 0.238097 }, + [3] = { 0.476196, 0.0, 0.238097 }, + [6] = { 0.476196, 0.0, 0.238097 }, + [11] = { 0.0, 0.476196, 0.0 }, + [1] = { 0.0, 0.476196, 0.0 }, + } + }, + [12] = { + chars = { + 'ア', 'イ', 'ウ', 'オ', 'ケ', 'ゲ', 'サ', 'ザ', 'ソ', 'ゾ', 'チ', 'ヂ', 'ツ', + 'ヅ', 'ト', 'ド', 'ナ', 'フ', 'ブ', 'プ', 'ミ', 'メ', 'ラ', 'リ', 'ワ', 'ヲ' + }, + align = 'left', left = 0.0, down = 0.0, + width = 1.0, height = vht, depth = vdp, italic=0.0, + glue = { + [4] = { 0.316224, 0.0, 0.316224 }, + [5] = { 0.238097, 0.0, 0.238097 }, + [3] = { 0.111608, 0.0, 0.111608 }, + [6] = { 0.476196, 0.0, 0.238097 }, + }, + kern = { + [10] = -0.1, [11] = -0.1 + }, + }, + [13] = { + chars = { + 'ク', 'グ', 'タ', 'ダ' + }, + align = 'left', left = 0.0, down = 0.0, + width = 1.0, height = vht, depth = vdp, italic=0.0, + glue = { + [4] = { 0.316224, 0.0, 0.316224 }, + [5] = { 0.238097, 0.0, 0.238097 }, + [3] = { 0.111608, 0.0, 0.111608 }, + [6] = { 0.476196, 0.0, 0.238097 }, + }, + kern = { + [10] = -0.15, [11] = -0.15 + }, + }, + [14] = { + chars = { + 'ノ' + }, + align = 'left', left = 0.0, down = 0.0, + width = 1.0, height = vht, depth = vdp, italic=0.0, + glue = { + [4] = { 0.316224, 0.0, 0.316224 }, + [5] = { 0.238097, 0.0, 0.238097 }, + [3] = { 0.111608, 0.0, 0.111608 }, + [6] = { 0.476196, 0.0, 0.238097 }, + }, + kern = { + [10] = -0.2, [11] = -0.2 + }, + }, + + [99] = { -- box末尾 + chars = {'boxbdd', 'parbdd'}, + }, +} |