@bitbaum/design-tokens 1.3.1 → 1.4.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.
Files changed (69) hide show
  1. package/README.md +3 -1
  2. package/fonts/cormorant-garamond/hinted/cormorant-garamond-cyrillic-ext.woff2 +0 -0
  3. package/fonts/cormorant-garamond/hinted/cormorant-garamond-cyrillic.woff2 +0 -0
  4. package/fonts/cormorant-garamond/hinted/cormorant-garamond-italic-cyrillic-ext.woff2 +0 -0
  5. package/fonts/cormorant-garamond/hinted/cormorant-garamond-italic-cyrillic.woff2 +0 -0
  6. package/fonts/cormorant-garamond/hinted/cormorant-garamond-italic-latin-ext.woff2 +0 -0
  7. package/fonts/cormorant-garamond/hinted/cormorant-garamond-italic-latin.woff2 +0 -0
  8. package/fonts/cormorant-garamond/hinted/cormorant-garamond-italic-vietnamese.woff2 +0 -0
  9. package/fonts/cormorant-garamond/hinted/cormorant-garamond-latin-ext.woff2 +0 -0
  10. package/fonts/cormorant-garamond/hinted/cormorant-garamond-latin.woff2 +0 -0
  11. package/fonts/cormorant-garamond/hinted/cormorant-garamond-vietnamese.woff2 +0 -0
  12. package/fonts/dm-sans/hinted/dm-sans-latin-ext.woff2 +0 -0
  13. package/fonts/dm-sans/hinted/dm-sans-latin.woff2 +0 -0
  14. package/fonts/faces.json +325 -65
  15. package/fonts/fraunces/hinted/fraunces-italic-latin-ext.woff2 +0 -0
  16. package/fonts/fraunces/hinted/fraunces-italic-latin.woff2 +0 -0
  17. package/fonts/fraunces/hinted/fraunces-italic-vietnamese.woff2 +0 -0
  18. package/fonts/fraunces/hinted/fraunces-latin-ext.woff2 +0 -0
  19. package/fonts/fraunces/hinted/fraunces-latin.woff2 +0 -0
  20. package/fonts/fraunces/hinted/fraunces-vietnamese.woff2 +0 -0
  21. package/fonts/geist/hinted/geist-cyrillic-ext.woff2 +0 -0
  22. package/fonts/geist/hinted/geist-cyrillic.woff2 +0 -0
  23. package/fonts/geist/hinted/geist-latin-ext.woff2 +0 -0
  24. package/fonts/geist/hinted/geist-latin.woff2 +0 -0
  25. package/fonts/geist/hinted/geist-vietnamese.woff2 +0 -0
  26. package/fonts/geist-mono/hinted/geist-mono-cyrillic-ext.woff2 +0 -0
  27. package/fonts/geist-mono/hinted/geist-mono-cyrillic.woff2 +0 -0
  28. package/fonts/geist-mono/hinted/geist-mono-latin-ext.woff2 +0 -0
  29. package/fonts/geist-mono/hinted/geist-mono-latin.woff2 +0 -0
  30. package/fonts/geist-mono/hinted/geist-mono-symbols2.woff2 +0 -0
  31. package/fonts/geist-mono/hinted/geist-mono-vietnamese.woff2 +0 -0
  32. package/fonts/ibm-plex-mono/hinted/ibm-plex-mono-400-cyrillic-ext.woff2 +0 -0
  33. package/fonts/ibm-plex-mono/hinted/ibm-plex-mono-400-cyrillic.woff2 +0 -0
  34. package/fonts/ibm-plex-mono/hinted/ibm-plex-mono-400-latin-ext.woff2 +0 -0
  35. package/fonts/ibm-plex-mono/hinted/ibm-plex-mono-400-latin.woff2 +0 -0
  36. package/fonts/ibm-plex-mono/hinted/ibm-plex-mono-400-vietnamese.woff2 +0 -0
  37. package/fonts/ibm-plex-mono/hinted/ibm-plex-mono-500-cyrillic-ext.woff2 +0 -0
  38. package/fonts/ibm-plex-mono/hinted/ibm-plex-mono-500-cyrillic.woff2 +0 -0
  39. package/fonts/ibm-plex-mono/hinted/ibm-plex-mono-500-latin-ext.woff2 +0 -0
  40. package/fonts/ibm-plex-mono/hinted/ibm-plex-mono-500-latin.woff2 +0 -0
  41. package/fonts/ibm-plex-mono/hinted/ibm-plex-mono-500-vietnamese.woff2 +0 -0
  42. package/fonts/ibm-plex-mono/hinted/ibm-plex-mono-600-cyrillic-ext.woff2 +0 -0
  43. package/fonts/ibm-plex-mono/hinted/ibm-plex-mono-600-cyrillic.woff2 +0 -0
  44. package/fonts/ibm-plex-mono/hinted/ibm-plex-mono-600-latin-ext.woff2 +0 -0
  45. package/fonts/ibm-plex-mono/hinted/ibm-plex-mono-600-latin.woff2 +0 -0
  46. package/fonts/ibm-plex-mono/hinted/ibm-plex-mono-600-vietnamese.woff2 +0 -0
  47. package/fonts/inter/hinted/inter-cyrillic-ext.woff2 +0 -0
  48. package/fonts/inter/hinted/inter-cyrillic.woff2 +0 -0
  49. package/fonts/inter/hinted/inter-greek-ext.woff2 +0 -0
  50. package/fonts/inter/hinted/inter-greek.woff2 +0 -0
  51. package/fonts/inter/hinted/inter-latin-ext.woff2 +0 -0
  52. package/fonts/inter/hinted/inter-latin.woff2 +0 -0
  53. package/fonts/inter/hinted/inter-vietnamese.woff2 +0 -0
  54. package/fonts/jetbrains-mono/hinted/jetbrains-mono-cyrillic-ext.woff2 +0 -0
  55. package/fonts/jetbrains-mono/hinted/jetbrains-mono-cyrillic.woff2 +0 -0
  56. package/fonts/jetbrains-mono/hinted/jetbrains-mono-greek.woff2 +0 -0
  57. package/fonts/jetbrains-mono/hinted/jetbrains-mono-latin-ext.woff2 +0 -0
  58. package/fonts/jetbrains-mono/hinted/jetbrains-mono-latin.woff2 +0 -0
  59. package/fonts/jetbrains-mono/hinted/jetbrains-mono-vietnamese.woff2 +0 -0
  60. package/fonts/montserrat/hinted/montserrat-cyrillic-ext.woff2 +0 -0
  61. package/fonts/montserrat/hinted/montserrat-cyrillic.woff2 +0 -0
  62. package/fonts/montserrat/hinted/montserrat-latin-ext.woff2 +0 -0
  63. package/fonts/montserrat/hinted/montserrat-latin.woff2 +0 -0
  64. package/fonts/montserrat/hinted/montserrat-vietnamese.woff2 +0 -0
  65. package/fonts/space-grotesk/hinted/space-grotesk-latin-ext.woff2 +0 -0
  66. package/fonts/space-grotesk/hinted/space-grotesk-latin.woff2 +0 -0
  67. package/fonts/space-grotesk/hinted/space-grotesk-vietnamese.woff2 +0 -0
  68. package/next-fonts.mjs +12 -2
  69. package/package.json +1 -1
package/README.md CHANGED
@@ -186,7 +186,9 @@ import { display, sans } from './fonts';
186
186
 
187
187
  Keys after the face: `weight=` (default: the whole range), `style=` (default
188
188
  `normal`), `variable=`, `subsets=` (default: all shipped), `preload=` (default
189
- `latin`; `none`), `display=` (default `swap`). It writes one `localFont` call
189
+ `latin`; `none`), `display=` (default `swap`), `hinting=on` (the TrueType-hinted
190
+ files in `fonts/<face>/hinted/`, which Google serves a current Chrome on Windows
191
+ or Linux; the default is the unhinted ones `next/font/google` downloaded). It writes one `localFont` call
190
192
  per subset, in Google's order: the same files, weights, styles, ranges and
