OSDN Git Service

Corrected a typo.
[luatex-ja/luatexja.git] / doc / jfm-test.lua
1 luatexja.jfont.define_jfm {
2    dir = 'yoko',
3    zw = 1.0, zh = 1.0,
4    kanjiskip = { 0.1, 0.04, 0.05 },
5    xkanjiskip = { 0.31, 0.045, 0.057 },
6
7    [0] = {
8       chars = { '漢', 'ヒ*' }, 
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, [99] = 1.21 }
18    },
19    [11] = {
20       chars = { 'い' },
21       align = 'left', left = 0.0, down = 0.0,
22       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
23       glue = { [3] = { 1.41, 0, 0} },
24       kern = { [2] = 2.0, }
25    },
26    [21] = {
27       chars = { 'う' },
28       align = 'left', left = 0.0, down = 0.0,
29       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
30       glue = { [3] = { 1.41, 0, 0}, [99] ={ 1.73, 0, 0}  },
31       kern = { [8] = -1.41 , [2] = 2.0, }
32    },
33    [31] = {
34       chars = { 'え' },
35       align = 'left', left = 0.0, down = 0.0,
36       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
37       glue = { [3] = { 1.41, 0, 0} },
38       kern = { [2] = 2.0, [99] = 1.73}
39    },
40    [41] = {
41       chars = { 'お' },
42       align = 'left', left = 0.0, down = 0.0,
43       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
44       kern = { [8] = -1.41 , [2] = 2.0}
45    },
46    [51] = {
47       chars = { 'か' },
48       align = 'left', left = 0.0, down = 0.0,
49       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
50       kern = { [199] = 0.85 },
51    },
52
53    [2] = {
54       chars = { 'ア' },
55       align = 'left', left = 0.0, down = 0.0,
56       width = 1.0, height = 0.88, depth = 0.12, italic=0.0
57    },
58    [3] = {
59       chars = { 'ウ' },
60       align = 'left', left = 0.0, down = 0.0,
61       width = 1.0, height = 0.88, depth = 0.12, italic=0.0
62    },
63    [4] = {
64       chars = { 'エ' },
65       align = 'left', left = 0.0, down = 0.0,
66       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
67       glue = { [199] = { 0.78, 0, 0} },
68    },
69    [2000] = {
70       chars = { '。', '、*', 'ヒ' },
71       align = 'left', left = 0.0, down = 0.0,
72       width = 0.5, height = 0.88, depth = 0.12, italic=0.0,
73    },
74    [100] = {
75       chars = { '「' },
76       align = 'right', left = 0.0, down = 0.0,
77       width = 0.5, height = 0.88, depth = 0.12, italic=0.0,
78    },
79    [101] = {
80       chars = { '【' },
81       align = 'right', left = 0.0, down = 0.0,
82       width = 0.5, height = 0.88, depth = 0.12, italic=0.0,
83    },
84    [102] = {
85       chars = { '〔' },
86       align = 'right', left = 0.0, down = 0.0,
87       width = 0.5, height = 0.88, depth = 0.12, italic=0.0,
88    },
89    [99] = {
90       chars = { 'jcharbdd' },
91       glue = { [11] = { 1.41, 0, 0} },
92       kern = { [21] = 2.0, }
93    },
94    [199] = {
95       chars = { 'boxbdd' },
96       glue = { [51] = { 1.03, 0, 0} , [1] = { 0.94, 0.23, 0.45 }},
97    },
98    [299] = {
99       chars = { 'parbdd' },
100       glue = { [51] = { 0.68, 0.02, 0.04} },
101       kern = { [100] = -0.5, [102] = 0.5 }
102    },
103    [399] = {
104       chars = { -1 }, -- math
105       glue = { [0] = { 0.68, 0.02, 0.04} },
106    },
107    [8] = {
108       chars = { 'lineend' },
109    }
110 }