OSDN Git Service

remove trailing spaces
[luatex-ja/luatexja.git] / src / jfm-banjiao.lua
1 luatexja.jfont.define_jfm {
2   dir = 'yoko',
3   zw = 1.0, zh = 1.0,
4
5   [0] = {
6     align = 'left', left = 0.0, down = 0.0,
7     width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
8     glue = {
9       --[1] = { 0.5 , 0.0, 0.5  },
10       [3] = { 0.125, 0.0, 0.125 }
11     }
12   },
13
14   [1] = { -- fw. opening punctuations
15     chars = {
16       0x2018, 0x201C, 0x3008, 0x300A, 0x300C, 0x300E, 0x3010, 0x3014, 0x3016,
17       0x3018, 0x301D, 0xFF08, 0xFF3B, 0xFF5B, 0xFF5F
18     },
19     align = 'right', left = 0.0, down = 0.0,
20     width = 0.5, height = 0.88, depth = 0.12, italic=0.0,
21     glue = {
22       [3] = { 0.25, 0.0, 0.25 }
23     }
24   },
25
26   [2] = { -- fw. closing/colon/dot punctuations, except 4 & 7
27     chars = {
28       0x2019, 0x201D, 0x3009, 0x300B, 0x300D, 0x300F, 0x3011, 0x3015,
29       0x3017, 0x3019, 0x301F, 0xFF09, 0xFF0C, 0xFF3D, 0xFF5D, 0xFF60,
30       0xFF0E, 0xFF1A, 0xFF1B, 0xFF01, 0xFF1F
31     },
32     align = 'left', left = 0.0, down = 0.0,
33     width = 0.5, height = 0.88, depth = 0.12, italic=0.0,
34     glue = {
35       --[0] = { 0.5 , 0.0, 0.5  },
36       --[1] = { 0.5 , 0.0, 0.5  },
37       [3] = { 0.125, 0.0, 0.125 },
38       [5] = { 0.5 , 0.0, 0.5  }
39     }
40   },
41
42   [3] = { -- fw. middle dot punctuations
43     chars = {0x30FB, 0x00B7},
44     align = 'middle', left = 0.0, down = 0.0,
45     width = 0.5, height = 0.88, depth = 0.12, italic=0.0,
46     glue = {
47       [0] = { 0.125, 0.0, 0.125 },
48       [1] = { 0.125, 0.0, 0.125 },
49       [2] = { 0.125, 0.0, 0.125 },
50       [3] = { 0.5 , 0.0, 0.5  },
51       [4] = { 0.25, 0.0, 0.25 },
52       [5] = { 0.25, 0.0, 0.25 },
53       [7] = { 0.25, 0.0, 0.25 }
54     }
55   },
56
57   [4] = { -- ideographic full stop
58     chars = {0x3002},
59     align = 'left', left = 0.0, down = 0.0,
60     width = 0.5, height = 0.88, depth = 0.12, italic=0.0,
61     glue = {
62       --[0] = { 0.5 , 0.0, 0.0  },
63       [1] = { 0.5 , 0.0, 0.0  },
64       [3] = { 0.75, 0.0, 0.25 },
65       [5] = { 0.5 , 0.0, 0.0  }
66     }
67   },
68
69   [5] = { -- fw. dash punctuations
70     chars = { 0x2015, 0x2025, 0x2026, 0x2014, 0x301C, 0xFF5E },
71     align = 'left', left = 0.0, down = 0.0,
72     width = 1.0, height = 0.88, depth = 0.12, italic=0.0,
73     glue = {
74       [1] = { 0.5 , 0.0, 0.5  },
75       [3] = { 0.25, 0.0, 0.25 }
76     },
77     kern = {
78       [5] = 0.0
79     }
80   },
81
82   [6] = { -- box end
83     chars = {'boxbdd'},
84   },
85
86   [7] = { -- ideographic comma
87     chars = {0x3001},
88     align = 'left', left = 0.0, down = 0.0,
89     width = 0.5, height = 0.88, depth = 0.12, italic=0.0,
90     glue = {
91       [0] = { 0.5 , 0.0, 0.25 },
92       [1] = { 0.5 , 0.0, 0.25 },
93       [3] = { 0.25, 0.0, 0.25 },
94       [5] = { 0.5 , 0.0, 0.25 }
95     }
96   },
97
98 }