OSDN Git Service

lltjp-fontspec: adapt fontspec 2.7e, and removed codes for <2.7c
[luatex-ja/luatexja.git] / test / jfm-test.lua
1 luatexja.jfont.define_jfm {
2    version = 3,
3    dir = 'yoko',
4    zw = 1.0, zh = 1.0,
5    kanjiskip = { 0.1, 0.04, 0.05 },
6    xkanjiskip = { 0.31, 0.045, 0.057 },
7
8    [0] = {
9       align = 'left', left = 0.0, down = 0.0,
10       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
11    },
12    [1] = {
13       chars = { 'あ' },
14       align = 'left', left = 0.0, down = 0.0,
15       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
16       glue = { [3] = { 1.41, 0, 0}, [399] = {1.25, 0.43, 0.87} },
17       kern = { [8] = -1.41 , [2] = 2.0, 
18         [99] = 1.21, [599] = 1.22, [699] = 1.23, [799] = 1.24 }
19    },
20    [11] = {
21       chars = { 'い' },
22       align = 'left', left = 0.0, down = 0.0,
23       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
24       glue = { [3] = { 1.41, 0, 0} },
25       kern = { [2] = 2.0, }
26    },
27    [21] = {
28       chars = { 'う' },
29       align = 'left', left = 0.0, down = 0.0,
30       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
31       glue = { [3] = { 1.41, 0, 0}, 
32         [99] ={ 1.73, 0, 0}, [599] ={ 1.74, 0, 0}, [699] ={ 1.75, 0, 0}, [799] ={ 1.77, 0, 0}  },
33       kern = { [8] = -1.41 , [2] = 2.0, }
34    },
35    [31] = {
36       chars = { 'え' },
37       align = 'left', left = 0.0, down = 0.0,
38       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
39       glue = { [3] = { 1.41, 0, 0} },
40       kern = { [2] = 2.0, [99] = 1.73, [599] = 1.74, [699] = 1.75, [799] = 1.76, }
41    },
42    [41] = {
43       chars = { 'お' },
44       align = 'left', left = 0.0, down = 0.0,
45       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
46       kern = { [8] = -1.41 , [2] = 2.0}
47    },
48    [51] = {
49       chars = { 'か' },
50       align = 'left', left = 0.0, down = 0.0,
51       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
52       kern = { [199] = 0.85 },
53    },
54
55    [2] = {
56       chars = { 'ア' },
57       align = 'left', left = 0.0, down = 0.0,
58       width = 1.0, height = 0.88, depth = 0.12, italic=0.0
59    },
60    [3] = {
61       chars = { 'ウ' },
62       align = 'left', left = 0.0, down = 0.0,
63       width = 1.0, height = 0.88, depth = 0.12, italic=0.0
64    },
65    [4] = {
66       chars = { 'エ' },
67       align = 'left', left = 0.0, down = 0.0,
68       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
69       glue = { [199] = { 0.78, 0, 0} },
70    },
71    [99] = {
72       chars = { 'jcharbdd' },
73       glue = { [11] = { 1.41, 0, 0} },
74       kern = { [21] = 2.0, }
75    },
76    [599] = {
77       chars = { 'alchar' },
78       glue = { [11] = { 1.42, 0, 0}, [1] = {0.51, 0, 0 } },
79       kern = { [21] = 2.01, }
80    },
81    [699] = {
82       chars = { 'nox_alchar' },
83       glue = { [11] = { 1.43, 0, 0}, [1] = {0.52, 0, 0 } },
84       kern = { [21] = 2.02, }
85    },
86    [799] = {
87       chars = { 'glue' },
88       glue = { [11] = { 1.44, 0, 0}, [1] = {0.53, 0, 0 } },
89       kern = { [21] = 2.03, }
90    },
91    [199] = {
92       chars = { 'boxbdd' },
93       glue = { [51] = { 1.03, 0, 0} , [1] = { 0.94, 0.23, 0.45 }},
94    },
95    [299] = {
96       chars = { 'parbdd' },
97       glue = { [51] = { 0.68, 0.02, 0.04} },
98    },
99    [399] = {
100       chars = { -1 }, -- math
101       glue = { [0] = { 0.68, 0.02, 0.04} },
102    },
103    [8] = {
104       chars = { 'lineend' },
105    }
106 }