191
193
  preloads `next/font/google` produced, formatted with the app's own prettier.
192
194
  The first lines of the file are the command that wrote it; add `--check` to
package/fonts/faces.json CHANGED
@@ -12,7 +12,11 @@
12
12
  "style": "normal",
13
13
  "weight": "100 900",
14
14
  "unicodeRange": "U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
15
- "sha256": "fccca918fea40089dacadc7045861314d1a6bc91f1f323cc1eeb22ebcdb321b5"
15
+ "sha256": "fccca918fea40089dacadc7045861314d1a6bc91f1f323cc1eeb22ebcdb321b5",
16
+ "hinted": {
17
+ "file": "inter/hinted/inter-cyrillic-ext.woff2",
18
+ "sha256": "ca157063339ac4ad418f214f3abfed119b0798ab4d377386ce5c9e5a7a435ebd"
19
+ }
16
20
  },
17
21
  {
18
22
  "file": "inter/inter-cyrillic.woff2",
@@ -20,7 +24,11 @@
20
24
  "style": "normal",
21
25
  "weight": "100 900",
22
26
  "unicodeRange": "U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
23
- "sha256": "aebf2ab4a4ce6810d73c1ac7be7cafb4e5ec4cee2d6db5fb3e09691747ec4bd6"
27
+ "sha256": "aebf2ab4a4ce6810d73c1ac7be7cafb4e5ec4cee2d6db5fb3e09691747ec4bd6",
28
+ "hinted": {
29
+ "file": "inter/hinted/inter-cyrillic.woff2",
30
+ "sha256": "71d5ee93cc1e9f1d520a3a8b66456de18c7879d8df09d57fcd2eaff75fef0075"
31
+ }
24
32
  },
25
33
  {
26
34
  "file": "inter/inter-greek-ext.woff2",
@@ -28,7 +36,11 @@
28
36
  "style": "normal",
29
37
  "weight": "100 900",
30
38
  "unicodeRange": "U+1F00-1FFF",
31
- "sha256": "a2e2c783ca6f9c20486e81e72a279203e86730bbf8f01ff6a5ee9dbd09e1c271"
39
+ "sha256": "a2e2c783ca6f9c20486e81e72a279203e86730bbf8f01ff6a5ee9dbd09e1c271",
40
+ "hinted": {
41
+ "file": "inter/hinted/inter-greek-ext.woff2",
42
+ "sha256": "6e9e020a25f9b56d418f2c085b1d3c09725a4da23fe693a5b463064606732190"
43
+ }
32
44
  },
33
45
  {
34
46
  "file": "inter/inter-greek.woff2",
@@ -36,7 +48,11 @@
36
48
  "style": "normal",
37
49
  "weight": "100 900",
38
50
  "unicodeRange": "U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF",
39
- "sha256": "46dd4cdca58c26ae87cc6927657bf83b2e8abfc39ffd0ab176e301a8d28d22bf"
51
+ "sha256": "46dd4cdca58c26ae87cc6927657bf83b2e8abfc39ffd0ab176e301a8d28d22bf",
52
+ "hinted": {
53
+ "file": "inter/hinted/inter-greek.woff2",
54
+ "sha256": "1be3448e292fbf05ffe176fe1e43f135013d50b1e7d324ad1a558f623d3bb6f6"
55
+ }
40
56
  },
41
57
  {
42
58
  "file": "inter/inter-vietnamese.woff2",
@@ -44,7 +60,11 @@
44
60
  "style": "normal",
45
61
  "weight": "100 900",
46
62
  "unicodeRange": "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
47
- "sha256": "8db00ff46c67b22cda8bed865acf7077651cac8d2841d5b40980556b48961931"
63
+ "sha256": "8db00ff46c67b22cda8bed865acf7077651cac8d2841d5b40980556b48961931",
64
+ "hinted": {
65
+ "file": "inter/hinted/inter-vietnamese.woff2",
66
+ "sha256": "5c66f9e07e90c6d4ac4922cc68d60de26c17b1858e677fb5e603fce3952b3ff2"
67
+ }
48
68
  },
49
69
  {
50
70
  "file": "inter/inter-latin-ext.woff2",
@@ -52,7 +72,11 @@
52
72
  "style": "normal",
53
73
  "weight": "100 900",
54
74
  "unicodeRange": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
55
- "sha256": "a28eb6d3ccb534ae0c94ca999371df024aab60b08c3c8a5720ee9e32fa0faaa2"
75
+ "sha256": "a28eb6d3ccb534ae0c94ca999371df024aab60b08c3c8a5720ee9e32fa0faaa2",
76
+ "hinted": {
77
+ "file": "inter/hinted/inter-latin-ext.woff2",
78
+ "sha256": "34b9c504cab7a73e37b746343a449132e56cf7b5481af2cb81dc74dcff25c956"
79
+ }
56
80
  },
57
81
  {
58
82
  "file": "inter/inter-latin.woff2",
@@ -60,7 +84,11 @@
60
84
  "style": "normal",
61
85
  "weight": "100 900",
62
86
  "unicodeRange": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
63
- "sha256": "c940764593d0fe5d596be327ca7558855e018039fb78509aa21921fd3644c3e4"
87
+ "sha256": "c940764593d0fe5d596be327ca7558855e018039fb78509aa21921fd3644c3e4",
88
+ "hinted": {
89
+ "file": "inter/hinted/inter-latin.woff2",
90
+ "sha256": "3100e775e8616cd2611beecfa23a4263d7037586789b43f035236a2e6fbd4c62"
91
+ }
64
92
  }
65
93
  ]
66
94
  },
@@ -77,7 +105,11 @@
77
105
  "style": "normal",
78
106
  "weight": "300 700",
79
107
  "unicodeRange": "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
80
- "sha256": "d699664b145bfeeccc66a4cce7fa55e14eb63efd7ec6b0b2ec52e25dd98f3917"
108
+ "sha256": "d699664b145bfeeccc66a4cce7fa55e14eb63efd7ec6b0b2ec52e25dd98f3917",
109
+ "hinted": {
110
+ "file": "space-grotesk/hinted/space-grotesk-vietnamese.woff2",
111
+ "sha256": "8895e3d49825128bfa5238e4c96e9b432d7a3dadbe5c17c6081267398305dc71"
112
+ }
81
113
  },
82
114
  {
83
115
  "file": "space-grotesk/space-grotesk-latin-ext.woff2",
@@ -85,7 +117,11 @@
85
117
  "style": "normal",
86
118
  "weight": "300 700",
87
119
  "unicodeRange": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
88
- "sha256": "054c266fbb441ee059365dba0885d206f67ca05b375de869b88e02ebfccc9b9d"
120
+ "sha256": "054c266fbb441ee059365dba0885d206f67ca05b375de869b88e02ebfccc9b9d",
121
+ "hinted": {
122
+ "file": "space-grotesk/hinted/space-grotesk-latin-ext.woff2",
123
+ "sha256": "952dddb45d2f96f71cbf3b7f510b24379afc3c89ea02fcf89d377b45d62c0166"
124
+ }
89
125
  },
90
126
  {
91
127
  "file": "space-grotesk/space-grotesk-latin.woff2",
@@ -93,7 +129,11 @@
93
129
  "style": "normal",
94
130
  "weight": "300 700",
95
131
  "unicodeRange": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
96
- "sha256": "a0d054c4af557de20afd6ca59f47ab353bcaec49c63ff04b6c9d39d0f8910557"
132
+ "sha256": "a0d054c4af557de20afd6ca59f47ab353bcaec49c63ff04b6c9d39d0f8910557",
133
+ "hinted": {
134
+ "file": "space-grotesk/hinted/space-grotesk-latin.woff2",
135
+ "sha256": "0640890476fc1198ab4de571fb658de443c4d85b66466ec09534a8737ab1ce9d"
136
+ }
97
137
  }
