OSDN Git Service

Updated Figure 2 in the manual.
[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       align = 'left', left = 0.0, down = 0.0,
9       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
10    },
11    [1] = {
12       chars = { 'あ' },
13       align = 'left', left = 0.0, down = 0.0,
14       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
15       glue = { [3] = { 1.41, 0, 0}, [399] = {1.25, 0.43, 0.87} },
16       kern = { [8] = -1.41 , [2] = 2.0, [99] = 1.21 }
17    },
18    [11] = {
19       chars = { 'い' },
20       align = 'left', left = 0.0, down = 0.0,
21       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
22       glue = { [3] = { 1.41, 0, 0} },
23       kern = { [2] = 2.0, }
24    },
25    [21] = {
26       chars = { 'う' },
27       align = 'left', left = 0.0, down = 0.0,
28       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
29       glue = { [3] = { 1.41, 0, 0}, [99] ={ 1.73, 0, 0}  },
30       kern = { [8] = -1.41 , [2] = 2.0, }
31    },
32    [31] = {
33       chars = { 'え' },
34       align = 'left', left = 0.0, down = 0.0,
35       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
36       glue = { [3] = { 1.41, 0, 0} },
37       kern = { [2] = 2.0, [99] = 1.73}
38    },
39    [41] = {
40       chars = { 'お' },
41       align = 'left', left = 0.0, down = 0.0,
42       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
43       kern = { [8] = -1.41 , [2] = 2.0}
44    },
45    [51] = {
46       chars = { 'か' },
47       align = 'left', left = 0.0, down = 0.0,
48       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
49       kern = { [199] = 0.85 },
50    },
51
52    [2] = {
53       chars = { 'ア' },
54       align = 'left', left = 0.0, down = 0.0,
55       width = 1.0, height = 0.88, depth = 0.12, italic=0.0
56    },
57    [3] = {
58       chars = { 'ウ' },
59       align = 'left', left = 0.0, down = 0.0,
60       width = 1.0, height = 0.88, depth = 0.12, italic=0.0
61    },
62    [4] = {
63       chars = { 'エ' },
64       align = 'left', left = 0.0, down = 0.0,
65       width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
66       glue = { [199] = { 0.78, 0, 0} },
67    },
68    [100] = {
69       chars = { '「' },
70       align = 'right', left = 0.0, down = 0.0,
71       width = 0.5, height = 0.88, depth = 0.12, italic=0.0,
72    },
73    [101] = {
74       chars = { '【' },
75       align = 'right', left = 0.0, down = 0.0,
76       width = 0.5, height = 0.88, depth = 0.12, italic=0.0,
77    },
78    [102] = {
79       chars = { '〔' },
80       align = 'right', left = 0.0, down = 0.0,
81       width = 0.5, height = 0.88, depth = 0.12, italic=0.0,
82    },
83    [99] = {
84       chars = { 'jcharbdd' },
85       glue = { [11] = { 1.41, 0, 0} },
86       kern = { [21] = 2.0, }
87    },
88    [199] = {
89       chars = { 'boxbdd' },
90       glue = { [51] = { 1.03, 0, 0} , [1] = { 0.94, 0.23, 0.45 }},
91    },
92    [299] = {
93       chars = { 'parbdd' },
94       glue = { [51] = { 0.68, 0.02, 0.04} },
95       kern = { [100] = -0.5, [102] = 0.5 }
96    },
97    [399] = {
98       chars = { -1 }, -- math
99       glue = { [0] = { 0.68, 0.02, 0.04} },
100    },
101    [8] = {
102       chars = { 'lineend' },
103    }
104 }