-
Notifications
You must be signed in to change notification settings - Fork 7
/
config_template.toml
186 lines (146 loc) · 5.43 KB
/
config_template.toml
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
# -- OpenType Rebuilder Configuration File --
# -- Version: 1.5 --
# -- Format: TOML --
# -- Encoding: UTF-8(with/without BOM) --
# -- This configuration file is CASE-SENSITIVE. --
# -- Almost all options are **optional**. Just comment or delete any unnecessary options.--
[General]
version = 1.23
# RFC 3339 Time format
# yyyy-mm-ddThh:mm:ss[+/-]hh:mm
# ---Date---T--Time--[+/-]TZone
# createdTime = 2017-08-01T12:12:12+08:00
# modifiedTime = 2017-08-01T12:12:12+08:00
# Installable (no restriction) = 0, editable = 1, preview & print = 2, restricted = 3
embeddingRestriction = 0
# OS/2.version 1 or above only
# This is for language identification within Microsoft Windows and Office.
# Common codepages: latin, latinExt, macRoman, cyrillic, greek, turkish, hebrew,
# arabic, baltic, vietnamese, thai, jis, gbk, big5, korWansung, korJohab
codepages = ['latin', 'macRoman', 'gbk']
# Change ROS within a CFF-based CID font.
# Use it only when necessary.
# cidRegistry = 'Adobe'
# cidOrdering = 'Identity'
# cidSupplement = 0
[Name]
[Name.en]
# If [Name] is specified, this is **the only required item** to be declared.
# All other name items except en.fontFamily can be removed if you don't need them.
# OT Rebuilder will automatically generate as much information as it can.
fontFamily = 'OT Rebuilder Test'
fontSubfamily = 'Light Italic'
fontFullName = 'OT Rebuilder Test Light Italic'
postScriptName = 'OTRebuilderTest-LightItalic'
versionString = 'Detailed description of font version. "Version x.yz" format is recommended.'
uniqueID = 'OT Rebuilder Test; Version 1.23'
copyright = 'OpenType, OpenSource.'
trademark = 'OT Rebuilder is powered by fontTools.'
description = 'OT Rebuilder test flight.'
designer = 'Pal3love'
designerURL = 'https://github.com/Pal3love'
distributor = 'Your Company'
# 4 characters of distributor ID, not designer ID.
distributorID = 'TEST'
distributorURL = 'http://distributor.com/'
license = '''From here write any sentences and symbols you like.
Paragraphs are also supported. For paragraphs please do not indent.
'''
licenseURL = 'http://www.w3.org/'
# Simplified Chinese
[Name.zh-Hans]
fontFamily = 'OT Rebuilder 测试'
fontSubfamily = '半粗斜体'
fontFullName = 'OT Rebuilder 测试 半粗斜体'
copyright = '开放,开源。'
trademark = 'OT Rebuilder 以 fontTools 为基础实现。'
description = 'OT Rebuilder 第一次全面测试。'
designer = '梦回琼华'
designerURL = 'https://github.com/Pal3love'
distributor = '您的公司'
distributorURL = 'http://distributor.cn/'
license = '''这里可以写很详细的许可协议全文。
支持段落。请顶格写,不要留有缩进。
'''
licenseURL = 'http://www.cnnic.net.cn/'
# Uncomment the following when needed.
# Available language tags: http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
# Traditional Chinese
# [Name.zh-Hant]
# Add some stuff
# Japanese
# [Name.ja]
# Add some stuff
# Korean
# [Name.ko]
# Add some stuff
# [Metrics]
# Horizontal (`hhea`) metrics
# hheaAscender = 880
# hheaDescender = -120
# hheaLineGap = 1000
# Vertical (`vhea`) metrics
# vheaAscender = 500
# vheaDescender = -500
# vheaLineGap = 1000
# Typo metrics
# typoAscender = 880
# typoDescender = -120
# typoLineGap = 1000
# Windows metrics
# winAscender = 880
# winDescender = -120
[Style]
# Range: [1 - 10]
# Generally, Ultralight = 1, Extralight = 2, Light = 3, Regular = 4,
# Medium = 5, Semibold = 6, Bold = 7, Extrabold = 8, Heavy = 9, Black = 10.
# Please choose the closest value for your font.
weightScale = 4
# Range: [1 - 9]
# Ultra-condensed = 1, Extra-condensed = 2, Condensed = 3, Semi-condensed = 4, Medium = 5,
# Semi-expanded = 6, Expanded = 7, Extra-expanded = 8, Ultra-expanded = 9.
# Please choose the closest value for your font.
widthScale = 5
# OS/2.version 4 or above only
# False: use winDescender & winAscender to decide line space
# True: use typoAscender & typoDescender to decide line height
# useTypoMetrics = false
# OS/2.version 4 or above only
# This is for Windows identification only, having no effect on platforms except Windows.
# Sometimes Windows doesn't identify font families only by the family/subfamily values.
# Set it true to force Windows identify them by exclusive family/subfamily values.
# forcePreferredFamily = true
# Style-linking option, for bold/italic/boldItalic replacements like MS Office.
# No style-linking = 0, linking regular = 1,
# Linking bold = 2, linking italic = 3, linking boldItalic = 4.
# To ensure style-linking work, please carefully specify family name and subfamilies.
# For font families with **only single subfamily**, please set this option to 1.
# styleLink = 0
# Useful for IDE font selectors such as MS Visual Studio.
# For non-monospaced fonts please set it to false.
# isMonospaced = false
# monoLatinWidth = 500
# Negative means leaning to the right, right for most italic/oblique fonts.
# italicAngle = -12.0
# Negative means below baseline.
# underlinePosition = -217
# Thickness of the font underline.
# underlineThickness = 150
# Windows uses the following classifications for font fallbacks.
# Sample values are retrieved from Arial.
# [Style.IBM]
# IBM classification guideline: https://www.microsoft.com/typography/otspec/ibmfc.htm
# ibmStyleClass = 8
# ibmStyleSubclass = 5
# [Style.PANOSE]
# Monotype PANOSE guideline: http://monotype.de/services/pan1
# familykind = 2
# subkind1 = 11
# subkind2 = 6
# subkind3 = 4
# subkind4 = 2
# subkind5 = 2
# subkind6 = 2
# subkind7 = 2
# subkind8 = 2
# subkind9 = 4