98
138
  ]
99
139
  },
@@ -110,7 +150,11 @@
110
150
  "style": "normal",
111
151
  "weight": "400",
112
152
  "unicodeRange": "U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
113
- "sha256": "c6f09ee0e0a24b7c85ecb2a601eb99332f65b1f6b37c31e0bbe73fb307625eca"
153
+ "sha256": "c6f09ee0e0a24b7c85ecb2a601eb99332f65b1f6b37c31e0bbe73fb307625eca",
154
+ "hinted": {
155
+ "file": "ibm-plex-mono/hinted/ibm-plex-mono-400-cyrillic-ext.woff2",
156
+ "sha256": "f8c22ec1804bd6966b70f43ac7c327025645b4c09597117fca2a5a6c750106fe"
157
+ }
114
158
  },
115
159
  {
116
160
  "file": "ibm-plex-mono/ibm-plex-mono-400-cyrillic.woff2",
@@ -118,7 +162,11 @@
118
162
  "style": "normal",
119
163
  "weight": "400",
120
164
  "unicodeRange": "U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
121
- "sha256": "7b59d6bf7f8b8408ac28f27d01dca9a890abeae77045d343b1d8ccb089a92e54"
165
+ "sha256": "7b59d6bf7f8b8408ac28f27d01dca9a890abeae77045d343b1d8ccb089a92e54",
166
+ "hinted": {
167
+ "file": "ibm-plex-mono/hinted/ibm-plex-mono-400-cyrillic.woff2",
168
+ "sha256": "7635422bd10ddbbcb0e0caa1154b928298f5c8319b8c00b30978d4395f4783ce"
169
+ }
122
170
  },
123
171
  {
124
172
  "file": "ibm-plex-mono/ibm-plex-mono-400-vietnamese.woff2",
@@ -126,7 +174,11 @@
126
174
  "style": "normal",
127
175
  "weight": "400",
128
176
  "unicodeRange": "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
129
- "sha256": "0a8b854cc18641bd1b8222afa7ec82a75e59bc6501f777744ec87db1b6cd7a2c"
177
+ "sha256": "0a8b854cc18641bd1b8222afa7ec82a75e59bc6501f777744ec87db1b6cd7a2c",
178
+ "hinted": {
179
+ "file": "ibm-plex-mono/hinted/ibm-plex-mono-400-vietnamese.woff2",
180
+ "sha256": "62632b6375305e70ddcafdd895218e6ae41a184fcd280a69c739460604ca00a9"
181
+ }
130
182
  },
131
183
  {
132
184
  "file": "ibm-plex-mono/ibm-plex-mono-400-latin-ext.woff2",
@@ -134,7 +186,11 @@
134
186
  "style": "normal",
135
187
  "weight": "400",
136
188
  "unicodeRange": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
137
- "sha256": "f1050dc5317b43434c0aeda599d4624c774ffc162e87a8cf204b949b6a85816d"
189
+ "sha256": "f1050dc5317b43434c0aeda599d4624c774ffc162e87a8cf204b949b6a85816d",
190
+ "hinted": {
191
+ "file": "ibm-plex-mono/hinted/ibm-plex-mono-400-latin-ext.woff2",
192
+ "sha256": "6bc0f226a5b7884a8170e3f62c63d7675609d4631bdc5931b5cdab81821f00eb"
193
+ }
138
194
  },
139
195
  {
140
196
  "file": "ibm-plex-mono/ibm-plex-mono-400-latin.woff2",
@@ -142,7 +198,11 @@
142
198
  "style": "normal",
143
199
  "weight": "400",
144
200
  "unicodeRange": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
145
- "sha256": "c36f509c0a8f9f85f29cb44bc8701d8a9e0b14c499e77a884f789ead7093a7ac"
201
+ "sha256": "c36f509c0a8f9f85f29cb44bc8701d8a9e0b14c499e77a884f789ead7093a7ac",
202
+ "hinted": {
203
+ "file": "ibm-plex-mono/hinted/ibm-plex-mono-400-latin.woff2",
204
+ "sha256": "08949f728dc52d528e69b1667d15c89a5686a4ee9a296ff90983985f99c380f7"
205
+ }
146
206
  },
147
207
  {
148
208
  "file": "ibm-plex-mono/ibm-plex-mono-500-cyrillic-ext.woff2",
@@ -150,7 +210,11 @@
150
210
  "style": "normal",
151
211
  "weight": "500",
152
212
  "unicodeRange": "U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
153
- "sha256": "311098be73eac339128f0b5a6e33d72645b6f87488541fdf467c402152d297fd"
213
+ "sha256": "311098be73eac339128f0b5a6e33d72645b6f87488541fdf467c402152d297fd",
214
+ "hinted": {
215
+ "file": "ibm-plex-mono/hinted/ibm-plex-mono-500-cyrillic-ext.woff2",
216
+ "sha256": "3febe5c7f22e4b07b4552738673c3dbe8bced2dc5f48b866edf7ccd9552d109a"
217
+ }
154
218
  },
155
219
  {
156
220
  "file": "ibm-plex-mono/ibm-plex-mono-500-cyrillic.woff2",
@@ -158,7 +222,11 @@
158
222
  "style": "normal",
159
223
  "weight": "500",
160
224
  "unicodeRange": "U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
161
- "sha256": "d524dc8ff6dbf7ed69772f3b2ff4affaf5a89b5762b270e36c3f21da0d4e39f5"
225
+ "sha256": "d524dc8ff6dbf7ed69772f3b2ff4affaf5a89b5762b270e36c3f21da0d4e39f5",
226
+ "hinted": {
227
+ "file": "ibm-plex-mono/hinted/ibm-plex-mono-500-cyrillic.woff2",
228
+ "sha256": "1d89462e86cb8e87e7e9d6f6635605bd7c3081baca6caaecee84916bf7b60edc"
229
+ }
162
230
  },
163
231
  {
164
232
  "file": "ibm-plex-mono/ibm-plex-mono-500-vietnamese.woff2",
@@ -166,7 +234,11 @@
166
234
  "style": "normal",
167
235
  "weight": "500",
168
236
  "unicodeRange": "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
169
- "sha256": "b2529fba93fd07a50ffb8fc3d103eb04b0c298d4f6564d2833c44fde286de7e4"
237
+ "sha256": "b2529fba93fd07a50ffb8fc3d103eb04b0c298d4f6564d2833c44fde286de7e4",
238
+ "hinted": {
239
+ "file": "ibm-plex-mono/hinted/ibm-plex-mono-500-vietnamese.woff2",
240
+ "sha256": "781633d95de88040fb77141d1e65d928c87c0144691fbc74da5a64d137a7e910"
241
+ }
170
242
  },
171
243
  {
172
244
  "file": "ibm-plex-mono/ibm-plex-mono-500-latin-ext.woff2",
@@ -174,7 +246,11 @@
174
246
  "style": "normal",
175
247
  "weight": "500",
176
248
  "unicodeRange": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
177
- "sha256": "77f03e26f981c582bdba3a7abed4baa2d3149211c01366bb3ab3ba7622ec4ae5"
249
+ "sha256": "77f03e26f981c582bdba3a7abed4baa2d3149211c01366bb3ab3ba7622ec4ae5",
250
+ "hinted": {
251
+ "file": "ibm-plex-mono/hinted/ibm-plex-mono-500-latin-ext.woff2",
252
+ "sha256": "6bb06407c97584b0867a959e05e8874693bfeb8c317de190811c51598f2d99ea"
253
+ }
178
254
  },
