subfont 7.2.0 → 7.2.1
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.md +6 -0
- package/README.md +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
### v7.2.1 (2024-05-08)
|
|
2
|
+
|
|
3
|
+
- [Update font-tracer to ^3.7.0, fixes \#173](https://github.com/Munter/subfont/commit/0fae200fe8156ab5ccbf632c765e75d65a240210) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com))
|
|
4
|
+
- [Update subset-font to ^2.3.0](https://github.com/Munter/subfont/commit/b5cd91e1a6d1baa92900f586c184b9501de4fe08) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com))
|
|
5
|
+
- [Update the "Subfont will" list](https://github.com/Munter/subfont/commit/277b500d1cf65e40975660666a8769dbf1f9cee0) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com))
|
|
6
|
+
|
|
1
7
|
### v7.2.0 (2024-03-24)
|
|
2
8
|
|
|
3
9
|
#### Pull requests
|
package/README.md
CHANGED
|
@@ -13,9 +13,9 @@ Subfont will:
|
|
|
13
13
|
- Automatically figure out what characters are used from each font
|
|
14
14
|
- Warn you about usage of characters that don't exist as glyphs in your webfonts
|
|
15
15
|
- Create an exact subset of used characters of each font
|
|
16
|
+
- Reduce the variation space of variable fonts based on the actual usage (when the `--instance` switch is used)
|
|
16
17
|
- Generate web fonts in both `woff2` and `woff` formats
|
|
17
18
|
- Add preload hints for the subsets to reduce time to first meaningful paint
|
|
18
|
-
- Add JS font loading for browsers without preload support
|
|
19
19
|
- Give the subsetted fonts new names and prepend them in front of the original fonts in your `font-family` definitions (enables missing glyph fallback)
|
|
20
20
|
- Async load your original `@font-face` declaring CSS at the bottom of your page, moving it off the critical path
|
|
21
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "subfont",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.1",
|
|
4
4
|
"description": "Speeds up your pages initial paint by automatically subsetting local or Google fonts and loading them optimally",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=10.0.0"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"css-font-weight-names": "^0.2.1",
|
|
55
55
|
"css-list-helpers": "^2.0.0",
|
|
56
56
|
"font-snapper": "^1.2.0",
|
|
57
|
-
"font-tracer": "^3.
|
|
57
|
+
"font-tracer": "^3.7.0",
|
|
58
58
|
"fontverter": "^2.0.0",
|
|
59
59
|
"gettemporaryfilepath": "^1.0.1",
|
|
60
60
|
"harfbuzzjs": "^0.3.3",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"pretty-bytes": "^5.1.0",
|
|
67
67
|
"puppeteer-core": "^19.8.5",
|
|
68
68
|
"specificity": "^0.4.1",
|
|
69
|
-
"subset-font": "^2.
|
|
69
|
+
"subset-font": "^2.3.0",
|
|
70
70
|
"urltools": "^0.4.1",
|
|
71
71
|
"yargs": "^15.4.0"
|
|
72
72
|
},
|