@remotion/google-fonts 4.0.319 → 4.0.320
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Agbalumo.d.ts +3 -1
- package/dist/cjs/Agbalumo.js +8 -6
- package/dist/cjs/AncizarSans.js +55 -55
- package/dist/cjs/AncizarSerif.js +43 -43
- package/dist/cjs/Asap.js +55 -55
- package/dist/cjs/Asul.js +3 -3
- package/dist/cjs/BitcountGridDouble.d.ts +70 -0
- package/dist/cjs/BitcountGridDouble.js +61 -0
- package/dist/cjs/CactusClassicalSerif.js +106 -106
- package/dist/cjs/ChironHeiHK.d.ts +2127 -0
- package/dist/cjs/ChironHeiHK.js +2124 -0
- package/dist/cjs/ChocolateClassicalSans.d.ts +6 -2
- package/dist/cjs/ChocolateClassicalSans.js +112 -108
- package/dist/cjs/Glory.js +49 -49
- package/dist/cjs/Gurajada.js +4 -4
- package/dist/cjs/Iansui.js +110 -110
- package/dist/cjs/Italiana.js +2 -2
- package/dist/cjs/KumarOneOutline.js +4 -4
- package/dist/cjs/Laila.js +16 -16
- package/dist/cjs/LibertinusMath.d.ts +50 -0
- package/dist/cjs/LibertinusMath.js +50 -0
- package/dist/cjs/LibertinusMono.d.ts +38 -0
- package/dist/cjs/LibertinusMono.js +29 -0
- package/dist/cjs/Liter.js +4 -4
- package/dist/cjs/MPLUSRounded1c.js +883 -883
- package/dist/cjs/ManufacturingConsent.d.ts +38 -0
- package/dist/cjs/ManufacturingConsent.js +29 -0
- package/dist/cjs/Menbere.d.ts +78 -0
- package/dist/cjs/Menbere.js +69 -0
- package/dist/cjs/Narnoor.js +26 -26
- package/dist/cjs/Parastoo.d.ts +55 -0
- package/dist/cjs/Parastoo.js +46 -0
- package/dist/cjs/PollerOne.js +2 -2
- package/dist/cjs/ReemKufiFun.js +17 -17
- package/dist/cjs/ReemKufiInk.js +5 -5
- package/dist/cjs/SawarabiGothic.js +122 -122
- package/dist/cjs/SpaceMono.js +13 -13
- package/dist/cjs/Stylish.js +88 -88
- package/dist/cjs/UoqMunThenKhung.d.ts +238 -0
- package/dist/cjs/UoqMunThenKhung.js +229 -0
- package/dist/cjs/ZenMaruGothic.js +611 -611
- package/dist/cjs/index.js +40 -0
- package/dist/esm/Agbalumo.mjs +8 -6
- package/dist/esm/AncizarSans.mjs +55 -55
- package/dist/esm/AncizarSerif.mjs +43 -43
- package/dist/esm/Asap.mjs +55 -55
- package/dist/esm/Asul.mjs +3 -3
- package/dist/esm/BitcountGridDouble.mjs +169 -0
- package/dist/esm/CactusClassicalSerif.mjs +106 -106
- package/dist/esm/ChironHeiHK.mjs +2232 -0
- package/dist/esm/ChocolateClassicalSans.mjs +112 -108
- package/dist/esm/Glory.mjs +49 -49
- package/dist/esm/Gurajada.mjs +4 -4
- package/dist/esm/Iansui.mjs +110 -110
- package/dist/esm/Italiana.mjs +2 -2
- package/dist/esm/KumarOneOutline.mjs +4 -4
- package/dist/esm/Laila.mjs +16 -16
- package/dist/esm/LibertinusMath.mjs +158 -0
- package/dist/esm/LibertinusMono.mjs +137 -0
- package/dist/esm/Liter.mjs +4 -4
- package/dist/esm/MPLUSRounded1c.mjs +883 -883
- package/dist/esm/ManufacturingConsent.mjs +137 -0
- package/dist/esm/Menbere.mjs +177 -0
- package/dist/esm/Narnoor.mjs +26 -26
- package/dist/esm/Parastoo.mjs +154 -0
- package/dist/esm/PollerOne.mjs +2 -2
- package/dist/esm/ReemKufiFun.mjs +17 -17
- package/dist/esm/ReemKufiInk.mjs +5 -5
- package/dist/esm/SawarabiGothic.mjs +122 -122
- package/dist/esm/SpaceMono.mjs +13 -13
- package/dist/esm/Stylish.mjs +88 -88
- package/dist/esm/UoqMunThenKhung.mjs +337 -0
- package/dist/esm/ZenMaruGothic.mjs +611 -611
- package/dist/esm/index.mjs +40 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +26 -2
|
@@ -0,0 +1,137 @@
|
|
|
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/ManufacturingConsent.ts
|
|
110
|
+
var getInfo = () => ({
|
|
111
|
+
fontFamily: "Manufacturing Consent",
|
|
112
|
+
importName: "ManufacturingConsent",
|
|
113
|
+
version: "v1",
|
|
114
|
+
url: "https://fonts.googleapis.com/css2?family=Manufacturing+Consent:ital,wght@0,400",
|
|
115
|
+
unicodeRanges: {
|
|
116
|
+
"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",
|
|
117
|
+
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"
|
|
118
|
+
},
|
|
119
|
+
fonts: {
|
|
120
|
+
normal: {
|
|
121
|
+
"400": {
|
|
122
|
+
"latin-ext": "https://fonts.gstatic.com/s/manufacturingconsent/v1/N0bL2TVONuFkPkuHfiECSLCwuZS-D-IsakiUTq4uXfE.woff2",
|
|
123
|
+
latin: "https://fonts.gstatic.com/s/manufacturingconsent/v1/N0bL2TVONuFkPkuHfiECSLCwuZS-D-IsakiUQK4u.woff2"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
subsets: ["latin", "latin-ext"]
|
|
128
|
+
});
|
|
129
|
+
var fontFamily = "Manufacturing Consent";
|
|
130
|
+
var loadFont = (style, options) => {
|
|
131
|
+
return loadFonts(getInfo(), style, options);
|
|
132
|
+
};
|
|
133
|
+
export {
|
|
134
|
+
loadFont,
|
|
135
|
+
getInfo,
|
|
136
|
+
fontFamily
|
|
137
|
+
};
|
|
@@ -0,0 +1,177 @@
|
|
|
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/Menbere.ts
|
|
110
|
+
var getInfo = () => ({
|
|
111
|
+
fontFamily: "Menbere",
|
|
112
|
+
importName: "Menbere",
|
|
113
|
+
version: "v1",
|
|
114
|
+
url: "https://fonts.googleapis.com/css2?family=Menbere:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700",
|
|
115
|
+
unicodeRanges: {
|
|
116
|
+
ethiopic: "U+030E, U+1200-1399, U+2D80-2DDE, U+AB01-AB2E, U+1E7E0-1E7E6, U+1E7E8-1E7EB, U+1E7ED-1E7EE, U+1E7F0-1E7FE",
|
|
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",
|
|
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",
|
|
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
|
+
},
|
|
121
|
+
fonts: {
|
|
122
|
+
normal: {
|
|
123
|
+
"100": {
|
|
124
|
+
ethiopic: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2V6KrI8L.woff2",
|
|
125
|
+
vietnamese: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2UCKrI8L.woff2",
|
|
126
|
+
"latin-ext": "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2UGKrI8L.woff2",
|
|
127
|
+
latin: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2U-KrA.woff2"
|
|
128
|
+
},
|
|
129
|
+
"200": {
|
|
130
|
+
ethiopic: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2V6KrI8L.woff2",
|
|
131
|
+
vietnamese: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2UCKrI8L.woff2",
|
|
132
|
+
"latin-ext": "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2UGKrI8L.woff2",
|
|
133
|
+
latin: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2U-KrA.woff2"
|
|
134
|
+
},
|
|
135
|
+
"300": {
|
|
136
|
+
ethiopic: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2V6KrI8L.woff2",
|
|
137
|
+
vietnamese: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2UCKrI8L.woff2",
|
|
138
|
+
"latin-ext": "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2UGKrI8L.woff2",
|
|
139
|
+
latin: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2U-KrA.woff2"
|
|
140
|
+
},
|
|
141
|
+
"400": {
|
|
142
|
+
ethiopic: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2V6KrI8L.woff2",
|
|
143
|
+
vietnamese: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2UCKrI8L.woff2",
|
|
144
|
+
"latin-ext": "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2UGKrI8L.woff2",
|
|
145
|
+
latin: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2U-KrA.woff2"
|
|
146
|
+
},
|
|
147
|
+
"500": {
|
|
148
|
+
ethiopic: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2V6KrI8L.woff2",
|
|
149
|
+
vietnamese: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2UCKrI8L.woff2",
|
|
150
|
+
"latin-ext": "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2UGKrI8L.woff2",
|
|
151
|
+
latin: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2U-KrA.woff2"
|
|
152
|
+
},
|
|
153
|
+
"600": {
|
|
154
|
+
ethiopic: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2V6KrI8L.woff2",
|
|
155
|
+
vietnamese: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2UCKrI8L.woff2",
|
|
156
|
+
"latin-ext": "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2UGKrI8L.woff2",
|
|
157
|
+
latin: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2U-KrA.woff2"
|
|
158
|
+
},
|
|
159
|
+
"700": {
|
|
160
|
+
ethiopic: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2V6KrI8L.woff2",
|
|
161
|
+
vietnamese: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2UCKrI8L.woff2",
|
|
162
|
+
"latin-ext": "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2UGKrI8L.woff2",
|
|
163
|
+
latin: "https://fonts.gstatic.com/s/menbere/v1/lJwH-p0zhmBrWvcG2U-KrA.woff2"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
subsets: ["ethiopic", "latin", "latin-ext", "vietnamese"]
|
|
168
|
+
});
|
|
169
|
+
var fontFamily = "Menbere";
|
|
170
|
+
var loadFont = (style, options) => {
|
|
171
|
+
return loadFonts(getInfo(), style, options);
|
|
172
|
+
};
|
|
173
|
+
export {
|
|
174
|
+
loadFont,
|
|
175
|
+
getInfo,
|
|
176
|
+
fontFamily
|
|
177
|
+
};
|
package/dist/esm/Narnoor.mjs
CHANGED
|
@@ -110,7 +110,7 @@ var loadFonts = (meta, style, options) => {
|
|
|
110
110
|
var getInfo = () => ({
|
|
111
111
|
fontFamily: "Narnoor",
|
|
112
112
|
importName: "Narnoor",
|
|
113
|
-
version: "
|
|
113
|
+
version: "v10",
|
|
114
114
|
url: "https://fonts.googleapis.com/css2?family=Narnoor:ital,wght@0,400;0,500;0,600;0,700;0,800",
|
|
115
115
|
unicodeRanges: {
|
|
116
116
|
"gunjala-gondi": "U+0964-0965, U+200C-200D, U+25CC, U+11D60-11DAF",
|
|
@@ -122,39 +122,39 @@ var getInfo = () => ({
|
|
|
122
122
|
fonts: {
|
|
123
123
|
normal: {
|
|
124
124
|
"400": {
|
|
125
|
-
"gunjala-gondi": "https://fonts.gstatic.com/s/narnoor/
|
|
126
|
-
math: "https://fonts.gstatic.com/s/narnoor/
|
|
127
|
-
symbols: "https://fonts.gstatic.com/s/narnoor/
|
|
128
|
-
"latin-ext": "https://fonts.gstatic.com/s/narnoor/
|
|
129
|
-
latin: "https://fonts.gstatic.com/s/narnoor/
|
|
125
|
+
"gunjala-gondi": "https://fonts.gstatic.com/s/narnoor/v10/cIf9MaFWuVo-UTyP9FmhYVkH.woff2",
|
|
126
|
+
math: "https://fonts.gstatic.com/s/narnoor/v10/cIf9MaFWuVo-UTyP9FKhYVkH.woff2",
|
|
127
|
+
symbols: "https://fonts.gstatic.com/s/narnoor/v10/cIf9MaFWuVo-UTyP9EChYVkH.woff2",
|
|
128
|
+
"latin-ext": "https://fonts.gstatic.com/s/narnoor/v10/cIf9MaFWuVo-UTyP9CChYVkH.woff2",
|
|
129
|
+
latin: "https://fonts.gstatic.com/s/narnoor/v10/cIf9MaFWuVo-UTyP9C6hYQ.woff2"
|
|
130
130
|
},
|
|
131
131
|
"500": {
|
|
132
|
-
"gunjala-gondi": "https://fonts.gstatic.com/s/narnoor/
|
|
133
|
-
math: "https://fonts.gstatic.com/s/narnoor/
|
|
134
|
-
symbols: "https://fonts.gstatic.com/s/narnoor/
|
|
135
|
-
"latin-ext": "https://fonts.gstatic.com/s/narnoor/
|
|
136
|
-
latin: "https://fonts.gstatic.com/s/narnoor/
|
|
132
|
+
"gunjala-gondi": "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_N2CdBEmnbJk.woff2",
|
|
133
|
+
math: "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_N2CdBomnbJk.woff2",
|
|
134
|
+
symbols: "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_N2CdAgmnbJk.woff2",
|
|
135
|
+
"latin-ext": "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_N2CdGgmnbJk.woff2",
|
|
136
|
+
latin: "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_N2CdGYmnQ.woff2"
|
|
137
137
|
},
|
|
138
138
|
"600": {
|
|
139
|
-
"gunjala-gondi": "https://fonts.gstatic.com/s/narnoor/
|
|
140
|
-
math: "https://fonts.gstatic.com/s/narnoor/
|
|
141
|
-
symbols: "https://fonts.gstatic.com/s/narnoor/
|
|
142
|
-
"latin-ext": "https://fonts.gstatic.com/s/narnoor/
|
|
143
|
-
latin: "https://fonts.gstatic.com/s/narnoor/
|
|
139
|
+
"gunjala-gondi": "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_PGFdBEmnbJk.woff2",
|
|
140
|
+
math: "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_PGFdBomnbJk.woff2",
|
|
141
|
+
symbols: "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_PGFdAgmnbJk.woff2",
|
|
142
|
+
"latin-ext": "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_PGFdGgmnbJk.woff2",
|
|
143
|
+
latin: "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_PGFdGYmnQ.woff2"
|
|
144
144
|
},
|
|
145
145
|
"700": {
|
|
146
|
-
"gunjala-gondi": "https://fonts.gstatic.com/s/narnoor/
|
|
147
|
-
math: "https://fonts.gstatic.com/s/narnoor/
|
|
148
|
-
symbols: "https://fonts.gstatic.com/s/narnoor/
|
|
149
|
-
"latin-ext": "https://fonts.gstatic.com/s/narnoor/
|
|
150
|
-
latin: "https://fonts.gstatic.com/s/narnoor/
|
|
146
|
+
"gunjala-gondi": "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_JWEdBEmnbJk.woff2",
|
|
147
|
+
math: "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_JWEdBomnbJk.woff2",
|
|
148
|
+
symbols: "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_JWEdAgmnbJk.woff2",
|
|
149
|
+
"latin-ext": "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_JWEdGgmnbJk.woff2",
|
|
150
|
+
latin: "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_JWEdGYmnQ.woff2"
|
|
151
151
|
},
|
|
152
152
|
"800": {
|
|
153
|
-
"gunjala-gondi": "https://fonts.gstatic.com/s/narnoor/
|
|
154
|
-
math: "https://fonts.gstatic.com/s/narnoor/
|
|
155
|
-
symbols: "https://fonts.gstatic.com/s/narnoor/
|
|
156
|
-
"latin-ext": "https://fonts.gstatic.com/s/narnoor/
|
|
157
|
-
latin: "https://fonts.gstatic.com/s/narnoor/
|
|
153
|
+
"gunjala-gondi": "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_ImHdBEmnbJk.woff2",
|
|
154
|
+
math: "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_ImHdBomnbJk.woff2",
|
|
155
|
+
symbols: "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_ImHdAgmnbJk.woff2",
|
|
156
|
+
"latin-ext": "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_ImHdGgmnbJk.woff2",
|
|
157
|
+
latin: "https://fonts.gstatic.com/s/narnoor/v10/cIf4MaFWuVo-UTyP_ImHdGYmnQ.woff2"
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
},
|
|
@@ -0,0 +1,154 @@
|
|
|
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/Parastoo.ts
|
|
110
|
+
var getInfo = () => ({
|
|
111
|
+
fontFamily: "Parastoo",
|
|
112
|
+
importName: "Parastoo",
|
|
113
|
+
version: "v1",
|
|
114
|
+
url: "https://fonts.googleapis.com/css2?family=Parastoo:ital,wght@0,400;0,500;0,600;0,700",
|
|
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
|
+
"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"
|
|
126
|
+
},
|
|
127
|
+
"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"
|
|
131
|
+
},
|
|
132
|
+
"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
|
+
},
|
|
137
|
+
"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"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
subsets: ["latin", "latin-ext", "vietnamese"]
|
|
145
|
+
});
|
|
146
|
+
var fontFamily = "Parastoo";
|
|
147
|
+
var loadFont = (style, options) => {
|
|
148
|
+
return loadFonts(getInfo(), style, options);
|
|
149
|
+
};
|
|
150
|
+
export {
|
|
151
|
+
loadFont,
|
|
152
|
+
getInfo,
|
|
153
|
+
fontFamily
|
|
154
|
+
};
|
package/dist/esm/PollerOne.mjs
CHANGED
|
@@ -110,7 +110,7 @@ var loadFonts = (meta, style, options) => {
|
|
|
110
110
|
var getInfo = () => ({
|
|
111
111
|
fontFamily: "Poller One",
|
|
112
112
|
importName: "PollerOne",
|
|
113
|
-
version: "
|
|
113
|
+
version: "v25",
|
|
114
114
|
url: "https://fonts.googleapis.com/css2?family=Poller+One:ital,wght@0,400",
|
|
115
115
|
unicodeRanges: {
|
|
116
116
|
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"
|
|
@@ -118,7 +118,7 @@ var getInfo = () => ({
|
|
|
118
118
|
fonts: {
|
|
119
119
|
normal: {
|
|
120
120
|
"400": {
|
|
121
|
-
latin: "https://fonts.gstatic.com/s/pollerone/
|
|
121
|
+
latin: "https://fonts.gstatic.com/s/pollerone/v25/ahccv82n0TN3gia5E4BuR-5RgA.woff2"
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
},
|
package/dist/esm/ReemKufiFun.mjs
CHANGED
|
@@ -110,7 +110,7 @@ var loadFonts = (meta, style, options) => {
|
|
|
110
110
|
var getInfo = () => ({
|
|
111
111
|
fontFamily: "Reem Kufi Fun",
|
|
112
112
|
importName: "ReemKufiFun",
|
|
113
|
-
version: "
|
|
113
|
+
version: "v12",
|
|
114
114
|
url: "https://fonts.googleapis.com/css2?family=Reem+Kufi+Fun: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",
|
|
@@ -121,28 +121,28 @@ var getInfo = () => ({
|
|
|
121
121
|
fonts: {
|
|
122
122
|
normal: {
|
|
123
123
|
"400": {
|
|
124
|
-
arabic: "https://fonts.gstatic.com/s/reemkufifun/
|
|
125
|
-
vietnamese: "https://fonts.gstatic.com/s/reemkufifun/
|
|
126
|
-
"latin-ext": "https://fonts.gstatic.com/s/reemkufifun/
|
|
127
|
-
latin: "https://fonts.gstatic.com/s/reemkufifun/
|
|
124
|
+
arabic: "https://fonts.gstatic.com/s/reemkufifun/v12/uK_14rOFYukkmyUEbF43fIryTkARWP7g.woff2",
|
|
125
|
+
vietnamese: "https://fonts.gstatic.com/s/reemkufifun/v12/uK_14rOFYukkmyUEbF43fIryTkoRWP7g.woff2",
|
|
126
|
+
"latin-ext": "https://fonts.gstatic.com/s/reemkufifun/v12/uK_14rOFYukkmyUEbF43fIryTksRWP7g.woff2",
|
|
127
|
+
latin: "https://fonts.gstatic.com/s/reemkufifun/v12/uK_14rOFYukkmyUEbF43fIryTkURWA.woff2"
|
|
128
128
|
},
|
|
129
129
|
"500": {
|
|
130
|
-
arabic: "https://fonts.gstatic.com/s/reemkufifun/
|
|
131
|
-
vietnamese: "https://fonts.gstatic.com/s/reemkufifun/
|
|
132
|
-
"latin-ext": "https://fonts.gstatic.com/s/reemkufifun/
|
|
133
|
-
latin: "https://fonts.gstatic.com/s/reemkufifun/
|
|
130
|
+
arabic: "https://fonts.gstatic.com/s/reemkufifun/v12/uK_14rOFYukkmyUEbF43fIryTkARWP7g.woff2",
|
|
131
|
+
vietnamese: "https://fonts.gstatic.com/s/reemkufifun/v12/uK_14rOFYukkmyUEbF43fIryTkoRWP7g.woff2",
|
|
132
|
+
"latin-ext": "https://fonts.gstatic.com/s/reemkufifun/v12/uK_14rOFYukkmyUEbF43fIryTksRWP7g.woff2",
|
|
133
|
+
latin: "https://fonts.gstatic.com/s/reemkufifun/v12/uK_14rOFYukkmyUEbF43fIryTkURWA.woff2"
|
|
134
134
|
},
|
|
135
135
|
"600": {
|
|
136
|
-
arabic: "https://fonts.gstatic.com/s/reemkufifun/
|
|
137
|
-
vietnamese: "https://fonts.gstatic.com/s/reemkufifun/
|
|
138
|
-
"latin-ext": "https://fonts.gstatic.com/s/reemkufifun/
|
|
139
|
-
latin: "https://fonts.gstatic.com/s/reemkufifun/
|
|
136
|
+
arabic: "https://fonts.gstatic.com/s/reemkufifun/v12/uK_14rOFYukkmyUEbF43fIryTkARWP7g.woff2",
|
|
137
|
+
vietnamese: "https://fonts.gstatic.com/s/reemkufifun/v12/uK_14rOFYukkmyUEbF43fIryTkoRWP7g.woff2",
|
|
138
|
+
"latin-ext": "https://fonts.gstatic.com/s/reemkufifun/v12/uK_14rOFYukkmyUEbF43fIryTksRWP7g.woff2",
|
|
139
|
+
latin: "https://fonts.gstatic.com/s/reemkufifun/v12/uK_14rOFYukkmyUEbF43fIryTkURWA.woff2"
|
|
140
140
|
},
|
|
141
141
|
"700": {
|
|
142
|
-
arabic: "https://fonts.gstatic.com/s/reemkufifun/
|
|
143
|
-
vietnamese: "https://fonts.gstatic.com/s/reemkufifun/
|
|
144
|
-
"latin-ext": "https://fonts.gstatic.com/s/reemkufifun/
|
|
145
|
-
latin: "https://fonts.gstatic.com/s/reemkufifun/
|
|
142
|
+
arabic: "https://fonts.gstatic.com/s/reemkufifun/v12/uK_14rOFYukkmyUEbF43fIryTkARWP7g.woff2",
|
|
143
|
+
vietnamese: "https://fonts.gstatic.com/s/reemkufifun/v12/uK_14rOFYukkmyUEbF43fIryTkoRWP7g.woff2",
|
|
144
|
+
"latin-ext": "https://fonts.gstatic.com/s/reemkufifun/v12/uK_14rOFYukkmyUEbF43fIryTksRWP7g.woff2",
|
|
145
|
+
latin: "https://fonts.gstatic.com/s/reemkufifun/v12/uK_14rOFYukkmyUEbF43fIryTkURWA.woff2"
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
},
|
package/dist/esm/ReemKufiInk.mjs
CHANGED
|
@@ -110,7 +110,7 @@ var loadFonts = (meta, style, options) => {
|
|
|
110
110
|
var getInfo = () => ({
|
|
111
111
|
fontFamily: "Reem Kufi Ink",
|
|
112
112
|
importName: "ReemKufiInk",
|
|
113
|
-
version: "
|
|
113
|
+
version: "v11",
|
|
114
114
|
url: "https://fonts.googleapis.com/css2?family=Reem+Kufi+Ink:ital,wght@0,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",
|
|
@@ -121,10 +121,10 @@ var getInfo = () => ({
|
|
|
121
121
|
fonts: {
|
|
122
122
|
normal: {
|
|
123
123
|
"400": {
|
|
124
|
-
arabic: "https://fonts.gstatic.com/s/reemkufiink/
|
|
125
|
-
vietnamese: "https://fonts.gstatic.com/s/reemkufiink/
|
|
126
|
-
"latin-ext": "https://fonts.gstatic.com/s/reemkufiink/
|
|
127
|
-
latin: "https://fonts.gstatic.com/s/reemkufiink/
|
|
124
|
+
arabic: "https://fonts.gstatic.com/s/reemkufiink/v11/oPWJ_kJmmu8hCvB9iFumxZSndjxXQ0SXnkk.woff2",
|
|
125
|
+
vietnamese: "https://fonts.gstatic.com/s/reemkufiink/v11/oPWJ_kJmmu8hCvB9iFumxZSndjZXQ0SXnkk.woff2",
|
|
126
|
+
"latin-ext": "https://fonts.gstatic.com/s/reemkufiink/v11/oPWJ_kJmmu8hCvB9iFumxZSndjdXQ0SXnkk.woff2",
|
|
127
|
+
latin: "https://fonts.gstatic.com/s/reemkufiink/v11/oPWJ_kJmmu8hCvB9iFumxZSndjlXQyyU.woff2"
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
},
|