179
255
  {
180
256
  "file": "ibm-plex-mono/ibm-plex-mono-500-latin.woff2",
@@ -182,7 +258,11 @@
182
258
  "style": "normal",
183
259
  "weight": "500",
184
260
  "unicodeRange": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
185
- "sha256": "a76f53ca6612e7b3828eec2311098675b7f9849ae4169a8bcef6302aec02a6c0"
261
+ "sha256": "a76f53ca6612e7b3828eec2311098675b7f9849ae4169a8bcef6302aec02a6c0",
262
+ "hinted": {
263
+ "file": "ibm-plex-mono/hinted/ibm-plex-mono-500-latin.woff2",
264
+ "sha256": "01d285447409c8a588692162439a038b8cbd7871309ee20267b0d2d91c6e8e22"
265
+ }
186
266
  },
187
267
  {
188
268
  "file": "ibm-plex-mono/ibm-plex-mono-600-cyrillic-ext.woff2",
@@ -190,7 +270,11 @@
190
270
  "style": "normal",
191
271
  "weight": "600",
192
272
  "unicodeRange": "U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
193
- "sha256": "f746246b6b0b641f99d9e26e0bf4e42197bde692126857857f0195a94362d52a"
273
+ "sha256": "f746246b6b0b641f99d9e26e0bf4e42197bde692126857857f0195a94362d52a",
274
+ "hinted": {
275
+ "file": "ibm-plex-mono/hinted/ibm-plex-mono-600-cyrillic-ext.woff2",
276
+ "sha256": "83109cdd4f8665b475dfc11d61bd44da328bf7e6eab3d3953d39c49b1b9f6015"
277
+ }
194
278
  },
195
279
  {
196
280
  "file": "ibm-plex-mono/ibm-plex-mono-600-cyrillic.woff2",
@@ -198,7 +282,11 @@
198
282
  "style": "normal",
199
283
  "weight": "600",
200
284
  "unicodeRange": "U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
201
- "sha256": "b814a03d7e57b0626a906f76911b9361d173a1aabc5544c40f72d6a35a1e4940"
285
+ "sha256": "b814a03d7e57b0626a906f76911b9361d173a1aabc5544c40f72d6a35a1e4940",
286
+ "hinted": {
287
+ "file": "ibm-plex-mono/hinted/ibm-plex-mono-600-cyrillic.woff2",
288
+ "sha256": "2b05a8695c7f9f4abd7178b279646a3b005a8ce57546bef6fd145f25d131e0aa"
289
+ }
202
290
  },
203
291
  {
204
292
  "file": "ibm-plex-mono/ibm-plex-mono-600-vietnamese.woff2",
@@ -206,7 +294,11 @@
206
294
  "style": "normal",
207
295
  "weight": "600",
208
296
  "unicodeRange": "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
209
- "sha256": "69744cabbccc9faf77516ce9b744361e1e6be7f8081400006035a153797d2965"
297
+ "sha256": "69744cabbccc9faf77516ce9b744361e1e6be7f8081400006035a153797d2965",
298
+ "hinted": {
299
+ "file": "ibm-plex-mono/hinted/ibm-plex-mono-600-vietnamese.woff2",
300
+ "sha256": "51b74d53e106ba8a26dd33464b231a562069be2a234b923c115beb622e6f6bc6"
301
+ }
210
302
  },
211
303
  {
212
304
  "file": "ibm-plex-mono/ibm-plex-mono-600-latin-ext.woff2",
@@ -214,7 +306,11 @@
214
306
  "style": "normal",
215
307
  "weight": "600",
216
308
  "unicodeRange": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
217
- "sha256": "1b6b18fd0fd240bc6d5850f4df621484722d4b5d3650ebdd1e3a8bbd81c75854"
309
+ "sha256": "1b6b18fd0fd240bc6d5850f4df621484722d4b5d3650ebdd1e3a8bbd81c75854",
310
+ "hinted": {
311
+ "file": "ibm-plex-mono/hinted/ibm-plex-mono-600-latin-ext.woff2",
312
+ "sha256": "32057cf50dd14bdb21a2c93766c4a2c43e4abe688ea3922df3203cac7751a98b"
313
+ }
218
314
  },
219
315
  {
220
316
  "file": "ibm-plex-mono/ibm-plex-mono-600-latin.woff2",
@@ -222,7 +318,11 @@
222
318
  "style": "normal",
223
319
  "weight": "600",
224
320
  "unicodeRange": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
225
- "sha256": "ad4580d8cb4b5f627c2d18457656732f7f7b070f7837fbc380e08054157e6f6c"
321
+ "sha256": "ad4580d8cb4b5f627c2d18457656732f7f7b070f7837fbc380e08054157e6f6c",
322
+ "hinted": {
323
+ "file": "ibm-plex-mono/hinted/ibm-plex-mono-600-latin.woff2",
324
+ "sha256": "0d1f0b8d0722224e32e9f28261bdc86c79115be73444ae5eceb73976a1bcdf83"
325
+ }
226
326
  }
227
327
  ]
228
328
  },
@@ -239,7 +339,11 @@
239
339
  "style": "italic",
240
340
  "weight": "100 900",
241
341
  "unicodeRange": "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
242
- "sha256": "d24c3502a91415f2ec44f107807673255b696c379b3995543270921c27863e32"
342
+ "sha256": "d24c3502a91415f2ec44f107807673255b696c379b3995543270921c27863e32",
343
+ "hinted": {
344
+ "file": "fraunces/hinted/fraunces-italic-vietnamese.woff2",
345
+ "sha256": "ac2dd51d493b4c65b18ee613fd17662990578396c5a38da441a8678d1a18f6bc"
346
+ }
243
347
  },
244
348
  {
245
349
  "file": "fraunces/fraunces-italic-latin-ext.woff2",
@@ -247,7 +351,11 @@
247
351
  "style": "italic",
248
352
  "weight": "100 900",
249
353
  "unicodeRange": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
250
- "sha256": "7e701dc124492f7d0856fba4a07157d0cecc84e2b2b4615f08530c1e8bc112dd"
354
+ "sha256": "7e701dc124492f7d0856fba4a07157d0cecc84e2b2b4615f08530c1e8bc112dd",
355
+ "hinted": {
356
+ "file": "fraunces/hinted/fraunces-italic-latin-ext.woff2",
357
+ "sha256": "877bcc2fd1be299c950d0971578336818ca5818e1e956f12e0d8c6736436ca45"
358
+ }
251
359
  },
252
360
  {
253
361
  "file": "fraunces/fraunces-italic-latin.woff2",
@@ -255,7 +363,11 @@
255
363
  "style": "italic",
256
364
  "weight": "100 900",
257
365
  "unicodeRange": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
258
- "sha256": "c9745ee907c02cdd46cc41a65bb711cd861432f679a76c18e3de204a18723040"
366
+ "sha256": "c9745ee907c02cdd46cc41a65bb711cd861432f679a76c18e3de204a18723040",
367
+ "hinted": {
368
+ "file": "fraunces/hinted/fraunces-italic-latin.woff2",
369
+ "sha256": "bceec2ef4d549efbc8df0194a8d5280b6a64c3e399244dffccd9ea1bd9ad6db7"
370
+ }
259
371
  },
260
372
  {
261
373
  "file": "fraunces/fraunces-vietnamese.woff2",
@@ -263,7 +375,11 @@
263
375
  "style": "normal",
264
376
  "weight": "100 900",
265
377
  "unicodeRange": "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
266
- "sha256": "250cc2966c658fb6d336731de9d82a8129025e9839c20c253bbc477852f6cf4f"
378
+ "sha256": "250cc2966c658fb6d336731de9d82a8129025e9839c20c253bbc477852f6cf4f",
379
+ "hinted": {
380
+ "file": "fraunces/hinted/fraunces-vietnamese.woff2",
381
+ "sha256": "ce7b18aac7371cde4a740e54e252e9f02de67ff2ed444b18d1d04e66f50edeb0"
382
+ }
267
383
  },
