ソースコードの管理場所
Revisão | 4290bb9c0088e53a792c9b201bc61e809331ba7b (tree) |
---|---|
Hora | 2013-06-25 01:44:44 |
Autor | maqiyuan <maqiyuan@user...> |
Commiter | maqiyuan |
CCT style for LuaTeX-ja.
@@ -0,0 +1,84 @@ | ||
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.25 , 0.0, 0.0 }, | |
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 punctuations | |
27 | + chars = { | |
28 | + 0x2019, 0x201D, 0x3001, 0x3009, 0x300B, 0x300D, 0x300F, 0x3011, 0x3015, | |
29 | + 0x3017, 0x3019, 0x301F, 0xFF09, 0xFF0C, 0xFF3D, 0xFF5D, 0xFF60, | |
30 | + 0xFF1A, 0xFF1B | |
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.25 , 0.0, 0.0 }, | |
36 | + [3] = { 0.125, 0.0, 0.0 }, | |
37 | + [5] = { 0.25 , 0.0, 0.25 } | |
38 | + } | |
39 | + }, | |
40 | + | |
41 | + [3] = { -- fw. middle dot punctuations | |
42 | + chars = {0x30FB, 0x00B7}, | |
43 | + align = 'middle', left = 0.0, down = 0.0, | |
44 | + width = 0.5, height = 0.88, depth = 0.12, italic=0.0, | |
45 | + glue = { | |
46 | + [0] = { 0.125, 0.0, 0.125 }, | |
47 | + [1] = { 0.125, 0.0, 0.125 }, | |
48 | + [2] = { 0.125, 0.0, 0.125 }, | |
49 | + [3] = { 0.5 , 0.0, 0.5 }, | |
50 | + [4] = { 0.25, 0.0, 0.25 }, | |
51 | + [5] = { 0.25, 0.0, 0.25 }, | |
52 | + } | |
53 | + }, | |
54 | + | |
55 | + [4] = { -- fw. stop punctuations | |
56 | + chars = {0x3002, 0xFF01, 0xFF0E, 0xFF1F}, | |
57 | + align = 'left', left = 0.0, down = 0.0, | |
58 | + width = 0.5, height = 0.88, depth = 0.12, italic=0.0, | |
59 | + glue = { | |
60 | + [0] = { 0.5, 0.0, 0.0 }, | |
61 | + [1] = { 0.5, 0.0, 0.0 }, | |
62 | + [3] = { 0.5, 0.0, 0.0 }, | |
63 | + [5] = { 0.5, 0.0, 0.0 } | |
64 | + } | |
65 | + }, | |
66 | + | |
67 | + [5] = { -- fw. dash punctuations | |
68 | + chars = { 0x2015, 0x2025, 0x2026, 0x2014, 0x301C, 0xFF5E }, | |
69 | + align = 'middle', left = 0.0, down = 0.0, | |
70 | + width = 1.0, height = 0.88, depth = 0.12, italic=0.0, | |
71 | + glue = { | |
72 | + [1] = { 0.5 , 0.0, 0.5 }, | |
73 | + [3] = { 0.25, 0.0, 0.25 } | |
74 | + }, | |
75 | + kern = { | |
76 | + [5] = -0.1 | |
77 | + } | |
78 | + }, | |
79 | + | |
80 | + [6] = { -- box end | |
81 | + chars = {'boxbdd'}, | |
82 | + }, | |
83 | + | |
84 | +} |