-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.json
227 lines (223 loc) · 6.52 KB
/
config.json
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
{
"width_height_comment": "em size = 1000, regardless of source font’s",
"width": 600,
"height": {
"ascender_descender_comment": "(`ascender` - `descender`) is considered to be larger than (2 * `width`)",
"ascender_comment": "> 880 to avoid clipping on CJK",
"ascender": 1000,
"descender_comment": "< -200 to avoid clipping on LCG",
"descender": -250,
"typoAscender_comment": "set to 880",
"typoDescender_comment": "set to -120",
"typoLineGap_comment": "set to (`ascender` - `descender` - 1000)",
"useTypoMetrics_comment": "set to `false`, some apps cannot handle sTypoLineGap properly"
},
"familyOrder": [ "mono", "term" ],
"family_property_comment": {
"isMono": "sanitise symbols from SHS, should be set to `true`",
"isTerm": "prefer spaces, dashes, quotation marks from latin font",
"isType": "make em dash from SHS full-width, has no effect if `isTerm` set to `true` (in this condition em dash is from latin font)"
},
"families": {
"mono": {
"isMono": true,
"isTerm": true,
"latinGroup": "SourceCodeVariable",
"naming": {
"en_US": "Milky Han Mono",
"zh_CN": "星汉等宽",
"zh_TW": "星漢等寬",
"zh_HK": "星漢等寬",
"ja_JP": "星漢等幅",
"ko_KR": "성한 고정폭"
}
},
"term": {
"isMono": true,
"isTerm": true,
"latinGroup": "SourceCodeVariable",
"naming": {
"en_US": "Milky Han Term",
"zh_CN": "Milky Han Term",
"zh_TW": "Milky Han Term",
"zh_HK": "Milky Han Term",
"ja_JP": "Milky Han Term",
"ko_KR": "Milky Han Term"
}
}
},
"styleOrder": [
"extralight", "extralightitalic",
"light", "lightitalic",
"normal", "normalitalic",
"regular", "italic",
"medium", "mediumitalic",
"bold", "bolditalic",
"heavy", "heavyitalic"
],
"styles": {
"extralight": {
"suffix": "-Roman",
"variation": { "wght": 200 },
"name": "Extralight"
},
"extralightitalic": {
"suffix": "-Italic",
"variation": { "wght": 200 },
"name": "Extralight Italic",
"uprightStyleMap": "extralight"
},
"light": {
"suffix": "-Roman",
"variation": { "wght": 300 },
"name": "Light"
},
"lightitalic": {
"suffix": "-Italic",
"variation": { "wght": 300 },
"name": "Light Italic",
"uprightStyleMap": "light"
},
"normal": {
"suffix": "-Roman",
"variation": { "wght": 372 },
"name": "Normal"
},
"normalitalic": {
"suffix": "-Italic",
"variation": { "wght": 372 },
"name": "Normal Italic",
"uprightStyleMap": "normal"
},
"regular": {
"suffix": "-Roman",
"variation": { "wght": 400 },
"name": "Regular"
},
"italic": {
"suffix": "-Italic",
"variation": { "wght": 400 },
"name": "Italic",
"uprightStyleMap": "regular"
},
"medium": {
"suffix": "-Roman",
"variation": { "wght": 500 },
"name": "Medium"
},
"mediumitalic": {
"suffix": "-Italic",
"variation": { "wght": 500 },
"name": "Medium Italic",
"uprightStyleMap": "medium"
},
"bold": {
"suffix": "-Roman",
"variation": { "wght": 700 },
"name": "Bold"
},
"bolditalic": {
"suffix": "-Italic",
"variation": { "wght": 700 },
"name": "Bold Italic",
"uprightStyleMap": "bold"
},
"heavy": {
"suffix": "-Roman",
"variation": { "wght": 900 },
"name": "Heavy"
},
"heavyitalic": {
"suffix": "-Italic",
"variation": { "wght": 900 },
"name": "Heavy Italic",
"uprightStyleMap": "heavy"
}
},
"subfamilyOrder": {
"cjk": [ "cl", "sc", "tc", "hc", "j", "k" ],
"cn": [ "cn" ],
"tw": [ "tw" ],
"hk": [ "hk" ],
"jp": [ "jp" ],
"kr": [ "kr" ]
},
"ttcMode_comment": {
"normal": "normal mode, merge and share `loca` and `glyf` table",
"gap": "gap mode, share `glyf` table with different `loca` table, support more than 65535 glyphs",
"mixed": "merge families with normal mode, merge subfamilies with gap mode"
},
"ttcMode": {
"cjk": "mixed",
"cn": "normal",
"tw": "normal",
"hk": "normal",
"jp": "normal",
"kr": "normal"
},
"subfamilies": {
"cl": { "name": "CL" },
"sc": { "name": "SC" },
"tc": { "name": "TC" },
"hc": { "name": "HC" },
"j" : { "name": "J" },
"k" : { "name": "K" },
"cn": { "name": "CN" },
"tw": { "name": "TW" },
"hk": { "name": "HK" },
"jp": { "name": "JP" },
"kr": { "name": "KR" }
},
"os2encodings": {
"cl": { "gbk": true, "big5": true, "jis": true, "korean": true },
"sc": { "gbk": true, "big5": true, "jis": true, "korean": true },
"tc": { "gbk": true, "big5": true, "jis": true, "korean": true },
"hc": { "gbk": true, "big5": true, "jis": true, "korean": true },
"j" : { "gbk": true, "big5": true, "jis": true, "korean": true },
"k" : { "gbk": true, "big5": true, "jis": true, "korean": true },
"cn": { "gbk": true , "big5": false, "jis": false, "korean": false },
"tw": { "gbk": false, "big5": true , "jis": false, "korean": false },
"hk": { "gbk": false, "big5": true , "jis": false, "korean": false },
"jp": { "gbk": false, "big5": false, "jis": true , "korean": false },
"kr": { "gbk": false, "big5": false, "jis": false, "korean": true }
},
"nameTupleSelector": {
"cl": [ "en_US", "ja_JP", "ko_KR", "zh_CN", "zh_TW", "zh_HK" ],
"sc": [ "en_US", "ja_JP", "ko_KR", "zh_CN", "zh_TW", "zh_HK" ],
"tc": [ "en_US", "ja_JP", "ko_KR", "zh_CN", "zh_TW", "zh_HK" ],
"hc": [ "en_US", "ja_JP", "ko_KR", "zh_CN", "zh_TW", "zh_HK" ],
"j" : [ "en_US", "ja_JP", "ko_KR", "zh_CN", "zh_TW", "zh_HK" ],
"k" : [ "en_US", "ja_JP", "ko_KR", "zh_CN", "zh_TW", "zh_HK" ],
"cn": [ "en_US", "zh_CN" ],
"tw": [ "en_US", "zh_TW" ],
"hk": [ "en_US", "zh_HK" ],
"jp": [ "en_US", "ja_JP" ],
"kr": [ "en_US", "ko_KR" ]
},
"copyright": "Copyright © 2019–2020 Cyano Hao. Portions Copyright 2015-2019, Renzhi Li (a.k.a. Belleve Invis, [email protected]). Portions © 2014-2019 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'.",
"shsSourceMap": {
"defaultRegion": "SourceHanSans",
"region": {
"cl": "SourceHanSansK",
"sc": "SourceHanSansSC",
"tc": "SourceHanSansTC",
"hc": "SourceHanSansHC",
"j" : "SourceHanSans",
"k" : "SourceHanSansK",
"cn": "SourceHanSansCN",
"tw": "SourceHanSansTW",
"hk": "SourceHanSansHK",
"jp": "SourceHanSansJP",
"kr": "SourceHanSansKR"
},
"style": {
"extralight": "ExtraLight",
"light": "Light",
"normal": "Normal",
"regular": "Regular",
"medium": "Medium",
"bold": "Bold",
"heavy": "Heavy"
}
}
}