268
384
  {
269
385
  "file": "fraunces/fraunces-latin-ext.woff2",
@@ -271,7 +387,11 @@
271
387
  "style": "normal",
272
388
  "weight": "100 900",
273
389
  "unicodeRange": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
274
- "sha256": "f1451edd6434085c4f9f3a8b4a674182dd7d6acccf53bfced19fd167f0705a06"
390
+ "sha256": "f1451edd6434085c4f9f3a8b4a674182dd7d6acccf53bfced19fd167f0705a06",
391
+ "hinted": {
392
+ "file": "fraunces/hinted/fraunces-latin-ext.woff2",
393
+ "sha256": "a21ecfbf41fbc393e24ef9b7e38532a27e8da5e0a074aa7d66802d1b5ccec2f0"
394
+ }
275
395
  },
276
396
  {
277
397
  "file": "fraunces/fraunces-latin.woff2",
@@ -279,7 +399,11 @@
279
399
  "style": "normal",
280
400
  "weight": "100 900",
281
401
  "unicodeRange": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
282
- "sha256": "88e17be075f1be50ab67b057b99e3701b828f44ed28f9452df6c02645bb0cba9"
402
+ "sha256": "88e17be075f1be50ab67b057b99e3701b828f44ed28f9452df6c02645bb0cba9",
403
+ "hinted": {
404
+ "file": "fraunces/hinted/fraunces-latin.woff2",
405
+ "sha256": "7f9d191d999336d3b9790afa72e1358e50a13b06d4f289341e92a311967a80f9"
406
+ }
283
407
  }
284
408
  ]
285
409
  },
@@ -296,7 +420,11 @@
296
420
  "style": "italic",
297
421
  "weight": "300 700",
298
422
  "unicodeRange": "U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
299
- "sha256": "919a7720ae1671f06ebdd4f65bb9c2f0d619f81f805d85aec025c89139536292"
423
+ "sha256": "919a7720ae1671f06ebdd4f65bb9c2f0d619f81f805d85aec025c89139536292",
424
+ "hinted": {
425
+ "file": "cormorant-garamond/hinted/cormorant-garamond-italic-cyrillic-ext.woff2",
426
+ "sha256": "ae25de0507a445fd9e953e90432ae75b1ee2eccb48370a6ced4934551eb56fc3"
427
+ }
300
428
  },
301
429
  {
302
430
  "file": "cormorant-garamond/cormorant-garamond-italic-cyrillic.woff2",
@@ -304,7 +432,11 @@
304
432
  "style": "italic",
305
433
  "weight": "300 700",
306
434
  "unicodeRange": "U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
307
- "sha256": "3170a883f1968a2d1135259e40fd88508da70c20337e491f171f9405d0749053"
435
+ "sha256": "3170a883f1968a2d1135259e40fd88508da70c20337e491f171f9405d0749053",
436
+ "hinted": {
437
+ "file": "cormorant-garamond/hinted/cormorant-garamond-italic-cyrillic.woff2",
438
+ "sha256": "cb13c04533ee98c94e49a053b9f4d39bf616fd7ba6360d71aead92a78dc571f7"
439
+ }
308
440
  },
309
441
  {
310
442
  "file": "cormorant-garamond/cormorant-garamond-italic-vietnamese.woff2",
@@ -312,7 +444,11 @@
312
444
  "style": "italic",
313
445
  "weight": "300 700",
314
446
  "unicodeRange": "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
315
- "sha256": "3512ad3b4ddd21fa75ab44296867da1f82948350ffba678a04afbb511015cb08"
447
+ "sha256": "3512ad3b4ddd21fa75ab44296867da1f82948350ffba678a04afbb511015cb08",
448
+ "hinted": {
449
+ "file": "cormorant-garamond/hinted/cormorant-garamond-italic-vietnamese.woff2",
450
+ "sha256": "b8ecb4ae898cd9ccae2f2d18fd364f6593bb67776060f9b5d833cec65d34d112"
451
+ }
316
452
  },
317
453
  {
318
454
  "file": "cormorant-garamond/cormorant-garamond-italic-latin-ext.woff2",
@@ -320,7 +456,11 @@
320
456
  "style": "italic",
321
457
  "weight": "300 700",
322
458
  "unicodeRange": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
323
- "sha256": "06bc9a8c179afaf7dd5d3b4987ad2f4a82ca85a542c9e498b18bf32ad0257d8e"
459
+ "sha256": "06bc9a8c179afaf7dd5d3b4987ad2f4a82ca85a542c9e498b18bf32ad0257d8e",
460
+ "hinted": {
461
+ "file": "cormorant-garamond/hinted/cormorant-garamond-italic-latin-ext.woff2",
462
+ "sha256": "cd5bf126b2c84ab41b254a6a9a1ffb5c326a0f9f82c22fb4704daa31c9aaa415"
463
+ }
324
464
  },
325
465
  {
326
466
  "file": "cormorant-garamond/cormorant-garamond-italic-latin.woff2",
@@ -328,7 +468,11 @@
328
468
  "style": "italic",
329
469
  "weight": "300 700",
330
470
  "unicodeRange": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
331
- "sha256": "e6d6d1d73858aa9b66f3a3539f9dec22faab2276e61ad1d813bc04dd59c9c122"
471
+ "sha256": "e6d6d1d73858aa9b66f3a3539f9dec22faab2276e61ad1d813bc04dd59c9c122",
472
+ "hinted": {
473
+ "file": "cormorant-garamond/hinted/cormorant-garamond-italic-latin.woff2",
474
+ "sha256": "6f2f5c3b1abc3d0bb035a927f66a90ca873f94fc31c4966c8d024142c2036e55"
475
+ }
332
476
  },
333
477
  {
334
478
  "file": "cormorant-garamond/cormorant-garamond-cyrillic-ext.woff2",
@@ -336,7 +480,11 @@
336
480
  "style": "normal",
337
481
  "weight": "300 700",
338
482
  "unicodeRange": "U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
339
- "sha256": "d04439363ec805132dc6c6e6a925f76efe17646f9811af8e10e218ea3dba5335"
483
+ "sha256": "d04439363ec805132dc6c6e6a925f76efe17646f9811af8e10e218ea3dba5335",
484
+ "hinted": {
485
+ "file": "cormorant-garamond/hinted/cormorant-garamond-cyrillic-ext.woff2",
486
+ "sha256": "a4d7cf345b8091e1d2c8c5c8fa3bd0f9bb9d00bc8988185471db398ddb5ae4c4"
487
+ }
340
488
  },
341
489
  {
342
490
  "file": "cormorant-garamond/cormorant-garamond-cyrillic.woff2",
@@ -344,7 +492,11 @@
344
492
  "style": "normal",
345
493
  "weight": "300 700",
346
494
  "unicodeRange": "U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
347
- "sha256": "d81372bae1f872f1418c0b7eb412f8a92a156a950fda8d2383701c75d38969df"
495
+ "sha256": "d81372bae1f872f1418c0b7eb412f8a92a156a950fda8d2383701c75d38969df",
496
+ "hinted": {
497
+ "file": "cormorant-garamond/hinted/cormorant-garamond-cyrillic.woff2",
498
+ "sha256": "017fab69b4be8ffc08ca312823327989ade6dc3d948f0afa125e12ec2e5e7ca1"
499
+ }
348
500
  },
349
501
  {
350
502
  "file": "cormorant-garamond/cormorant-garamond-vietnamese.woff2",
@@ -352,7 +504,11 @@
352
504
  "style": "normal",
353
505
  "weight": "300 700",
354
506
  "unicodeRange": "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
355
- "sha256": "826f73ca737feec0eb1004808629973d6b611fddc2bd2a689b5fe331f6be6427"
507
+ "sha256": "826f73ca737feec0eb1004808629973d6b611fddc2bd2a689b5fe331f6be6427",
508
+ "hinted": {
509
+ "file": "cormorant-garamond/hinted/cormorant-garamond-vietnamese.woff2",
510
+ "sha256": "6252e819a7665ae512c2d046308a9016ada63c06d0d8f96984c4b29f6c9e1bd2"
511
+ }
356
512
  },
