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
|
luatexja.jfont.define_jfm {
dir = 'yoko',
zw = 1.0, zh = 1.0,
[0] = {
align = 'left', left = 0.0, down = 0.0,
width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
glue = {
--[1] = { 0.5 , 0.0, 0.5 },
[3] = { 0.125, 0.0, 0.125 }
}
},
[1] = { -- fw. opening punctuations
chars = {
0x2018, 0x201C, 0x3008, 0x300A, 0x300C, 0x300E, 0x3010, 0x3014, 0x3016,
0x3018, 0x301D, 0xFF08, 0xFF3B, 0xFF5B, 0xFF5F
},
align = 'right', left = 0.0, down = 0.0,
width = 0.5, height = 0.88, depth = 0.12, italic=0.0,
glue = {
[3] = { 0.25, 0.0, 0.25 }
}
},
[2] = { -- fw. closing/colon/dot punctuations, except 4 & 7
chars = {
0x2019, 0x201D, 0x3009, 0x300B, 0x300D, 0x300F, 0x3011, 0x3015,
0x3017, 0x3019, 0x301F, 0xFF09, 0xFF0C, 0xFF3D, 0xFF5D, 0xFF60,
0xFF0E, 0xFF1A, 0xFF1B, 0xFF01, 0xFF1F
},
align = 'left', left = 0.0, down = 0.0,
width = 0.5, height = 0.88, depth = 0.12, italic=0.0,
glue = {
--[0] = { 0.5 , 0.0, 0.5 },
--[1] = { 0.5 , 0.0, 0.5 },
[3] = { 0.125, 0.0, 0.125 },
[5] = { 0.5 , 0.0, 0.5 }
}
},
[3] = { -- fw. middle dot punctuations
chars = {0x30FB, 0x00B7},
align = 'middle', left = 0.0, down = 0.0,
width = 0.5, height = 0.88, depth = 0.12, italic=0.0,
glue = {
[0] = { 0.125, 0.0, 0.125 },
[1] = { 0.125, 0.0, 0.125 },
[2] = { 0.125, 0.0, 0.125 },
[3] = { 0.5 , 0.0, 0.5 },
[4] = { 0.25, 0.0, 0.25 },
[5] = { 0.25, 0.0, 0.25 },
[7] = { 0.25, 0.0, 0.25 }
}
},
[4] = { -- ideographic full stop
chars = {0x3002},
align = 'left', left = 0.0, down = 0.0,
width = 0.5, height = 0.88, depth = 0.12, italic=0.0,
glue = {
--[0] = { 0.5 , 0.0, 0.0 },
[1] = { 0.5 , 0.0, 0.0 },
[3] = { 0.75, 0.0, 0.25 },
[5] = { 0.5 , 0.0, 0.0 }
}
},
[5] = { -- fw. dash punctuations
chars = { 0x2015, 0x2025, 0x2026, 0x2014, 0x301C, 0xFF5E },
align = 'left', left = 0.0, down = 0.0,
width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
glue = {
[1] = { 0.5 , 0.0, 0.5 },
[3] = { 0.25, 0.0, 0.25 }
},
kern = {
[5] = 0.0
}
},
[6] = { -- box end
chars = {'boxbdd'},
},
[7] = { -- ideographic comma
chars = {0x3001},
align = 'left', left = 0.0, down = 0.0,
width = 0.5, height = 0.88, depth = 0.12, italic=0.0,
glue = {
[0] = { 0.5 , 0.0, 0.25 },
[1] = { 0.5 , 0.0, 0.25 },
[3] = { 0.25, 0.0, 0.25 },
[5] = { 0.5 , 0.0, 0.25 }
}
},
}
|