@ot-builder/io-bin-encoding 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +259 -1
- package/CHANGELOG.md +67 -2
- package/lib/cmap/read.js +1 -1
- package/lib/cmap/unicode-vs.js +4 -4
- package/lib/cmap/write.js +1 -1
- package/lib/index.js +2 -2
- package/package.json +23 -13
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,265 @@
|
|
|
2
2
|
"name": "@ot-builder/io-bin-encoding",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Sat, 16 Oct 2021 01:17:27 GMT",
|
|
6
|
+
"tag": "@ot-builder/io-bin-encoding_v1.3.0",
|
|
7
|
+
"version": "1.3.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
13
|
+
"comment": "Bump @ot-builder/bin-util to v1.3.0",
|
|
14
|
+
"commit": "1a40fcdec7a908d6498acd9a239f81236cd390c4"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
19
|
+
"comment": "Bump @ot-builder/errors to v1.3.0",
|
|
20
|
+
"commit": "1a40fcdec7a908d6498acd9a239f81236cd390c4"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
25
|
+
"comment": "Bump @ot-builder/ot-encoding to v1.3.0",
|
|
26
|
+
"commit": "1a40fcdec7a908d6498acd9a239f81236cd390c4"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
31
|
+
"comment": "Bump @ot-builder/ot-glyphs to v1.3.0",
|
|
32
|
+
"commit": "1a40fcdec7a908d6498acd9a239f81236cd390c4"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
37
|
+
"comment": "Bump @ot-builder/ot-metadata to v1.3.0",
|
|
38
|
+
"commit": "1a40fcdec7a908d6498acd9a239f81236cd390c4"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
43
|
+
"comment": "Bump @ot-builder/prelude to v1.3.0",
|
|
44
|
+
"commit": "1a40fcdec7a908d6498acd9a239f81236cd390c4"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"author": "beachball",
|
|
48
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
49
|
+
"comment": "Bump @ot-builder/primitive to v1.3.0",
|
|
50
|
+
"commit": "1a40fcdec7a908d6498acd9a239f81236cd390c4"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"author": "beachball",
|
|
54
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
55
|
+
"comment": "Bump @ot-builder/ot-sfnt to v1.3.0",
|
|
56
|
+
"commit": "1a40fcdec7a908d6498acd9a239f81236cd390c4"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"author": "beachball",
|
|
60
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
61
|
+
"comment": "Bump @ot-builder/io-bin-sfnt to v1.3.0",
|
|
62
|
+
"commit": "1a40fcdec7a908d6498acd9a239f81236cd390c4"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"author": "beachball",
|
|
66
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
67
|
+
"comment": "Bump @ot-builder/io-bin-glyph-store to v1.3.0",
|
|
68
|
+
"commit": "1a40fcdec7a908d6498acd9a239f81236cd390c4"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"author": "beachball",
|
|
72
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
73
|
+
"comment": "Bump @ot-builder/io-bin-metadata to v1.3.0",
|
|
74
|
+
"commit": "1a40fcdec7a908d6498acd9a239f81236cd390c4"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"author": "beachball",
|
|
78
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
79
|
+
"comment": "Bump @ot-builder/test-util to v1.3.0",
|
|
80
|
+
"commit": "1a40fcdec7a908d6498acd9a239f81236cd390c4"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"date": "Sat, 09 Oct 2021 01:06:40 GMT",
|
|
87
|
+
"tag": "@ot-builder/io-bin-encoding_v1.2.0",
|
|
88
|
+
"version": "1.2.0",
|
|
89
|
+
"comments": {
|
|
90
|
+
"minor": [
|
|
91
|
+
{
|
|
92
|
+
"author": "beachball",
|
|
93
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
94
|
+
"comment": "Bump @ot-builder/bin-util to v1.2.0",
|
|
95
|
+
"commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"author": "beachball",
|
|
99
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
100
|
+
"comment": "Bump @ot-builder/errors to v1.2.0",
|
|
101
|
+
"commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"author": "beachball",
|
|
105
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
106
|
+
"comment": "Bump @ot-builder/ot-encoding to v1.2.0",
|
|
107
|
+
"commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"author": "beachball",
|
|
111
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
112
|
+
"comment": "Bump @ot-builder/ot-glyphs to v1.2.0",
|
|
113
|
+
"commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"author": "beachball",
|
|
117
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
118
|
+
"comment": "Bump @ot-builder/ot-metadata to v1.2.0",
|
|
119
|
+
"commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"author": "beachball",
|
|
123
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
124
|
+
"comment": "Bump @ot-builder/prelude to v1.2.0",
|
|
125
|
+
"commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"author": "beachball",
|
|
129
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
130
|
+
"comment": "Bump @ot-builder/primitive to v1.2.0",
|
|
131
|
+
"commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"author": "beachball",
|
|
135
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
136
|
+
"comment": "Bump @ot-builder/ot-sfnt to v1.2.0",
|
|
137
|
+
"commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"author": "beachball",
|
|
141
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
142
|
+
"comment": "Bump @ot-builder/io-bin-sfnt to v1.2.0",
|
|
143
|
+
"commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"author": "beachball",
|
|
147
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
148
|
+
"comment": "Bump @ot-builder/io-bin-glyph-store to v1.2.0",
|
|
149
|
+
"commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"author": "beachball",
|
|
153
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
154
|
+
"comment": "Bump @ot-builder/io-bin-metadata to v1.2.0",
|
|
155
|
+
"commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"author": "beachball",
|
|
159
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
160
|
+
"comment": "Bump @ot-builder/test-util to v1.2.0",
|
|
161
|
+
"commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"date": "Sat, 25 Sep 2021 01:08:03 GMT",
|
|
168
|
+
"tag": "@ot-builder/io-bin-encoding_v1.1.2",
|
|
169
|
+
"version": "1.1.2",
|
|
170
|
+
"comments": {
|
|
171
|
+
"patch": [
|
|
172
|
+
{
|
|
173
|
+
"author": "beachball",
|
|
174
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
175
|
+
"comment": "Bump @ot-builder/bin-util to v1.1.2",
|
|
176
|
+
"commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"author": "beachball",
|
|
180
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
181
|
+
"comment": "Bump @ot-builder/errors to v1.1.2",
|
|
182
|
+
"commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"author": "beachball",
|
|
186
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
187
|
+
"comment": "Bump @ot-builder/ot-encoding to v1.1.2",
|
|
188
|
+
"commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"author": "beachball",
|
|
192
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
193
|
+
"comment": "Bump @ot-builder/ot-glyphs to v1.1.2",
|
|
194
|
+
"commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"author": "beachball",
|
|
198
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
199
|
+
"comment": "Bump @ot-builder/ot-metadata to v1.1.2",
|
|
200
|
+
"commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"author": "beachball",
|
|
204
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
205
|
+
"comment": "Bump @ot-builder/prelude to v1.1.2",
|
|
206
|
+
"commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"author": "beachball",
|
|
210
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
211
|
+
"comment": "Bump @ot-builder/primitive to v1.1.2",
|
|
212
|
+
"commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"author": "beachball",
|
|
216
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
217
|
+
"comment": "Bump @ot-builder/ot-sfnt to v1.1.2",
|
|
218
|
+
"commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"author": "beachball",
|
|
222
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
223
|
+
"comment": "Bump @ot-builder/io-bin-sfnt to v1.1.2",
|
|
224
|
+
"commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"author": "beachball",
|
|
228
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
229
|
+
"comment": "Bump @ot-builder/io-bin-glyph-store to v1.1.2",
|
|
230
|
+
"commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"author": "beachball",
|
|
234
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
235
|
+
"comment": "Bump @ot-builder/io-bin-metadata to v1.1.2",
|
|
236
|
+
"commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"author": "beachball",
|
|
240
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
241
|
+
"comment": "Bump @ot-builder/test-util to v1.1.2",
|
|
242
|
+
"commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
|
|
243
|
+
}
|
|
244
|
+
]
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"date": "Sat, 11 Sep 2021 01:09:21 GMT",
|
|
249
|
+
"tag": "@ot-builder/io-bin-encoding_v1.1.1",
|
|
250
|
+
"version": "1.1.1",
|
|
251
|
+
"comments": {
|
|
252
|
+
"patch": [
|
|
253
|
+
{
|
|
254
|
+
"author": "otbbuilder-dev@users.noreply.github.com",
|
|
255
|
+
"package": "@ot-builder/io-bin-encoding",
|
|
256
|
+
"commit": "28bc4c48910f10dcabb090ab68e610ce499caa95",
|
|
257
|
+
"comment": "Bump @ot-builder/io-bin-encoding to v1.1.1"
|
|
258
|
+
}
|
|
259
|
+
]
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"date": "Sun, 18 Jul 2021 02:14:19 GMT",
|
|
6
264
|
"tag": "@ot-builder/io-bin-encoding_v1.1.0",
|
|
7
265
|
"version": "1.1.0",
|
|
8
266
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,77 @@
|
|
|
1
1
|
# Change Log - @ot-builder/io-bin-encoding
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Sat, 16 Oct 2021 01:17:27 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.3.0
|
|
8
|
+
|
|
9
|
+
Sat, 16 Oct 2021 01:17:27 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Bump @ot-builder/bin-util to v1.3.0
|
|
14
|
+
- Bump @ot-builder/errors to v1.3.0
|
|
15
|
+
- Bump @ot-builder/ot-encoding to v1.3.0
|
|
16
|
+
- Bump @ot-builder/ot-glyphs to v1.3.0
|
|
17
|
+
- Bump @ot-builder/ot-metadata to v1.3.0
|
|
18
|
+
- Bump @ot-builder/prelude to v1.3.0
|
|
19
|
+
- Bump @ot-builder/primitive to v1.3.0
|
|
20
|
+
- Bump @ot-builder/ot-sfnt to v1.3.0
|
|
21
|
+
- Bump @ot-builder/io-bin-sfnt to v1.3.0
|
|
22
|
+
- Bump @ot-builder/io-bin-glyph-store to v1.3.0
|
|
23
|
+
- Bump @ot-builder/io-bin-metadata to v1.3.0
|
|
24
|
+
- Bump @ot-builder/test-util to v1.3.0
|
|
25
|
+
|
|
26
|
+
## 1.2.0
|
|
27
|
+
|
|
28
|
+
Sat, 09 Oct 2021 01:06:40 GMT
|
|
29
|
+
|
|
30
|
+
### Minor changes
|
|
31
|
+
|
|
32
|
+
- Bump @ot-builder/bin-util to v1.2.0
|
|
33
|
+
- Bump @ot-builder/errors to v1.2.0
|
|
34
|
+
- Bump @ot-builder/ot-encoding to v1.2.0
|
|
35
|
+
- Bump @ot-builder/ot-glyphs to v1.2.0
|
|
36
|
+
- Bump @ot-builder/ot-metadata to v1.2.0
|
|
37
|
+
- Bump @ot-builder/prelude to v1.2.0
|
|
38
|
+
- Bump @ot-builder/primitive to v1.2.0
|
|
39
|
+
- Bump @ot-builder/ot-sfnt to v1.2.0
|
|
40
|
+
- Bump @ot-builder/io-bin-sfnt to v1.2.0
|
|
41
|
+
- Bump @ot-builder/io-bin-glyph-store to v1.2.0
|
|
42
|
+
- Bump @ot-builder/io-bin-metadata to v1.2.0
|
|
43
|
+
- Bump @ot-builder/test-util to v1.2.0
|
|
44
|
+
|
|
45
|
+
## 1.1.2
|
|
46
|
+
|
|
47
|
+
Sat, 25 Sep 2021 01:08:03 GMT
|
|
48
|
+
|
|
49
|
+
### Patches
|
|
50
|
+
|
|
51
|
+
- Bump @ot-builder/bin-util to v1.1.2
|
|
52
|
+
- Bump @ot-builder/errors to v1.1.2
|
|
53
|
+
- Bump @ot-builder/ot-encoding to v1.1.2
|
|
54
|
+
- Bump @ot-builder/ot-glyphs to v1.1.2
|
|
55
|
+
- Bump @ot-builder/ot-metadata to v1.1.2
|
|
56
|
+
- Bump @ot-builder/prelude to v1.1.2
|
|
57
|
+
- Bump @ot-builder/primitive to v1.1.2
|
|
58
|
+
- Bump @ot-builder/ot-sfnt to v1.1.2
|
|
59
|
+
- Bump @ot-builder/io-bin-sfnt to v1.1.2
|
|
60
|
+
- Bump @ot-builder/io-bin-glyph-store to v1.1.2
|
|
61
|
+
- Bump @ot-builder/io-bin-metadata to v1.1.2
|
|
62
|
+
- Bump @ot-builder/test-util to v1.1.2
|
|
63
|
+
|
|
64
|
+
## 1.1.1
|
|
65
|
+
|
|
66
|
+
Sat, 11 Sep 2021 01:09:21 GMT
|
|
67
|
+
|
|
68
|
+
### Patches
|
|
69
|
+
|
|
70
|
+
- Bump @ot-builder/io-bin-encoding to v1.1.1 (otbbuilder-dev@users.noreply.github.com)
|
|
71
|
+
|
|
7
72
|
## 1.1.0
|
|
8
73
|
|
|
9
|
-
Sun, 18 Jul 2021 02:
|
|
74
|
+
Sun, 18 Jul 2021 02:14:19 GMT
|
|
10
75
|
|
|
11
76
|
### Minor changes
|
|
12
77
|
|
package/lib/cmap/read.js
CHANGED
|
@@ -5,7 +5,7 @@ const bin_util_1 = require("@ot-builder/bin-util");
|
|
|
5
5
|
const errors_1 = require("@ot-builder/errors");
|
|
6
6
|
const ot_encoding_1 = require("@ot-builder/ot-encoding");
|
|
7
7
|
const handlers_1 = require("./handlers");
|
|
8
|
-
exports.ReadCmap = bin_util_1.Read((view, gOrd) => {
|
|
8
|
+
exports.ReadCmap = (0, bin_util_1.Read)((view, gOrd) => {
|
|
9
9
|
const version = view.uint16();
|
|
10
10
|
errors_1.Assert.VersionSupported("cmap", version, 0);
|
|
11
11
|
const cmap = new ot_encoding_1.Cmap.Table();
|
package/lib/cmap/unicode-vs.js
CHANGED
|
@@ -9,7 +9,7 @@ const general_1 = require("./general");
|
|
|
9
9
|
const unicode_encoding_collector_1 = require("./unicode-encoding-collector");
|
|
10
10
|
const DefaultGlyph = Symbol();
|
|
11
11
|
const DefaultVs = {
|
|
12
|
-
...bin_util_1.Read((p, mapping, varSelector) => {
|
|
12
|
+
...(0, bin_util_1.Read)((p, mapping, varSelector) => {
|
|
13
13
|
const numUnicodeValueRanges = p.uint32();
|
|
14
14
|
for (let range = 0; range < numUnicodeValueRanges; range++) {
|
|
15
15
|
const startUnicodeValue = p.next(primitive_1.UInt24);
|
|
@@ -19,7 +19,7 @@ const DefaultVs = {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}),
|
|
22
|
-
...bin_util_1.Write((frag, mapping) => {
|
|
22
|
+
...(0, bin_util_1.Write)((frag, mapping) => {
|
|
23
23
|
const w = new DefaultVsWriter(frag);
|
|
24
24
|
for (const code of mapping)
|
|
25
25
|
w.push(code);
|
|
@@ -66,7 +66,7 @@ class DefaultVsWriter {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
const NonDefaultVs = {
|
|
69
|
-
...bin_util_1.Read((p, mapping, varSelector, gOrd) => {
|
|
69
|
+
...(0, bin_util_1.Read)((p, mapping, varSelector, gOrd) => {
|
|
70
70
|
const numUVSMappings = p.uint32();
|
|
71
71
|
for (let index = 0; index < numUVSMappings; index++) {
|
|
72
72
|
const unicodeValue = p.next(primitive_1.UInt24);
|
|
@@ -74,7 +74,7 @@ const NonDefaultVs = {
|
|
|
74
74
|
mapping.set(unicodeValue, varSelector, gOrd.at(glyphID));
|
|
75
75
|
}
|
|
76
76
|
}),
|
|
77
|
-
...bin_util_1.Write((frag, mapping) => {
|
|
77
|
+
...(0, bin_util_1.Write)((frag, mapping) => {
|
|
78
78
|
frag.uint32(mapping.length);
|
|
79
79
|
for (const [unicode, gid] of mapping) {
|
|
80
80
|
frag.push(primitive_1.UInt24, unicode);
|
package/lib/cmap/write.js
CHANGED
|
@@ -6,7 +6,7 @@ const handlers_1 = require("./handlers");
|
|
|
6
6
|
function ByPlatform(a, b) {
|
|
7
7
|
return a.platform - b.platform || a.encoding - b.encoding;
|
|
8
8
|
}
|
|
9
|
-
exports.WriteCmap = bin_util_1.Write((frag, cmap, gOrd, cfg) => {
|
|
9
|
+
exports.WriteCmap = (0, bin_util_1.Write)((frag, cmap, gOrd, cfg) => {
|
|
10
10
|
const assignments = [];
|
|
11
11
|
const options = { ...cfg };
|
|
12
12
|
for (const handlerF of handlers_1.SubtableHandlers) {
|
package/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./main"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./cfg"), exports);
|
|
4
|
+
(0, tslib_1.__exportStar)(require("./main"), exports);
|
|
5
|
+
(0, tslib_1.__exportStar)(require("./cfg"), exports);
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ot-builder/io-bin-encoding",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.3.0",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/ot-builder/monorepo.git",
|
|
9
|
+
"directory": "packages/io-bin-encoding"
|
|
10
|
+
},
|
|
6
11
|
"main": "./lib/index.js",
|
|
7
12
|
"types": "./lib/index.d.ts",
|
|
13
|
+
"files": [
|
|
14
|
+
"lib/**/*.js",
|
|
15
|
+
"lib/**/*.json",
|
|
16
|
+
"lib/**/*.d.ts"
|
|
17
|
+
],
|
|
8
18
|
"scripts": {
|
|
9
19
|
"build": "tsc -b ./tsconfig.package.json",
|
|
10
20
|
"clean": "rimraf lib .cache",
|
|
@@ -14,21 +24,21 @@
|
|
|
14
24
|
"access": "public"
|
|
15
25
|
},
|
|
16
26
|
"dependencies": {
|
|
17
|
-
"@ot-builder/bin-util": "1.
|
|
18
|
-
"@ot-builder/errors": "1.
|
|
19
|
-
"@ot-builder/ot-encoding": "1.
|
|
20
|
-
"@ot-builder/ot-glyphs": "1.
|
|
21
|
-
"@ot-builder/ot-metadata": "1.
|
|
22
|
-
"@ot-builder/prelude": "1.
|
|
23
|
-
"@ot-builder/primitive": "1.
|
|
24
|
-
"@ot-builder/ot-sfnt": "1.
|
|
25
|
-
"@ot-builder/io-bin-sfnt": "1.
|
|
27
|
+
"@ot-builder/bin-util": "1.3.0",
|
|
28
|
+
"@ot-builder/errors": "1.3.0",
|
|
29
|
+
"@ot-builder/ot-encoding": "1.3.0",
|
|
30
|
+
"@ot-builder/ot-glyphs": "1.3.0",
|
|
31
|
+
"@ot-builder/ot-metadata": "1.3.0",
|
|
32
|
+
"@ot-builder/prelude": "1.3.0",
|
|
33
|
+
"@ot-builder/primitive": "1.3.0",
|
|
34
|
+
"@ot-builder/ot-sfnt": "1.3.0",
|
|
35
|
+
"@ot-builder/io-bin-sfnt": "1.3.0",
|
|
26
36
|
"tslib": "^2.0.0"
|
|
27
37
|
},
|
|
28
38
|
"devDependencies": {
|
|
29
|
-
"@ot-builder/io-bin-glyph-store": "1.
|
|
30
|
-
"@ot-builder/io-bin-metadata": "1.
|
|
31
|
-
"@ot-builder/test-util": "1.
|
|
39
|
+
"@ot-builder/io-bin-glyph-store": "1.3.0",
|
|
40
|
+
"@ot-builder/io-bin-metadata": "1.3.0",
|
|
41
|
+
"@ot-builder/test-util": "1.3.0",
|
|
32
42
|
"@types/jest": "^26.0.23",
|
|
33
43
|
"jest": "^27.0.6"
|
|
34
44
|
}
|