357
513
  {
358
514
  "file": "cormorant-garamond/cormorant-garamond-latin-ext.woff2",
@@ -360,7 +516,11 @@
360
516
  "style": "normal",
361
517
  "weight": "300 700",
362
518
  "unicodeRange": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
363
- "sha256": "9dc38267bdee93a653200ef3c1e8060e3f1399073432c415c683b419d3b50464"
519
+ "sha256": "9dc38267bdee93a653200ef3c1e8060e3f1399073432c415c683b419d3b50464",
520
+ "hinted": {
521
+ "file": "cormorant-garamond/hinted/cormorant-garamond-latin-ext.woff2",
522
+ "sha256": "cfa9a397d86f66c5c51775a2500a712d5f632a04f0c5eca6930dfaf612d4566d"
523
+ }
364
524
  },
365
525
  {
366
526
  "file": "cormorant-garamond/cormorant-garamond-latin.woff2",
@@ -368,7 +528,11 @@
368
528
  "style": "normal",
369
529
  "weight": "300 700",
370
530
  "unicodeRange": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
371
- "sha256": "5d618c462b7a5b74f442e1548880086af71764d9cc7d35c16ab45353da934621"
531
+ "sha256": "5d618c462b7a5b74f442e1548880086af71764d9cc7d35c16ab45353da934621",
532
+ "hinted": {
533
+ "file": "cormorant-garamond/hinted/cormorant-garamond-latin.woff2",
534
+ "sha256": "d80df8ff5aecd299a61549f9e29ab1ed0b9b05f4ea71d50fe978e07d5240b235"
535
+ }
372
536
  }
373
537
  ]
374
538
  },
@@ -385,7 +549,11 @@
385
549
  "style": "normal",
386
550
  "weight": "100 1000",
387
551
  "unicodeRange": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
388
- "sha256": "219b02c7d8884817d3d6ad4c8771f2c000ce4c5669a67ef4e2e5617ffa25c4cc"
552
+ "sha256": "219b02c7d8884817d3d6ad4c8771f2c000ce4c5669a67ef4e2e5617ffa25c4cc",
553
+ "hinted": {
554
+ "file": "dm-sans/hinted/dm-sans-latin-ext.woff2",
555
+ "sha256": "a5d38fe99f930275684999b462c7123faa063d9e44e73b4b241723d884aa0f49"
556
+ }
389
557
  },
390
558
  {
391
559
  "file": "dm-sans/dm-sans-latin.woff2",
@@ -393,7 +561,11 @@
393
561
  "style": "normal",
394
562
  "weight": "100 1000",
395
563
  "unicodeRange": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
396
- "sha256": "468d56b6b25b05b70190b6c233d773f6f1770e8579827ce022a57f03fa8002fb"
564
+ "sha256": "468d56b6b25b05b70190b6c233d773f6f1770e8579827ce022a57f03fa8002fb",
565
+ "hinted": {
566
+ "file": "dm-sans/hinted/dm-sans-latin.woff2",
567
+ "sha256": "9fea608a947e67020c33cad9a6fe3d60c54119dfb8cff87768a8117a15ed7543"
568
+ }
397
569
  }
398
570
  ]
399
571
  },
@@ -410,7 +582,11 @@
410
582
  "style": "normal",
411
583
  "weight": "100 900",
412
584
  "unicodeRange": "U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
413
- "sha256": "b7a545bbb08256bd809f11cfe66d88da3e22d169ea4407737b1ef0ec1ed3d791"
585
+ "sha256": "b7a545bbb08256bd809f11cfe66d88da3e22d169ea4407737b1ef0ec1ed3d791",
586
+ "hinted": {
587
+ "file": "geist/hinted/geist-cyrillic-ext.woff2",
588
+ "sha256": "2317fa4bb293c9c0b110e18315d529235c47a0ddd3338cea3d8c7955e927899e"
589
+ }
414
590
  },
415
591
  {
416
592
  "file": "geist/geist-cyrillic.woff2",
@@ -418,7 +594,11 @@
418
594
  "style": "normal",
419
595
  "weight": "100 900",
420
596
  "unicodeRange": "U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
421
- "sha256": "6129fc8571c3e0cb0a4c41f5160c974a843b055009dc4ad8858bd808e18a2d86"
597
+ "sha256": "6129fc8571c3e0cb0a4c41f5160c974a843b055009dc4ad8858bd808e18a2d86",
598
+ "hinted": {
599
+ "file": "geist/hinted/geist-cyrillic.woff2",
600
+ "sha256": "6894439694946a589d157ece003086960a6a4013d74a813dab7602efdb3d8c09"
601
+ }
422
602
  },
423
603
  {
424
604
  "file": "geist/geist-vietnamese.woff2",
@@ -426,7 +606,11 @@
426
606
  "style": "normal",
427
607
  "weight": "100 900",
428
608
  "unicodeRange": "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
429
- "sha256": "f689f638f29fff460a2d5749edb5d5c38d7bef0389f32032d871f23fc6ebb008"
609
+ "sha256": "f689f638f29fff460a2d5749edb5d5c38d7bef0389f32032d871f23fc6ebb008",
610
+ "hinted": {
611
+ "file": "geist/hinted/geist-vietnamese.woff2",
612
+ "sha256": "8fa40e5d248247735eb97a0bd593b8852440430600d6ba01364c31fe0abc1fe1"
613
+ }
430
614
  },
431
615
  {
432
616
  "file": "geist/geist-latin-ext.woff2",
@@ -434,7 +618,11 @@
434
618
  "style": "normal",
435
619
  "weight": "100 900",
436
620
  "unicodeRange": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
437
- "sha256": "58a6b173d5ca1dec92166ea3c6cb1a84a4144556d10928ac14e8e6b40e4787bd"
621
+ "sha256": "58a6b173d5ca1dec92166ea3c6cb1a84a4144556d10928ac14e8e6b40e4787bd",
622
+ "hinted": {
623
+ "file": "geist/hinted/geist-latin-ext.woff2",
624
+ "sha256": "824f485b5d26e2f2da3c2b236132ece1bc8e4e43373452950bb0e40548b4313f"
625
+ }
438
626
  },
439
627
  {
440
628
  "file": "geist/geist-latin.woff2",
@@ -442,7 +630,11 @@
442
630
  "style": "normal",
443
631
  "weight": "100 900",
444
632
  "unicodeRange": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
445
- "sha256": "9b6f5ff45b278c744b5f379a2c4ecbaf858a842b8eaf82ac8d21b699ca16c608"
633
+ "sha256": "9b6f5ff45b278c744b5f379a2c4ecbaf858a842b8eaf82ac8d21b699ca16c608",
634
+ "hinted": {
635
+ "file": "geist/hinted/geist-latin.woff2",
636
+ "sha256": "19f9c92546aa300c312235e3125af1b81394d8db9a4bc4a425cd5b641d2d54e1"
637
+ }
446
638
  }
447
639
  ]
448
640
  },
@@ -459,7 +651,11 @@
459
651
  "style": "normal",
460
652
  "weight": "100 900",
461
653
  "unicodeRange": "U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
462
- "sha256": "e27f657e38d52887baa3b6b2f812bef93dfdd356f0810e40edd4ee284cc7e9f6"
654
+ "sha256": "e27f657e38d52887baa3b6b2f812bef93dfdd356f0810e40edd4ee284cc7e9f6",
655
+ "hinted": {
656
+ "file": "geist-mono/hinted/geist-mono-cyrillic-ext.woff2",
657
+ "sha256": "cd8800999070b729e1cc0bf7a48da6c3ac096a044251171b9a7574b56d96d4b4"
658
+ }
463
659
  },
