fontisan 0.4.53-java → 0.4.54-java
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.
- checksums.yaml +4 -4
- data/Cargo.lock +17 -1
- data/TODO.bug-fixes/README.md +1 -1
- data/docs/package-lock.json +93 -94
- data/lib/fontisan/byte_ops.rb +7 -2
- data/lib/fontisan/converters/collection_converter.rb +4 -0
- data/lib/fontisan/engine.rb +14 -12
- data/lib/fontisan/ffi/darwin-arm64/libfontisan_cdylib.dylib +0 -0
- data/lib/fontisan/ffi/darwin-x86_64/libfontisan_cdylib.dylib +0 -0
- data/lib/fontisan/ffi/linux-x86_64/libfontisan_cdylib.so +0 -0
- data/lib/fontisan/ffi/windows-x86_64/fontisan_cdylib.dll +0 -0
- data/lib/fontisan/native.rb +1 -1
- data/lib/fontisan/version.rb +1 -1
- data/lib/fontisan/woff2/glyf_loca_reconstruct.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 933b5e1564946d601630e9fbb93f9abacb7a78290b0f852f90e405d50e8cff79
|
|
4
|
+
data.tar.gz: 3ea8b7773fb64d22e6efa79a73f9647920819e6a130ba3bb65c259739bc09a07
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: faaa18a7a6076f8336a780b93de76b145e36270bec7566d2b37ca92ddeb033f5bea4426c25c7baa119630d2fd8e5ed14a05667e217c571adbe8d74af9c0351c8
|
|
7
|
+
data.tar.gz: e94e93f4ecd464d5e1e5b06a886b4f1ab4f46a0ecbc964130fcf9a6604e424f73bf2259637149cf07a94e1d06b899882974cc1ecc66e788e19a8aa17174c1a0d
|
data/Cargo.lock
CHANGED
|
@@ -167,6 +167,15 @@ version = "1.19.0"
|
|
|
167
167
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
168
168
|
checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
|
|
169
169
|
|
|
170
|
+
[[package]]
|
|
171
|
+
name = "flate2"
|
|
172
|
+
version = "1.1.11"
|
|
173
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
174
|
+
checksum = "626d4928326b646e70f65ed36fc7cf9f206bdb68a0019ee7c6b4709da4e084c4"
|
|
175
|
+
dependencies = [
|
|
176
|
+
"zlib-rs",
|
|
177
|
+
]
|
|
178
|
+
|
|
170
179
|
[[package]]
|
|
171
180
|
name = "foldhash"
|
|
172
181
|
version = "0.2.0"
|
|
@@ -185,10 +194,11 @@ dependencies = [
|
|
|
185
194
|
[[package]]
|
|
186
195
|
name = "fontisan"
|
|
187
196
|
version = "0.0.0"
|
|
188
|
-
source = "git+https://github.com/fontist/fontisan-rs?rev=
|
|
197
|
+
source = "git+https://github.com/fontist/fontisan-rs?rev=4cf3789693ffcf43d9312308017620ab5c817bb5#4cf3789693ffcf43d9312308017620ab5c817bb5"
|
|
189
198
|
dependencies = [
|
|
190
199
|
"brotli",
|
|
191
200
|
"brotli-decompressor",
|
|
201
|
+
"flate2",
|
|
192
202
|
"miniz_oxide",
|
|
193
203
|
"read-fonts",
|
|
194
204
|
"sha2",
|
|
@@ -548,3 +558,9 @@ dependencies = [
|
|
|
548
558
|
"syn 3.0.9",
|
|
549
559
|
"synstructure",
|
|
550
560
|
]
|
|
561
|
+
|
|
562
|
+
[[package]]
|
|
563
|
+
name = "zlib-rs"
|
|
564
|
+
version = "0.6.9"
|
|
565
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
566
|
+
checksum = "aa76918995d776d9dd34d371030be228d021137449771493d56e29f77e4148ac"
|
data/TODO.bug-fixes/README.md
CHANGED
|
@@ -49,4 +49,4 @@ Each file is `NN-short-name.md` where `NN` is the priority order.
|
|
|
49
49
|
- [x] ~~[29 — Strategy registries for per-tag dispatch](29-strategy-registries.md)~~ ✓ Done (#139)
|
|
50
50
|
|
|
51
51
|
### P3 — Encapsulation completion (post-#146 audit)
|
|
52
|
-
- [
|
|
52
|
+
- [x] ~~[30 — Eliminate .send(:private_method) calls in specs](30-eliminate-send-in-specs.md)~~ ✓ Done (PR #206)
|
data/docs/package-lock.json
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"requires": true,
|
|
5
5
|
"packages": {
|
|
6
6
|
"": {
|
|
7
|
+
"name": "docs",
|
|
7
8
|
"devDependencies": {
|
|
8
9
|
"@types/node": "^25.4.0",
|
|
9
10
|
"prettier": "^3.8.1",
|
|
@@ -270,9 +271,9 @@
|
|
|
270
271
|
}
|
|
271
272
|
},
|
|
272
273
|
"node_modules/@babel/helper-string-parser": {
|
|
273
|
-
"version": "7.
|
|
274
|
-
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.
|
|
275
|
-
"integrity": "sha512-
|
|
274
|
+
"version": "7.29.15",
|
|
275
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.15.tgz",
|
|
276
|
+
"integrity": "sha512-C2FuapQ2Kh1OnVHAoLi5rD3GBJ8COb9Q609T6HEpLqaBAo560PDP5OxBE5dCI/h951MBO/+bCUYU5SZ+8ZlV+w==",
|
|
276
277
|
"dev": true,
|
|
277
278
|
"license": "MIT",
|
|
278
279
|
"engines": {
|
|
@@ -280,9 +281,9 @@
|
|
|
280
281
|
}
|
|
281
282
|
},
|
|
282
283
|
"node_modules/@babel/helper-validator-identifier": {
|
|
283
|
-
"version": "7.
|
|
284
|
-
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.
|
|
285
|
-
"integrity": "sha512-
|
|
284
|
+
"version": "7.29.7",
|
|
285
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz",
|
|
286
|
+
"integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==",
|
|
286
287
|
"dev": true,
|
|
287
288
|
"license": "MIT",
|
|
288
289
|
"engines": {
|
|
@@ -290,13 +291,13 @@
|
|
|
290
291
|
}
|
|
291
292
|
},
|
|
292
293
|
"node_modules/@babel/parser": {
|
|
293
|
-
"version": "7.29.
|
|
294
|
-
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.
|
|
295
|
-
"integrity": "sha512-
|
|
294
|
+
"version": "7.29.15",
|
|
295
|
+
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.15.tgz",
|
|
296
|
+
"integrity": "sha512-RpKWyisHoP81twtSCgmE02iU0RnPcq1DN5bBEbpUePrjA9Q3wXhufnCJrrayPpoZieqFh3zyZQqwtSK0gGccRA==",
|
|
296
297
|
"dev": true,
|
|
297
298
|
"license": "MIT",
|
|
298
299
|
"dependencies": {
|
|
299
|
-
"@babel/types": "^7.29.
|
|
300
|
+
"@babel/types": "^7.29.15"
|
|
300
301
|
},
|
|
301
302
|
"bin": {
|
|
302
303
|
"parser": "bin/babel-parser.js"
|
|
@@ -306,14 +307,14 @@
|
|
|
306
307
|
}
|
|
307
308
|
},
|
|
308
309
|
"node_modules/@babel/types": {
|
|
309
|
-
"version": "7.29.
|
|
310
|
-
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.
|
|
311
|
-
"integrity": "sha512
|
|
310
|
+
"version": "7.29.15",
|
|
311
|
+
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.15.tgz",
|
|
312
|
+
"integrity": "sha512-/XKpKDakL//LZ66bq1XsZOswuqeI5MZqPLDu18o3XdkU1fNJ7bdPtzgnc4ZNS+bBGHV0FJG8jjb8SwcC3nNVQQ==",
|
|
312
313
|
"dev": true,
|
|
313
314
|
"license": "MIT",
|
|
314
315
|
"dependencies": {
|
|
315
|
-
"@babel/helper-string-parser": "^7.
|
|
316
|
-
"@babel/helper-validator-identifier": "^7.
|
|
316
|
+
"@babel/helper-string-parser": "^7.29.15",
|
|
317
|
+
"@babel/helper-validator-identifier": "^7.29.7"
|
|
317
318
|
},
|
|
318
319
|
"engines": {
|
|
319
320
|
"node": ">=6.9.0"
|
|
@@ -779,9 +780,9 @@
|
|
|
779
780
|
"license": "MIT"
|
|
780
781
|
},
|
|
781
782
|
"node_modules/@jridgewell/sourcemap-codec": {
|
|
782
|
-
"version": "1.
|
|
783
|
-
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.
|
|
784
|
-
"integrity": "sha512-
|
|
783
|
+
"version": "1.6.0",
|
|
784
|
+
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz",
|
|
785
|
+
"integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==",
|
|
785
786
|
"dev": true,
|
|
786
787
|
"license": "MIT"
|
|
787
788
|
},
|
|
@@ -1320,57 +1321,57 @@
|
|
|
1320
1321
|
}
|
|
1321
1322
|
},
|
|
1322
1323
|
"node_modules/@vue/compiler-core": {
|
|
1323
|
-
"version": "3.5.
|
|
1324
|
-
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.
|
|
1325
|
-
"integrity": "sha512-
|
|
1324
|
+
"version": "3.5.46",
|
|
1325
|
+
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.46.tgz",
|
|
1326
|
+
"integrity": "sha512-yb+N8/mgBcoeqCJPVyJI/D3OphLrSMXnB3ZQUNmRLU/1fsMW4bFfdJWNi9oIj7+EA3ULKKkP7b/VCpcYQYeiuQ==",
|
|
1326
1327
|
"dev": true,
|
|
1327
1328
|
"license": "MIT",
|
|
1328
1329
|
"dependencies": {
|
|
1329
|
-
"@babel/parser": "^7.29.
|
|
1330
|
-
"@vue/shared": "3.5.
|
|
1330
|
+
"@babel/parser": "^7.29.12",
|
|
1331
|
+
"@vue/shared": "3.5.46",
|
|
1331
1332
|
"entities": "^7.0.1",
|
|
1332
1333
|
"estree-walker": "^2.0.2",
|
|
1333
|
-
"source-map-js": "^1.2.
|
|
1334
|
+
"source-map-js": "^1.2.3"
|
|
1334
1335
|
}
|
|
1335
1336
|
},
|
|
1336
1337
|
"node_modules/@vue/compiler-dom": {
|
|
1337
|
-
"version": "3.5.
|
|
1338
|
-
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.
|
|
1339
|
-
"integrity": "sha512-
|
|
1338
|
+
"version": "3.5.46",
|
|
1339
|
+
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.46.tgz",
|
|
1340
|
+
"integrity": "sha512-Bj3lCSw3DQnDRDxw115XqdLDd0+18Nftlgd8OXSGG+ud74hxJIE17eYrM+VWgQrTMsvJbLh9Hzf2MkwAzru36Q==",
|
|
1340
1341
|
"dev": true,
|
|
1341
1342
|
"license": "MIT",
|
|
1342
1343
|
"dependencies": {
|
|
1343
|
-
"@vue/compiler-core": "3.5.
|
|
1344
|
-
"@vue/shared": "3.5.
|
|
1344
|
+
"@vue/compiler-core": "3.5.46",
|
|
1345
|
+
"@vue/shared": "3.5.46"
|
|
1345
1346
|
}
|
|
1346
1347
|
},
|
|
1347
1348
|
"node_modules/@vue/compiler-sfc": {
|
|
1348
|
-
"version": "3.5.
|
|
1349
|
-
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.
|
|
1350
|
-
"integrity": "sha512-
|
|
1349
|
+
"version": "3.5.46",
|
|
1350
|
+
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.46.tgz",
|
|
1351
|
+
"integrity": "sha512-hjUvMxGh+QIgegwksfp6BRBYleE/a8veZHvTR6sa+o+bM4HU+WnrUZlhN0X+pDcsl8Lhwmbu72xPvLMk3XUwog==",
|
|
1351
1352
|
"dev": true,
|
|
1352
1353
|
"license": "MIT",
|
|
1353
1354
|
"dependencies": {
|
|
1354
|
-
"@babel/parser": "^7.29.
|
|
1355
|
-
"@vue/compiler-core": "3.5.
|
|
1356
|
-
"@vue/compiler-dom": "3.5.
|
|
1357
|
-
"@vue/compiler-ssr": "3.5.
|
|
1358
|
-
"@vue/shared": "3.5.
|
|
1355
|
+
"@babel/parser": "^7.29.12",
|
|
1356
|
+
"@vue/compiler-core": "3.5.46",
|
|
1357
|
+
"@vue/compiler-dom": "3.5.46",
|
|
1358
|
+
"@vue/compiler-ssr": "3.5.46",
|
|
1359
|
+
"@vue/shared": "3.5.46",
|
|
1359
1360
|
"estree-walker": "^2.0.2",
|
|
1360
1361
|
"magic-string": "^0.30.21",
|
|
1361
|
-
"postcss": "^8.5.
|
|
1362
|
-
"source-map-js": "^1.2.
|
|
1362
|
+
"postcss": "^8.5.32",
|
|
1363
|
+
"source-map-js": "^1.2.3"
|
|
1363
1364
|
}
|
|
1364
1365
|
},
|
|
1365
1366
|
"node_modules/@vue/compiler-ssr": {
|
|
1366
|
-
"version": "3.5.
|
|
1367
|
-
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.
|
|
1368
|
-
"integrity": "sha512-
|
|
1367
|
+
"version": "3.5.46",
|
|
1368
|
+
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.46.tgz",
|
|
1369
|
+
"integrity": "sha512-qebChL3aP0m1k+TlSf+fZWvOwAf3flBCi5o+n01ykR3DX4mTIWheFltmoiQ12+z66/4cGeXqbB2P7sPWkGhQNQ==",
|
|
1369
1370
|
"dev": true,
|
|
1370
1371
|
"license": "MIT",
|
|
1371
1372
|
"dependencies": {
|
|
1372
|
-
"@vue/compiler-dom": "3.5.
|
|
1373
|
-
"@vue/shared": "3.5.
|
|
1373
|
+
"@vue/compiler-dom": "3.5.46",
|
|
1374
|
+
"@vue/shared": "3.5.46"
|
|
1374
1375
|
}
|
|
1375
1376
|
},
|
|
1376
1377
|
"node_modules/@vue/devtools-api": {
|
|
@@ -1410,57 +1411,55 @@
|
|
|
1410
1411
|
}
|
|
1411
1412
|
},
|
|
1412
1413
|
"node_modules/@vue/reactivity": {
|
|
1413
|
-
"version": "3.5.
|
|
1414
|
-
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.
|
|
1415
|
-
"integrity": "sha512
|
|
1414
|
+
"version": "3.5.46",
|
|
1415
|
+
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.46.tgz",
|
|
1416
|
+
"integrity": "sha512-+FHtYTvGxgFoX3oRs7soz6JHizGv50Q26WJN6PWtXuTLXRfkfUpDUTRuoTA/kiZVVt8NMeMpsPQLh9h++ReUjQ==",
|
|
1416
1417
|
"dev": true,
|
|
1417
1418
|
"license": "MIT",
|
|
1418
1419
|
"dependencies": {
|
|
1419
|
-
"@vue/shared": "3.5.
|
|
1420
|
+
"@vue/shared": "3.5.46"
|
|
1420
1421
|
}
|
|
1421
1422
|
},
|
|
1422
1423
|
"node_modules/@vue/runtime-core": {
|
|
1423
|
-
"version": "3.5.
|
|
1424
|
-
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.
|
|
1425
|
-
"integrity": "sha512-
|
|
1424
|
+
"version": "3.5.46",
|
|
1425
|
+
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.46.tgz",
|
|
1426
|
+
"integrity": "sha512-eJUzKAUaHAmtnys/l9qduPzUnBrYMkmsCU7TN+vbSOSpm8kcETT7nacKxIO4MBej/XiOraVzq+lSeZv7o1//jQ==",
|
|
1426
1427
|
"dev": true,
|
|
1427
1428
|
"license": "MIT",
|
|
1428
1429
|
"dependencies": {
|
|
1429
|
-
"@vue/reactivity": "3.5.
|
|
1430
|
-
"@vue/shared": "3.5.
|
|
1430
|
+
"@vue/reactivity": "3.5.46",
|
|
1431
|
+
"@vue/shared": "3.5.46"
|
|
1431
1432
|
}
|
|
1432
1433
|
},
|
|
1433
1434
|
"node_modules/@vue/runtime-dom": {
|
|
1434
|
-
"version": "3.5.
|
|
1435
|
-
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.
|
|
1436
|
-
"integrity": "sha512-
|
|
1435
|
+
"version": "3.5.46",
|
|
1436
|
+
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.46.tgz",
|
|
1437
|
+
"integrity": "sha512-6L7lbBvXTYBFFjIt25a0pgdpmn3Ns8RqUnNVibRzF4bgyiWJvqOhKEV5MXYWKlCttZE3aGeJN8mveo+6IrIKXA==",
|
|
1437
1438
|
"dev": true,
|
|
1438
1439
|
"license": "MIT",
|
|
1439
1440
|
"dependencies": {
|
|
1440
|
-
"@vue/reactivity": "3.5.
|
|
1441
|
-
"@vue/runtime-core": "3.5.
|
|
1442
|
-
"@vue/shared": "3.5.
|
|
1443
|
-
"csstype": "^3.2.
|
|
1441
|
+
"@vue/reactivity": "3.5.46",
|
|
1442
|
+
"@vue/runtime-core": "3.5.46",
|
|
1443
|
+
"@vue/shared": "3.5.46",
|
|
1444
|
+
"csstype": "^3.2.4"
|
|
1444
1445
|
}
|
|
1445
1446
|
},
|
|
1446
1447
|
"node_modules/@vue/server-renderer": {
|
|
1447
|
-
"version": "3.5.
|
|
1448
|
-
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.
|
|
1449
|
-
"integrity": "sha512-
|
|
1448
|
+
"version": "3.5.46",
|
|
1449
|
+
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.46.tgz",
|
|
1450
|
+
"integrity": "sha512-4mc0YWREc6OZ5pDCigvKPDzIUV+aciiH92yvyTS6xaHHxW/80rMceQQn11pYe7OEEBt2YQgYWR9zF8QF30GJUQ==",
|
|
1450
1451
|
"dev": true,
|
|
1451
1452
|
"license": "MIT",
|
|
1452
1453
|
"dependencies": {
|
|
1453
|
-
"@vue/compiler-ssr": "3.5.
|
|
1454
|
-
"@vue/
|
|
1455
|
-
|
|
1456
|
-
"peerDependencies": {
|
|
1457
|
-
"vue": "3.5.30"
|
|
1454
|
+
"@vue/compiler-ssr": "3.5.46",
|
|
1455
|
+
"@vue/runtime-dom": "3.5.46",
|
|
1456
|
+
"@vue/shared": "3.5.46"
|
|
1458
1457
|
}
|
|
1459
1458
|
},
|
|
1460
1459
|
"node_modules/@vue/shared": {
|
|
1461
|
-
"version": "3.5.
|
|
1462
|
-
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.
|
|
1463
|
-
"integrity": "sha512-
|
|
1460
|
+
"version": "3.5.46",
|
|
1461
|
+
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.46.tgz",
|
|
1462
|
+
"integrity": "sha512-P1WePbdzHrcIciWtmY2Im9EFhdakd3rZxYqvalOa3SfoxtF35Q8Uhmj1tKn6bWP4utcOpN8ao6BoJUItq0Uf+g==",
|
|
1464
1463
|
"dev": true,
|
|
1465
1464
|
"license": "MIT"
|
|
1466
1465
|
},
|
|
@@ -1667,9 +1666,9 @@
|
|
|
1667
1666
|
}
|
|
1668
1667
|
},
|
|
1669
1668
|
"node_modules/csstype": {
|
|
1670
|
-
"version": "3.2.
|
|
1671
|
-
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.
|
|
1672
|
-
"integrity": "sha512-
|
|
1669
|
+
"version": "3.2.4",
|
|
1670
|
+
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.4.tgz",
|
|
1671
|
+
"integrity": "sha512-PoKaoPzQapnEoqUSnHx1u6W6ku8CVEgKsnpmmzU3m1nwkidpPBQ8V/Zq2+bWNrsOKoKLwTGdbx6xF7BXP1zLVQ==",
|
|
1673
1672
|
"dev": true,
|
|
1674
1673
|
"license": "MIT"
|
|
1675
1674
|
},
|
|
@@ -2005,9 +2004,9 @@
|
|
|
2005
2004
|
"license": "MIT"
|
|
2006
2005
|
},
|
|
2007
2006
|
"node_modules/nanoid": {
|
|
2008
|
-
"version": "3.3.
|
|
2009
|
-
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.
|
|
2010
|
-
"integrity": "sha512-
|
|
2007
|
+
"version": "3.3.20",
|
|
2008
|
+
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz",
|
|
2009
|
+
"integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==",
|
|
2011
2010
|
"dev": true,
|
|
2012
2011
|
"funding": [
|
|
2013
2012
|
{
|
|
@@ -2050,9 +2049,9 @@
|
|
|
2050
2049
|
"license": "ISC"
|
|
2051
2050
|
},
|
|
2052
2051
|
"node_modules/postcss": {
|
|
2053
|
-
"version": "8.5.
|
|
2054
|
-
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.
|
|
2055
|
-
"integrity": "sha512-
|
|
2052
|
+
"version": "8.5.33",
|
|
2053
|
+
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.33.tgz",
|
|
2054
|
+
"integrity": "sha512-RVHEU9/Pp1Fnjr/MpAJsZoADukCKhfIi15OunEYiGktIkYLkPVvC1sioWolGDS7XByMTx9m/IGbro0Js13zhnQ==",
|
|
2056
2055
|
"dev": true,
|
|
2057
2056
|
"funding": [
|
|
2058
2057
|
{
|
|
@@ -2070,9 +2069,9 @@
|
|
|
2070
2069
|
],
|
|
2071
2070
|
"license": "MIT",
|
|
2072
2071
|
"dependencies": {
|
|
2073
|
-
"nanoid": "^3.3.
|
|
2072
|
+
"nanoid": "^3.3.20",
|
|
2074
2073
|
"picocolors": "^1.1.1",
|
|
2075
|
-
"source-map-js": "^1.2.
|
|
2074
|
+
"source-map-js": "^1.2.2"
|
|
2076
2075
|
},
|
|
2077
2076
|
"engines": {
|
|
2078
2077
|
"node": "^10 || ^12 || >=14"
|
|
@@ -2221,13 +2220,13 @@
|
|
|
2221
2220
|
}
|
|
2222
2221
|
},
|
|
2223
2222
|
"node_modules/source-map-js": {
|
|
2224
|
-
"version": "1.2.
|
|
2225
|
-
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.
|
|
2226
|
-
"integrity": "sha512-
|
|
2223
|
+
"version": "1.2.4",
|
|
2224
|
+
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.4.tgz",
|
|
2225
|
+
"integrity": "sha512-J7ZjMvHd9O1fcT/5V09QWaaSl2BbWx3F6O08spde82Namf9UB0GxRVIPiNbVsdKkoizHiSpTodo3vp2bAy91MA==",
|
|
2227
2226
|
"dev": true,
|
|
2228
2227
|
"license": "BSD-3-Clause",
|
|
2229
2228
|
"engines": {
|
|
2230
|
-
"node": ">=0.
|
|
2229
|
+
"node": ">=6.0.0"
|
|
2231
2230
|
}
|
|
2232
2231
|
},
|
|
2233
2232
|
"node_modules/space-separated-tokens": {
|
|
@@ -2524,17 +2523,17 @@
|
|
|
2524
2523
|
}
|
|
2525
2524
|
},
|
|
2526
2525
|
"node_modules/vue": {
|
|
2527
|
-
"version": "3.5.
|
|
2528
|
-
"resolved": "https://registry.npmjs.org/vue/-/vue-3.5.
|
|
2529
|
-
"integrity": "sha512-
|
|
2526
|
+
"version": "3.5.46",
|
|
2527
|
+
"resolved": "https://registry.npmjs.org/vue/-/vue-3.5.46.tgz",
|
|
2528
|
+
"integrity": "sha512-0kW5CgfjMPBqmH158049SaE1muufp+K/ZyrwvSEwrwYky6QB7zL2y8kXfruneKb9O12eh0xAJL6CVSpzb9o0Kg==",
|
|
2530
2529
|
"dev": true,
|
|
2531
2530
|
"license": "MIT",
|
|
2532
2531
|
"dependencies": {
|
|
2533
|
-
"@vue/compiler-dom": "3.5.
|
|
2534
|
-
"@vue/compiler-sfc": "3.5.
|
|
2535
|
-
"@vue/runtime-dom": "3.5.
|
|
2536
|
-
"@vue/server-renderer": "3.5.
|
|
2537
|
-
"@vue/shared": "3.5.
|
|
2532
|
+
"@vue/compiler-dom": "3.5.46",
|
|
2533
|
+
"@vue/compiler-sfc": "3.5.46",
|
|
2534
|
+
"@vue/runtime-dom": "3.5.46",
|
|
2535
|
+
"@vue/server-renderer": "3.5.46",
|
|
2536
|
+
"@vue/shared": "3.5.46"
|
|
2538
2537
|
},
|
|
2539
2538
|
"peerDependencies": {
|
|
2540
2539
|
"typescript": "*"
|
data/lib/fontisan/byte_ops.rb
CHANGED
|
@@ -8,8 +8,8 @@ module Fontisan
|
|
|
8
8
|
module ByteOps
|
|
9
9
|
# Convert target codes of the engine (extension and C ABI alike).
|
|
10
10
|
TARGET_CODES = { ttf: 0, otf: 1, woff: 2, woff2: 3, ttc: 4, otc: 5,
|
|
11
|
-
svg: 6 }.freeze
|
|
12
|
-
SINGLE_TARGETS = %i[ttf otf woff woff2 svg].freeze
|
|
11
|
+
svg: 6, type1: 7 }.freeze
|
|
12
|
+
SINGLE_TARGETS = %i[ttf otf woff woff2 svg type1].freeze
|
|
13
13
|
COLLECTION_TARGETS = %i[ttc otc woff2].freeze
|
|
14
14
|
# The caller's `.ttc`/`.otc` extension decision for a `ttcf` input
|
|
15
15
|
# (#192 gap 7): the engine's bytes carry no path.
|
|
@@ -115,6 +115,11 @@ module Fontisan
|
|
|
115
115
|
return %i[woff woff2].include?(source)
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
+
# A variable source keeps the type1 conversion with Ruby: the goldens
|
|
119
|
+
# pin the pipeline's instanced bytes, and the engine's instancing walk
|
|
120
|
+
# is not byte-identical to the pipeline's for type1 output yet.
|
|
121
|
+
return false if target == :type1 && variable_font?(path)
|
|
122
|
+
|
|
118
123
|
(collection_file?(path) ? COLLECTION_TARGETS : SINGLE_TARGETS).include?(target)
|
|
119
124
|
end
|
|
120
125
|
|
data/lib/fontisan/engine.rb
CHANGED
|
@@ -216,6 +216,20 @@ module Fontisan
|
|
|
216
216
|
end
|
|
217
217
|
end
|
|
218
218
|
|
|
219
|
+
# Current configuration from the environment; raises for a bad value.
|
|
220
|
+
# Public: the strict-mode contract is load-bearing and tested directly.
|
|
221
|
+
def config_from_env
|
|
222
|
+
selection = ENV.fetch("FONTISAN_ENGINE", "auto").strip.downcase
|
|
223
|
+
selection = "auto" if selection.empty?
|
|
224
|
+
unless SELECTIONS.include?(selection)
|
|
225
|
+
raise ConfigError,
|
|
226
|
+
"FONTISAN_ENGINE=#{selection.inspect} is not one of " \
|
|
227
|
+
"#{SELECTIONS.join(', ')}"
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
Config.new(selection.to_sym, strict_from_env)
|
|
231
|
+
end
|
|
232
|
+
|
|
219
233
|
private
|
|
220
234
|
|
|
221
235
|
def validate_registration!(name, tier)
|
|
@@ -232,18 +246,6 @@ module Fontisan
|
|
|
232
246
|
"tier #{name} does not implement #{missing.join(', ')}"
|
|
233
247
|
end
|
|
234
248
|
|
|
235
|
-
def config_from_env
|
|
236
|
-
selection = ENV.fetch("FONTISAN_ENGINE", "auto").strip.downcase
|
|
237
|
-
selection = "auto" if selection.empty?
|
|
238
|
-
unless SELECTIONS.include?(selection)
|
|
239
|
-
raise ConfigError,
|
|
240
|
-
"FONTISAN_ENGINE=#{selection.inspect} is not one of " \
|
|
241
|
-
"#{SELECTIONS.join(', ')}"
|
|
242
|
-
end
|
|
243
|
-
|
|
244
|
-
Config.new(selection.to_sym, strict_from_env)
|
|
245
|
-
end
|
|
246
|
-
|
|
247
249
|
# 1/true/yes/on is strict; unset, empty and 0/false/no/off is not. Any
|
|
248
250
|
# other value raises, as an unknown FONTISAN_ENGINE does: a typo must not
|
|
249
251
|
# silently leave a service non-strict.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/lib/fontisan/native.rb
CHANGED
|
@@ -26,7 +26,7 @@ module Fontisan
|
|
|
26
26
|
# engine pin in ext/*/Cargo.toml, which each build embeds. ABI_VERSION does
|
|
27
27
|
# not move on a repin, so this is what keeps a stale binary from serving old
|
|
28
28
|
# behaviour. A repin seds it with the Cargo files (repin-push162.sh).
|
|
29
|
-
ENGINE_REV = "
|
|
29
|
+
ENGINE_REV = "4cf3789693ffcf43d9312308017620ab5c817bb5"
|
|
30
30
|
|
|
31
31
|
# Operations served natively. Convert, extract, instance and subset are
|
|
32
32
|
# path-based only (card 2f): the object-based entry points
|
data/lib/fontisan/version.rb
CHANGED