@remotion/google-fonts 4.0.443 → 4.0.445
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/BJCree.d.ts +50 -0
- package/dist/cjs/BJCree.js +41 -0
- package/dist/cjs/Coustard.d.ts +4 -1
- package/dist/cjs/Coustard.js +7 -4
- package/dist/cjs/GoogleSansFlex.js +91 -91
- package/dist/cjs/Grenze.js +55 -55
- package/dist/cjs/Mingzat.js +4 -4
- package/dist/cjs/MirandaSans.d.ts +72 -0
- package/dist/cjs/MirandaSans.js +59 -0
- package/dist/cjs/SairaStencil.d.ts +131 -0
- package/dist/cjs/SairaStencil.js +118 -0
- package/dist/cjs/ZalandoSans.d.ts +19 -2
- package/dist/cjs/ZalandoSans.js +51 -34
- package/dist/cjs/ZalandoSansExpanded.d.ts +19 -2
- package/dist/cjs/ZalandoSansExpanded.js +51 -34
- package/dist/cjs/ZalandoSansSemiExpanded.d.ts +19 -2
- package/dist/cjs/ZalandoSansSemiExpanded.js +51 -34
- package/dist/cjs/index.js +15 -0
- package/dist/esm/BJCree.mjs +149 -0
- package/dist/esm/Coustard.mjs +7 -4
- package/dist/esm/GoogleSansFlex.mjs +91 -91
- package/dist/esm/Grenze.mjs +55 -55
- package/dist/esm/Mingzat.mjs +4 -4
- package/dist/esm/MirandaSans.mjs +167 -0
- package/dist/esm/SairaStencil.mjs +226 -0
- package/dist/esm/ZalandoSans.mjs +51 -34
- package/dist/esm/ZalandoSansExpanded.mjs +51 -34
- package/dist/esm/ZalandoSansSemiExpanded.mjs +51 -34
- package/dist/esm/index.mjs +15 -0
- package/package.json +11 -2
|
@@ -0,0 +1,167 @@
|
|
|
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 && !options?.ignoreTooManyRequestsWarning) {
|
|
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/MirandaSans.ts
|
|
110
|
+
var getInfo = () => ({
|
|
111
|
+
fontFamily: "Miranda Sans",
|
|
112
|
+
importName: "MirandaSans",
|
|
113
|
+
version: "v3",
|
|
114
|
+
url: "https://fonts.googleapis.com/css2?family=Miranda+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700",
|
|
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
|
+
italic: {
|
|
121
|
+
"400": {
|
|
122
|
+
"latin-ext": "https://fonts.gstatic.com/s/mirandasans/v3/aFTN7Pt8ZWk4XsiWhk7Rb_edar31fl13uA.woff2",
|
|
123
|
+
latin: "https://fonts.gstatic.com/s/mirandasans/v3/aFTN7Pt8ZWk4XsiWhk7Rb_edar37fl0.woff2"
|
|
124
|
+
},
|
|
125
|
+
"500": {
|
|
126
|
+
"latin-ext": "https://fonts.gstatic.com/s/mirandasans/v3/aFTN7Pt8ZWk4XsiWhk7Rb_edar31fl13uA.woff2",
|
|
127
|
+
latin: "https://fonts.gstatic.com/s/mirandasans/v3/aFTN7Pt8ZWk4XsiWhk7Rb_edar37fl0.woff2"
|
|
128
|
+
},
|
|
129
|
+
"600": {
|
|
130
|
+
"latin-ext": "https://fonts.gstatic.com/s/mirandasans/v3/aFTN7Pt8ZWk4XsiWhk7Rb_edar31fl13uA.woff2",
|
|
131
|
+
latin: "https://fonts.gstatic.com/s/mirandasans/v3/aFTN7Pt8ZWk4XsiWhk7Rb_edar37fl0.woff2"
|
|
132
|
+
},
|
|
133
|
+
"700": {
|
|
134
|
+
"latin-ext": "https://fonts.gstatic.com/s/mirandasans/v3/aFTN7Pt8ZWk4XsiWhk7Rb_edar31fl13uA.woff2",
|
|
135
|
+
latin: "https://fonts.gstatic.com/s/mirandasans/v3/aFTN7Pt8ZWk4XsiWhk7Rb_edar37fl0.woff2"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
normal: {
|
|
139
|
+
"400": {
|
|
140
|
+
"latin-ext": "https://fonts.gstatic.com/s/mirandasans/v3/aFTT7Pt8ZWk4XsiWhk7Rb_edYY35Zlk.woff2",
|
|
141
|
+
latin: "https://fonts.gstatic.com/s/mirandasans/v3/aFTT7Pt8ZWk4XsiWhk7Rb_edb435.woff2"
|
|
142
|
+
},
|
|
143
|
+
"500": {
|
|
144
|
+
"latin-ext": "https://fonts.gstatic.com/s/mirandasans/v3/aFTT7Pt8ZWk4XsiWhk7Rb_edYY35Zlk.woff2",
|
|
145
|
+
latin: "https://fonts.gstatic.com/s/mirandasans/v3/aFTT7Pt8ZWk4XsiWhk7Rb_edb435.woff2"
|
|
146
|
+
},
|
|
147
|
+
"600": {
|
|
148
|
+
"latin-ext": "https://fonts.gstatic.com/s/mirandasans/v3/aFTT7Pt8ZWk4XsiWhk7Rb_edYY35Zlk.woff2",
|
|
149
|
+
latin: "https://fonts.gstatic.com/s/mirandasans/v3/aFTT7Pt8ZWk4XsiWhk7Rb_edb435.woff2"
|
|
150
|
+
},
|
|
151
|
+
"700": {
|
|
152
|
+
"latin-ext": "https://fonts.gstatic.com/s/mirandasans/v3/aFTT7Pt8ZWk4XsiWhk7Rb_edYY35Zlk.woff2",
|
|
153
|
+
latin: "https://fonts.gstatic.com/s/mirandasans/v3/aFTT7Pt8ZWk4XsiWhk7Rb_edb435.woff2"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
subsets: ["latin", "latin-ext"]
|
|
158
|
+
});
|
|
159
|
+
var fontFamily = "Miranda Sans";
|
|
160
|
+
var loadFont = (style, options) => {
|
|
161
|
+
return loadFonts(getInfo(), style, options);
|
|
162
|
+
};
|
|
163
|
+
export {
|
|
164
|
+
loadFont,
|
|
165
|
+
getInfo,
|
|
166
|
+
fontFamily
|
|
167
|
+
};
|
|
@@ -0,0 +1,226 @@
|
|
|
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 && !options?.ignoreTooManyRequestsWarning) {
|
|
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/SairaStencil.ts
|
|
110
|
+
var getInfo = () => ({
|
|
111
|
+
fontFamily: "Saira Stencil",
|
|
112
|
+
importName: "SairaStencil",
|
|
113
|
+
version: "v2",
|
|
114
|
+
url: "https://fonts.googleapis.com/css2?family=Saira+Stencil:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900",
|
|
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
|
+
italic: {
|
|
122
|
+
"100": {
|
|
123
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZ1nJSVM.woff2",
|
|
124
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZxnJSVM.woff2",
|
|
125
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZJnJQ.woff2"
|
|
126
|
+
},
|
|
127
|
+
"200": {
|
|
128
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZ1nJSVM.woff2",
|
|
129
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZxnJSVM.woff2",
|
|
130
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZJnJQ.woff2"
|
|
131
|
+
},
|
|
132
|
+
"300": {
|
|
133
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZ1nJSVM.woff2",
|
|
134
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZxnJSVM.woff2",
|
|
135
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZJnJQ.woff2"
|
|
136
|
+
},
|
|
137
|
+
"400": {
|
|
138
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZ1nJSVM.woff2",
|
|
139
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZxnJSVM.woff2",
|
|
140
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZJnJQ.woff2"
|
|
141
|
+
},
|
|
142
|
+
"500": {
|
|
143
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZ1nJSVM.woff2",
|
|
144
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZxnJSVM.woff2",
|
|
145
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZJnJQ.woff2"
|
|
146
|
+
},
|
|
147
|
+
"600": {
|
|
148
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZ1nJSVM.woff2",
|
|
149
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZxnJSVM.woff2",
|
|
150
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZJnJQ.woff2"
|
|
151
|
+
},
|
|
152
|
+
"700": {
|
|
153
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZ1nJSVM.woff2",
|
|
154
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZxnJSVM.woff2",
|
|
155
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZJnJQ.woff2"
|
|
156
|
+
},
|
|
157
|
+
"800": {
|
|
158
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZ1nJSVM.woff2",
|
|
159
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZxnJSVM.woff2",
|
|
160
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZJnJQ.woff2"
|
|
161
|
+
},
|
|
162
|
+
"900": {
|
|
163
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZ1nJSVM.woff2",
|
|
164
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZxnJSVM.woff2",
|
|
165
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At-GsqgM5eNT0-b9cD0X9C_mR3iDDrE6Qa8o6VEXBwqLZJnJQ.woff2"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
normal: {
|
|
169
|
+
"100": {
|
|
170
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRgHZB_IQ.woff2",
|
|
171
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRhHZB_IQ.woff2",
|
|
172
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRvHZA.woff2"
|
|
173
|
+
},
|
|
174
|
+
"200": {
|
|
175
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRgHZB_IQ.woff2",
|
|
176
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRhHZB_IQ.woff2",
|
|
177
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRvHZA.woff2"
|
|
178
|
+
},
|
|
179
|
+
"300": {
|
|
180
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRgHZB_IQ.woff2",
|
|
181
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRhHZB_IQ.woff2",
|
|
182
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRvHZA.woff2"
|
|
183
|
+
},
|
|
184
|
+
"400": {
|
|
185
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRgHZB_IQ.woff2",
|
|
186
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRhHZB_IQ.woff2",
|
|
187
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRvHZA.woff2"
|
|
188
|
+
},
|
|
189
|
+
"500": {
|
|
190
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRgHZB_IQ.woff2",
|
|
191
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRhHZB_IQ.woff2",
|
|
192
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRvHZA.woff2"
|
|
193
|
+
},
|
|
194
|
+
"600": {
|
|
195
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRgHZB_IQ.woff2",
|
|
196
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRhHZB_IQ.woff2",
|
|
197
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRvHZA.woff2"
|
|
198
|
+
},
|
|
199
|
+
"700": {
|
|
200
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRgHZB_IQ.woff2",
|
|
201
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRhHZB_IQ.woff2",
|
|
202
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRvHZA.woff2"
|
|
203
|
+
},
|
|
204
|
+
"800": {
|
|
205
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRgHZB_IQ.woff2",
|
|
206
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRhHZB_IQ.woff2",
|
|
207
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRvHZA.woff2"
|
|
208
|
+
},
|
|
209
|
+
"900": {
|
|
210
|
+
vietnamese: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRgHZB_IQ.woff2",
|
|
211
|
+
"latin-ext": "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRhHZB_IQ.woff2",
|
|
212
|
+
latin: "https://fonts.gstatic.com/s/sairastencil/v2/8At8GsqgM5eNT0-b9cD0X9C_sxTQ79q9upASpLCMHsRvHZA.woff2"
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
subsets: ["latin", "latin-ext", "vietnamese"]
|
|
217
|
+
});
|
|
218
|
+
var fontFamily = "Saira Stencil";
|
|
219
|
+
var loadFont = (style, options) => {
|
|
220
|
+
return loadFonts(getInfo(), style, options);
|
|
221
|
+
};
|
|
222
|
+
export {
|
|
223
|
+
loadFont,
|
|
224
|
+
getInfo,
|
|
225
|
+
fontFamily
|
|
226
|
+
};
|
package/dist/esm/ZalandoSans.mjs
CHANGED
|
@@ -110,83 +110,100 @@ var loadFonts = (meta, style, options) => {
|
|
|
110
110
|
var getInfo = () => ({
|
|
111
111
|
fontFamily: "Zalando Sans",
|
|
112
112
|
importName: "ZalandoSans",
|
|
113
|
-
version: "
|
|
113
|
+
version: "v3",
|
|
114
114
|
url: "https://fonts.googleapis.com/css2?family=Zalando+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900",
|
|
115
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",
|
|
116
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",
|
|
117
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"
|
|
118
119
|
},
|
|
119
120
|
fonts: {
|
|
120
121
|
italic: {
|
|
121
122
|
"200": {
|
|
122
|
-
|
|
123
|
-
latin: "https://fonts.gstatic.com/s/zalandosans/
|
|
123
|
+
vietnamese: "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_evykT_A.woff2",
|
|
124
|
+
"latin-ext": "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_e_ykT_A.woff2",
|
|
125
|
+
latin: "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_dfyk.woff2"
|
|
124
126
|
},
|
|
125
127
|
"300": {
|
|
126
|
-
|
|
127
|
-
latin: "https://fonts.gstatic.com/s/zalandosans/
|
|
128
|
+
vietnamese: "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_evykT_A.woff2",
|
|
129
|
+
"latin-ext": "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_e_ykT_A.woff2",
|
|
130
|
+
latin: "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_dfyk.woff2"
|
|
128
131
|
},
|
|
129
132
|
"400": {
|
|
130
|
-
|
|
131
|
-
latin: "https://fonts.gstatic.com/s/zalandosans/
|
|
133
|
+
vietnamese: "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_evykT_A.woff2",
|
|
134
|
+
"latin-ext": "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_e_ykT_A.woff2",
|
|
135
|
+
latin: "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_dfyk.woff2"
|
|
132
136
|
},
|
|
133
137
|
"500": {
|
|
134
|
-
|
|
135
|
-
latin: "https://fonts.gstatic.com/s/zalandosans/
|
|
138
|
+
vietnamese: "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_evykT_A.woff2",
|
|
139
|
+
"latin-ext": "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_e_ykT_A.woff2",
|
|
140
|
+
latin: "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_dfyk.woff2"
|
|
136
141
|
},
|
|
137
142
|
"600": {
|
|
138
|
-
|
|
139
|
-
latin: "https://fonts.gstatic.com/s/zalandosans/
|
|
143
|
+
vietnamese: "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_evykT_A.woff2",
|
|
144
|
+
"latin-ext": "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_e_ykT_A.woff2",
|
|
145
|
+
latin: "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_dfyk.woff2"
|
|
140
146
|
},
|
|
141
147
|
"700": {
|
|
142
|
-
|
|
143
|
-
latin: "https://fonts.gstatic.com/s/zalandosans/
|
|
148
|
+
vietnamese: "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_evykT_A.woff2",
|
|
149
|
+
"latin-ext": "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_e_ykT_A.woff2",
|
|
150
|
+
latin: "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_dfyk.woff2"
|
|
144
151
|
},
|
|
145
152
|
"800": {
|
|
146
|
-
|
|
147
|
-
latin: "https://fonts.gstatic.com/s/zalandosans/
|
|
153
|
+
vietnamese: "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_evykT_A.woff2",
|
|
154
|
+
"latin-ext": "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_e_ykT_A.woff2",
|
|
155
|
+
latin: "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_dfyk.woff2"
|
|
148
156
|
},
|
|
149
157
|
"900": {
|
|
150
|
-
|
|
151
|
-
latin: "https://fonts.gstatic.com/s/zalandosans/
|
|
158
|
+
vietnamese: "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_evykT_A.woff2",
|
|
159
|
+
"latin-ext": "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_e_ykT_A.woff2",
|
|
160
|
+
latin: "https://fonts.gstatic.com/s/zalandosans/v3/FwZP7-Asy1Em_lq_aK3hpr-7p3m1_EcrANmrLqEupLP_dfyk.woff2"
|
|
152
161
|
}
|
|
153
162
|
},
|
|
154
163
|
normal: {
|
|
155
164
|
"200": {
|
|
156
|
-
|
|
157
|
-
latin: "https://fonts.gstatic.com/s/zalandosans/
|
|
165
|
+
vietnamese: "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPnPd-Sg.woff2",
|
|
166
|
+
"latin-ext": "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPjPd-Sg.woff2",
|
|
167
|
+
latin: "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPbPdw.woff2"
|
|
158
168
|
},
|
|
159
169
|
"300": {
|
|
160
|
-
|
|
161
|
-
latin: "https://fonts.gstatic.com/s/zalandosans/
|
|
170
|
+
vietnamese: "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPnPd-Sg.woff2",
|
|
171
|
+
"latin-ext": "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPjPd-Sg.woff2",
|
|
172
|
+
latin: "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPbPdw.woff2"
|
|
162
173
|
},
|
|
163
174
|
"400": {
|
|
164
|
-
|
|
165
|
-
latin: "https://fonts.gstatic.com/s/zalandosans/
|
|
175
|
+
vietnamese: "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPnPd-Sg.woff2",
|
|
176
|
+
"latin-ext": "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPjPd-Sg.woff2",
|
|
177
|
+
latin: "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPbPdw.woff2"
|
|
166
178
|
},
|
|
167
179
|
"500": {
|
|
168
|
-
|
|
169
|
-
latin: "https://fonts.gstatic.com/s/zalandosans/
|
|
180
|
+
vietnamese: "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPnPd-Sg.woff2",
|
|
181
|
+
"latin-ext": "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPjPd-Sg.woff2",
|
|
182
|
+
latin: "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPbPdw.woff2"
|
|
170
183
|
},
|
|
171
184
|
"600": {
|
|
172
|
-
|
|
173
|
-
latin: "https://fonts.gstatic.com/s/zalandosans/
|
|
185
|
+
vietnamese: "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPnPd-Sg.woff2",
|
|
186
|
+
"latin-ext": "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPjPd-Sg.woff2",
|
|
187
|
+
latin: "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPbPdw.woff2"
|
|
174
188
|
},
|
|
175
189
|
"700": {
|
|
176
|
-
|
|
177
|
-
latin: "https://fonts.gstatic.com/s/zalandosans/
|
|
190
|
+
vietnamese: "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPnPd-Sg.woff2",
|
|
191
|
+
"latin-ext": "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPjPd-Sg.woff2",
|
|
192
|
+
latin: "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPbPdw.woff2"
|
|
178
193
|
},
|
|
179
194
|
"800": {
|
|
180
|
-
|
|
181
|
-
latin: "https://fonts.gstatic.com/s/zalandosans/
|
|
195
|
+
vietnamese: "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPnPd-Sg.woff2",
|
|
196
|
+
"latin-ext": "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPjPd-Sg.woff2",
|
|
197
|
+
latin: "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPbPdw.woff2"
|
|
182
198
|
},
|
|
183
199
|
"900": {
|
|
184
|
-
|
|
185
|
-
latin: "https://fonts.gstatic.com/s/zalandosans/
|
|
200
|
+
vietnamese: "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPnPd-Sg.woff2",
|
|
201
|
+
"latin-ext": "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPjPd-Sg.woff2",
|
|
202
|
+
latin: "https://fonts.gstatic.com/s/zalandosans/v3/FwZJ7-Asy1Em_lq_aK3hpr-RrktWHD54lnesO2lsfPbPdw.woff2"
|
|
186
203
|
}
|
|
187
204
|
}
|
|
188
205
|
},
|
|
189
|
-
subsets: ["latin", "latin-ext"]
|
|
206
|
+
subsets: ["latin", "latin-ext", "vietnamese"]
|
|
190
207
|
});
|
|
191
208
|
var fontFamily = "Zalando Sans";
|
|
192
209
|
var loadFont = (style, options) => {
|