464
660
  {
465
661
  "file": "geist-mono/geist-mono-cyrillic.woff2",
@@ -467,7 +663,11 @@
467
663
  "style": "normal",
468
664
  "weight": "100 900",
469
665
  "unicodeRange": "U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
470
- "sha256": "75b3bedbebc35f347c0ae3b416aa871941555357e7b0f83767eb5987875589ed"
666
+ "sha256": "75b3bedbebc35f347c0ae3b416aa871941555357e7b0f83767eb5987875589ed",
667
+ "hinted": {
668
+ "file": "geist-mono/hinted/geist-mono-cyrillic.woff2",
669
+ "sha256": "4866787fc952dbdbd591d6923d67bc21c2d894b93f34ab69d0cdf25d47bfb2df"
670
+ }
471
671
  },
472
672
  {
473
673
  "file": "geist-mono/geist-mono-symbols2.woff2",
@@ -475,7 +675,11 @@
475
675
  "style": "normal",
476
676
  "weight": "100 900",
477
677
  "unicodeRange": "U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F",
478
- "sha256": "d67e4a94ba498635f764ddca7d1ec4271f5642f032eb24b426764480f66f8497"
678
+ "sha256": "d67e4a94ba498635f764ddca7d1ec4271f5642f032eb24b426764480f66f8497",
679
+ "hinted": {
680
+ "file": "geist-mono/hinted/geist-mono-symbols2.woff2",
681
+ "sha256": "5bb66d8319ba1602bb2eb67dce8d79c2b4687be8ce183a0574433e949b3c60ad"
682
+ }
479
683
  },
480
684
  {
481
685
  "file": "geist-mono/geist-mono-vietnamese.woff2",
@@ -483,7 +687,11 @@
483
687
  "style": "normal",
484
688
  "weight": "100 900",
485
689
  "unicodeRange": "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
486
- "sha256": "16e1d48b6dd29eb240aec5db36184eb182933c082cd43de7f35af686d58087d2"
690
+ "sha256": "16e1d48b6dd29eb240aec5db36184eb182933c082cd43de7f35af686d58087d2",
691
+ "hinted": {
692
+ "file": "geist-mono/hinted/geist-mono-vietnamese.woff2",
693
+ "sha256": "d39b60889a94a527a7f73c7988a2d6efb6c081614aef683b0b386c02d74c2175"
694
+ }
487
695
  },
488
696
  {
489
697
  "file": "geist-mono/geist-mono-latin-ext.woff2",
@@ -491,7 +699,11 @@
491
699
  "style": "normal",
492
700
  "weight": "100 900",
493
701
  "unicodeRange": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
494
- "sha256": "745994b5cd950ec201b66526375f057d540847cccfc70f4f24f5f571d26d3923"
702
+ "sha256": "745994b5cd950ec201b66526375f057d540847cccfc70f4f24f5f571d26d3923",
703
+ "hinted": {
704
+ "file": "geist-mono/hinted/geist-mono-latin-ext.woff2",
705
+ "sha256": "1a189eb997c3e2ece68373e387afaec9e8617424186c4b1ab3cff7c54ba6223b"
706
+ }
495
707
  },
496
708
  {
497
709
  "file": "geist-mono/geist-mono-latin.woff2",
@@ -499,7 +711,11 @@
499
711
  "style": "normal",
500
712
  "weight": "100 900",
501
713
  "unicodeRange": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
502
- "sha256": "5f3d6ad60f29d6cb708414ec6887163d63bf197377ef5417d2483ff31ace6c3b"
714
+ "sha256": "5f3d6ad60f29d6cb708414ec6887163d63bf197377ef5417d2483ff31ace6c3b",
715
+ "hinted": {
716
+ "file": "geist-mono/hinted/geist-mono-latin.woff2",
717
+ "sha256": "684ad5b531f81d43c1e8c7038262d5db7cdc1f68006e04d6c7769efa8d33c8cc"
718
+ }
503
719
  }
504
720
  ]
505
721
  },
@@ -516,7 +732,11 @@
516
732
  "style": "normal",
517
733
  "weight": "100 800",
518
734
  "unicodeRange": "U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
519
- "sha256": "992eea2f70210457ddd1196de4df3240919ffe068ad188c79d985fba4565d3bf"
735
+ "sha256": "992eea2f70210457ddd1196de4df3240919ffe068ad188c79d985fba4565d3bf",
736
+ "hinted": {
737
+ "file": "jetbrains-mono/hinted/jetbrains-mono-cyrillic-ext.woff2",
738
+ "sha256": "593ccd6fe36e299e151aeae4521be9bfe83ac487d96d7cdb44f50be4a04041c7"
739
+ }
520
740
  },
521
741
  {
522
742
  "file": "jetbrains-mono/jetbrains-mono-cyrillic.woff2",
@@ -524,7 +744,11 @@
524
744
  "style": "normal",
525
745
  "weight": "100 800",
526
746
  "unicodeRange": "U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
527
- "sha256": "af7486955880be1c2b972e9c766acffb776768d669b6576ed9a0919ce72e7ca6"
747
+ "sha256": "af7486955880be1c2b972e9c766acffb776768d669b6576ed9a0919ce72e7ca6",
748
+ "hinted": {
749
+ "file": "jetbrains-mono/hinted/jetbrains-mono-cyrillic.woff2",
750
+ "sha256": "d274604c40757f98f07df623a8b8fb5194508a6fa4f5413a7a107f09e3b7452a"
751
+ }
528
752
  },
529
753
  {
530
754
  "file": "jetbrains-mono/jetbrains-mono-greek.woff2",
@@ -532,7 +756,11 @@
532
756
  "style": "normal",
533
757
  "weight": "100 800",
534
758
  "unicodeRange": "U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF",
535
- "sha256": "3edf363dbf9d5fa0cdc784ae2b431a8a4152f4055a8a8858028c0bd668808273"
759
+ "sha256": "3edf363dbf9d5fa0cdc784ae2b431a8a4152f4055a8a8858028c0bd668808273",
760
+ "hinted": {
761
+ "file": "jetbrains-mono/hinted/jetbrains-mono-greek.woff2",
762
+ "sha256": "ee863198077f3093ffa81c072581cc4bd608a04e60a8a9c0b846396ce4f14109"
763
+ }
536
764
  },
537
765
  {
538
766
  "file": "jetbrains-mono/jetbrains-mono-vietnamese.woff2",
@@ -540,7 +768,11 @@
540
768
  "style": "normal",
541
769
  "weight": "100 800",
542
770
  "unicodeRange": "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
543
- "sha256": "1390e86cc2823e759358918c01c4fcc1b6e4f01bca915bdbeb6d68eb5c244405"
771
+ "sha256": "1390e86cc2823e759358918c01c4fcc1b6e4f01bca915bdbeb6d68eb5c244405",
772
+ "hinted": {
773
+ "file": "jetbrains-mono/hinted/jetbrains-mono-vietnamese.woff2",
774
+ "sha256": "2288795da89dd97e648954b96e22b4501bd85dfc453264460b252f888b582ca2"
775
+ }
544
776
  },
545
777
  {
546
778
  "file": "jetbrains-mono/jetbrains-mono-latin-ext.woff2",
@@ -548,7 +780,11 @@
548
780
  "style": "normal",
549
781
  "weight": "100 800",
550
782
  "unicodeRange": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
551
- "sha256": "7db7affbce1fdee69c1ffc2641bbca289b049867f524c9d861fe35ab6670bf29"
783
+ "sha256": "7db7affbce1fdee69c1ffc2641bbca289b049867f524c9d861fe35ab6670bf29",
784
+ "hinted": {
785
+ "file": "jetbrains-mono/hinted/jetbrains-mono-latin-ext.woff2",
786
+ "sha256": "79bfdab9ba467e26eea4122e6f2567e188dd8a09a8c730d501fc487c4ab99c6e"
787
+ }
552
788
  },
