1 -- -*- coding: utf-8 -*-
2 -- jfm-jis.lua: JISフォントメトリック互換
3 -- Besed on ujis.tfm (a counterpart of jis.tfm for upTeX).
4 -- * Do not confuse with jfm-ujis.lua.
6 local vscale = 0.916443 / 0.962216
7 local vht = 0.777588 / 0.962216
8 local vdp = 0.138855 / 0.962216
9 luatexja.jfont.define_jfm {
11 zw = 1.0, zh = vscale,
14 align = 'left', left = 0.0, down = 0.0,
15 width = 1.0, height = vht, depth = vdp, italic=0.0,
17 [1] = { 0.5 , 0.0, 0.5 },
18 [3] = { 0.25, 0.0, 0.25 }
24 '‘', '“', '〈', '《', '「', '『', '【', '〔', '〖',
25 '〘', '〝', '(', '[', '{', '⦅'
27 align = 'right', left = 0.0, down = 0.0,
28 width = 0.5, height = vht, depth = vdp, italic=0.0,
30 [3] = { 0.25, 0.0, 0.25 }
36 '’', '”', '、', '〉', '》', '」', '』', '】', '〕',
37 '〗', '〙', '〟', ')', ',', ']', '}', '⦆'
39 align = 'left', left = 0.0, down = 0.0,
40 width = 0.5, height = vht, depth = vdp, italic=0.0,
42 [0] = { 0.5 , 0.0, 0.5 },
43 [1] = { 0.5 , 0.0, 0.5 },
44 [3] = { 0.25, 0.0, 0.25 },
45 [5] = { 0.5 , 0.0, 0.5 },
50 chars = {'・', ':', ';'},
51 align = 'middle', left = 0.0, down = 0.0,
52 width = 0.5, height = vht, depth = vdp, italic=0.0,
54 [0] = { 0.25, 0.0, 0.25 },
55 [1] = { 0.25, 0.0, 0.25 },
56 [2] = { 0.25, 0.0, 0.25 },
57 [3] = { 0.5 , 0.0, 0.5 },
58 [4] = { 0.25, 0.0, 0.25 },
59 [5] = { 0.25, 0.0, 0.25 },
65 align = 'left', left = 0.0, down = 0.0,
66 width = 0.5, height = vht, depth = vdp, italic=0.0,
68 [0] = { 0.5 , 0.0, 0.0 },
69 [1] = { 0.5 , 0.0, 0.0 },
70 [3] = { 0.75, 0.0, 0.25 },
71 [5] = { 0.5 , 0.0, 0.0 },
76 chars = { '―', '‥', '…' },
77 align = 'left', left = 0.0, down = 0.0,
78 width = 1.0, height = vht, depth = vdp, italic=0.0,
80 [1] = { 0.5 , 0.0, 0.5 },
81 [3] = { 0.25, 0.0, 0.25 }
89 chars = {'boxbdd', 'parbdd'},