@remotion/google-fonts 4.0.370 → 4.0.372

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,169 @@
1
+ // src/base.ts
2
+ import { continueRender, delayRender } from "remotion";
3
+ import { NoReactInternals } from "remotion/no-react";
4
+ var loadedFonts = {};
5
+ var withResolvers = function() {
6
+ let resolve;
7
+ let reject;
8
+ const promise = new Promise((res, rej) => {
9
+ resolve = res;
10
+ reject = rej;
11
+ });
12
+ return { promise, resolve, reject };
13
+ };
14
+ var loadFontFaceOrTimeoutAfter20Seconds = (fontFace) => {
15
+ const timeout = withResolvers();
16
+ const int = setTimeout(() => {
17
+ timeout.reject(new Error("Timed out loading Google Font"));
18
+ }, 18000);
19
+ return Promise.race([
20
+ fontFace.load().then(() => {
21
+ clearTimeout(int);
22
+ }),
23
+ timeout.promise
24
+ ]);
25
+ };
26
+ var loadFonts = (meta, style, options) => {
27
+ const weightsAndSubsetsAreSpecified = Array.isArray(options?.weights) && Array.isArray(options?.subsets) && options.weights.length > 0 && options.subsets.length > 0;
28
+ if (NoReactInternals.ENABLE_V5_BREAKING_CHANGES && !weightsAndSubsetsAreSpecified) {
29
+ 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.");
30
+ }
31
+ const promises = [];
32
+ const styles = style ? [style] : Object.keys(meta.fonts);
33
+ let fontsLoaded = 0;
34
+ for (const style2 of styles) {
35
+ if (typeof FontFace === "undefined") {
36
+ continue;
37
+ }
38
+ if (!meta.fonts[style2]) {
39
+ throw new Error(`The font ${meta.fontFamily} does not have a style ${style2}`);
40
+ }
41
+ const weights = options?.weights ?? Object.keys(meta.fonts[style2]);
42
+ for (const weight of weights) {
43
+ if (!meta.fonts[style2][weight]) {
44
+ throw new Error(`The font ${meta.fontFamily} does not have a weight ${weight} in style ${style2}`);
45
+ }
46
+ const subsets = options?.subsets ?? Object.keys(meta.fonts[style2][weight]);
47
+ for (const subset of subsets) {
48
+ let font = meta.fonts[style2]?.[weight]?.[subset];
49
+ if (!font) {
50
+ throw new Error(`weight: ${weight} subset: ${subset} is not available for '${meta.fontFamily}'`);
51
+ }
52
+ let fontKey = `${meta.fontFamily}-${style2}-${weight}-${subset}`;
53
+ const previousPromise = loadedFonts[fontKey];
54
+ if (previousPromise) {
55
+ promises.push(previousPromise);
56
+ continue;
57
+ }
58
+ const baseLabel = `Fetching ${meta.fontFamily} font ${JSON.stringify({
59
+ style: style2,
60
+ weight,
61
+ subset
62
+ })}`;
63
+ 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`;
64
+ const handle = delayRender(label, { timeoutInMilliseconds: 60000 });
65
+ fontsLoaded++;
66
+ const fontFace = new FontFace(meta.fontFamily, `url(${font}) format('woff2')`, {
67
+ weight,
68
+ style: style2,
69
+ unicodeRange: meta.unicodeRanges[subset]
70
+ });
71
+ let attempts = 2;
72
+ const tryToLoad = () => {
73
+ if (fontFace.status === "loaded") {
74
+ continueRender(handle);
75
+ return;
76
+ }
77
+ const promise = loadFontFaceOrTimeoutAfter20Seconds(fontFace).then(() => {
78
+ (options?.document ?? document).fonts.add(fontFace);
79
+ continueRender(handle);
80
+ }).catch((err) => {
81
+ loadedFonts[fontKey] = undefined;
82
+ if (attempts === 0) {
83
+ throw err;
84
+ } else {
85
+ attempts--;
86
+ tryToLoad();
87
+ }
88
+ });
89
+ loadedFonts[fontKey] = promise;
90
+ promises.push(promise);
91
+ };
92
+ tryToLoad();
93
+ }
94
+ }
95
+ if (fontsLoaded > 20) {
96
+ 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".`);
97
+ }
98
+ }
99
+ return {
100
+ fontFamily: meta.fontFamily,
101
+ fonts: meta.fonts,
102
+ unicodeRanges: meta.unicodeRanges,
103
+ waitUntilDone: () => Promise.all(promises).then(() => {
104
+ return;
105
+ })
106
+ };
107
+ };
108
+
109
+ // src/MomoTrustSans.ts
110
+ var getInfo = () => ({
111
+ fontFamily: "Momo Trust Sans",
112
+ importName: "MomoTrustSans",
113
+ version: "v2",
114
+ url: "https://fonts.googleapis.com/css2?family=Momo+Trust+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800",
115
+ unicodeRanges: {
116
+ vietnamese: "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",
117
+ "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",
118
+ 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"
119
+ },
120
+ fonts: {
121
+ normal: {
122
+ "200": {
123
+ vietnamese: "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH3b2zkRk.woff2",
124
+ "latin-ext": "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH3L2zkRk.woff2",
125
+ latin: "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH0r2z.woff2"
126
+ },
127
+ "300": {
128
+ vietnamese: "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH3b2zkRk.woff2",
129
+ "latin-ext": "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH3L2zkRk.woff2",
130
+ latin: "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH0r2z.woff2"
131
+ },
132
+ "400": {
133
+ vietnamese: "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH3b2zkRk.woff2",
134
+ "latin-ext": "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH3L2zkRk.woff2",
135
+ latin: "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH0r2z.woff2"
136
+ },
137
+ "500": {
138
+ vietnamese: "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH3b2zkRk.woff2",
139
+ "latin-ext": "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH3L2zkRk.woff2",
140
+ latin: "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH0r2z.woff2"
141
+ },
142
+ "600": {
143
+ vietnamese: "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH3b2zkRk.woff2",
144
+ "latin-ext": "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH3L2zkRk.woff2",
145
+ latin: "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH0r2z.woff2"
146
+ },
147
+ "700": {
148
+ vietnamese: "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH3b2zkRk.woff2",
149
+ "latin-ext": "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH3L2zkRk.woff2",
150
+ latin: "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH0r2z.woff2"
151
+ },
152
+ "800": {
153
+ vietnamese: "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH3b2zkRk.woff2",
154
+ "latin-ext": "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH3L2zkRk.woff2",
155
+ latin: "https://fonts.gstatic.com/s/momotrustsans/v2/BXRzvFfHh_fFyXlQWZgO0TyUN7PH0r2z.woff2"
156
+ }
157
+ }
158
+ },
159
+ subsets: ["latin", "latin-ext", "vietnamese"]
160
+ });
161
+ var fontFamily = "Momo Trust Sans";
162
+ var loadFont = (style, options) => {
163
+ return loadFonts(getInfo(), style, options);
164
+ };
165
+ export {
166
+ loadFont,
167
+ getInfo,
168
+ fontFamily
169
+ };
@@ -110,7 +110,7 @@ var loadFonts = (meta, style, options) => {
110
110
  var getInfo = () => ({
111
111
  fontFamily: "Noto Naskh Arabic",
112
112
  importName: "NotoNaskhArabic",
113
- version: "v39",
113
+ version: "v40",
114
114
  url: "https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:ital,wght@0,400;0,500;0,600;0,700",
115
115
  unicodeRanges: {
116
116
  arabic: "U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1",
@@ -122,32 +122,32 @@ var getInfo = () => ({
122
122
  fonts: {
123
123
  normal: {
124
124
  "400": {
125
- arabic: "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2DHV20Lg.woff2",
126
- math: "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN36HV20Lg.woff2",
127
- symbols: "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN3oHV20Lg.woff2",
128
- "latin-ext": "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2IHV20Lg.woff2",
129
- latin: "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2GHV0.woff2"
125
+ arabic: "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2DHV20Lg.woff2",
126
+ math: "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN36HV20Lg.woff2",
127
+ symbols: "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN3oHV20Lg.woff2",
128
+ "latin-ext": "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2IHV20Lg.woff2",
129
+ latin: "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2GHV0.woff2"
130
130
  },
131
131
  "500": {
132
- arabic: "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2DHV20Lg.woff2",
133
- math: "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN36HV20Lg.woff2",
134
- symbols: "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN3oHV20Lg.woff2",
135
- "latin-ext": "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2IHV20Lg.woff2",
136
- latin: "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2GHV0.woff2"
132
+ arabic: "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2DHV20Lg.woff2",
133
+ math: "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN36HV20Lg.woff2",
134
+ symbols: "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN3oHV20Lg.woff2",
135
+ "latin-ext": "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2IHV20Lg.woff2",
136
+ latin: "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2GHV0.woff2"
137
137
  },
138
138
  "600": {
139
- arabic: "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2DHV20Lg.woff2",
140
- math: "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN36HV20Lg.woff2",
141
- symbols: "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN3oHV20Lg.woff2",
142
- "latin-ext": "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2IHV20Lg.woff2",
143
- latin: "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2GHV0.woff2"
139
+ arabic: "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2DHV20Lg.woff2",
140
+ math: "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN36HV20Lg.woff2",
141
+ symbols: "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN3oHV20Lg.woff2",
142
+ "latin-ext": "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2IHV20Lg.woff2",
143
+ latin: "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2GHV0.woff2"
144
144
  },
145
145
  "700": {
146
- arabic: "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2DHV20Lg.woff2",
147
- math: "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN36HV20Lg.woff2",
148
- symbols: "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN3oHV20Lg.woff2",
149
- "latin-ext": "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2IHV20Lg.woff2",
150
- latin: "https://fonts.gstatic.com/s/notonaskharabic/v39/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2GHV0.woff2"
146
+ arabic: "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2DHV20Lg.woff2",
147
+ math: "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN36HV20Lg.woff2",
148
+ symbols: "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN3oHV20Lg.woff2",
149
+ "latin-ext": "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2IHV20Lg.woff2",
150
+ latin: "https://fonts.gstatic.com/s/notonaskharabic/v40/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2GHV0.woff2"
151
151
  }
152
152
  }
153
153
  },
@@ -0,0 +1,179 @@
1
+ // src/base.ts
2
+ import { continueRender, delayRender } from "remotion";
3
+ import { NoReactInternals } from "remotion/no-react";
4
+ var loadedFonts = {};
5
+ var withResolvers = function() {
6
+ let resolve;
7
+ let reject;
8
+ const promise = new Promise((res, rej) => {
9
+ resolve = res;
10
+ reject = rej;
11
+ });
12
+ return { promise, resolve, reject };
13
+ };
14
+ var loadFontFaceOrTimeoutAfter20Seconds = (fontFace) => {
15
+ const timeout = withResolvers();
16
+ const int = setTimeout(() => {
17
+ timeout.reject(new Error("Timed out loading Google Font"));
18
+ }, 18000);
19
+ return Promise.race([
20
+ fontFace.load().then(() => {
21
+ clearTimeout(int);
22
+ }),
23
+ timeout.promise
24
+ ]);
25
+ };
26
+ var loadFonts = (meta, style, options) => {
27
+ const weightsAndSubsetsAreSpecified = Array.isArray(options?.weights) && Array.isArray(options?.subsets) && options.weights.length > 0 && options.subsets.length > 0;
28
+ if (NoReactInternals.ENABLE_V5_BREAKING_CHANGES && !weightsAndSubsetsAreSpecified) {
29
+ 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.");
30
+ }
31
+ const promises = [];
32
+ const styles = style ? [style] : Object.keys(meta.fonts);
33
+ let fontsLoaded = 0;
34
+ for (const style2 of styles) {
35
+ if (typeof FontFace === "undefined") {
36
+ continue;
37
+ }
38
+ if (!meta.fonts[style2]) {
39
+ throw new Error(`The font ${meta.fontFamily} does not have a style ${style2}`);
40
+ }
41
+ const weights = options?.weights ?? Object.keys(meta.fonts[style2]);
42
+ for (const weight of weights) {
43
+ if (!meta.fonts[style2][weight]) {
44
+ throw new Error(`The font ${meta.fontFamily} does not have a weight ${weight} in style ${style2}`);
45
+ }
46
+ const subsets = options?.subsets ?? Object.keys(meta.fonts[style2][weight]);
47
+ for (const subset of subsets) {
48
+ let font = meta.fonts[style2]?.[weight]?.[subset];
49
+ if (!font) {
50
+ throw new Error(`weight: ${weight} subset: ${subset} is not available for '${meta.fontFamily}'`);
51
+ }
52
+ let fontKey = `${meta.fontFamily}-${style2}-${weight}-${subset}`;
53
+ const previousPromise = loadedFonts[fontKey];
54
+ if (previousPromise) {
55
+ promises.push(previousPromise);
56
+ continue;
57
+ }
58
+ const baseLabel = `Fetching ${meta.fontFamily} font ${JSON.stringify({
59
+ style: style2,
60
+ weight,
61
+ subset
62
+ })}`;
63
+ 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`;
64
+ const handle = delayRender(label, { timeoutInMilliseconds: 60000 });
65
+ fontsLoaded++;
66
+ const fontFace = new FontFace(meta.fontFamily, `url(${font}) format('woff2')`, {
67
+ weight,
68
+ style: style2,
69
+ unicodeRange: meta.unicodeRanges[subset]
70
+ });
71
+ let attempts = 2;
72
+ const tryToLoad = () => {
73
+ if (fontFace.status === "loaded") {
74
+ continueRender(handle);
75
+ return;
76
+ }
77
+ const promise = loadFontFaceOrTimeoutAfter20Seconds(fontFace).then(() => {
78
+ (options?.document ?? document).fonts.add(fontFace);
79
+ continueRender(handle);
80
+ }).catch((err) => {
81
+ loadedFonts[fontKey] = undefined;
82
+ if (attempts === 0) {
83
+ throw err;
84
+ } else {
85
+ attempts--;
86
+ tryToLoad();
87
+ }
88
+ });
89
+ loadedFonts[fontKey] = promise;
90
+ promises.push(promise);
91
+ };
92
+ tryToLoad();
93
+ }
94
+ }
95
+ if (fontsLoaded > 20) {
96
+ 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".`);
97
+ }
98
+ }
99
+ return {
100
+ fontFamily: meta.fontFamily,
101
+ fonts: meta.fonts,
102
+ unicodeRanges: meta.unicodeRanges,
103
+ waitUntilDone: () => Promise.all(promises).then(() => {
104
+ return;
105
+ })
106
+ };
107
+ };
108
+
109
+ // src/NotoSansSyriacWestern.ts
110
+ var getInfo = () => ({
111
+ fontFamily: "Noto Sans Syriac Western",
112
+ importName: "NotoSansSyriacWestern",
113
+ version: "v2",
114
+ url: "https://fonts.googleapis.com/css2?family=Noto+Sans+Syriac+Western:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900",
115
+ unicodeRanges: {
116
+ syriac: "U+0303-0304, U+0307-0308, U+030A, U+0320, U+0323-0325, U+032D-032E, U+0330-0331, U+060C, U+061B-061C, U+061F, U+0621, U+0640, U+064B-0655, U+0660-066C, U+0670, U+0700-074F, U+0860-086A, U+1DF8, U+1DFA, U+200C-200F, U+25CC, U+2670-2671",
117
+ "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",
118
+ 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"
119
+ },
120
+ fonts: {
121
+ normal: {
122
+ "100": {
123
+ syriac: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnX6oQEyE.woff2",
124
+ "latin-ext": "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnIqoQEyE.woff2",
125
+ latin: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnLKoQ.woff2"
126
+ },
127
+ "200": {
128
+ syriac: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnX6oQEyE.woff2",
129
+ "latin-ext": "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnIqoQEyE.woff2",
130
+ latin: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnLKoQ.woff2"
131
+ },
132
+ "300": {
133
+ syriac: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnX6oQEyE.woff2",
134
+ "latin-ext": "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnIqoQEyE.woff2",
135
+ latin: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnLKoQ.woff2"
136
+ },
137
+ "400": {
138
+ syriac: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnX6oQEyE.woff2",
139
+ "latin-ext": "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnIqoQEyE.woff2",
140
+ latin: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnLKoQ.woff2"
141
+ },
142
+ "500": {
143
+ syriac: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnX6oQEyE.woff2",
144
+ "latin-ext": "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnIqoQEyE.woff2",
145
+ latin: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnLKoQ.woff2"
146
+ },
147
+ "600": {
148
+ syriac: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnX6oQEyE.woff2",
149
+ "latin-ext": "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnIqoQEyE.woff2",
150
+ latin: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnLKoQ.woff2"
151
+ },
152
+ "700": {
153
+ syriac: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnX6oQEyE.woff2",
154
+ "latin-ext": "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnIqoQEyE.woff2",
155
+ latin: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnLKoQ.woff2"
156
+ },
157
+ "800": {
158
+ syriac: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnX6oQEyE.woff2",
159
+ "latin-ext": "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnIqoQEyE.woff2",
160
+ latin: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnLKoQ.woff2"
161
+ },
162
+ "900": {
163
+ syriac: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnX6oQEyE.woff2",
164
+ "latin-ext": "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnIqoQEyE.woff2",
165
+ latin: "https://fonts.gstatic.com/s/notosanssyriacwestern/v2/ke82OhEEMVFsvCav8hWjbItd6Jf6MP7Z9spJZ6UnLKoQ.woff2"
166
+ }
167
+ }
168
+ },
169
+ subsets: ["latin", "latin-ext", "syriac"]
170
+ });
171
+ var fontFamily = "Noto Sans Syriac Western";
172
+ var loadFont = (style, options) => {
173
+ return loadFonts(getInfo(), style, options);
174
+ };
175
+ export {
176
+ loadFont,
177
+ getInfo,
178
+ fontFamily
179
+ };
@@ -110,9 +110,10 @@ var loadFonts = (meta, style, options) => {
110
110
  var getInfo = () => ({
111
111
  fontFamily: "Parastoo",
112
112
  importName: "Parastoo",
113
- version: "v1",
113
+ version: "v3",
114
114
  url: "https://fonts.googleapis.com/css2?family=Parastoo:ital,wght@0,400;0,500;0,600;0,700",
115
115
  unicodeRanges: {
116
+ arabic: "U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1",
116
117
  vietnamese: "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",
117
118
  "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",
118
119
  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"
@@ -120,28 +121,32 @@ var getInfo = () => ({
120
121
  fonts: {
121
122
  normal: {
122
123
  "400": {
123
- vietnamese: "https://fonts.gstatic.com/s/parastoo/v1/-F6yfj90ITQ4d9euQXrYhiRwxw.woff2",
124
- "latin-ext": "https://fonts.gstatic.com/s/parastoo/v1/-F6yfj90ITQ4d9euQXrZhiRwxw.woff2",
125
- latin: "https://fonts.gstatic.com/s/parastoo/v1/-F6yfj90ITQ4d9euQXrXhiQ.woff2"
124
+ arabic: "https://fonts.gstatic.com/s/parastoo/v3/-F6yfj90ITQ4d9euQXrShiRwxw.woff2",
125
+ vietnamese: "https://fonts.gstatic.com/s/parastoo/v3/-F6yfj90ITQ4d9euQXrYhiRwxw.woff2",
126
+ "latin-ext": "https://fonts.gstatic.com/s/parastoo/v3/-F6yfj90ITQ4d9euQXrZhiRwxw.woff2",
127
+ latin: "https://fonts.gstatic.com/s/parastoo/v3/-F6yfj90ITQ4d9euQXrXhiQ.woff2"
126
128
  },
127
129
  "500": {
128
- vietnamese: "https://fonts.gstatic.com/s/parastoo/v1/-F6yfj90ITQ4d9euQXrYhiRwxw.woff2",
129
- "latin-ext": "https://fonts.gstatic.com/s/parastoo/v1/-F6yfj90ITQ4d9euQXrZhiRwxw.woff2",
130
- latin: "https://fonts.gstatic.com/s/parastoo/v1/-F6yfj90ITQ4d9euQXrXhiQ.woff2"
130
+ arabic: "https://fonts.gstatic.com/s/parastoo/v3/-F6yfj90ITQ4d9euQXrShiRwxw.woff2",
131
+ vietnamese: "https://fonts.gstatic.com/s/parastoo/v3/-F6yfj90ITQ4d9euQXrYhiRwxw.woff2",
132
+ "latin-ext": "https://fonts.gstatic.com/s/parastoo/v3/-F6yfj90ITQ4d9euQXrZhiRwxw.woff2",
133
+ latin: "https://fonts.gstatic.com/s/parastoo/v3/-F6yfj90ITQ4d9euQXrXhiQ.woff2"
131
134
  },
132
135
  "600": {
133
- vietnamese: "https://fonts.gstatic.com/s/parastoo/v1/-F6yfj90ITQ4d9euQXrYhiRwxw.woff2",
134
- "latin-ext": "https://fonts.gstatic.com/s/parastoo/v1/-F6yfj90ITQ4d9euQXrZhiRwxw.woff2",
135
- latin: "https://fonts.gstatic.com/s/parastoo/v1/-F6yfj90ITQ4d9euQXrXhiQ.woff2"
136
+ arabic: "https://fonts.gstatic.com/s/parastoo/v3/-F6yfj90ITQ4d9euQXrShiRwxw.woff2",
137
+ vietnamese: "https://fonts.gstatic.com/s/parastoo/v3/-F6yfj90ITQ4d9euQXrYhiRwxw.woff2",
138
+ "latin-ext": "https://fonts.gstatic.com/s/parastoo/v3/-F6yfj90ITQ4d9euQXrZhiRwxw.woff2",
139
+ latin: "https://fonts.gstatic.com/s/parastoo/v3/-F6yfj90ITQ4d9euQXrXhiQ.woff2"
136
140
  },
137
141
  "700": {
138
- vietnamese: "https://fonts.gstatic.com/s/parastoo/v1/-F6yfj90ITQ4d9euQXrYhiRwxw.woff2",
139
- "latin-ext": "https://fonts.gstatic.com/s/parastoo/v1/-F6yfj90ITQ4d9euQXrZhiRwxw.woff2",
140
- latin: "https://fonts.gstatic.com/s/parastoo/v1/-F6yfj90ITQ4d9euQXrXhiQ.woff2"
142
+ arabic: "https://fonts.gstatic.com/s/parastoo/v3/-F6yfj90ITQ4d9euQXrShiRwxw.woff2",
143
+ vietnamese: "https://fonts.gstatic.com/s/parastoo/v3/-F6yfj90ITQ4d9euQXrYhiRwxw.woff2",
144
+ "latin-ext": "https://fonts.gstatic.com/s/parastoo/v3/-F6yfj90ITQ4d9euQXrZhiRwxw.woff2",
145
+ latin: "https://fonts.gstatic.com/s/parastoo/v3/-F6yfj90ITQ4d9euQXrXhiQ.woff2"
141
146
  }
142
147
  }
143
148
  },
144
- subsets: ["latin", "latin-ext", "vietnamese"]
149
+ subsets: ["arabic", "latin", "latin-ext", "vietnamese"]
145
150
  });
146
151
  var fontFamily = "Parastoo";
147
152
  var loadFont = (style, options) => {
package/dist/esm/Zain.mjs CHANGED
@@ -110,7 +110,7 @@ var loadFonts = (meta, style, options) => {
110
110
  var getInfo = () => ({
111
111
  fontFamily: "Zain",
112
112
  importName: "Zain",
113
- version: "v3",
113
+ version: "v4",
114
114
  url: "https://fonts.googleapis.com/css2?family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400",
115
115
  unicodeRanges: {
116
116
  arabic: "U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1",
@@ -119,38 +119,38 @@ var getInfo = () => ({
119
119
  fonts: {
120
120
  italic: {
121
121
  "300": {
122
- arabic: "https://fonts.gstatic.com/s/zain/v3/sykx-y9lm7soMND1OSiH_PLAnlQ.woff2",
123
- latin: "https://fonts.gstatic.com/s/zain/v3/sykx-y9lm7soMND1OSiH-fLA.woff2"
122
+ arabic: "https://fonts.gstatic.com/s/zain/v4/sykx-y9lm7soMND1OSiH_PLAnlQ.woff2",
123
+ latin: "https://fonts.gstatic.com/s/zain/v4/sykx-y9lm7soMND1OSiH-fLA.woff2"
124
124
  },
125
125
  "400": {
126
- arabic: "https://fonts.gstatic.com/s/zain/v3/syky-y9lm7soMND9lwqSxtM.woff2",
127
- latin: "https://fonts.gstatic.com/s/zain/v3/syky-y9lm7soMND9kgqS.woff2"
126
+ arabic: "https://fonts.gstatic.com/s/zain/v4/syky-y9lm7soMND9lwqSxtM.woff2",
127
+ latin: "https://fonts.gstatic.com/s/zain/v4/syky-y9lm7soMND9kgqS.woff2"
128
128
  }
129
129
  },
130
130
  normal: {
131
131
  "200": {
132
- arabic: "https://fonts.gstatic.com/s/zain/v3/sykz-y9lm7soOBrshSi3--rE.woff2",
133
- latin: "https://fonts.gstatic.com/s/zain/v3/sykz-y9lm7soOBrshS23-w.woff2"
132
+ arabic: "https://fonts.gstatic.com/s/zain/v4/sykz-y9lm7soOBrshSi3--rE.woff2",
133
+ latin: "https://fonts.gstatic.com/s/zain/v4/sykz-y9lm7soOBrshS23-w.woff2"
134
134
  },
135
135
  "300": {
136
- arabic: "https://fonts.gstatic.com/s/zain/v3/sykz-y9lm7soOH7vhSi3--rE.woff2",
137
- latin: "https://fonts.gstatic.com/s/zain/v3/sykz-y9lm7soOH7vhS23-w.woff2"
136
+ arabic: "https://fonts.gstatic.com/s/zain/v4/sykz-y9lm7soOH7vhSi3--rE.woff2",
137
+ latin: "https://fonts.gstatic.com/s/zain/v4/sykz-y9lm7soOH7vhS23-w.woff2"
138
138
  },
139
139
  "400": {
140
- arabic: "https://fonts.gstatic.com/s/zain/v3/syk8-y9lm7soMNDNkBKW.woff2",
141
- latin: "https://fonts.gstatic.com/s/zain/v3/syk8-y9lm7soMNXNkA.woff2"
140
+ arabic: "https://fonts.gstatic.com/s/zain/v4/syk8-y9lm7soMNDNkBKW.woff2",
141
+ latin: "https://fonts.gstatic.com/s/zain/v4/syk8-y9lm7soMNXNkA.woff2"
142
142
  },
143
143
  "700": {
144
- arabic: "https://fonts.gstatic.com/s/zain/v3/sykz-y9lm7soOG7ohSi3--rE.woff2",
145
- latin: "https://fonts.gstatic.com/s/zain/v3/sykz-y9lm7soOG7ohS23-w.woff2"
144
+ arabic: "https://fonts.gstatic.com/s/zain/v4/sykz-y9lm7soOG7ohSi3--rE.woff2",
145
+ latin: "https://fonts.gstatic.com/s/zain/v4/sykz-y9lm7soOG7ohS23-w.woff2"
146
146
  },
147
147
  "800": {
148
- arabic: "https://fonts.gstatic.com/s/zain/v3/sykz-y9lm7soOHLrhSi3--rE.woff2",
149
- latin: "https://fonts.gstatic.com/s/zain/v3/sykz-y9lm7soOHLrhS23-w.woff2"
148
+ arabic: "https://fonts.gstatic.com/s/zain/v4/sykz-y9lm7soOHLrhSi3--rE.woff2",
149
+ latin: "https://fonts.gstatic.com/s/zain/v4/sykz-y9lm7soOHLrhS23-w.woff2"
150
150
  },
151
151
  "900": {
152
- arabic: "https://fonts.gstatic.com/s/zain/v3/sykz-y9lm7soOFbqhSi3--rE.woff2",
153
- latin: "https://fonts.gstatic.com/s/zain/v3/sykz-y9lm7soOFbqhS23-w.woff2"
152
+ arabic: "https://fonts.gstatic.com/s/zain/v4/sykz-y9lm7soOFbqhSi3--rE.woff2",
153
+ latin: "https://fonts.gstatic.com/s/zain/v4/sykz-y9lm7soOFbqhS23-w.woff2"
154
154
  }
155
155
  }
156
156
  },
@@ -4714,6 +4714,21 @@ export const getAvailableFonts = () => [
4714
4714
  importName: 'Molle',
4715
4715
  load: () => import('./Molle.mjs'),
4716
4716
  },
4717
+ {
4718
+ fontFamily: 'Momo Signature',
4719
+ importName: 'MomoSignature',
4720
+ load: () => import('./MomoSignature.mjs'),
4721
+ },
4722
+ {
4723
+ fontFamily: 'Momo Trust Display',
4724
+ importName: 'MomoTrustDisplay',
4725
+ load: () => import('./MomoTrustDisplay.mjs'),
4726
+ },
4727
+ {
4728
+ fontFamily: 'Momo Trust Sans',
4729
+ importName: 'MomoTrustSans',
4730
+ load: () => import('./MomoTrustSans.mjs'),
4731
+ },
4717
4732
  {
4718
4733
  fontFamily: 'Mona Sans',
4719
4734
  importName: 'MonaSans',
@@ -5780,6 +5795,11 @@ export const getAvailableFonts = () => [
5780
5795
  importName: 'NotoSansSyriacEastern',
5781
5796
  load: () => import('./NotoSansSyriacEastern.mjs'),
5782
5797
  },
5798
+ {
5799
+ fontFamily: 'Noto Sans Syriac Western',
5800
+ importName: 'NotoSansSyriacWestern',
5801
+ load: () => import('./NotoSansSyriacWestern.mjs'),
5802
+ },
5783
5803
  {
5784
5804
  fontFamily: 'Noto Sans TC',
5785
5805
  importName: 'NotoSansTC',
package/package.json CHANGED
@@ -3,19 +3,18 @@
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.370",
6
+ "version": "4.0.372",
7
7
  "description": "Use Google Fonts in Remotion",
8
8
  "main": "dist/cjs/index.js",
9
9
  "module": "dist/esm/index.mjs",
10
10
  "scripts": {
11
11
  "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts",
12
12
  "generate": "bun --env-file=.env scripts/update-font-db.ts",
13
- "prepublishOnly": "bun run generate",
14
13
  "formatting": "prettier --experimental-cli src --check"
15
14
  },
16
15
  "license": "SEE LICENSE IN LICENSE.md",
17
16
  "dependencies": {
18
- "remotion": "4.0.370"
17
+ "remotion": "4.0.372"
19
18
  },
20
19
  "devDependencies": {
21
20
  "@types/css-font-loading-module": "0.0.14",
@@ -2855,6 +2854,15 @@
2855
2854
  "Molle": [
2856
2855
  "dist/cjs/Molle.d.ts"
2857
2856
  ],
2857
+ "MomoSignature": [
2858
+ "dist/cjs/MomoSignature.d.ts"
2859
+ ],
2860
+ "MomoTrustDisplay": [
2861
+ "dist/cjs/MomoTrustDisplay.d.ts"
2862
+ ],
2863
+ "MomoTrustSans": [
2864
+ "dist/cjs/MomoTrustSans.d.ts"
2865
+ ],
2858
2866
  "MonaSans": [
2859
2867
  "dist/cjs/MonaSans.d.ts"
2860
2868
  ],
@@ -3494,6 +3502,9 @@
3494
3502
  "NotoSansSyriacEastern": [
3495
3503
  "dist/cjs/NotoSansSyriacEastern.d.ts"
3496
3504
  ],
3505
+ "NotoSansSyriacWestern": [
3506
+ "dist/cjs/NotoSansSyriacWestern.d.ts"
3507
+ ],
3497
3508
  "NotoSansTC": [
3498
3509
  "dist/cjs/NotoSansTC.d.ts"
3499
3510
  ],