553
789
  {
554
790
  "file": "jetbrains-mono/jetbrains-mono-latin.woff2",
@@ -556,7 +792,11 @@
556
792
  "style": "normal",
557
793
  "weight": "100 800",
558
794
  "unicodeRange": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
559
- "sha256": "1e06740a02a443fb7f3eeda8fcaa685a0f6c620e3f01e6666e847295469ce3ad"
795
+ "sha256": "1e06740a02a443fb7f3eeda8fcaa685a0f6c620e3f01e6666e847295469ce3ad",
796
+ "hinted": {
797
+ "file": "jetbrains-mono/hinted/jetbrains-mono-latin.woff2",
798
+ "sha256": "18be452724bfdc236c074ca94a249a7f41a86752c7d04ab258ce9ed5651f6a7e"
799
+ }
560
800
  }
561
801
  ]
562
802
  },
@@ -573,7 +813,11 @@
573
813
  "style": "normal",
574
814
  "weight": "100 900",
575
815
  "unicodeRange": "U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
576
- "sha256": "744830a0e77dd14dd543a4230d6e3ce67ca961634074b5d536ebafc66c732301"
816
+ "sha256": "744830a0e77dd14dd543a4230d6e3ce67ca961634074b5d536ebafc66c732301",
817
+ "hinted": {
818
+ "file": "montserrat/hinted/montserrat-cyrillic-ext.woff2",
819
+ "sha256": "0f7f5f2fbb4eae126790fe6f01659ab3ee0806e8038a941908e893020569f51a"
820
+ }
577
821
  },
578
822
  {
579
823
  "file": "montserrat/montserrat-cyrillic.woff2",
@@ -581,7 +825,11 @@
581
825
  "style": "normal",
582
826
  "weight": "100 900",
583
827
  "unicodeRange": "U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
584
- "sha256": "0b00fbd6edcc84cd5f77364bbeb06b75ed263c740061eba34511f1e2ac1a82d3"
828
+ "sha256": "0b00fbd6edcc84cd5f77364bbeb06b75ed263c740061eba34511f1e2ac1a82d3",
829
+ "hinted": {
830
+ "file": "montserrat/hinted/montserrat-cyrillic.woff2",
831
+ "sha256": "a187b077090fe8ae3fd2d7496aabbeae604819c718a282e0afc92df72b450766"
832
+ }
585
833
  },
586
834
  {
587
835
  "file": "montserrat/montserrat-vietnamese.woff2",
@@ -589,7 +837,11 @@
589
837
  "style": "normal",
590
838
  "weight": "100 900",
591
839
  "unicodeRange": "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
592
- "sha256": "9e2672d100bc36a37073fb250abfaa7394f5151bf5dda3f4d5fc281345eb391b"
840
+ "sha256": "9e2672d100bc36a37073fb250abfaa7394f5151bf5dda3f4d5fc281345eb391b",
841
+ "hinted": {
842
+ "file": "montserrat/hinted/montserrat-vietnamese.woff2",
843
+ "sha256": "26b2403f995ed65fb49037a6498c074d3ec3c36031a69fc368c4c2180e2c01fa"
844
+ }
593
845
  },
594
846
  {
595
847
  "file": "montserrat/montserrat-latin-ext.woff2",
@@ -597,7 +849,11 @@
597
849
  "style": "normal",
598
850
  "weight": "100 900",
599
851
  "unicodeRange": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF",
600
- "sha256": "920711de9ae96c18970fa4faca73cd302b93ac5ed57ebeb6bfec2ddeff930082"
852
+ "sha256": "920711de9ae96c18970fa4faca73cd302b93ac5ed57ebeb6bfec2ddeff930082",
853
+ "hinted": {
854
+ "file": "montserrat/hinted/montserrat-latin-ext.woff2",
855
+ "sha256": "54d9a78b7ff60b689ad9f3017ffac8547b5d871afec733f6c1c3ae36577ee504"
856
+ }
601
857
  },
602
858
  {
603
859
  "file": "montserrat/montserrat-latin.woff2",
@@ -605,7 +861,11 @@
605
861
  "style": "normal",
606
862
  "weight": "100 900",
607
863
  "unicodeRange": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
608
- "sha256": "6438d7b8ea9c7c3992d5e2fd2afdb1ff948570a3ef0bedae76247b51632960ba"
864
+ "sha256": "6438d7b8ea9c7c3992d5e2fd2afdb1ff948570a3ef0bedae76247b51632960ba",
865
+ "hinted": {
866
+ "file": "montserrat/hinted/montserrat-latin.woff2",
867
+ "sha256": "06b16db7a969135d48d38c49183be7fb88d4452e2a3011957c7851941f4e4879"
868
+ }
609
869
  }
610
870
  ]
611
871
  }
package/next-fonts.mjs CHANGED
@@ -9,6 +9,8 @@
9
9
  // subsets=latin,... subsets to declare (default: every subset shipped)
10
10
  // preload=latin,... subsets to preload (default: latin; "none" for none)
11
11
  // display=swap font-display (default: swap)
12
+ // hinting=on the TrueType-hinted files (default: off, the
13
+ // unhinted ones next/font/google downloaded)
12
14
  //
13
15
  // --check exit 1 if <out-file> is not what this command would write
14
16
  //
@@ -66,7 +68,7 @@ export function parseSpec(text) {
66
68
  const spec = { name, face };
67
69
  for (const pair of pairs) {
68
70
  const [key, value] = pair.split('=');
69
- if (!['weight', 'style', 'variable', 'subsets', 'preload', 'display'].includes(key))
71
+ if (!['weight', 'style', 'variable', 'subsets', 'preload', 'display', 'hinting'].includes(key))
70
72
  throw new Error(`"${text}": unknown key "${key}"`);
71
73
  spec[key] = value;
72
74
  }
@@ -86,6 +88,12 @@ const camel = (s) => s.replace(/(^|-)(\w)/g, (_, __, c) => c.toUpperCase());
86
88
  export function calls(spec) {
87
89
  const face = faces[spec.face];
88
90
  const styles = list(spec.style) ?? ['normal'];
91
+ if (spec.hinting && !['on', 'off'].includes(spec.hinting))
92
+ throw new Error(`hinting=${spec.hinting}: on or off`);
93
+ // Google serves a Mac the unhinted files (what next/font/google got) and a
94
+ // current Chrome on Windows or Linux the hinted ones, which those platforms
95
+ // draw differently. An app keeps whichever it had.
96
+ const hinted = spec.hinting === 'on';
89
97
  const weights = list(spec.weight);
90
98
  const preload = spec.preload === 'none' ? [] : (list(spec.preload) ?? ['latin']);
91
99
  const shipped = [...new Set(face.files.map((f) => f.subset))];
@@ -106,7 +114,9 @@ export function calls(spec) {
106
114
  const isPrimary = subset === primary;
107
115
  const src = [];
108
116
  for (const style of styles) {
109
- const files = face.files.filter((f) => f.subset === subset && f.style === style);
117
+ const files = face.files
118
+ .filter((f) => f.subset === subset && f.style === style)
119
+ .map((f) => (hinted ? { ...f, file: f.hinted?.file ?? f.file } : f));
110
120
  if (!files.length) throw new Error(`${spec.face} has no ${style} ${subset} file`);
111
121
  if (face.variable) {
112
122
  for (const weight of weights ?? [files[0].weight])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitbaum/design-tokens",
3
- "version": "1.3.1",
3
+ "version": "1.4.0",
4
4
  "packageManager": "pnpm@11.25.0",
5
5
  "engines": {
6
6
  "node": ">=20"