summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/luatexja/src/jfm-min.lua
blob: e07b3300396dd0fcc553131598fa2ede4873bd84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
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'},
   },
}