@remotion/google-fonts 4.0.530 → 4.0.532

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.
@@ -0,0 +1,365 @@
1
+ // src/base.ts
2
+ import { continueRender, delayRender } from "remotion";
3
+ import { NoReactInternals } from "remotion/no-react";
4
+
5
+ // src/resolve-font-subsets.ts
6
+ var isChunkSubset = (subset) => /^\[\d+\]$/.test(subset);
7
+ var compareChunkSubsets = (a, b) => {
8
+ return Number(a.slice(1, -1)) - Number(b.slice(1, -1));
9
+ };
10
+ var resolveFontSubsetKeys = ({
11
+ availableSubsetKeys,
12
+ metaSubsets,
13
+ requestedSubset
14
+ }) => {
15
+ if (availableSubsetKeys.includes(requestedSubset)) {
16
+ return [requestedSubset];
17
+ }
18
+ if (!metaSubsets.includes(requestedSubset)) {
19
+ return [requestedSubset];
20
+ }
21
+ const chunkSubsets = availableSubsetKeys.filter(isChunkSubset).sort(compareChunkSubsets);
22
+ return chunkSubsets.length === 0 ? [requestedSubset] : chunkSubsets;
23
+ };
24
+
25
+ // src/base.ts
26
+ var loadedFonts = {};
27
+ var withResolvers = function() {
28
+ let resolve;
29
+ let reject;
30
+ const promise = new Promise((res, rej) => {
31
+ resolve = res;
32
+ reject = rej;
33
+ });
34
+ return { promise, resolve, reject };
35
+ };
36
+ var loadFontFaceOrTimeoutAfter20Seconds = (fontFace) => {
37
+ const timeout = withResolvers();
38
+ const int = setTimeout(() => {
39
+ timeout.reject(new Error("Timed out loading Google Font"));
40
+ }, 18000);
41
+ return Promise.race([
42
+ fontFace.load().then(() => {
43
+ clearTimeout(int);
44
+ }),
45
+ timeout.promise
46
+ ]);
47
+ };
48
+ var loadFonts = (meta, style, options) => {
49
+ const weightsAndSubsetsAreSpecified = Array.isArray(options?.weights) && Array.isArray(options?.subsets) && options.weights.length > 0 && options.subsets.length > 0;
50
+ if (NoReactInternals.ENABLE_V5_BREAKING_CHANGES && !weightsAndSubsetsAreSpecified) {
51
+ throw new Error("Loading Google Fonts without specifying weights and subsets is not supported in Remotion v5. Please specify the weights and subsets you need.");
52
+ }
53
+ const promises = [];
54
+ const styles = style ? [style] : Object.keys(meta.fonts);
55
+ let fontsLoaded = 0;
56
+ for (const style2 of styles) {
57
+ if (typeof FontFace === "undefined") {
58
+ continue;
59
+ }
60
+ if (!meta.fonts[style2]) {
61
+ throw new Error(`The font ${meta.fontFamily} does not have a style ${style2}`);
62
+ }
63
+ const weights = options?.weights ?? Object.keys(meta.fonts[style2]);
64
+ for (const weight of weights) {
65
+ if (!meta.fonts[style2][weight]) {
66
+ throw new Error(`The font ${meta.fontFamily} does not have a weight ${weight} in style ${style2}`);
67
+ }
68
+ const requestedSubsets = options?.subsets ?? Object.keys(meta.fonts[style2][weight]);
69
+ const availableSubsetKeys = Object.keys(meta.fonts[style2][weight]);
70
+ const subsets = [
71
+ ...new Set(requestedSubsets.flatMap((requestedSubset) => resolveFontSubsetKeys({
72
+ availableSubsetKeys,
73
+ metaSubsets: meta.subsets,
74
+ requestedSubset
75
+ })))
76
+ ];
77
+ for (const subset of subsets) {
78
+ let font = meta.fonts[style2]?.[weight]?.[subset];
79
+ if (!font) {
80
+ throw new Error(`weight: ${weight} subset: ${subset} is not available for '${meta.fontFamily}'`);
81
+ }
82
+ let fontKey = `${meta.fontFamily}-${style2}-${weight}-${subset}`;
83
+ const previousPromise = loadedFonts[fontKey];
84
+ if (previousPromise) {
85
+ promises.push(previousPromise);
86
+ continue;
87
+ }
88
+ const baseLabel = `Fetching ${meta.fontFamily} font ${JSON.stringify({
89
+ style: style2,
90
+ weight,
91
+ subset
92
+ })}`;
93
+ const label = weightsAndSubsetsAreSpecified ? baseLabel : `${baseLabel}. This might be caused by loading too many font variations. Read more: https://www.remotion.dev/docs/troubleshooting/font-loading-errors#render-timeout-when-loading-google-fonts`;
94
+ const handle = delayRender(label, { timeoutInMilliseconds: 60000 });
95
+ fontsLoaded++;
96
+ const registerFont = (fontData) => {
97
+ NoReactInternals.registerFontFace({
98
+ ascentOverride: null,
99
+ descentOverride: null,
100
+ display: null,
101
+ featureSettings: null,
102
+ fontFamily: meta.fontFamily,
103
+ fontData,
104
+ fontUrl: font,
105
+ format: "woff2",
106
+ lineGapOverride: null,
107
+ style: style2,
108
+ weight,
109
+ stretch: null,
110
+ unicodeRange: meta.unicodeRanges[subset] ?? null,
111
+ variant: null
112
+ });
113
+ };
114
+ let attempts = 2;
115
+ const tryToLoad = () => {
116
+ return NoReactInternals.fetchFontData(font).then((fontData) => {
117
+ const fontFace = new FontFace(meta.fontFamily, fontData, {
118
+ weight,
119
+ style: style2,
120
+ unicodeRange: meta.unicodeRanges[subset]
121
+ });
122
+ return loadFontFaceOrTimeoutAfter20Seconds(fontFace).then(() => {
123
+ (options?.document ?? document).fonts.add(fontFace);
124
+ registerFont(fontData);
125
+ continueRender(handle);
126
+ });
127
+ }).catch((err) => {
128
+ if (attempts === 0) {
129
+ loadedFonts[fontKey] = undefined;
130
+ throw err;
131
+ }
132
+ attempts--;
133
+ return tryToLoad();
134
+ });
135
+ };
136
+ const promise = tryToLoad();
137
+ loadedFonts[fontKey] = promise;
138
+ promises.push(promise);
139
+ }
140
+ }
141
+ if (fontsLoaded > 20 && !options?.ignoreTooManyRequestsWarning) {
142
+ console.warn(`Made ${fontsLoaded} network requests to load fonts for ${meta.fontFamily}. Consider loading fewer weights and subsets by passing options to loadFont(). Disable this warning by passing "ignoreTooManyRequestsWarning: true" to "options".`);
143
+ }
144
+ }
145
+ return {
146
+ fontFamily: meta.fontFamily,
147
+ fonts: meta.fonts,
148
+ unicodeRanges: meta.unicodeRanges,
149
+ waitUntilDone: () => Promise.all(promises).then(() => {
150
+ return;
151
+ })
152
+ };
153
+ };
154
+ var loadVariableFonts = (meta, style, options) => {
155
+ if (!meta.variable) {
156
+ throw new Error(`${meta.fontFamily} is not available as a variable font`);
157
+ }
158
+ if (options.subsets.length === 0) {
159
+ throw new Error("Pass at least one subset to loadVariableFont()");
160
+ }
161
+ const fontFacesForStyle = meta.variable.fontFaces.filter((fontFace) => fontFace.style === style);
162
+ if (fontFacesForStyle.length === 0) {
163
+ throw new Error(`The variable font ${meta.fontFamily} does not have a style ${style}`);
164
+ }
165
+ const availableSubsetKeys = fontFacesForStyle.map((fontFace) => fontFace.subset);
166
+ const subsets = [
167
+ ...new Set(options.subsets.flatMap((requestedSubset) => resolveFontSubsetKeys({
168
+ availableSubsetKeys,
169
+ metaSubsets: meta.subsets,
170
+ requestedSubset
171
+ })))
172
+ ];
173
+ const promises = [];
174
+ for (const subset of subsets) {
175
+ if (typeof FontFace === "undefined") {
176
+ continue;
177
+ }
178
+ const font = fontFacesForStyle.find((fontFace) => fontFace.subset === subset);
179
+ if (!font) {
180
+ throw new Error(`subset: ${subset} is not available for the variable font '${meta.fontFamily}'`);
181
+ }
182
+ const fontKey = [
183
+ meta.fontFamily,
184
+ "variable",
185
+ font.style,
186
+ font.weight,
187
+ font.stretch,
188
+ font.subset,
189
+ font.src
190
+ ].join("-");
191
+ const previousPromise = loadedFonts[fontKey];
192
+ if (previousPromise) {
193
+ promises.push(previousPromise);
194
+ continue;
195
+ }
196
+ const handle = delayRender(`Fetching variable ${meta.fontFamily} font ${JSON.stringify({
197
+ style,
198
+ subset
199
+ })}`, { timeoutInMilliseconds: 60000 });
200
+ const descriptors = {
201
+ style: font.style,
202
+ weight: font.weight,
203
+ unicodeRange: font.unicodeRange
204
+ };
205
+ if (font.stretch) {
206
+ descriptors.stretch = font.stretch;
207
+ }
208
+ const registerFont = (fontData) => {
209
+ NoReactInternals.registerFontFace({
210
+ ascentOverride: null,
211
+ descentOverride: null,
212
+ display: null,
213
+ featureSettings: null,
214
+ fontFamily: meta.fontFamily,
215
+ fontData,
216
+ fontUrl: font.src,
217
+ format: "woff2",
218
+ lineGapOverride: null,
219
+ style: font.style,
220
+ weight: font.weight,
221
+ stretch: font.stretch,
222
+ unicodeRange: font.unicodeRange,
223
+ variant: null
224
+ });
225
+ };
226
+ let attempts = 2;
227
+ const tryToLoad = () => {
228
+ return NoReactInternals.fetchFontData(font.src).then((fontData) => {
229
+ const fontFace = new FontFace(meta.fontFamily, fontData, descriptors);
230
+ return loadFontFaceOrTimeoutAfter20Seconds(fontFace).then(() => {
231
+ (options.document ?? document).fonts.add(fontFace);
232
+ registerFont(fontData);
233
+ continueRender(handle);
234
+ });
235
+ }).catch((err) => {
236
+ if (attempts === 0) {
237
+ loadedFonts[fontKey] = undefined;
238
+ throw err;
239
+ }
240
+ attempts--;
241
+ return tryToLoad();
242
+ });
243
+ };
244
+ const promise = tryToLoad();
245
+ loadedFonts[fontKey] = promise;
246
+ promises.push(promise);
247
+ }
248
+ if (subsets.length > 20 && !options.ignoreTooManyRequestsWarning) {
249
+ console.warn(`Made ${subsets.length} network requests to load the variable font ${meta.fontFamily}. Consider loading fewer subsets. Disable this warning by passing "ignoreTooManyRequestsWarning: true" to "options".`);
250
+ }
251
+ return {
252
+ fontFamily: meta.fontFamily,
253
+ axes: meta.variable.axes,
254
+ waitUntilDone: () => Promise.all(promises).then(() => {
255
+ return;
256
+ })
257
+ };
258
+ };
259
+
260
+ // src/LibreCaslonCondensed.ts
261
+ var getInfo = () => ({
262
+ fontFamily: "Libre Caslon Condensed",
263
+ importName: "LibreCaslonCondensed",
264
+ version: "v2",
265
+ url: "https://fonts.googleapis.com/css2?family=Libre+Caslon+Condensed:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700",
266
+ unicodeRanges: {
267
+ "latin-ext": "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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF",
268
+ latin: "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"
269
+ },
270
+ fonts: {
271
+ italic: {
272
+ "400": {
273
+ "latin-ext": "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUrRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX60aaUaCNQU.woff2",
274
+ latin: "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUrRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX60aZ0aC.woff2"
275
+ },
276
+ "500": {
277
+ "latin-ext": "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUrRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX60aaUaCNQU.woff2",
278
+ latin: "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUrRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX60aZ0aC.woff2"
279
+ },
280
+ "600": {
281
+ "latin-ext": "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUrRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX60aaUaCNQU.woff2",
282
+ latin: "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUrRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX60aZ0aC.woff2"
283
+ },
284
+ "700": {
285
+ "latin-ext": "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUrRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX60aaUaCNQU.woff2",
286
+ latin: "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUrRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX60aZ0aC.woff2"
287
+ }
288
+ },
289
+ normal: {
290
+ "400": {
291
+ "latin-ext": "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUpRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX6YqZV6G.woff2",
292
+ latin: "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUpRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX6gqZQ.woff2"
293
+ },
294
+ "500": {
295
+ "latin-ext": "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUpRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX6YqZV6G.woff2",
296
+ latin: "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUpRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX6gqZQ.woff2"
297
+ },
298
+ "600": {
299
+ "latin-ext": "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUpRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX6YqZV6G.woff2",
300
+ latin: "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUpRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX6gqZQ.woff2"
301
+ },
302
+ "700": {
303
+ "latin-ext": "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUpRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX6YqZV6G.woff2",
304
+ latin: "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUpRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX6gqZQ.woff2"
305
+ }
306
+ }
307
+ },
308
+ subsets: ["latin", "latin-ext"],
309
+ variable: {
310
+ axes: {
311
+ wght: {
312
+ min: 400,
313
+ max: 700
314
+ }
315
+ },
316
+ fontFaces: [
317
+ {
318
+ style: "italic",
319
+ weight: "400 700",
320
+ stretch: null,
321
+ subset: "latin-ext",
322
+ 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF",
323
+ src: "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUrRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX60aaUaCNQU.woff2"
324
+ },
325
+ {
326
+ style: "italic",
327
+ weight: "400 700",
328
+ stretch: null,
329
+ subset: "latin",
330
+ 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
+ src: "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUrRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX60aZ0aC.woff2"
332
+ },
333
+ {
334
+ style: "normal",
335
+ weight: "400 700",
336
+ stretch: null,
337
+ subset: "latin-ext",
338
+ 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF",
339
+ src: "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUpRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX6YqZV6G.woff2"
340
+ },
341
+ {
342
+ style: "normal",
343
+ weight: "400 700",
344
+ stretch: null,
345
+ subset: "latin",
346
+ 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",
347
+ src: "https://fonts.gstatic.com/s/librecasloncondensed/v2/flUpRrasxYEyVwtcWIsbLunUPow3bHNaxvyEX6gqZQ.woff2"
348
+ }
349
+ ],
350
+ url: "https://fonts.googleapis.com/css2?family=Libre+Caslon+Condensed:ital,wght@0,400..700;1,400..700"
351
+ }
352
+ });
353
+ var fontFamily = "Libre Caslon Condensed";
354
+ var loadFont = (style, options) => {
355
+ return loadFonts(getInfo(), style, options);
356
+ };
357
+ var loadVariableFont = (style, options) => {
358
+ return loadVariableFonts(getInfo(), style, options);
359
+ };
360
+ export {
361
+ loadVariableFont,
362
+ loadFont,
363
+ getInfo,
364
+ fontFamily
365
+ };
@@ -261,7 +261,7 @@ var loadVariableFonts = (meta, style, options) => {
261
261
  var getInfo = () => ({
262
262
  fontFamily: "Noto Serif Toto",
263
263
  importName: "NotoSerifToto",
264
- version: "v7",
264
+ version: "v9",
265
265
  url: "https://fonts.googleapis.com/css2?family=Noto+Serif+Toto:ital,wght@0,400;0,500;0,600;0,700",
266
266
  unicodeRanges: {
267
267
  toto: "U+1E290-1E2AE",
@@ -271,24 +271,24 @@ var getInfo = () => ({
271
271
  fonts: {
272
272
  normal: {
273
273
  "400": {
274
- toto: "https://fonts.gstatic.com/s/notoseriftoto/v7/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHsoK9WLZB.woff2",
275
- "latin-ext": "https://fonts.gstatic.com/s/notoseriftoto/v7/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHHqOYZY8.woff2",
276
- latin: "https://fonts.gstatic.com/s/notoseriftoto/v7/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHEKOY.woff2"
274
+ toto: "https://fonts.gstatic.com/s/notoseriftoto/v9/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHsoK9WLZB.woff2",
275
+ "latin-ext": "https://fonts.gstatic.com/s/notoseriftoto/v9/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHHqOYZY8.woff2",
276
+ latin: "https://fonts.gstatic.com/s/notoseriftoto/v9/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHEKOY.woff2"
277
277
  },
278
278
  "500": {
279
- toto: "https://fonts.gstatic.com/s/notoseriftoto/v7/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHsoK9WLZB.woff2",
280
- "latin-ext": "https://fonts.gstatic.com/s/notoseriftoto/v7/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHHqOYZY8.woff2",
281
- latin: "https://fonts.gstatic.com/s/notoseriftoto/v7/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHEKOY.woff2"
279
+ toto: "https://fonts.gstatic.com/s/notoseriftoto/v9/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHsoK9WLZB.woff2",
280
+ "latin-ext": "https://fonts.gstatic.com/s/notoseriftoto/v9/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHHqOYZY8.woff2",
281
+ latin: "https://fonts.gstatic.com/s/notoseriftoto/v9/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHEKOY.woff2"
282
282
  },
283
283
  "600": {
284
- toto: "https://fonts.gstatic.com/s/notoseriftoto/v7/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHsoK9WLZB.woff2",
285
- "latin-ext": "https://fonts.gstatic.com/s/notoseriftoto/v7/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHHqOYZY8.woff2",
286
- latin: "https://fonts.gstatic.com/s/notoseriftoto/v7/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHEKOY.woff2"
284
+ toto: "https://fonts.gstatic.com/s/notoseriftoto/v9/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHsoK9WLZB.woff2",
285
+ "latin-ext": "https://fonts.gstatic.com/s/notoseriftoto/v9/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHHqOYZY8.woff2",
286
+ latin: "https://fonts.gstatic.com/s/notoseriftoto/v9/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHEKOY.woff2"
287
287
  },
288
288
  "700": {
289
- toto: "https://fonts.gstatic.com/s/notoseriftoto/v7/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHsoK9WLZB.woff2",
290
- "latin-ext": "https://fonts.gstatic.com/s/notoseriftoto/v7/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHHqOYZY8.woff2",
291
- latin: "https://fonts.gstatic.com/s/notoseriftoto/v7/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHEKOY.woff2"
289
+ toto: "https://fonts.gstatic.com/s/notoseriftoto/v9/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHsoK9WLZB.woff2",
290
+ "latin-ext": "https://fonts.gstatic.com/s/notoseriftoto/v9/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHHqOYZY8.woff2",
291
+ latin: "https://fonts.gstatic.com/s/notoseriftoto/v9/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHEKOY.woff2"
292
292
  }
293
293
  }
294
294
  },
@@ -307,7 +307,7 @@ var getInfo = () => ({
307
307
  stretch: null,
308
308
  subset: "toto",
309
309
  unicodeRange: "U+1E290-1E2AE",
310
- src: "https://fonts.gstatic.com/s/notoseriftoto/v7/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHsoK9WLZB.woff2"
310
+ src: "https://fonts.gstatic.com/s/notoseriftoto/v9/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHsoK9WLZB.woff2"
311
311
  },
312
312
  {
313
313
  style: "normal",
@@ -315,7 +315,7 @@ var getInfo = () => ({
315
315
  stretch: null,
316
316
  subset: "latin-ext",
317
317
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF",
318
- src: "https://fonts.gstatic.com/s/notoseriftoto/v7/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHHqOYZY8.woff2"
318
+ src: "https://fonts.gstatic.com/s/notoseriftoto/v9/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHHqOYZY8.woff2"
319
319
  },
320
320
  {
321
321
  style: "normal",
@@ -323,7 +323,7 @@ var getInfo = () => ({
323
323
  stretch: null,
324
324
  subset: "latin",
325
325
  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",
326
- src: "https://fonts.gstatic.com/s/notoseriftoto/v7/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHEKOY.woff2"
326
+ src: "https://fonts.gstatic.com/s/notoseriftoto/v9/Ktk1ALSMeZjqPnXk1rCkHYHNtwvHEKOY.woff2"
327
327
  }
328
328
  ],
329
329
  url: "https://fonts.googleapis.com/css2?family=Noto+Serif+Toto:wght@400..700"
@@ -1719,6 +1719,11 @@ export const getAvailableFonts = () => [
1719
1719
  importName: 'CinzelDecorative',
1720
1720
  load: () => import('./CinzelDecorative.mjs'),
1721
1721
  },
1722
+ {
1723
+ fontFamily: 'Clarity City',
1724
+ importName: 'ClarityCity',
1725
+ load: () => import('./ClarityCity.mjs'),
1726
+ },
1722
1727
  {
1723
1728
  fontFamily: 'Clicker Script',
1724
1729
  importName: 'ClickerScript',
@@ -3529,6 +3534,11 @@ export const getAvailableFonts = () => [
3529
3534
  importName: 'IslandMoments',
3530
3535
  load: () => import('./IslandMoments.mjs'),
3531
3536
  },
3537
+ {
3538
+ fontFamily: 'Isometra',
3539
+ importName: 'Isometra',
3540
+ load: () => import('./Isometra.mjs'),
3541
+ },
3532
3542
  {
3533
3543
  fontFamily: 'Istok Web',
3534
3544
  importName: 'IstokWeb',
@@ -3999,6 +4009,11 @@ export const getAvailableFonts = () => [
3999
4009
  importName: 'Kreon',
4000
4010
  load: () => import('./Kreon.mjs'),
4001
4011
  },
4012
+ {
4013
+ fontFamily: 'Kripa',
4014
+ importName: 'Kripa',
4015
+ load: () => import('./Kripa.mjs'),
4016
+ },
4002
4017
  {
4003
4018
  fontFamily: 'Kristi',
4004
4019
  importName: 'Kristi',
@@ -4269,6 +4284,11 @@ export const getAvailableFonts = () => [
4269
4284
  importName: 'LibreBodoni',
4270
4285
  load: () => import('./LibreBodoni.mjs'),
4271
4286
  },
4287
+ {
4288
+ fontFamily: 'Libre Caslon Condensed',
4289
+ importName: 'LibreCaslonCondensed',
4290
+ load: () => import('./LibreCaslonCondensed.mjs'),
4291
+ },
4272
4292
  {
4273
4293
  fontFamily: 'Libre Caslon Display',
4274
4294
  importName: 'LibreCaslonDisplay',
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/google-fonts"
4
4
  },
5
5
  "name": "@remotion/google-fonts",
6
- "version": "4.0.530",
6
+ "version": "4.0.532",
7
7
  "description": "Use Google Fonts in Remotion",
8
8
  "main": "dist/cjs/index.js",
9
9
  "module": "dist/esm/index.mjs",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "license": "SEE LICENSE IN LICENSE.md",
18
18
  "dependencies": {
19
- "remotion": "4.0.530"
19
+ "remotion": "4.0.532"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/css-font-loading-module": "0.0.14",
@@ -1059,6 +1059,9 @@
1059
1059
  "CinzelDecorative": [
1060
1060
  "dist/cjs/CinzelDecorative.d.ts"
1061
1061
  ],
1062
+ "ClarityCity": [
1063
+ "dist/cjs/ClarityCity.d.ts"
1064
+ ],
1062
1065
  "ClickerScript": [
1063
1066
  "dist/cjs/ClickerScript.d.ts"
1064
1067
  ],
@@ -2145,6 +2148,9 @@
2145
2148
  "IslandMoments": [
2146
2149
  "dist/cjs/IslandMoments.d.ts"
2147
2150
  ],
2151
+ "Isometra": [
2152
+ "dist/cjs/Isometra.d.ts"
2153
+ ],
2148
2154
  "IstokWeb": [
2149
2155
  "dist/cjs/IstokWeb.d.ts"
2150
2156
  ],
@@ -2427,6 +2433,9 @@
2427
2433
  "Kreon": [
2428
2434
  "dist/cjs/Kreon.d.ts"
2429
2435
  ],
2436
+ "Kripa": [
2437
+ "dist/cjs/Kripa.d.ts"
2438
+ ],
2430
2439
  "Kristi": [
2431
2440
  "dist/cjs/Kristi.d.ts"
2432
2441
  ],
@@ -2589,6 +2598,9 @@
2589
2598
  "LibreBodoni": [
2590
2599
  "dist/cjs/LibreBodoni.d.ts"
2591
2600
  ],
2601
+ "LibreCaslonCondensed": [
2602
+ "dist/cjs/LibreCaslonCondensed.d.ts"
2603
+ ],
2592
2604
  "LibreCaslonDisplay": [
2593
2605
  "dist/cjs/LibreCaslonDisplay.d.ts"
2594
2606
  ],